diff options
author | Philip Rauwolf <rauwolf@itestra.de> | 2013-07-09 14:24:50 +0200 |
---|---|---|
committer | Philip Rauwolf <rauwolf@itestra.de> | 2013-07-09 14:24:50 +0200 |
commit | 0c3115190d49ff3ac42f8fc8a4add031c3853389 (patch) | |
tree | b1424bd7e61073a4c3dc69413881ac75b955fae2 /README | |
parent | 3ef7678c1dc69f9e3298632d6b41c07caf514918 (diff) | |
download | genivi-common-api-dbus-runtime-0c3115190d49ff3ac42f8fc8a4add031c3853389.tar.gz |
Introduced dynamic loading and Configuration files for CommonAPI.
Introduced possibility to dynamically load generated code for D-Bus at
runtime. Moved parsing of configuration out of AddressTranslator. Added
several unit tests to confirm correctness. Updated generated test files.
gitignore and README updated accordingly.
Change-Id: I44e8ccd904780cb7392fd5ddf82b070759647ad4
Diffstat (limited to 'README')
-rw-r--r-- | README | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -97,6 +97,13 @@ CommonAPI and CommonAPI-D-Bus can be built and the make command "check" can be e "make check" builds and executes all tests. As the tests are developed as regression tests, the test output is limited to "OK" and "ERROR" for each test performed. + +== Configuring the D-Bus middleware binding + +=== Well known name +The well known name that may be used to identify and dynamically load the D-Bus middleware binding is "DBus". + + === Defining D-Bus Service Parameters Normally, a CommonAPI address, format ---- @@ -117,7 +124,7 @@ per binary or globally for all binaries. If more than one config file is defined across several config files, the locally defined values override the global ones. If a CommonAPI address is defined more than once within a single file, the first definition found will be the only definition used. -Config files have to be named this way: +CommonAPI D-Bus Config files have to be named this way: ---- # Binary local: "<FqnOfBinary>_dbus.conf", e.g. "/usr/bin/myBinary_dbus.conf" if the binary is "/usr/bin/myBinary" # Binary global: "/etc/CommonApiDBus/<NameOfBinary>_dbus.conf", e.g. "/etc/CommonApiDBus/myBinary_dbus.conf" |