I’m trying to connect to a bluetooth device that is using bluetooth classic and using the Serial Port Profile. I’m trying this on a RPi 4, using balenaCloud builder and the OS is balenaOS 2.44.0+rev3. The bluetooth device is working fine with a regular debian stretch or buster installation on RPi3.
On balenaOS I get the following behaviour:
I’m logged in to the HostOS.
I can scan for devices.
I find my device.
I can pair it.
When I try to connect I get the following:
[bluetooth]# connect 00:12:6F:81:C7:CD Attempting to connect to 00:12:6F:81:C7:CD [CHG] Device 00:12:6F:81:C7:CD Connected: yes [CHG] Device 00:12:6F:81:C7:CD ServicesResolved: yes Failed to connect: org.bluez.Error.NotAvailable
What’s the cause of this?
I figure, before I can’t connect on the hostOS properly I don’t even have to try in one of my containers.
Just in case it’s important here’s the output of
Device 00:12:6F:81:C7:CD (public) Name: Serial Adaptor Alias: Serial Adaptor Class: 0x00000680 Icon: printer Paired: yes Trusted: no Blocked: no Connected: no LegacyPairing: no UUID: Serial Port (00001101-0000-1000-8000-00805f9b34fb)
Thanks for any advice.