I'm trying to connect a lego ev3 with micropython to a raspberry pi via bluetooth. Installed bluez and blueman on raspberry. I made the lego address trusted and connected it via the command line using sudo rfcomm connect hci0 <address>
. The pairing is set for a few seconds, after which it issuesCan't connect RFCOMM socket: Connection refused
.
When lego initiates the connection, the same situation occurs, and the display showsGDBus.error:org.bluez.error.failed:Protocol not available
.
I reinstalled bluez, deleted the connected devices, but it didn't help.
Bluetooth connect with Lego EV3 available via network connect. https://github.com/ev3dev/ev3dev/issues/1280#issuecomment-1186266809