Part Number: CC2564
Hello,
We are using bluetooth chip CC2564. Want to write coustom bluetooth address into it. I have implemented function like this:
void SetADDR(BD_ADDR_t BD_ADDR)
{
Byte_t StatusResult;
//if(!GAP_LE_Set_Random_Address(BluetoothStackID, BD_ADDR))
if(HCI_LE_Set_Random_Address(BluetoothStackID, BD_ADDR, &StatusResult))
{
Display(("Local BD_ADDR SUCCESSS"));
}
}
But the code is not able to write the address though the fuction returns success value. Can you please explain what should i do to
write address?
Regards,
Bhagyashri