|
Pebble Foundation Classes
0.2.0
C++ for Pebble
|
#include <pebble.h>
Public Attributes | |
| uint8_t | steps |
| Number of steps taken in this minute. | |
| uint8_t | orientation |
| Quantized average orientation. | |
| uint16_t | vmc |
| Vector Magnitude Counts (vmc). | |
| bool | is_invalid: 1 |
| AmbientLightLevel | light: 3 |
| Instantaneous light level during this minute. | |
| uint8_t | padding: 4 |
| uint8_t | heart_rate_bpm |
| heart rate in beats per minute | |
| uint8_t | reserved [6] |
| Reserved for future use. | |
Structure representing a single minute data record returned by health_service_get_minute_history(). The orientation field encodes the angle of the watch in the x-y plane (the "yaw") in the lower 4 bits (360 degrees linearly mapped to 1 of 16 different values) and the angle to the z axis (the "pitch") in the upper 4 bits. The vmc value is a measure of the total amount of movement seen by the watch. More vigorous movement yields higher VMC values.
| bool HealthMinuteData::is_invalid |
true if the item doesn't represents actual data and should be ignored.