I'm porting a WeChat AirSync on CC2541, use AirSyncDebugger to test and encounter this problem:
***** onTestStartIndicating ***** result = false, can not Start Indicate permission: Write configure descriptor error ***** onConnected ***** result = false, failed to connect: onTestStartIndicating failed
Who has experience in this field?
on BLE-CC254x-1.4.2.2, I feel this place is in doubt:
VOID osal_memcpy( wcIndicate, value, UV_CMD_LEN ); GATTServApp_ProcessCharCfg( wcIndicateConfig, wcIndicate, FALSE, simpleProfileAttrTbl, GATT_NUM_ATTRS( simpleProfileAttrTbl ), INVALID_TASK_ID , simpleProfile_ReadAttrCB );
New GATTServApp_ProcessCharCfg function has more pfnGATTReadAttrCB_t pfnReadAttrCB parameter, Who can explain it?
Thanks!
Hansome