Skip to content

Android app to perform OTA update on ESP32 via BLE

License

Notifications You must be signed in to change notification settings

duglah/ESP32_BLE_OTA_Android

 
 

Repository files navigation

ESP32_BLE_OTA_Android

Android app to perform OTA update on ESP32 via BLE

BLE-OTA-v1.0.apk

Arduino

ESP32 Code

Transfer Sequence

  1. Choose the binary file to be sent
  2. Split the file into parts (16384 bytes each)
  3. Send a command to format the SPIFFS
  4. Send a command specifying the number of parts and MTU size
  5. Send the first part to the board
  6. Send a command indicating completion of the part along with the number of bytes (this will trigger writing to the update.bin file along with a request to the next part)
  7. Receive request of a part specifying the part number (repeat 5, 6 & 7)
  8. After all parts have been sent trigger a restart in order to apply the update

About

Android app to perform OTA update on ESP32 via BLE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 87.8%
  • C++ 12.2%