adafruit / Adafruit_CircuitPython_BLE

Bluetooth Low Energy (BLE) library for CircuitPython
MIT License
127 stars 58 forks source link

Question - Broadcast network name #190

Closed ondrovic closed 1 year ago

ondrovic commented 1 year ago

Is it not possible to set the broadcast network name, so it's something other than CIRCUITPY<xxxx>? Looks like doing a ble.name = "TestName" only sets the local name but the broadcast name still remains the same

Screenshot 2023-09-18 at 3 15 12 PM

ondrovic commented 1 year ago

looks like it can be done like this

from adafruit_ble.advertising import Advertisement

advertisement = Advertisement()
advertisement.short_name = "TestName"
...