|
| HRMAccelData * | hrm_manager_get_accel_data (void) |
| | Get the accelerometer samples collected since the last release.
|
| |
| void | hrm_manager_release_accel_data (void) |
| | Empty and unlock the buffer returned by hrm_manager_get_accel_data().
|
| |
| void | hrm_manager_init (void) |
| | Initialize the HRM manager.
|
| |
| void | hrm_manager_handle_prefs_changed (void) |
| | Re-evaluate the sensor state after the HRM related preferences changed.
|
| |
| bool | hrm_manager_has_continuous_green_subscriber (void) |
| | Check whether a live subscriber keeps the green optical path on continuously.
|
| |
| HRMSessionRef | sys_hrm_manager_app_subscribe (AppInstallId app_id, uint32_t update_interval_s, uint16_t expire_s, HRMFeature features) |
| | Subscribe an app or worker to sensor updates.
|
| |
| HRMSessionRef | sys_hrm_manager_get_app_subscription (AppInstallId app_id) |
| | Get the subscription of an app or worker.
|
| |
| bool | sys_hrm_manager_unsubscribe (HRMSessionRef session) |
| | Unsubscribe, turning the sensor off if no longer needed.
|
| |
| bool | sys_hrm_manager_set_features (HRMSessionRef session, HRMFeature features) |
| | Change the features of a subscription.
|
| |
| bool | sys_hrm_manager_set_update_interval (HRMSessionRef session, uint32_t update_interval_s, uint16_t expire_s) |
| | Change the update interval and expiration of a subscription.
|
| |
| bool | sys_hrm_manager_get_subscription_info (HRMSessionRef session, AppInstallId *app_id, uint32_t *update_interval_s, uint16_t *expire_s, HRMFeature *features) |
| | Get information on a subscription.
|
| |
| bool | sys_hrm_manager_is_hrm_present (void) |
| | Check whether a heart rate monitor is present and accessible.
|
| |
| void | hrm_manager_enable (bool on) |
| | Enable or disable the HRM manager for the current run level.
|
| |
| void | hrm_manager_new_data_cb (const HRMData *data) |
| | Report new data from the HRM driver.
|
| |
| void | hrm_manager_process_cleanup (PebbleTask task, AppInstallId app_id) |
| | Clean up after an app or worker exited.
|
| |