[audio-manager] CAPI Wrapper

Christian.Linke at bmw.de Christian.Linke at bmw.de
Mon May 15 09:23:18 EDT 2017


CAPI is not so easy to use unfortunately. The interfaces documented in the FIDL files need to be generated into c++ code that it then linked against the Plugins.
The generated code needs to fit with the capi daemon that is used. You can generate the code fitting to your versions of CAPI and SOMEIP separately and just link against the generated libs
Or use the script to generate the sources. For the latter, the generators need to be installed on your build environment.

To make the plugin generate the code, use the switch:

"build command interface common-api glue code" OFF )

The deployment decides if vsomeip or dbus code is generated.


-----Ursprüngliche Nachricht-----
Von: genivi-audio-manager [mailto:genivi-audio-manager-bounces at lists.genivi.org] Im Auftrag von Oleksandr Grytsov
Gesendet: Montag, 15. Mai 2017 15:06
An: genivi-audio-manager at lists.genivi.org
Betreff: [audio-manager] CAPI Wrapper

Hi All,

I'm investigation AudioManager in order to be used in our project as
an audio arbiter.
So far I was able to build and run it with DBus wrapper.

Now I would like to control it with CAPI but I have issues with

1. Build CommandInterfacePlugin: cmake ../ -DWITH_COMMAND_INTERFACE_CAPI=ON

I have following error when start AudioManager:

[DEF] [Info] getCreateFunction : Trying to load library with name:
[DEF] [Erro] getCreateFunction : dlopen failed
/libPluginCommandInterfaceCAPI.so: undefined symbol:

2. I see that by default CommandInterfacePlugin tries to use SomeIP.
How to switch between SomeIP and DBUS bindings?

3. According to the document [1] I need .fedl file to implement the client app
but it is missing for CommandInterfacePlugin. Where can I get it?

Thank you.

[1] https://at.projects.genivi.org/wiki/pages/viewpage.action?pageId=5472320
Best Regards,
Oleksandr Grytsov.
genivi-audio-manager mailing list
genivi-audio-manager at lists.genivi.org

More information about the genivi-audio-manager mailing list