Hi guys,
I would like to understand someting:
After have received GAP_LINK_ESTABLISHED event in my callback, I call the following service:
GAPCentralRole_StartDiscovery( DEFAULT_DISCOVERY_MODE,
DEFAULT_DISCOVERY_ACTIVE_SCAN,
DEFAULT_DISCOVERY_WHITE_LIST );
and then get the following response:
if ( pMsg->method == ATT_FIND_BY_TYPE_VALUE_RSP &&
pMsg->msg.findByTypeValueRsp.numInfo > 0 )
{
simpleBLESvcStartHdl = pMsg->msg.findByTypeValueRsp.handlesInfo[0].handle;
simpleBLESvcEndHdl = pMsg->msg.findByTypeValueRsp.handlesInfo[0].grpEndHandle;
}
(with pMsg->method realy equal to ATT_FIND_BY_TYPE_VALUE_RSP).
Someone can explain me what these values (pMsg->msg.findByTypeValueRsp.handlesInfo[0].handle and pMsg->msg.findByTypeValueRsp.handlesInfo[0].grpEndHandle) represent ? I didn't find any clear explanation.
Thanks
Mikael