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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南