check bt adapter state from bt-service daemon 69/30969/2
authorCorentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Thu, 27 Nov 2014 14:29:49 +0000 (15:29 +0100)
committerCorentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Tue, 9 Dec 2014 09:15:29 +0000 (01:15 -0800)
commitb1f636114f7b284eb6035949da27e5424865fa69
treeef89cae03aec85ba2fcab8d7461fac21aae93b38
parent7880e843be6f65426783185b38b8e83d3aa2f86d
check bt adapter state from bt-service daemon

By this way if bt-service is not running when calling
bt_adapter_get_state() CAPI, bt-service will be started
by dbus activation.

Change-Id: I05dcd3ef1aa9201042bd403c5e357c1126244f7c
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
bt-api/bt-adapter.c
bt-api/bt-common.c
bt-api/include/bt-common.h
bt-service/bt-service-adapter.c
bt-service/bt-service-common.c
bt-service/include/bt-service-common.h