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.

CC2564: How to write coustom bluetooth address in bluetooth device

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