Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


BT out
#1
Hi folks,

lately I wanted to listen to some music while trimming the grass in my garden. I know, it's silly, but I am sick, so... let me do it ;-)

I wanted to connect a "4smarts" BT device to moOde (it can be switched to work as either a sender or a receiver; I'd use it as a receiver/sink, plugging ordinary 3.5mm-jack headphones to it)

1. enable BT in Settings => System => Startup options => Bluetooth, then reboot as suggested
2. enable both Controller and Pairing agent (in this order) in Settings => Renderers => Bluetooth
3. go through the discover => pair => connect process

At this point I can see the device, I can pair it (then it becomes trusted I think, cannot remember all the details), but when I try to connect it, it fails.

I tried it 3/4 times, then it was late at night so I just gave up...

What / where do I look for in the logs (have I better enable verbosity also?) to try to get the little bastard to work, or at least understand why it refuses to?
(of course, before you ask, it is configured to be a sink... and yes, I was successful in connecting it to my Linux Mint box, in both configurations)

One thing maybe worth mentioning, it is a BT 5.0 device, and can offer both low and high quality connections, such as might be relevant for using it at "hi-fi" or "speakerphone/handsfree" level.
Reply
#2
@Nutul 

Hi, Al.

Bluetooth debugging can get messy. 

It's been a few years since I was trying to help the project get BT integrated. My memory is bad but ISTR that the command line tool bluetoothcl was a great help. If moOde is discovering and pairing successfully, then try connecting from the command line with bluetoothctl and see if it tells you anything useful. For fun, exercise some of its other subcommands as well.

Regards,
Kent
Reply
#3
(10-31-2023, 01:41 PM)TheOldPresbyope Wrote: @Nutul 

Hi, Al.

Bluetooth debugging can get messy. 

It's been a few years since I was trying to help the project get BT integrated. My memory is bad but ISTR that the command line tool bluetoothcl was a great help. If moOde is discovering and pairing successfully, then try connecting from the command line with bluetoothctl and see if it tells you anything useful. For fun, exercise some of its other subcommands as well.

Regards,
Kent

Thanks Kent,

didn't think to go that way... it will probably help debugging. Now I am out for dinner, then some relax while the youngsters are at the cinema, me and buddy drinking some beers.
Will try again later tonight, and keep things updated.

Cheers, Al.
Reply


Forum Jump: