Microchip® Advanced Software Framework

common/components/wifi/winc3400/ble/ble_services/heart_rate/heart_rate.c File Reference

Heart Rate service.

Copyright (c) 2017-2019 Microchip Technology Inc. and its subsidiaries.

#include "heart_rate.h"

Functions

void heart_rate_init_service (gatt_service_handler_t *heart_rate_serv, uint8_t *heart_rate_value)
 Initialize the service with its included service, characteristics, and descriptors. More...
 
at_ble_status_t heart_rate_primary_service_define (gatt_service_handler_t *heart_rate_service)
 defining a initialized service More...
 
at_ble_status_t heart_rate_update_char_value (gatt_service_handler_t *heart_rate_serv, uint8_t *char_data, uint8_t length)
 Function used to update characteristic value. More...
 

Variables

at_ble_connected_t ble_connected_dev_info [MAX_DEVICE_CONNECTED]
 information of the connected devices More...
 
uint8_t body_sensor_location_value = CHEST
 initial body sensor location value More...
 
uint8_t hr_control_point_value = 0
 initial heart rate control point value More...
 
uint16_t hr_measurement_value = 0
 initial heart rate measurement value More...
 

information of the connected devices

uint8_t body_sensor_location_value = CHEST

initial body sensor location value

Referenced by heart_rate_init_service(), and hr_init_service().

uint8_t hr_control_point_value = 0

initial heart rate control point value

Referenced by heart_rate_init_service(), and hr_init_service().

uint16_t hr_measurement_value = 0

initial heart rate measurement value

Referenced by heart_rate_init_service(), and hr_init_service().