Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4477

Automation, sensing and robotics • Raspberry pi 5 & Lego NXT bluetooth issues

$
0
0
Hi

I recently got a Lego NXT 2 and I've been trying (and failing miserably) to connect to it over bluetooth.

I've tried with both RaspOS and Ubuntu and I can pair via either the OS GUI or bluetoothctl, but every time I connect it immediately disconnects again. When using bluetoothctl I get

Code:

Failed to connect: org.bluez.Error.NotAvailable br-connection-profile-unavailable
. I believe this is something to do with rfcomm, so I have been trying to manually bind using

Code:

sudo rfcomm bind 0 macAddress 1
which seems to be ok but then when I try sending a signal, e.g.

Code:

printf "\x03" > /dev/rfcomm0
I get nothing.

I'm fairly confident with linux but I'm very new to doing anything other than basic bluetooth connections. FWIW I've also tried to connect from my Mac and had other issues, I've not yet tried Windows.

Any help massively appreciated!

Statistics: Posted by ollyrennard — Wed Jan 08, 2025 4:37 pm — Replies 0 — Views 37



Viewing all articles
Browse latest Browse all 4477

Trending Articles