arduino-BLEPeripheral icon indicating copy to clipboard operation
arduino-BLEPeripheral copied to clipboard

How to set service name ?

Open Entretoize opened this issue 3 years ago • 1 comments

Is the service name needed to be "Unknown service" ? I don't see any source setting the service name or having several services, so how to recognize the good service ? Thanks

Entretoize avatar Nov 29 '20 09:11 Entretoize

Afaik "Known" Services are only those defined by the Bluetooth standard, i.e. the Bluetooth SIG assigned numbers (https://www.bluetooth.com/de/specifications/assigned-numbers/).

You can however set the device name (BLEPeripheral::setDeviceName()), which is the device name under which the peripheral appears during advertising and you can set the local name (via BLEPeripheral::setLocalName()), which is shown after you have connected to the device.

hannesweisbach avatar May 13 '21 09:05 hannesweisbach