-
-
Notifications
You must be signed in to change notification settings - Fork 22
erlang D Bus implementation
Arto Bendiken edited this page Sep 19, 2016
·
2 revisions
The erlang-dbus project aims at providing a native erlang implementation of D-Bus IPC system for:
- consuming D-Bus services,
- exposing D-Bus services (not implemented yet)
- why not, providing a D-Bus daemon replacement ?
D-Bus specifications can be found here
{ok, Bus} = dbus_bus_connection:connect(session), %% session | system
{ok, Proxy} = dbus_proxy:start_link(Bus, <<"org.freedesktop.DBus">>),
{ok, Id} = dbus_proxy:call(<<"org.freedesktop.DBus">>, <<"org.freedesktop.DBus">>, <<"GetId">>, []).