- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all,
I am using cyble-014008-00 and I have a characteristic with notify property: when the characteristic is written a notification with the response is sent back
I am using cysmart to connect and read/write
Here you can find that notify is disabled, but the notification is received:
read Client Characteristic Configuration (ccc)
[15:20:11:337] : 'Read Characteristic Descriptor' request sent
[15:20:11:337] : Attribute Handle: 0x0010
[15:20:11:338] : 'Command Status' event received
[15:20:11:338] : Status: BLE_STATUS_OK
[15:20:11:356] : 'Read Characteristic Descriptor Response' event received
[15:20:11:356] : Value: [00:00]
[15:20:11:374] : 'Command Complete' event received
[15:20:11:374] : Status: BLE_STATUS_OK
write
[15:20:26:790] : 'Write Characteristic Value' request sent
[15:20:26:790] : Attribute Handle: 0x000E
[15:20:26:790] : Value: [7B:22:54:53:22:3A:31:31:7D]
[15:20:26:791] : 'Command Status' event received
[15:20:26:791] : Status: BLE_STATUS_OK
[15:20:26:808] : 'Command Complete' event received
[15:20:26:808] : Status: BLE_STATUS_OK
notify
[15:20:26:836] : 'Characteristic Value Notification' event received
[15:20:26:836] : Attribute Handle: 0x000E
[15:20:26:836] : Value: [7B:22:52:43:22:3A:30:2C:22:54:53:22:3A:31:31:2C:22:4D:50:56:22:3A:22:32:2E:33:22:7D]
It seems that CyBle_GattsNotification does not check ccc
How can I read ccc and send the notify only if it is enabled?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to the GATT_OUT project in Day024_Throughput example project, in which when the client enables the notification on the Server, then the server will sends the data continuously to the client.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to the GATT_OUT project in Day024_Throughput example project, in which when the client enables the notification on the Server, then the server will sends the data continuously to the client.
Thanks,
P Yugandhar.