GATT Read operation (Custom profile). | Cypress Semiconductor
GATT Read operation (Custom profile).
I am using BLE Pioneer Kit (CY8CKIT-042-BLE).
1. I made custom profile including just one Service which include just one Characteristic (only 1 byte uint8 data field).
2. I excuted CySmart on my smartphone and tried to GATT read data.
3. I found CYBLE_EVT_GATTS_READ_CHAR_VAL_ACCESS_REQ was received.
I have no idea what I should do after CYBLE_EVT_GATTS_READ_CHAR_VAL_ACCESS_REQ is received.
I think there might be some API function by which I can send response including "1 byte uint8 data" to the GATT client, but I couldn't find it.
Can you please let me get sample code about that or some advice?