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/bluetooth-map-api.c | |
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/bluetooth-map-api.c')
-rw-r--r-- | binding/bluetooth-map-api.c | 2 |
1 files changed, 1 insertions, 1 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); |