diff --git a/Makefile.am b/Makefile.am index c2bd4a4a..63e6fdb6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -409,23 +409,23 @@ builtin_sources += plugins/sim900.c if BLUETOOTH if BLUEZ4 -builtin_modules += bluetooth -builtin_sources += plugins/bluetooth.c plugins/bluetooth.h +builtin_modules += bluez4 +builtin_sources += plugins/bluez4.c plugins/bluez4.h builtin_modules += telit -builtin_sources += plugins/telit.c plugins/bluetooth.h +builtin_sources += plugins/telit.c plugins/bluez4.h builtin_modules += sap -builtin_sources += plugins/sap.c plugins/bluetooth.h +builtin_sources += plugins/sap.c plugins/bluez4.h -builtin_modules += hfp -builtin_sources += plugins/hfp_hf.c plugins/bluetooth.h +builtin_modules += hfp_bluez4 +builtin_sources += plugins/hfp_hf_bluez4.c plugins/bluez4.h builtin_modules += hfp_ag -builtin_sources += plugins/hfp_ag.c plugins/bluetooth.h +builtin_sources += plugins/hfp_ag.c plugins/bluez4.h builtin_modules += dun_gw -builtin_sources += plugins/dun_gw.c plugins/bluetooth.h +builtin_sources += plugins/dun_gw.c plugins/bluez4.h builtin_modules += connman builtin_sources += plugins/connman.c @@ -750,7 +750,7 @@ if DUNDEE sbin_PROGRAMS += dundee/dundee dundee_dundee_SOURCES = $(gdbus_sources) $(gatchat_sources) $(btio_sources) \ - src/log.c src/dbus.c plugins/bluetooth.c \ + src/log.c src/dbus.c plugins/bluez4.c \ dundee/dundee.h dundee/main.c dundee/dbus.c \ dundee/manager.c dundee/device.c dundee/bluetooth.c diff --git a/dundee/bluetooth.c b/dundee/bluetooth.c index 9ddc72c9..58355d31 100644 --- a/dundee/bluetooth.c +++ b/dundee/bluetooth.c @@ -32,7 +32,7 @@ #include -#include "plugins/bluetooth.h" +#include "plugins/bluez4.h" #include "dundee.h" diff --git a/plugins/bluetooth.c b/plugins/bluez4.c similarity index 99% rename from plugins/bluetooth.c rename to plugins/bluez4.c index 5d28530e..6a29d9fa 100644 --- a/plugins/bluetooth.c +++ b/plugins/bluez4.c @@ -37,7 +37,7 @@ #include #include -#include "bluetooth.h" +#include "bluez4.h" static DBusConnection *connection; static GHashTable *uuid_hash = NULL; @@ -985,5 +985,5 @@ void bluetooth_unregister_server(struct server *server) bluetooth_unref(); } -OFONO_PLUGIN_DEFINE(bluetooth, "Bluetooth Utils Plugins", VERSION, - OFONO_PLUGIN_PRIORITY_DEFAULT, NULL, NULL) +OFONO_PLUGIN_DEFINE(bluez4, "Bluetooth Utils Plugins", VERSION, + OFONO_PLUGIN_PRIORITY_DEFAULT, NULL, NULL) diff --git a/plugins/bluetooth.h b/plugins/bluez4.h similarity index 100% rename from plugins/bluetooth.h rename to plugins/bluez4.h diff --git a/plugins/dun_gw.c b/plugins/dun_gw.c index 75b62ebf..fc8bde43 100644 --- a/plugins/dun_gw.c +++ b/plugins/dun_gw.c @@ -33,7 +33,7 @@ #include #include -#include "bluetooth.h" +#include "bluez4.h" #define DUN_GW_CHANNEL 1 diff --git a/plugins/hfp_ag.c b/plugins/hfp_ag.c index c2d1d306..12374ad8 100644 --- a/plugins/hfp_ag.c +++ b/plugins/hfp_ag.c @@ -33,7 +33,7 @@ #include #include -#include "bluetooth.h" +#include "bluez4.h" #define HFP_AG_CHANNEL 13 diff --git a/plugins/hfp_hf.c b/plugins/hfp_hf_bluez4.c similarity index 99% rename from plugins/hfp_hf.c rename to plugins/hfp_hf_bluez4.c index 7c500e36..450c183e 100644 --- a/plugins/hfp_hf.c +++ b/plugins/hfp_hf_bluez4.c @@ -47,7 +47,7 @@ #include -#include "bluetooth.h" +#include "bluez4.h" #define BLUEZ_GATEWAY_INTERFACE BLUEZ_SERVICE ".HandsfreeGateway" @@ -548,5 +548,5 @@ static void hfp_exit(void) g_hash_table_destroy(modem_hash); } -OFONO_PLUGIN_DEFINE(hfp, "Hands-Free Profile Plugins", VERSION, +OFONO_PLUGIN_DEFINE(hfp_bluez4, "Hands-Free Profile Plugins", VERSION, OFONO_PLUGIN_PRIORITY_DEFAULT, hfp_init, hfp_exit) diff --git a/plugins/sap.c b/plugins/sap.c index d893bc12..d1913fb5 100644 --- a/plugins/sap.c +++ b/plugins/sap.c @@ -37,7 +37,7 @@ #include #include -#include "bluetooth.h" +#include "bluez4.h" #include "util.h" #ifndef DBUS_TYPE_UNIX_FD diff --git a/plugins/telit.c b/plugins/telit.c index 79bc4219..392283aa 100644 --- a/plugins/telit.c +++ b/plugins/telit.c @@ -58,7 +58,7 @@ #include #include -#include "bluetooth.h" +#include "bluez4.h" static const char *none_prefix[] = { NULL }; static const char *rsen_prefix[]= { "#RSEN:", NULL };