Module Integration Guides
Arduino
Integrate Over the Air Updates
5 min
ota update has become a critical requirement for devices being deployed remotely this guide covers everything you need to know about over the air firmware upgrades with bytebeamarduino enabling ota updates ota updates can be integrated into application by adding a single line of code! // // enable ota updates for your device // bytebeam enableota(); have a look at https //github com/bytebeamio/bytebeam arduino sdk/tree/main/examples/esp32/basicota sketch for wifi based ota and https //github com/bytebeamio/bytebeam arduino sdk/tree/main/examples/esp32/basicota gsm sketch if you are using a gsm modem for connectivity follow the below steps to trigger ota updates upload a bin file and create a new firmware version on bytebeam as per the instructions mentioned in the docid\ rspbeteys4f9tw3fepvfa guide once, new firmware version is created, trigger ota update as per the instructions mentioned in the docid\ adgo fn2yj0q5lptibrqo guide progress of the firmware update can be monitored on bytebeam platform using action status disabling ota updates if your device does not require ota updates you can disable them if you opt for the no ota partition scheme, make sure you have the selected file system partition (say spiffs) for device provisioning see tools > partition scheme within the arduino ide disabling ota updates at run time you can use the disableota method to disable the ota updates at any point of time in the code // // disable ota updates for your device // bytebeam disableota(); disable ota updates at compile time this approach will disable the ota updates by excluding the ota related stuff from the build thereby saving some flash size follow the below steps to do so open the arduino libraries location step into bytebeamarduino\src folder open bytebeamarduino h in your favourite text editor set bytebeam ota enable macro to false

