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.