Skip to content

erlang D Bus implementation

Arto Bendiken edited this page Sep 19, 2016 · 2 revisions

erlang D-Bus

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

D-Bus specifications can be found here

Client API

{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">>, []).
Clone this wiki locally