Flash ESP32 programmatically using Java/Android
Posted: Mon Jan 13, 2020 8:22 pm
Hi guys!
I’m developing an Android app that is directly connected via USB to consume data from an ESP32 with sensors attached. I’m using https://github.com/felHR85/UsbSerial to manage the connection. Since the app will be running on an internet connected tablet, I think it’s obvious to update ESP32 code, if needed, through the app, giving the user an option do download it (.bin) and then upload it to ESP32.
But I have no idea how...
Tried searching for and Android/Java lib, but I wonder it can be done by the same lib I’m using to establish the serial communication already.
So, If you have done such thing or know how to do and/or can point some direction, please share it with me.
Kind regards,
Vicente Maciel Jr
I’m developing an Android app that is directly connected via USB to consume data from an ESP32 with sensors attached. I’m using https://github.com/felHR85/UsbSerial to manage the connection. Since the app will be running on an internet connected tablet, I think it’s obvious to update ESP32 code, if needed, through the app, giving the user an option do download it (.bin) and then upload it to ESP32.
But I have no idea how...
Tried searching for and Android/Java lib, but I wonder it can be done by the same lib I’m using to establish the serial communication already.
So, If you have done such thing or know how to do and/or can point some direction, please share it with me.
Kind regards,
Vicente Maciel Jr