Hi Claudio, On Mon, Oct 14, 2013, Claudio Takahasi wrote: > +Service Manager hierarchy > +========================= > + > +ServiceManager allows external applications to register GATT based services. > +Services should follow the API for Service and Characteristic described above. > + > +For GATT local services, services and characteristics definitions are > +discovered automatically using D-Bus Object Manager. > + > +Service org.bluez > +Interface org.bluez.ServiceManager1 [Experimental] > +Object path /org/bluez > + > +Methods RegisterApplication(object application, dict options) > + > + Registers remote application services exported under > + the interface Service1. Characteristic objects must > + be hierarchical to their service and must use the > + interface Characteristic1. D-Bus Object Manager is > + used to fetch the exported objects. > + > + "application" object path together with the D-Bus system > + bus connection ID define the identification of the > + application registering a GATT based service. > + > + Possible errors: org.bluez.Error.InvalidArguments > + org.bluez.Error.AlreadyExists > + > + UnregisterApplication(object application) > + > + This unregisters the application that has been > + previously registered. The object path parameter > + must match the same value that has been used > + on registration. > + > + Possible errors: org.bluez.Error.DoesNotExist > + > +Service Agent hierarchy > +======================= > + > +Service org.bluez I suppose this should not be "org.bluez" since it's the agent that's providing it. > +Interface org.bluez.ServiceAgent1 [Experimental] > +Object path freely definable If this is the object registered by ServiceManager1.RegisterApplication I think we need some renaming. Either this interface should be called org.bluez.ServiceApplication1 or the registration method shoud be renamed to RegisterAgent. Or is the idea that an "application" is a set of objects and interfaces (services, characteristics, etc.) and as a minimum there must be this ServiceAgent1 interface at the root object? In that case the naming might make sense. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html