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.

CC2340R5: syscfg使能 add advertisement Channel Number之后,如何在BLEAPPUTIL_ADV_REPORT事件到达后拿到这个Channel Number?

Part Number: CC2340R5

OBSERVER角色,syscfg使能 add advertisement Channel Number之后,如何在BLEAPPUTIL_ADV_REPORT事件到达后拿到这个Channel Number?

在scanMsg->pBuf->pAdvReport对象中哪个参数是Channel Number?

代码片段如下:

void Observer_ScanEventHandler(uint32 event, BLEAppUtil_msgHdr_t *pMsgData){

    BLEAppUtil_ScanEventData_t *scanMsg = (BLEAppUtil_ScanEventData_t *)pMsgData;
    switch (event){
          case BLEAPPUTIL_ADV_REPORT:{

              scanMsg->pBuf->pAdvReport.pData