Searching AWS IoT Core LPWAN devices by tag.

0

How do I search for LPWAN devices by tag? I've got LoRaWAN devices successfully connected to AWS IoT Core and now I want to be able to search for them by some identifier like tag key/value pairs. I don't see any option for searching for LPWAN devices by tag. I tried going down the route of associating a Thing with each LPWAN device, but you can't see what LPWAN device is associated with a thing from the Thing end.

jodasme
질문됨 6달 전158회 조회
1개 답변
0
수락된 답변

Hi. You can't search by tag. Does it have to be done from the console? If not, I recommend you use Thing attributes instead of tags, and then use fleet indexing to search. Once you have the thing name, you can retrieve the corresponding wireless device information using the CLI, SDK or API. CLI call:

aws iotwireless get-wireless-device --identifier yourThingName --identifier-type ThingName
profile pictureAWS
전문가
Greg_B
답변함 6달 전
  • Thanks for the answer. It would be preferable to do it from the console, but it is what it is. The CLI call worked perfectly, I just wish wish we didn't have to basically design a custom program to look up a sensor. It's too bad AWS doesn't let you search by tags seeing how they describe tags being used for searching and filtering.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인