• over 5 years ago
Can't write to the Immediate Alert Service characteristic?
Whenever I try to use the V.BTTN Immediate Alert service I get an error indicating that writing to its characteristic is not permitted. Here are the details:
I definitely have the Immediate Alert service and characteristic UUIDs declared in my app manifest for usage permission. This is the Service/Characteristic pair I use when writing to the device:
// V.BTTN Immediate Alert Service
// V.BTTN Immediate Alert Characteristic
The value I write to the characteristic is a 0x01 to get the chirp only. When I execute that call I get the following error:
The attribute cannot be written.
Do I have to enable the service first? If so, what service and what characteristic do I use to do that? Or is there something I need to do with the client configuration descriptor first to enable writing to that characteristic?
Comments are closed.