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

posta 2 anni fa355 visualizzazioni
1 Risposta
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
ESPERTO
Greg_B
con risposta 2 anni fa

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