Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set service name ? #280

Open
Entretoize opened this issue Nov 29, 2020 · 1 comment
Open

How to set service name ? #280

Entretoize opened this issue Nov 29, 2020 · 1 comment

Comments

@Entretoize
Copy link

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

@hannesweisbach
Copy link

hannesweisbach commented May 13, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants