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.

[参考译文] CC2745R10-Q1:使用 GapScan_enable ()连续扫描

Guru**** 2549590 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1490320/cc2745r10-q1-scan-continuously-with-gapscan_enable

器件型号:CC2745R10-Q1

工具与软件:

根据论文:

https://dev.ti.com/tirex/explore/node?node=A__AHaph7YfvcrVy2cDlmb4sQ__com.ti.SIMPLELINK_LOWPOWER_F3_SDK__58mgN04__LATEST

将 周期和持续时间设置为0应该会导致连续扫描、但我 在中只能看到几个命中:

void 4.2000 Observer_Scan 处理程序(uint32事件、BLEAppUtil_msgHdr_t *pMsgData)

BLE4512.Data_t Util_Scan *scanMsg =(BLE4073 Util_Scan Data_t *) pMsgData;
开关(事件)

/*! 该事件在检测到对等项后发生、每个对等项具有一个事件*/
案例 BLEAPPUTIL_ADV_REPORT:

Stk_Gap GR40_EVT_AdvRpt_t* pAdvRpt=&scanMsg->pBuf->pAdvReport;


MenuModule_printf (APP_MENU_SCAN_EVENT、0、"Scan status:Adv report");

休息;
}

那么扫描似乎停止了,我错过了什么让它运行?


  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    找到原因、需要禁用重复过滤器