From: Bruna Moreira <bruna.moreira@xxxxxxxxxxxxx> --- alert/server.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/alert/server.c b/alert/server.c index d91b156..a4b301d 100644 --- a/alert/server.c +++ b/alert/server.c @@ -26,10 +26,29 @@ #include <config.h> #endif +#include <glib.h> +#include <bluetooth/uuid.h> + +#include "att.h" +#include "gattrib.h" +#include "attrib-server.h" +#include "gatt-service.h" +#include "log.h" #include "server.h" +#define PHONE_ALERT_STATUS_SVC_UUID 0x180E + +static void register_phone_alert_service(void) +{ + /* Phone Alert Status Service */ + gatt_service_add(GATT_PRIM_SVC_UUID, PHONE_ALERT_STATUS_SVC_UUID, + GATT_OPT_INVALID); +} + int alert_server_init(void) { + register_phone_alert_service(); + return 0; } -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html