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
posta 6 mesi fa158 visualizzazioni
1 Risposta
0
Risposta accettata

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
ESPERTO
Greg_B
con risposta 6 mesi fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande