Thread (4 messages) flat view 4 messages, 2 authors, 2012-02-24

Re: [PATCH] Heart Rate Profile API

From: Anderson Lizardo <hidden>
Date: 2012-02-23 16:06:36

Hi Santiago,

Just minor typos below. After they are fixed, I think it is okay to go upstream.

On Mon, Feb 20, 2012 at 5:54 AM, Santiago Carot-Nemesio
[off-list ref] wrote:
+Methods                void MeasurementReceived(dict measure)
+
+                       This callback is called whenever a heart rate measurement
+                       is received from the heart rate device. The unit for the
+                       Value is expressed in beats per minute (bpm). The energy
+                       field is optional and represents the accumulated energy
+                       expended in kilo Joules since last time it was resetted.
+                       Furthermore, the device will be automatically resetted
resetted -> reset (two occurrences)
+                       when it is needed.
+                       The Contact field, if present, indicates that the device
+                       supports contact sensor, besides it will be true if skin
+                       contact is detected. The optional interval field is an
+                       array containing RR-Interval values which represent the
+                       time between two R-Wave detections, where the RR-Interval
+                       Value 0 is older than the Value 1 and so on.
+
+                       Dict is defined as below:
+                       {
+                               "Value" : uint16,
+                               "Energy" : uint16,
+                               "Contact" : boolean,
+                               "Location" : ("Other", "Chest", "Wrist","Finger",
+                                       "Hand", "Ear Lobe", "Foot"),
+                               "Interval" : array{uint16}
+                       }
\ No newline at end of file
Remember to add the missing newline on the last line of the file (Vim
adds this automatically, so it avoids "collateral" changes if we
simple add the newline at the end of text files).


Best Regards,
-- 
Anderson Lizardo
Instituto Nokia de Tecnologia - INdT
Manaus - Brazil
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help