-
-
Notifications
You must be signed in to change notification settings - Fork 84
Description
Library/API/IoT binding
nanoFramework.Device.Bluetooth
Visual Studio version
No response
.NET nanoFramework extension version
No response
Target name(s)
No response
Firmware version
No response
Device capabilities
No response
Description
The Generic Access service (0x1800) is created when the StartAdvertising function is called.
But, you cannot adjust it, you can't add a second one as only the one used for the advertising will be used.
It should be exposed like any other service and even be created since the beginning like a service always present.
So something like GattServiceProvider.Create() (without anything in there), should just return this basic and always present element.
Some applications require to access the Appearance characteristic and change the value (example: all HID devices).
Other option would be to have the ability to have it passed in the parameters of the StartAdvertising function.
How to reproduce
No response
Expected behaviour
Being able to access the Appearance Characteristic from the Generic Access service.
Screenshots
No response
Sample project or code
No response
Aditional information
No response