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

asked 2 years ago326 views
1 Answer
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
EXPERT
Greg_B
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions