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.

pairing automatically

Other Parts Discussed in Thread: CC2564

Hi,

I am using CC2564 bluetooth module and LM4F232 stellaris kit and i am trying to pair with an android phone. But every time when I reset the device I have to pair again.I want to pair once and after that I want the LM4F232 to automatically pair with the phone every time it switches on.

How to use HCI_Write_Stored_Link_Key and HCI_Read_Stored_Link_Key so that I dont have to pair every time.

If I have write to flash can anyone give me a code snippet for doing the same in LM4F232.

Another doubt is how to check if transmit is complete when using Write API. ( I tried to send 40 bytes data 50 times using Write but after 15 successful writes it sends the remaining 35Write API with 0 bytes). so I would like to check if previous write was successful before using write API again. Kindly tell which flag or register i need to check for achieving this?


-Richin Johns