Hi all,
I'm want to have an additional user authorisation process in my peripheral device by having a special characterisitic that the central has to write an encoded value to, before it can get read/write access to the rest of the characterisitics. When the central writes the correct value to this special char, then the peripoheral application sets a flag. When the central tries to write to a protected characterisitic, the application checks the flag and if not set, it returns INSUFFICIENT AUTHORISATION response.
A colleague has recently informed me that the BT spec requires that any central must be able to read/write to characterisitics (in this case the application must then ignore values that have been written if central is not authorised). My understanding, however, is that all characeristics must be discoverable, but allowing read/write of char values is at application discretion.
This is my first BT device so haven't been through the certification process. Is anyone able to clarify read/write authorisation requrements.
Thanks in advance