Value to write to remote client characteristic configuration attribute
I am working on integrating Metawear C sensor with my own platform with a BLE chip.
I am able to connect to the Meta C, but when I issue “client attribute write” and write 0x0001 to remote client characteristic configuration attribute, to start receiving notifications, I don’t get any notifications back with the attribute value from Meta C.
I am assuming that the value 0x0001 to be written to remote client characteristic configuration attribute maybe different with the Metawear C platform. Can you let me know what the correct value is? Or if I need to do something else with the Meta C to start getting attributes value notifications.
I am using the below UUID’s
SERVICE_UUID= 326A9000-85CB-9195-D9DD-464CFBBAE75A
CHAR_NOTIFICATION_UUID =326A9006-85CB-9195-D9DD-464CFBBAE75A
Here is the flow:
Sent (to Meta C): Gap Discover
Received (from Meta C): Gap Scan Response
(Received response the service UUID above)
Sent: Gap Connect
Received: Gap Connection Status
Sent: Read Attribute client service groups
Received: Attribute client group found
Received: Attribute client procedure completed
Sent: Attribute client find CCC (0x2A1C) and
measurement (0x2902) handles
Received: Measurement and CCC descriptor
Received: Attribute client procedure completed
Sent: Attribute Client Write
(write 0x0001 to remote Client characteristic
configuration attribute, to start receiving attribute value
notifications)
(Time out: No attribute value received from Meta C)
Please let me know what could be the issue.
Sanjay
Comments