如何选取合适的扫描间隔和扫描窗口,以保证扫描时发现更多的广播设备

比如,有一个广播设备,广播间隔100ms,如何设置扫描参数,以使在10s内扫描到的概率最大,有这方面的指导文档吗

  • 请您看一下

    dev.ti.com/.../ble_scan_adv_basic.chinese.html

    另外

    scanning windows设置为advertising interval + 10ms

    In a time-constrained application, when the user needs to receive the data as fast as possible, make sure that scanning window is more than the advertising interval + 10ms to guarantee discovery. (The 10 ms extra account for the 0 ms to 10 ms of pseudo-random delay in between each advertising event, assuming no interference.) Following this rule will increase the chance of receiving the advertising packet on the first scan.

    If a post answers your question, please mark it with the "verify answer" button.

    若是回复解决了您的问题,请点击“是”确认答案。谢谢!