On Jul 6, 2011, at 10:02 AM, Claudio Takahasi wrote: > Hi Santiago, > > <snip> > >> + RegisterWatcher(object agent) >> + >> + Registers a watcher to monitor scanned measurements. >> + This agent will be notified about final temperature >> + measurements. >> + >> + Possible Errors: org.bluez.Error.InvalidArguments >> + >> + UnregisterWatcher(object agent) >> + >> + Unregisters a watcher. >> + >> + Final and intermediate temperatures won't be notified to >> + this agent any more. >> + >> + Possible Errors: org.bluez.Error.InvalidArguments >> + org.bluez.Error.NotFound >> + >> + EnableIntermediateMeasurement(object agent) > > It'd be good to try hide from the apps notifications and indications. > My opinion is: watchers doesn't need to know if the characteristic > value is a notification or indication. > The thermometer implementation could enable automatically > notifications if there is at least one watcher registered. The API does that for final measurements. This only enables/disables the intermediate ones. > > Is it important to know if the characteristic value is intermediate or not? Yes. Intermediate is a "rough" measurement that is sent for display purposes only, to keep the user happy, and not necessary when there is nobody watching. The final measurement is the "trusted" one. -- 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