genivi-ipc@lists.genivi.org

Development list for inter process communication (IPC) related topics

View all threads

[PATCH v3.1.11 ] [capicxx-dbus-runtime]: Patch to read default bus type from commonapi-dbus.ini file

SS
Sandeep, Sandeep (Sasken Communication Technologies)
Tue, Mar 21, 2017 10:01 AM

??Hi,

Please find attached the patch to read default bus type from the /etc/commonapi-dbus.ini file. This default bus type will be used if the bus type is not specified for the connection name being used. If default bus type is not specified in /etc/commonapi-dbus.ini file or /etc/commonapi-dbus.ini file is not found then SYSTEM bus will be used instead.

Retained the "dbus" section with 'dbus_bus_type' element in commonapi-dbus.ini file [Previously available in 3.1.2 version]. This patch gives the flexibility to change default bus type merely by updating the ini file. And also if all the connections use the same bus type then no need to specify the bus type for each connection and changing the bus type will be more hasslefree.

Regards,

Sandeep Arjun

??Hi, Please find attached the patch to read default bus type from the /etc/commonapi-dbus.ini file. This default bus type will be used if the bus type is not specified for the connection name being used. If default bus type is not specified in /etc/commonapi-dbus.ini file or /etc/commonapi-dbus.ini file is not found then SYSTEM bus will be used instead. Retained the "dbus" section with 'dbus_bus_type' element in commonapi-dbus.ini file [Previously available in 3.1.2 version]. This patch gives the flexibility to change default bus type merely by updating the ini file. And also if all the connections use the same bus type then no need to specify the bus type for each connection and changing the bus type will be more hasslefree. Regards, Sandeep Arjun