Hi, On Thu, Jan 27, 2011, ki kiki wrote: > I found that bluetooth can use those msg to notify its status.. > > set_property(conn, adapter, "Powered",DBUS_TYPE_BOOLEAN, &powered); > set_property(conn, adapter, "Discoverable",DBUS_TYPE_BOOLEAN, > &discoverable); > set_property(conn, adapter, "DiscoverableTimeout",DBUS_TYPE_UINT32, > &timeout); > set_property(conn, adapter, "Pairable",DBUS_TYPE_BOOLEAN, &pairable); > set_property(conn, adapter, "PairableTimeout",DBUS_TYPE_UINT32, &timeout); > > > but There is no "connected" information... > > anyone know that how bluetooth notify it is connected or disconnected??
The properties you listed are per-adapter. A connected property would be per-remote device. To discover which devices are connected you'd need to check the "Connected" property on Device objects (org.bluez.Device D-Bus interface). Johan _______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev
