remove bt_status logic from bt-core 68/30968/2
authorCorentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Thu, 27 Nov 2014 14:07:00 +0000 (15:07 +0100)
committerCorentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Mon, 1 Dec 2014 14:02:15 +0000 (15:02 +0100)
commit7880e843be6f65426783185b38b8e83d3aa2f86d
tree3377ea889914fe17d967dc3636d4b6d8dc5fcd32
parent26ef41a381278d8f0e609218ae458d8802c3c906
remove bt_status logic from bt-core

This is no more relevant since enable/disable function is done through dbus.
Now a changed power state is acknowledged in bluez event receiver.
Moreover bt-core could stay in a wrong BT_ACTIVATING or BT_DEACTIVATING state
if bluetooth state is modified by an external way.

Keep Tizen Mobile compatibility using __TIZEN_MOBILE__ macro in calling scripts
to enable/disable bt adapter. Those scripts allows to also stop/start other Tizen
bluetooth components (i.e. bluetooth-share, bluetooth-agent,...).

Change-Id: I7d6816f0a750f775f1b5a659174a63d663d81c3f
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
bt-core/bt_core.c