← index #7220Issue #7054
Off-topic · high · value 1.963
QUERY · ISSUE

BLE: Advertising name stays as 'ESP32'

openby plugowskiopened 2021-05-05updated 2021-05-10
extmod

I have an issue while advertise my device, I used ble_advertise helper from examples, which generates payload as below:

payload = b'\x02\x01\x06\x05\tLEDs\x11\x07\xdb\xa7\x7fgl\xbfG\x9c\x89@\x16\x05S@\x8a<'

So visible name in Bluetooth scanners should be LEDs but it is advertising as ESP32 all the time (I saw LEDs, few times only, after that it has been override as ESP32).

Any suggestions?

CANDIDATE · ISSUE

Bluetooth: two exampleImportErrors: no module named 'ble_advertising' or 'bletooth_advertising'

closedby Ce345opened 2021-03-19updated 2021-03-20

This error must be earlier reported. Extensive search did not give any results. Therefor this try.
Have tried out two examples in Thonny with the ESP32 as interpreter. (ESP32 micro python tested with a py blink).

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied