Part Number: LAUNCHXL-CC2640R2
I am running 'Multi-role' project on CC2640R2 LaunchPad.
I can use a BLE applications on my iPad to connect to the board.
In 'Multi-role' project, the value of characteristic 5 is a 'GATT_PERMIT_AUTHEN_READ' type. In other words, it requires 'Read requires Authentication'.
But, I did not see the code to implement this feature here:
CONST gattServiceCBs_t simpleProfileCBs =
{
simpleProfile_ReadAttrCB, // Read callback function pointer
simpleProfile_WriteAttrCB, // Write callback function pointer
NULL // Authorization callback function pointer
};
Do you have any sample code and documents for this feature, 'Read requires Authentication'?
Thanks,
Steven