I'm using an esp32, I need to update the firmware through Bluetooth.
so that .bin file wants to be sent through Bluetooth.., could you please tell me,
how can it possible?
Thanks.
How can i send a .bin file to esp32 through bluetooth?
-
- Posts: 11
- Joined: Thu May 16, 2019 3:13 pm
Re: How can i send a .bin file to esp32 through bluetooth?
I made a project with a BLE GATT server on ESP32, and a mobile that connects to the device and sending the update using chuncks of the bin files
Do you already have a BT or BLE server in your ESP32 project?
Do you already have a BT or BLE server in your ESP32 project?
Re: How can i send a .bin file to esp32 through bluetooth?
Yes,I already have a BT in my ESP32 project.leonardo.zambonelli wrote: ↑Thu Mar 19, 2020 4:57 pmI made a project with a BLE GATT server on ESP32, and a mobile that connects to the device and sending the update using chuncks of the bin files
Do you already have a BT or BLE server in your ESP32 project?
How could you divide the bin file so i could send it from mobile .
and can yo guide me to any example that receive that data from bin file to flash so i cold update the app.
thanks in advance.
Last edited by testter2 on Sat Mar 21, 2020 1:21 pm, edited 1 time in total.
Re: How can i send a .bin file to esp32 through bluetooth?
Serial profile may be easiest. Makes it so much easier to test IMHO. How easy would it be to script a file read/bt send vrs some custom protocol? Serial profiles will be well documented. Also it would be a natural hook into the ESP ROM programming routines. Little bit of driver middle & then you would be able to leaver a whole lot of eco.
EDIT: PS The optimum vrs easy argument may be applied. IMHO I have gone 'easy', root of all evil etc.
EDIT: PPS I would not be suprised if there was already a BT OTA solution. Seems a natural Play update mechanism. Google it.
EDIT: PS The optimum vrs easy argument may be applied. IMHO I have gone 'easy', root of all evil etc.
EDIT: PPS I would not be suprised if there was already a BT OTA solution. Seems a natural Play update mechanism. Google it.
& I also believe that IDF CAN should be fixed.
Re: How can i send a .bin file to esp32 through bluetooth?
i googled it but seems that not mentioned a BT OTA Solution.PeterR wrote: ↑Sat Mar 21, 2020 12:25 amSerial profile may be easiest. Makes it so much easier to test IMHO. How easy would it be to script a file read/bt send vrs some custom protocol? Serial profiles will be well documented. Also it would be a natural hook into the ESP ROM programming routines. Little bit of driver middle & then you would be able to leaver a whole lot of eco.
EDIT: PS The optimum vrs easy argument may be applied. IMHO I have gone 'easy', root of all evil etc.
EDIT: PPS I would not be suprised if there was already a BT OTA solution. Seems a natural Play update mechanism. Google it.
could you guide me to any example that receive bin file from Serial profile .
Thanks in advance.
Who is online
Users browsing this forum: No registered users and 93 guests