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.

CC2640R2F: cc2640r2f How do I use wihtelist in simple_observer to specify uuid and deviceinfo information rather than the address?

Part Number: CC2640R2F

cc2640r2f How do I use wihtelist in simple_observer to specify uuid and deviceinfo information rather than the address?

GAPRole_CancelDiscovery();
static uint8 enable_address[6] = { 0xf1, 0xea, 0x5e, 0x64, 0x2d, 0x53 };
HCI_LE_AddWhiteListCmd(ADDRMODE_STATIC, enable_address);

GAPRole_StartDiscovery(DEFAULT_DISCOVERY_MODE, DEFAULT_DISCOVERY_ACTIVE_SCAN, DEFAULT_DISCOVERY_WHITE_LIST);

By making the above, I succeeded in specifying the whitelist by specifying the Beacon's Mac Address {0xf1, 0xea, 0x5e, 0x64, 0x2d, 0x53}.
However, in the project I am working on, the Mac Address is unknown.

Beacon uses the Eddystone format, so it must be identifiable by nameSpace.

In the case of rsp_data, the 10th to 19th data is nameSpace. Is it possible to use that value as a whitelist?

please help me.

  • Hello Kim,

    What SDK are you working with?

    I would suggest taking a look at the simple_central example. This example filters based on finding a given UUID in an advertiser's service UUID list, and it could be a good reference for your case.

    You can also have a look at this section of our user guide for more information on whitelists: Filter Accept List.

    Let me know if this helps.

    David.