/* Function for handling the Sensor Contact Detected timer timeout. 
This function will be called each time the Sensor Contact Detected timer expires. */
static void sensor_contact_detected_timeout_handler(void *p_context)
/* Function for handling the Sensor Contact Detected timer timeout. 
This function will be called each time the Sensor Contact Detected timer expires. */
static void sensor_contact_detected_timeout_handler(void *p_context)
{
    static bool sensor_contact_detected = false;
    UNUSED_PARAMETER(p_context);
    sensor_contact_detected = !sensor_contact_detected;
    ble_hrs_sensor_contact_detected_update(&m_hrs, sensor_contact_detected);
}