Esp32-at device name

gtrotta
Posts: 1
Joined: Sun Jun 03, 2018 10:11 am

Esp32-at device name

Postby gtrotta » Sun Jun 03, 2018 10:25 am

Following instructions here https://github.com/espressif/esp32-at/tree/master/tools, its very simple to create a BLE service.
However I cannot set the BLE name that is shown during client discovery. Even if it's possible to set it using AT command: AT+BLENAME, it does not appear during client scanning; on clients it's always shown "n/a" followed by address. But reading the 2a00 characteristic the name is read.
The question is: how set the device name and let it shown during clients scanning, using esp32-at and csv file?
Thank you

amramsey
Posts: 1
Joined: Mon Jul 09, 2018 6:21 pm

Re: Esp32-at device name

Postby amramsey » Wed Jul 11, 2018 1:21 pm

BLENAME only sets the 2a00 characteristic name. You need to send either the shortened name or complete name as part of the advertising packet for the name to show up on a scan (message IDs 0x08 or 0x09).

Who is online

Users browsing this forum: Corand, ESP_Roland, OlejanJa and 159 guests