Re: BLE "Generic Access Service"
On Tue, Jul 10, 2018, Laurence Pasteau wrote:
I am trying to write an application that offers BLE connectableThat's correct.
Does anybody know how I can add the write property for this service ?Currently it's not possible in a clean way. I would consider adding a
new build-time Kconfig variable to request making the name runtime
changable. There is also a related github issue open for changing the
name from the application (rather than over GATT):
I think it'd make sense to solve both issues when implementing the
change. There is also the option of a Kconfig variable to disable the
internal services, but considering their simplicity I think we should be
able to make the internal implementation good enough to satisfy
I suppose we'll also want to store the name in flash, so that it get
restored from there when you power cycle the device. Most likely it'd be
stored similarly to the local IRK and static address, under the settings
path "bt/name". See how it's done for the IRK and static address in
I'd suggest to start off by filing a github issue to track your feature
request. I think it might be possible to get it done for Zephyr 1.13.
You're also welcome to contribute the actual implementation for it (if
you need more details, feel free to ask!).