Hello,
I am curently trying to set up a ble server on my esp32, only with AT commands.
The BLE server need a bin file flashed in the custom partition.
Is there any way to flash the ESP32 and add "GATT Service Bin" without a computer ?
Only with the ESP32, a wifi connection and AT commands ?
I need to set up a ble server without programing the ESP, only with AT commands.
Thank you.
[AT command] Add "at_customize.bin" and "service bin" directly from the ESP32
Re: [AT command] Add "at_customize.bin" and "service bin" directly from the ESP32
If you bought a WROOM32 module from Espressif, the module should already have an AT firmware in it. And it will print "ready" in baud rate 115200 when power on.
Re: [AT command] Add "at_customize.bin" and "service bin" directly from the ESP32
Hi, in fact there are differents firmware "levels". I resolved my problem so here is a little explenation:
1. When you buy an esp there is the basic firmware with basic AT commands.
2. If you want Bluetooth Low Energy AT commands, we must flash the firmware, you can check this tutorial.
3. If you want to set a BLE server, you must flash the custom partition of your esp32. And this is a bit tricky.
My question was: can we flash that custom partition without a flash tool on a computer but directly with AT commands (like the AT+SYSFLASH command).
And the answer is no.
1. When you buy an esp there is the basic firmware with basic AT commands.
2. If you want Bluetooth Low Energy AT commands, we must flash the firmware, you can check this tutorial.
3. If you want to set a BLE server, you must flash the custom partition of your esp32. And this is a bit tricky.
My question was: can we flash that custom partition without a flash tool on a computer but directly with AT commands (like the AT+SYSFLASH command).
And the answer is no.
-
- Posts: 3
- Joined: Tue Jun 26, 2018 10:23 pm
Re: [AT command] Add "at_customize.bin" and "service bin" directly from the ESP32
Yes, this is possible. I did it with Over-The-Air updates. Refer to this example.
esp-idf\examples\system\ota\native_ota_example
It was easiest to start with the server certificate from here
https://github.com/espressif/esp-idf/is ... -538271762
Who is online
Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 82 guests