How can I, from the pc-ble-driver API, send an insufficient authentication request without configuring a characteristic to be secured?
I am testing out new standards. One of the biggest user nightmares in Bluetooth is pairing - whether or not the device even pairs. Patients of health devices do not understand this concept. So the idea is that the collector queries the peripheral if it supports pairing and if it does, the collector begins pairing. This would be part of the health device communication profile protocol. If the collector does not do this query or does it and does not pair, I want to respond to any collector request with 'insufficient authentication'.
I do not see anyway to send this error in response to a write on an (unsecured) control point. I do not want to place security on the control point as that is the first command the collector will send (do you support pairing?).
Something like this would save a great deal of user headache.
Thanks.