Tool/software: Linux
I am wanting to connect my CC2650 board to my raspberry pi (running raspbian), using either the SPP Client or Server example.
I can connect a serial connection terminal on my phone to the Server example, i can also connect it to the Raspberry Pi. I cannot connect the Raspberry Pi to the Server however.
When i run SPP Client from it it wont connect at all, even when i enter a custom bd_address into the autoconnect function (i put in the raspberry pi bluetooth mac address, i have also tried it with my phone), i have set it to manual mode too however it doesnt find any devices in the area which is impossible as i tried this in a univeristy building and my own phone discovered hundreds of devices.
On my Pi i run rfcomms and listen on hci0, when the phone connects it detects it and i can oopen a serial connection, but this doesnt happen when i connect the SPP Server app, i can connect it via bluetoothctl in the same way i do the phone (it even pairs) however then nothing happens.
I can see using hcitool that the cc2650 is coming up as a master device, could this be the issue? i have tried switching the role using ""hcitool sr 05:04:03:02:01:00 slave"" however it doesnt allow it. could i change this to slave in the code?
All i want is a serial connection over bluetooth from the cc2650 to the Pi.