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.

[cc2650] Secure broadcasting by rotating mac address periodically



Hello,

I am trying to make the firmware in the broadcasting only mode to change the broadcasting beacon mac address every 10 seconds. In 2541, I can directly feed the fake mac address into the broadcasting packet easily. 

So far, I have tried the API: HCI_EXT_SetBDADDRCmd and GAP_ConfigDeviceAddr. However it seems they are only effective before the command GAPRole_StartDevice. Do you have any idea?

uint8               mac_pseudo[6];

LL_PseudoRand((uint8*)mac_pseudo, 6 );

HCI_EXT_SetBDADDRCmd(mac_pseudo);

GAP_ConfigDeviceAddr(ADDRTYPE_STATIC, mac_pseudo);