Part Number: CC2650
Tool/software: TI-RTOS
Hi Team,
My client (example simple central code) need to read characteristic value from my Project Zero code ( Peripheral).
In function --> static void SimpleBLECentral_processGATTMsg(gattMsgEvent_t *pMsg)
else if ((pMsg->method == ATT_READ_RSP) ||
((pMsg->method == ATT_ERROR_RSP) &&
(pMsg->msg.errorRsp.reqOpcode == ATT_READ_REQ)))
{
if (pMsg->method == ATT_ERROR_RSP)
{
Display_print1(dispHandle, 4, 0, "\t\t\tRead Error %d", pMsg->msg.errorRsp.errCode);
}
else
{
// After a successful read, display the read value
Display_print1(dispHandle, 4, 0, "Read rsp: %d", pMsg->msg.readRsp.pValue[0]);
}
procedureInProgress = FALSE;
}
My controller is not reaching red colored statement.
Please help me to resolve the issue.
And in which structure variable read characteristic value will be stored ?
Thanks
Roshan