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: SPP client code issue

Part Number: CC2650

Having an issue with the SPP client code.

I am trying to get it to connect to my bluetooth on a linux setup which is discoverable, i have added a line of code in accordance with the advice of the presvious person to help me however it would only run if i put it on like this:

uint8_t peerAddr[6] = { 0xb8, 0x27, 0xeb, 0x8d, 0xbb, 0xb2 };

The mac address of linux bluetooth im trying to get the client to connect to is: B8:27:EB:8D:BB:B2

The code runs and when i run the debug and open a serial connection the termial shows the correct message of: Hello from SPP BLE Client! With Data Length Extension support! Auto connecting...

However it does not connect to anything.

Can anyone please help? I am uploading the code from the SPP_BLE_Client file below.