各位社友,TI工程师,请教一个问题GATT_Notification返回(0x16)blePending ,不能notify数据。
attHandleValueNoti_t Notify;
uint16 Cfg_value=0;
uint16 connHandle;
uint8 Status = SUCCESS;
GAPRole_GetParameter(GAPROLE_CONNHANDLE,&connHandle);
Notify.handle = simpleProfileAttrTbl[68].handle;
Notify.len = len;
osal_memcpy(Notify.pValue,value,len);
Status = GATT_Notification(connHandle,&Notify,FALSE);
return Status;