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.

[参考译文] CC2640:缩短扫描特定器件的时间

Guru**** 2589330 points
Other Parts Discussed in Thread: CC2640

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/607757/cc2640-shorten-the-time-on-scaning-specific-device

器件型号:CC2640

你(们)好

CC2640运行主从多角色。

 扫描 附近30多台设备的特定设备大约需要5到10秒。 是否可以将时间缩短到3秒以内?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    //扫描持续时间(以 ms 为单位)
    #define DEFAULT_SCAN_DURATION 5000
    
    静态空 SimpleBLECentral_init (void)
    {
    //...
    
    GAP_SetParamValue (TGAP_GEN_DISC_SCAN、DEFAULT_SCAN_DURATION); 

    您好!

    您可以通过更改 TGAP_GEN_DISC_SCAN 来更改扫描持续时间。