Hi everyone,
I hope this is the right session.
I need to configure the ESP32-wrover module to receive AT commands. I have loaded the "ESP32-WROVER AT Bin V1.1.2" bin files in the module. It allows me to have AT commands for WiFi and BLE but not for classic Bluetooth.
Can someone help me?
Thank you.
ESP32 AT commands for normal Bluetooth (no BLE)
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 AT commands for normal Bluetooth (no BLE)
The AT firmware has support for classic BT, but not in the default AT firmware; you'd have to change a configuration and recompile the binary yourself. Ref https://github.com/espressif/esp32-at/b ... uetooth.md
Re: ESP32 AT commands for normal Bluetooth (no BLE)
I did as you told me. I downloaded the source, I enabled bluetooth and recompiled. It doesn't work because the pins of the serial port have changed (I use the ESP32-WROVER module).
To fix it, after recompiling, I added the "factory_param_WROVER-32.bin" file and loaded the firmware using the "ESP32 Download Tool V3.6.5". Now the serial works, the AT commands for classic Bluetooth work. But I can't enable Bluetooth.
I followed the example in the "ESP32_AT_Classic_Bluetooth.md" file:
initialization
AT + BTINIT = 1 // init BT stack
AT + BTSPPINIT = 2 // init spp profile as shave
AT + BTSPPSTART // if role is client, this command is not required
parameters setting
AT + BTNAME = "EXAMPLE" // set device name
AT + BTSCANMODE = 2 // discoverable and connectable
AT + BTSECPARAM = 3.1, "9527" // NoInputNoOutput, fixed PIN code
What am I doing wrong? Please help me.
The files that I load with the ESP32 Download Tool V3.6.5 are the following:
build / ota_data_initial.bin
build / bootloader / bootloader.bin
build / at_customize.bin
build / customized_partitions / server_cert.bin
build / customized_partitions / server_key.bin
build / customized_partitions / server_ca.bin
build / customized_partitions / client_cert.bin
build / customized_partitions / client_key.bin
build / customized_partitions / client_ca.bin
build / phy_init_data.bin
build / esp-at.bin
build / partitions_at.bin
factory_param_WROVER-32.bin
To fix it, after recompiling, I added the "factory_param_WROVER-32.bin" file and loaded the firmware using the "ESP32 Download Tool V3.6.5". Now the serial works, the AT commands for classic Bluetooth work. But I can't enable Bluetooth.
I followed the example in the "ESP32_AT_Classic_Bluetooth.md" file:
initialization
AT + BTINIT = 1 // init BT stack
AT + BTSPPINIT = 2 // init spp profile as shave
AT + BTSPPSTART // if role is client, this command is not required
parameters setting
AT + BTNAME = "EXAMPLE" // set device name
AT + BTSCANMODE = 2 // discoverable and connectable
AT + BTSECPARAM = 3.1, "9527" // NoInputNoOutput, fixed PIN code
What am I doing wrong? Please help me.
The files that I load with the ESP32 Download Tool V3.6.5 are the following:
build / ota_data_initial.bin
build / bootloader / bootloader.bin
build / at_customize.bin
build / customized_partitions / server_cert.bin
build / customized_partitions / server_key.bin
build / customized_partitions / server_ca.bin
build / customized_partitions / client_cert.bin
build / customized_partitions / client_key.bin
build / customized_partitions / client_ca.bin
build / phy_init_data.bin
build / esp-at.bin
build / partitions_at.bin
factory_param_WROVER-32.bin
Who is online
Users browsing this forum: Google [Bot] and 118 guests