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: CC2540

CC2540从设备白名单问题,从设备白名单有四种配置,如下

#define GAP_FILTER_POLICY_ALL         0x00 //!< Allow Scan Request from Any, Allow Connect Request from Any (default).

#define GAP_FILTER_POLICY_WHITE_SCAN  0x01 //!< Allow Scan Request from White List Only, Allow Connect from Any

#define GAP_FILTER_POLICY_WHITE_CON   0x02 //!< Allow Scan Request from Any, Connect from White List Only

#define GAP_FILTER_POLICY_WHITE       0x03 //!< Allow Scan Request and Connect from White List Only

我把这四种配置都试了一下,在demo板上实验,发现这四种配置都无法做到Allow Scan Request from White List Only,即这四种配置都是可以被任意主设备搜索到。前面两个配置都是能被搜索并连接,后两个配置都是可以被搜索,但是无法连接。

按照宏定义后面的注释,应该是可以实现不被搜索到的啊。