Loading...
Searching...
No Matches
[struct].s_state Struct Reference

Data Fields

int hr
 The latest heart rate reading.
uint8_t hr_history [HR_HISTORY_MINUTES]
 The rolling heart rate window, one reading a minute.
time_t hr_last_min
 Wall-clock minute of the last history write, so the window can slide.
int steps
 Step count.
int calories
 Calorie count.
int sleep_min
 Minutes slept.
int active_min
 Active minutes.
int distance_m
 Distance walked, in metres.
uint16_t step_hourly [HOURS_PER_DAY]
 Steps in each hour of today, midnight first.
int step_hours
 How many of those hours are real (0 to 24).
uint8_t tag
 STORE_TAG_LOCATION, so a restore can tell this blob from another shape.
char lat [20]
 Latitude as text, as the phone sent it.
char lon [20]
 Longitude as text, as the phone sent it.
int battery_level
 Battery charge, in percent.
bool charging
 Whether the watch is charging.
bool bluetooth_connected
 Whether the phone is connected.
CalendarStrip strip
 The agenda as the phone last sent it.
time_t last_sync
 When that agenda arrived.
uint8_t tag
 STORE_TAG_STOCK, so a restore can tell this blob from another shape.
StockStrip strip
 The quotes as the phone last sent them.
time_t last_sync
 When those quotes arrived.

The documentation for this struct was generated from the following files: