Troubleshoot OTA updates of multiple devices - FreeRTOS
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Troubleshoot OTA updates of multiple devices

To perform OTAs on multiple devices (things) using the same firmware image, implement a function (for example getThingName()) that retrieves clientcredentialIOT_THING_NAME from non-volatile memory. Make sure that this function reads the thing name from a part of non-volatile memory that is not overwritten by the OTA, and that the thing name is provisioned before running the first job. If you are using the JITP flow, you can read the thing name out of your device certificate's common name.