Help to change ble name

Emanuele77
Posts: 2
Joined: Mon Jun 17, 2019 4:16 pm

Help to change ble name

Postby Emanuele77 » Mon Jun 17, 2019 4:36 pm

Hi,
I'm using the AT software to use the ble on esp32 devkit
module. I'm using esp32 as a server.
I would like to change the device name when it is detected by a client( in my case is a mobile phone). I know I have to use. AT + BLEADVDATA — Sets Advertising Data but I need an example: For example if I want my device to be found with the name ESP32 I have to send:
AT + BLEINIT = 0 AT + BLEADVDATA = "ESP32" AT + BLEADVSTART It's correct?
Thx to all

Helen L
Posts: 71
Joined: Thu Aug 16, 2018 9:07 am

Re: Help to change ble name

Postby Helen L » Tue Jun 18, 2019 2:32 am

Maybe you can refer to the doc esp32_at_instruction_set_and_examples Section 9.5.2 as an example.

Emanuele77
Posts: 2
Joined: Mon Jun 17, 2019 4:16 pm

Re: Help to change ble name

Postby Emanuele77 » Wed Jun 26, 2019 5:13 pm

Hi
i have see the example in 9.5.2 but if i follow the example with all the command my Android phone not find the device with blescanner or nrf connect app. If i send only at+bleinit=2 at+blegatsrvcre at+blegattssrvstart and at+bleadvstart i can see the chip with nrf or blescanner but the name of my device is n/a. i want only change the name of my device .if i use the command bleadvparam or bleadvdata like the example my phone not find the device.

The Crow
Posts: 3
Joined: Tue Jun 11, 2019 10:42 am

Re: Help to change ble name

Postby The Crow » Thu Dec 12, 2019 11:47 am

Hi,
i've same problem, did you understand how to solve it?
Tks.

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 168 guests