[agl-discussions] How to upload blue-tooth services

Takashi Matsuzawa tmatsuzawa at xevo.com
Wed Feb 28 03:23:40 UTC 2018


OK, I looked back my notes and confirmed that you do not need pair a device to Audio Sink to be listed on bluetoothctl show list.
I cannot immediately reproduce or try on actual board, but I remember you may need to check:

1) Is pulseaudio running?

I think you can check ps output to see if it is running or not.

2) I remember at least you need following plugins for pulseaudio so that audio sink is enabled.

pulseaudio-module-bluetooth-discover
pulseaudio-module-bluetooth-policy
pulseaudio-module-bluez5-discover
pulseaudio-module-bluez5-device
pulseaudio-module-switch-on-connect
pulseaudio-module-loopback

________________________________________
From: 김도훈 <dohoon.kim at drimaes.com>
Sent: Wednesday, February 28, 2018 11:41 AM
To: Takashi Matsuzawa
Cc: automotive-discussions at lists.linuxfoundation.org
Subject: Re: [agl-discussions] How to upload blue-tooth services

The results of the show command were not in a paired state with any device.

I have now finished connecting to the smartphone. However, when connecting to a smartphone, music is not output to the SABER board even if music is played on the smartphone because only the Handsfree profile is captured.

So I am looking for a way to upload Audio Sink and Audio Source service by applying A2DP profile in AGL.


2018-02-28 10:20 GMT+09:00 Takashi Matsuzawa <tmatsuzawa at xevo.com<mailto:tmatsuzawa at xevo.com>>:
Hello.
I have not tried with the latest builds, but the below is before you pair your BT device (e.g. smartphone) to the SABRE board, or after?

________________________________________
From: automotive-discussions-bounces at lists.linuxfoundation.org<mailto:automotive-discussions-bounces at lists.linuxfoundation.org> <automotive-discussions-bounces at lists.linuxfoundation.org<mailto:automotive-discussions-bounces at lists.linuxfoundation.org>> on behalf of 김도훈 <dohoon.kim at drimaes.com<mailto:dohoon.kim at drimaes.com>>
Sent: Tuesday, February 27, 2018 5:41:30 PM
To: automotive-discussions at lists.linuxfoundation.org<mailto:automotive-discussions at lists.linuxfoundation.org>
Subject: [agl-discussions] How to upload blue-tooth services

Dear ALL AGL members,

I am checking AGL 5.0.0 to play media via Bluetooth connection with NXP i.MX6 Quad (imx6qsabreauto).

When I checked bluetooth services like below, there are no Audio Sink, Audio Source service.

What I would like to ask is how to upload Audio Sink, Audio Source service.
The result of the show command in the bluetoothctl terminal.

       UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
       UUID: A / V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
       UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
       UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
       UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)
       UUID: A / V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)


Can I upload services at the command level? Or do I need to modify the kernel source?


Please help me in this regard.


Thanks & Regards,
Ciervo.


More information about the automotive-discussions mailing list