Thread (16 messages) read the whole thread 16 messages, 4 authors, 2013-05-16

Re: [RFC] bloodpressure: Add Blood Pressure API

From: Johan Hedberg <hidden>
Date: 2013-02-20 07:57:25

Hi Waldek,

On Tue, Feb 12, 2013, Waldemar Rymarkiewicz wrote:
Change-Id: I7165ecee0186dfdb51cd01838f28768d94ff12b9
---
Please provide a proper commit message.
+Blood Pressure Manager hierarchy
+================================
+
+Serviceorg.bluez
+Interface	org.bluez.BloodPressureManager1
+Object path	[variable prefix]/{hci0,hci1,...}
+
+Methods		RegisterWatcher(object agent)
+
+			Registers a watcher to monitor blood pressure
+			measurements. This agent will be notified about
+			final pressure measurements.
+
+			Possible Errors: org.bluez.Error.InvalidArguments
+
+		UnregisterWatcher(object agent)
+
+			Unregisters a watcher.
+
+		EnableIntermediateMeasurement(object agent)
+
+			Enables intermediate measurement notifications
+			for this agent. Intermediate measurements will
+			be enabled only for devices which support it.
+
+			Possible Errors: org.bluez.Error.InvalidArguments
+
+		DisableIntermediateMeasurement(object agent)
+
+			Disables intermediate measurement notifications
+			for this agent. It will disable notifications in
+			devices when the last agent removes the
+			watcher for intermediate measurements.
+
+			Possible Errors: org.bluez.Error.InvalidArguments
+					org.bluez.Error.NotFound
I'm a bit confused, what's the difference between "watcher" and "agent"?
If they're the same thing just pick one term and stick to it.
+Blood Pressure Profile hierarchy
+================================
+
+Service		org.bluez
+Interface	org.bluez.BloodPressure1
+Object path	[variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX
+
+Properties	boolean Intermediate [readonly]
+
+			True if the device supports intermediate
+			measurement notifications.
What's the use of this property (and the interface)? I don't see how it
relates to any other APIs in this specification.

Johan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help