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.

求助!!CC2540 通知功能

Other Parts Discussed in Thread: CC2541

   求助:

        static attHandleValueNoti_t pReport ;//声明attHandleValueNoti_t这个结构体
        uint16 noti_cHandle;                 //存放handle
        pReport.handle = simpleProfileAttrTbl[1].handle;  //读取notification对应的handle
        GAPRole_GetParameter( 0x30E, &noti_cHandle);     //获取Connection Handle
        pReport.len = osal_strlen(str);      
        osal_memcpy(pReport.value, str, pReport.len);
        GATT_Notification( 0, &pReport, FALSE );     

提示错误:

Error[Pe020]: identifier "simpleProfileAttrTbl" is undefined