This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
static attHandleValueNoti_t pReport;
uint16 noti_cHandle; //存放handle
pReport.handle = simpleProfileAttrTbl[11].handle;//读取notification对应的handle
GAPRole_GetParameter( 0x30E, ¬i_cHandle);//获取Connection Handle
pReport.len = 1;//数据长度
pReport.value[0] = 0x03;//赋值
GATT_Notification(noti_cHandle,&pReport,FALSE);
我在simpleBLEPeripheral_HandleKeys中想获取handle,但是用以上方式编译报错,想知道怎样解决