How can I add a fleet of wireless devices to AWS IoT Core for LoRaWAN similar to JITR
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
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
Relevant questions
How to post a DeviceEUI to a IoT topic?
Accepted Answerasked 6 months agoCan devices send MQTT messages to Greengrass core on different port?
asked 3 years agoAWS IoT core multicast to LoRaWAN Class A devices
asked 7 months agoFailed to send one byte message to AWS IOT Wireless device through queue downlink message
Accepted Answerasked 3 months agoAdd LoRaWAN gateway to AWS IoT Core - Permission/Role not accepted
Accepted Answerasked a month agoHow can I add a fleet of wireless devices to AWS IoT Core for LoRaWAN similar to JITR
asked 2 months agoAWS IoT for LoRaWAN Frame Counters
asked a year agoHas the option to add a gateway to IoT Core disappeared?
Accepted Answerasked 3 days agoDoes AWS IoT allow a certificate for multiple devices?
asked 2 months agoCan one of the two block devices be selected when creating replication?
asked 4 months ago
New code sample: https://github.com/aws-samples/aws-iot-core-lorawan/tree/main/automation/batchregistration