Health Thermometer Profile Application declarations.
Copyright (c) 2017-2018 Microchip Technology Inc. and its subsidiaries.
#include "at_ble_api.h"
Data Structures | |
struct | htp_app |
Macros | |
#define | ADV_DATA_LEN 18 |
#define | ADV_TYPE_LEN (0x01) |
#define | APP_HT_ADV_TIMEOUT 655 |
#define | APP_HT_FAST_ADV 1600 |
#define | DBG_LOG |
#define | DBG_LOG_CONT printf |
#define | HT_ADV_DATA_APPEARANCE_DATA "\x00\x03" |
#define | HT_ADV_DATA_APPEARANCE_LEN (2) |
#define | HT_ADV_DATA_APPEARANCE_TYPE (0x19) |
#define | HT_ADV_DATA_NAME_DATA "ATMEL-HTP" |
#define | HT_ADV_DATA_NAME_LEN (9) |
#define | HT_ADV_DATA_NAME_TYPE (0x09) |
#define | HT_ADV_DATA_UUID_DATA "\x09\x18" |
#define | HT_ADV_DATA_UUID_LEN (2) |
#define | HT_ADV_DATA_UUID_TYPE (0x03) |
#define | SCAN_RESP_LEN 10 |
Typedefs | |
typedef struct htp_app | htp_app_t |
Enumerations | |
enum | stable_temp_reading { UNSTABLE_TEMPERATURE_VAL = 0, STABLE_TEMPERATURE_VAL =1 } |
Temperature measurement stability type. More... | |
Functions | |
static at_ble_status_t | app_connected_event_handler (void *params) |
static at_ble_status_t | app_disconnected_event_handler (void *params) |
static at_ble_status_t | app_encryption_status_changed_handler (void *params) |
static at_ble_status_t | app_htpt_cfg_indntf_ind_handler (void *params) |
static at_ble_status_t | app_htpt_create_db_cfm_handler (void *params) |
static at_ble_status_t | app_htpt_disable_ind_handler (void *params) |
static at_ble_status_t | app_htpt_enable_rsp_handler (void *params) |
static at_ble_status_t | app_htpt_error_ind_handler (void *params) |
static at_ble_status_t | app_htpt_meas_intv_chg_ind_handler (void *params) |
static at_ble_status_t | app_htpt_meas_intv_upd_rsp (void *params) |
static at_ble_status_t | app_htpt_temp_send_cfm (void *params) |
static at_ble_status_t | app_htptp_meas_intv_chg_req (void *params) |
static at_ble_status_t | app_pair_done_event_handler (void *params) |
#define ADV_DATA_LEN 18 |
#define ADV_TYPE_LEN (0x01) |
#define APP_HT_ADV_TIMEOUT 655 |
Referenced by app_disconnected_event_handler(), and htpt_set_advertisement_data().
#define APP_HT_FAST_ADV 1600 |
Referenced by app_disconnected_event_handler(), and htpt_set_advertisement_data().
#define DBG_LOG |
#define DBG_LOG_CONT printf |
#define HT_ADV_DATA_APPEARANCE_DATA "\x00\x03" |
#define HT_ADV_DATA_APPEARANCE_LEN (2) |
#define HT_ADV_DATA_APPEARANCE_TYPE (0x19) |
#define HT_ADV_DATA_NAME_DATA "ATMEL-HTP" |
#define HT_ADV_DATA_NAME_LEN (9) |
#define HT_ADV_DATA_NAME_TYPE (0x09) |
#define HT_ADV_DATA_UUID_DATA "\x09\x18" |
#define HT_ADV_DATA_UUID_LEN (2) |
#define HT_ADV_DATA_UUID_TYPE (0x03) |
#define SCAN_RESP_LEN 10 |
enum stable_temp_reading |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |