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

已提問 2 年前檢視次數 355 次
1 個回答
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
專家
Greg_B
已回答 2 年前

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

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

回答問題指南