diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-05-05 21:29:22 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-05-05 21:38:02 -0700 |
commit | d01713989051d7651378994316acbdacd8ab8a4d (patch) | |
tree | 73ada56f4d919132f658154d89e2300590ee4e79 /binding | |
parent | 2d0a8a4c1ed22b51451bceb20f17d4e69467c2ff (diff) |
binding: bluetooth-map: change uuid from MNS to MAS_UUID
Not all devices will have Message Notification Service initially when
paired, and so check for Message Access Service instead.
Bug-AGL: SPEC-2351
Change-Id: Ia5172c53631c6137626135795b97549f467bafe6
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding')
-rw-r--r-- | binding/bluetooth-map-api.c | 2 | ||||
-rw-r--r-- | binding/bluetooth-map-common.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/binding/bluetooth-map-api.c b/binding/bluetooth-map-api.c index d05709e..c72e7e2 100644 --- a/binding/bluetooth-map-api.c +++ b/binding/bluetooth-map-api.c @@ -391,7 +391,7 @@ static gboolean is_map_dev_and_init(struct map_state *ns, struct json_object *de const char *address = NULL; struct json_object *val1 = NULL; - if (g_strcmp0(MAP_UUID, uuid)) + if (g_strcmp0(MAS_UUID, uuid)) continue; json_object_object_get_ex(props, "address", &val1); diff --git a/binding/bluetooth-map-common.h b/binding/bluetooth-map-common.h index 0ce618e..4b43c7e 100644 --- a/binding/bluetooth-map-common.h +++ b/binding/bluetooth-map-common.h @@ -32,7 +32,7 @@ #define AFB_BINDING_VERSION 3 #include <afb/afb-binding.h> -#define MAP_UUID "00001133-0000-1000-8000-00805f9b34fb" +#define MAS_UUID "00001132-0000-1000-8000-00805f9b34fb" struct call_work; |