How can I add a fleet of wireless devices to AWS IoT Core for LoRaWAN similar to JITR

0

I want to be bale to add a lot of devices automatically when they first activate and not one by one using the console or the API. I think I need to use OTAA but it is not clear to me how I can automate this process. I read this but did not understand how to scale this. Thanks

gefragt vor 2 Jahren355 Aufrufe
1 Antwort
0

Hi. For OTAA to work, the device needs to be already created in AICL. This is because the join request carries the App/Join EUI and Dev EUI. AICL uses this information to find the right device in the registry, and find the right root keys for the device, to then create the session keys.

At this time, AICL does not have an equivalent to JITP/JITR. However, you can use the CLI/API/SDKs to build something similar to Bulk Registration. More or less a loop around CreateWirelessDevice iterating over your list of devices (containing the App/Join EUI, Dev EUI and root keys of each device).

https://docs.aws.amazon.com/cli/latest/reference/iotwireless/create-wireless-device.html

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/iotwireless.html#IoTWireless.Client.create_wireless_device

https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/IoTWireless.html#createWirelessDevice-property

profile pictureAWS
EXPERTE
Greg_B
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen