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.

CC2564B

Other Parts Discussed in Thread: CC2541, MSP430FR5969

Hi,

      I have worked on CC2541 BLE(Central+Peripheral) till now.At present I need to work on CC2564B integrating with MSP430FR5969 controller.But I am unable to understand the sample codes of Bluetopia Stack of how to set it as a master or slave.Can anyone tell me how to configure it as a master/slave.

Thanks.

  • Hi,

    You can use the API's, HCI_Role_Discovery() and HCI_Switch_Role(). If we are initiating the connection then set the parameter Allow_Role_Switch to false in HCI_Create_Connection() and If the remote device is initiating the connection and if he does not set this parameter to false then you can use the above APIs to the role switch. 

    And for LE When entered from the Initiating State, the Connection State shall be in the Master Role. When entered from the Advertising State, the Connection State shall be in the Slave Role.