|
PebbleOS
|
Macros | |
| #define | BLE_HRM_REMINDER_POPUP_DELAY_MINS (2 * PBL_MIN_PER_HOUR) |
| Interval between sharing reminder popups, in minutes. | |
Typedefs | |
| typedef struct BLEHRMSharingRequest | BLEHRMSharingRequest |
| Opaque pending request for permission to share. | |
Functions | |
| void | ble_hrm_handle_sharing_request_response (bool is_granted, BLEHRMSharingRequest *sharing_request) |
| Apply the user's answer to a sharing request. | |
| bool | ble_hrm_is_supported_and_enabled (void) |
| Check whether heart rate sharing is possible. | |
| bool | ble_hrm_is_sharing_to_connection (const GAPLEConnection *connection) |
| Check whether heart rate is shared with a connection. | |
| bool | ble_hrm_is_sharing (void) |
| Check whether heart rate is shared with any device. | |
| void | ble_hrm_revoke_sharing_permission_for_connection (GAPLEConnection *connection) |
| Revoke sharing permission for a connection. | |
| void | ble_hrm_revoke_all (void) |
| Revoke sharing permission for all connections, disconnecting them. | |
| void | ble_hrm_handle_activity_prefs_heart_rate_is_enabled (bool is_enabled) |
| Handle a change of the heart rate monitoring preference. | |
| void | ble_hrm_handle_disconnection (GAPLEConnection *connection) |
| Handle an LE disconnection. | |
| void | ble_hrm_init (void) |
| Initialize heart rate sharing when the stack starts. | |
| void | ble_hrm_deinit (void) |
| Stop sharing and forget all permissions when the stack stops. | |