UART4 RX = AT+CWMODE=3
UART4 RX =
UART4 RX = OK
UART4 RX = AT+BLEINIT=2
UART4 RX =
UART4 RX = OK
UART4 RX = AT+BLENAME="SNM476M-123456789"
UART4 RX =
UART4 RX = OK
UART4 RX = AT+BLEGATTSSRVCRE
UART4 RX =
UART4 RX = OK
UART4 RX = AT+BLEGATTSSRVSTART
UART4 RX =
UART4 RX = OK
UART4 RX = AT+BLEADVSTART
UART4 RX = OK
I tried these steps to set name and I am not able to see this name on my phone.
Not able to see set BLE name on the mobile phone with ESP32C3 Mini
Re: Not able to see set BLE name on the mobile phone with ESP32C3 Mini
Hi, I see that there is a description in the documentation, it may not be clear. The AT+BLENAME command (https://docs.espressif.com/projects/esp ... evice-name) just The name of the BLE service to set. If you want to broadcast the device name, you need to use the AT+BLEADVDATA command or the AT+BLEADVDATAEX command to make the device broadcast with the device name
Re: Not able to see set BLE name on the mobile phone with ESP32C3 Mini
UART4 RX = AT+CWMODE=3
UART4 RX =
UART4 RX = OK
UART4 RX = AT+BLEINIT=2
UART4 RX =
UART4 RX = OK
UART4 RX = AT+BLEADVDATA="123456789"
UART4 RX =
UART4 RX = ERROR
UART4 RX = AT+BLENAME="123456789"
UART4 RX =
UART4 RX = OK
UART4 RX = AT+BLEGATTSSRVCRE
UART4 RX =
UART4 RX = ERROR
UART4 RX = AT+BLEGATTSSRVSTART
UART4 RX =
UART4 RX = OK
UART4 RX = AT+BLEADVSTART
UART4 RX = OK
Tried setting the name it gives error.
Only this AT+BLEADVDATAEX="ESP-AT","A002","0102030405",1 works.
UART4 RX =
UART4 RX = OK
UART4 RX = AT+BLEINIT=2
UART4 RX =
UART4 RX = OK
UART4 RX = AT+BLEADVDATA="123456789"
UART4 RX =
UART4 RX = ERROR
UART4 RX = AT+BLENAME="123456789"
UART4 RX =
UART4 RX = OK
UART4 RX = AT+BLEGATTSSRVCRE
UART4 RX =
UART4 RX = ERROR
UART4 RX = AT+BLEGATTSSRVSTART
UART4 RX =
UART4 RX = OK
UART4 RX = AT+BLEADVSTART
UART4 RX = OK
Tried setting the name it gives error.
Only this AT+BLEADVDATAEX="ESP-AT","A002","0102030405",1 works.
Re: Not able to see set BLE name on the mobile phone with ESP32C3 Mini
Hi ggeorge,
Maybe you can take another look at AT+BLEADVDATA (https://docs.espressif.com/projects/esp ... ising-data) command introduction, its parameters seem to need to be converted into HEX strings. Maybe you can try it again.
Maybe you can take another look at AT+BLEADVDATA (https://docs.espressif.com/projects/esp ... ising-data) command introduction, its parameters seem to need to be converted into HEX strings. Maybe you can try it again.
Who is online
Users browsing this forum: No registered users and 29 guests