Situation:
I have 10 identical Arduino Nano ESP32 devices that monitor identical pieces of machinery.
I improve the code for these and want to upload the new code to the devices using the OTA mass upload capability.
Complication:
The IDE compiles the Client ID and Client Secret into the compiled .bin file so how do we mass update these devices?
At the moment I re-compile the software 10 times over, manually changing the code each time. It's not really scalable.
Possible resolution:
It has been suggested that we use the onboard storage of the nano's to save the cloud login credentials. I would prefer to deal with the issue in the same way as other hardware and send the same update to all. Is it possible?
Situation:
I have 10 identical Arduino Nano ESP32 devices that monitor identical pieces of machinery.
I improve the code for these and want to upload the new code to the devices using the OTA mass upload capability.
Complication:
The IDE compiles the Client ID and Client Secret into the compiled .bin file so how do we mass update these devices?
At the moment I re-compile the software 10 times over, manually changing the code each time. It's not really scalable.
Possible resolution:
It has been suggested that we use the onboard storage of the nano's to save the cloud login credentials. I would prefer to deal with the issue in the same way as other hardware and send the same update to all. Is it possible?