Re: Connecting the audio interface using the BSA Bluetooth Stack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Usually, the BSA stack source code is received from the distributor that provides the bluetooth module.

You will build and customize with the technical support of your dealer. Actually, I have received bsa stack source code from different distributors, but it seems that there are some customizations for each distributor considering that they do not perfectly match each other.

As you said, the implemented features work better in general. (I think it's a model to believe in us :D)
The lack of documentation, however, is extremely difficult to develop. Since it is a commercial stack, there is very little data available through googling. (Documents can be obtained from the dealer.)

In the case of bluez, I tried developing an application that uses the a2dp feature using blue-alsa, but the bsa stack does not have a package like blue-alse, so I decided to implement it myself.

2019년 5월 29일 (수) 오전 2:03, Thierry Bultel <thierry.bultel@xxxxxxx>님이 작성:
Thanks,

Indeed, it seems as commercial as not having an open documented API (or at least not easy to find) ;0),
is this a kind of "trust us it works" sales model ?

Best regards


On 05/28/2019 06:04 PM, Do-Hoon, Kim wrote:
As you know, the bsa stack is a commercial stack.

So, I think I use the bsa stack instead of bluez in the sense that it's easy to get tech support if I have a problem with the bluetooth stack.

Of course, as you said, the current version of the bluez stack would be satisfactory.

2019년 5월 28일 (화) 오후 7:03, Thierry Bultel <thierry.bultel@xxxxxxx>님이 작성:
Please tell us about your progress.
By the way, would you mind saying two words about the advantage of BSA vs Bluez ?
I am masking because AFAIK the current version of Bluez is rather satisfying, stable enough
all the tests I made did not raise any bugs. (Though it might have been the case in the old past ...)

Thanks !

On 05/28/2019 11:35 AM, Do-Hoon, Kim wrote:
Thank you for your advice. Thierry.

I will proceed as advised. :D

2019년 5월 28일 (화) 오후 6:19, Thierry Bultel <thierry.bultel@xxxxxxx>님이 작성:
Hi Kim,

The AGL audio stack uses bluez-alsa (https://github.com/Arkq/bluez-alsa)
that is designed to interface to bluez and ofono (basically, with a communication libraries and dbus events)

In 4a-hal-generic, there is a bluez-alsa audio plugin:
(see https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/4a-hal-generic.git;a=tree;f=plugins/lib/bluealsa;h=f52c15fdf412926d4da913a3fcb812d5380beae9;hb=HEAD)

that makes the glue between the incoming a2dp/hfp (aka sco) transports, and the audio streams that the 4a-softmixer must handle.
bluez-alsa implements alsa-pcm plugins that are then opened by the softmixer, with the transport information as
parameters.

IMHO, the best design approach, I mean, the one that would impact less layers, would be to write a BSA plugin in the 4a-hal-generic.
The condition is obviously that the BSA stack provides Alsa PCM, else, you will also have to write them.

The agl-service-bluetooth is not aware of the audio streams, its role is basically to handle the connectivity.

Hope this helps,
Thierry

On 05/28/2019 10:57 AM, Do-Hoon, Kim wrote:
Hi!

We modified the agl-service-bluetooth in AGL Rootfs to implement a2dp, hfp, and pbap functions. Using the bsa bluetooth stack.

And I'm having trouble designing the audio interface.
Is there a way to connect a device connected via agl-service-bluetooth to an existing audio system such as alsa or pulseaudio?

--
---------------------------------------
DrimAES - DoHoon.Kim

Cell      : 010-4723-0479
---------------------------------------


_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions

_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions


--
---------------------------------------
DrimAES - DoHoon.Kim

Cell      : 010-4723-0479
---------------------------------------



--
---------------------------------------
DrimAES - DoHoon.Kim

Cell      : 010-4723-0479
---------------------------------------



--
---------------------------------------
DrimAES - DoHoon.Kim

Cell      : 010-4723-0479
---------------------------------------
_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux