- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day,
I am using CYBLE416045-02 to build a BLE based project.
I need to respond to a read request and have the following example code.
However, it seems CYBLE_GATTS_CHAR_VAL_READ_REQ_T is not recognized when it added to my project.
Please advice how one can go about doing it.
Thank you.
********
case CYBLE_EVT_GATTS_READ_CHAR_VAL_ACCESS_REQ:
DBG_PRINTF("CYBLE_EVT_GATTS_READ_CHAR_VAL_ACCESS_REQ: handle: %x \r\n",
((CYBLE_GATTS_CHAR_VAL_READ_REQ_T *)eventParam)->attrHandle);
break;
******
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
CYBLE_EVT_GATTS_READ_CHAR_VAL_ACCESS_REQ and CYBLE_GATTS_CHAR_VAL_READ_REQ_T are PSoC4 BLE device events and structures. For PSoC6 BLE Device, you have to use the CY_BLE_EVT_GATTS_READ_CHAR_VAL_ACCESS_REQ and event parameter 'cy_stc_ble_gatts_char_val_read_req_t'. Please refer to the PSoC6 BLE Middleware Library for more information on list of PSoC6 BLE APIs, structures and events.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
CYBLE_EVT_GATTS_READ_CHAR_VAL_ACCESS_REQ and CYBLE_GATTS_CHAR_VAL_READ_REQ_T are PSoC4 BLE device events and structures. For PSoC6 BLE Device, you have to use the CY_BLE_EVT_GATTS_READ_CHAR_VAL_ACCESS_REQ and event parameter 'cy_stc_ble_gatts_char_val_read_req_t'. Please refer to the PSoC6 BLE Middleware Library for more information on list of PSoC6 BLE APIs, structures and events.
Thanks,
P Yugandhar.