Tool/software: Code Composer Studio
Hi,
I have some CC2650 sensor tag, and I want they only recognize each other, so I add their MAC address to the Whitelist as follow(in multi_role_init function):
uint8_t bdAddr[][6] = { 0x98, 0x07, 0x2D, 0x35, 0xA4, 0x02, //Mac Address: 0x98:0x07:2D:35:A4:02 0x98, 0x07, 0x2D, 0x1D, 0x3F, 0x06, //Mac Address:98:07:2D:1D:3F:06 0x24, 0x71, 0x98, 0xCF, 0x7E, 0x06, //Mac Address:24:71:98:CF:7E:06 0x54, 0x6C, 0x0E, 0x80, 0xB3, 0x01, //Mac Address:54:6C:0E:80:B3:01 }; HCI_LE_ClearWhiteListCmd(); HCI_LE_AddWhiteListCmd(HCI_PUBLIC_DEVICE_ADDRESS, &bdAddr[0][0]); HCI_LE_AddWhiteListCmd(HCI_PUBLIC_DEVICE_ADDRESS, &bdAddr[1][0]); HCI_LE_AddWhiteListCmd(HCI_PUBLIC_DEVICE_ADDRESS, &bdAddr[2][0]); HCI_LE_AddWhiteListCmd(HCI_PUBLIC_DEVICE_ADDRESS, &bdAddr[3][0]);
But, unfortunately, it does not work, and nodes cannot recognize other nodes in the whitelist. Could you please guide me how can fix it?