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.

白名单的具体定义怎么编写?



就是怎么在主机里设置白名单,是绑定成功后自己自动添加的,还是需要自己添加相应的从机地址?要是需要添加地址在哪里添加呢?

  • DW,

    在SimpleBLECentral.c 中,有两个定义:

    // TRUE to use white list during discovery
    #define DEFAULT_DISCOVERY_WHITE_LIST             FALSE

    // TRUE to use white list when creating link

    #define DEFAULT_LINK_WHITE_LIST                            FALSE

    这个就是使能white list 的开关,使能后剩下的就是自动的。