commit | 87b140440a9b03b139c8dfa2168c277f20fa9f88 | [log] [tgz] |
---|---|---|
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | Tue Dec 21 19:26:38 2010 -0200 |
committer | Johan Hedberg <johan.hedberg@nokia.com> | Thu Dec 23 10:32:11 2010 +0200 |
tree | 0a4e3bcf6283a80a50cd62f227f49e0b8d82e643 | |
parent | b33922d99ec796396a3b0173517ca6c2f7abf14b [diff] |
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.
diff --git a/attrib/client.c b/attrib/client.c index 8b5aea8..e717eaa 100644 --- a/attrib/client.c +++ b/attrib/client.c
@@ -970,6 +970,7 @@ 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); } }