Bluetooth br-connection-profile-unavailable

Hi @kevin.tx,
I have done the same tests on a PC with Linux and no problems, however with imx8mm I still have errors:

Failed to connect: org.bluez.Error.Failed br-connection-profile-unavailable
Failed to connect: org.bluez.Error.Failed br-connection-create-socket

Any suggestions, have you been able to run any other tests or find a solution?
Best regards,
Julián

Hi @jbruno ,

Sorry for the lengthy delay.

Unfortunately, I haven’t been able to find a solution yet. I will come back to you as soon as possible.

I have to apologize for the inconvenience.

Best Regards
Kevin

Hi @jbruno ,

These devices emulate a keyboard and/or mouse. It seems to be something SW related to HID, but we are not sure.

On my side I can’t seem to connect to HID Bluetooth devices as well, with the same br-connection-create-socket error. I’m using a similar setup as yours (Verdin iMX8M Mini with the minimal BSP ref. image 6.3.0)

It could be due to missing drivers on the kernel i.e. a config option not enabled, though I’m just guessing.

There is a recently updated issue reported on the bluez GitHub page that is similar to what you’re seeing:

Maybe it’s related to your issue.

As for the br-connection-profile-unavailable errors with the heasets, you may need to build a custom image with the oFono HFP profile, as documented here:

Best regards,
Lucas Akira

Hi @lucas_a.tx,
Thank you very much for your comments. I have tried to update the version of bluez in Yocto and it won’t let me upgrade from version 5.65.
Regarding the other issue you mentioned, I have the oFono HFP profile active.

Hopefully we will find a solution soon or someone from the forum can help us :wink:
Best regards,
Julián

Hi @kevin.tx ,
I have made a new post because I have problems with your example “Use the Module as a Bluetooth Speaker for your Host Device”, after a while alsaloop throws an error. This is the link to my new post. Maybe you can help me.
Best regards,
Julián