Hi all.
I use multi 2.1 project. When connection is done with slave, slave starts to send notification with 1000ms interval .
I used folow code for receiving notification in old multi(2.0) project:
static void SimpleBLEMulti_processGATTMsg(gattMsgEvent_t *pMsg)
{
if ((gapRoleNumLinks(GAPROLE_ACTIVE_LINKS) > 0))
{
if (pMsg->method == ATT_HANDLE_VALUE_NOTI ||
pMsg->method == ATT_HANDLE_VALUE_IND)
{
attHandleValueNoti_t noti;
noti.handle = pMsg->msg.handleValueNoti.handle;
noti.len = pMsg->msg.handleValueNoti.len;
noti.pValue = pMsg->msg.handleValueNoti.pValue;
TLwrite(noti.pValue, noti.len);
.........
in multi 2.1 it doesn't work. In debugging I see that Process GATT messages and events not happen.
I see notification messages in packet sniffer.
How to receive notification messages in multi(stack 2.1) ?
Thanks