diff options
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | 2010-12-21 19:26:38 -0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-12-23 10:32:11 +0200 |
commit | 87b140440a9b03b139c8dfa2168c277f20fa9f88 (patch) | |
tree | 0a4e3bcf6283a80a50cd62f227f49e0b8d82e643 /attrib | |
parent | b33922d99ec796396a3b0173517ca6c2f7abf14b (diff) | |
download | bluez-87b140440a9b03b139c8dfa2168c277f20fa9f88.tar.gz |
Add support for adding services to the Services property
We need to fill the devices property as each service path gets
registered in the DBus system bus.
Diffstat (limited to 'attrib')
-rw-r--r-- | attrib/client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/attrib/client.c b/attrib/client.c index 8b5aea83..e717eaad 100644 --- a/attrib/client.c +++ b/attrib/client.c @@ -970,6 +970,7 @@ static void register_primaries(struct gatt_service *gatt, GSList *primaries) DBG("Registered: %s", prim->path); gatt->primary = g_slist_append(gatt->primary, prim); + btd_device_add_service(gatt->dev, prim->path); load_characteristics(prim, gatt); } } |