Bluetooth LE Profile API document
Bluetooth LE Profile API document Rev.1.00 [May 22, 2020]
Environmental Sensing Service Client

This is the client for the Environmental Sensing Service. More...

Detailed Description

This is the client for the Environmental Sensing Service.

Data Structures

struct  st_ble_desc_value_changed_flags_t
 Descriptor Value Changed Flags value structure. More...
 
struct  st_ble_esc_desc_value_changed_t
 Descriptor Value Changed value structure. More...
 
struct  st_ble_esc_desc_value_changed_attr_hdl_t
 Descriptor Value Changed attribute handle value. More...
 
struct  st_ble_esc_temperature_0_es_meas_t
 Environmental Sensing Measurement value structure. More...
 
struct  st_ble_esc_temperature_0_es_trigger_0_t
 Environmental Sensing Trigger Setting 0 value structure. More...
 
struct  st_ble_esc_temperature_0_es_trigger_1_t
 Environmental Sensing Trigger Setting 1 value structure. More...
 
struct  st_ble_esc_temperature_0_es_trigger_2_t
 Environmental Sensing Trigger Setting 2 value structure. More...
 
struct  st_ble_esc_temperature_0_char_user_desc_t
 Characteristic User Description value structure. More...
 
struct  st_ble_esc_temperature_0_valid_range_t
 Valid Range value structure. More...
 
struct  st_ble_esc_temperature_0_attr_hdl_t
 Temperature 0 attribute handle value. More...
 
struct  st_ble_esc_temperature_1_es_meas_t
 Environmental Sensing Measurement value structure. More...
 
struct  st_ble_esc_temperature_1_es_trigger_0_t
 Environmental Sensing Trigger Setting 0 value structure. More...
 
struct  st_ble_esc_temperature_1_es_trigger_1_t
 Environmental Sensing Trigger Setting 1 value structure. More...
 
struct  st_ble_esc_temperature_1_es_trigger_2_t
 Environmental Sensing Trigger Setting 2 value structure. More...
 
struct  st_ble_esc_temperature_1_char_user_desc_t
 Characteristic User Description value structure. More...
 
struct  st_ble_esc_temperature_1_valid_range_t
 Valid Range value structure. More...
 
struct  st_ble_esc_temperature_1_attr_hdl_t
 Temperature 1 attribute handle value. More...
 
struct  st_ble_esc_elevation_0_es_meas_t
 Environmental Sensing Measurement value structure. More...
 
struct  st_ble_esc_elevation_0_es_trigger_0_t
 Environmental Sensing Trigger Setting 0 value structure. More...
 
struct  st_ble_esc_elevation_0_es_trigger_1_t
 Environmental Sensing Trigger Setting 1 value structure. More...
 
struct  st_ble_esc_elevation_0_es_trigger_2_t
 Environmental Sensing Trigger Setting 2 value structure. More...
 
struct  st_ble_esc_elevation_0_char_user_desc_t
 Characteristic User Description value structure. More...
 
struct  st_ble_esc_elevation_0_valid_range_t
 Valid Range value structure. More...
 
struct  st_ble_esc_elevation_0_attr_hdl_t
 Elevation 0 attribute handle value. More...
 
struct  st_ble_esc_elevation_1_es_meas_t
 Environmental Sensing Measurement value structure. More...
 
struct  st_ble_esc_elevation_1_es_trigger_0_t
 Environmental Sensing Trigger Setting 0 value structure. More...
 
struct  st_ble_esc_elevation_1_es_trigger_1_t
 Environmental Sensing Trigger Setting 1 value structure. More...
 
struct  st_ble_esc_elevation_1_es_trigger_2_t
 Environmental Sensing Trigger Setting 2 value structure. More...
 
struct  st_ble_esc_elevation_1_char_user_desc_t
 Characteristic User Description value structure. More...
 
struct  st_ble_esc_elevation_1_valid_range_t
 Valid Range value structure. More...
 
struct  st_ble_esc_elevation_1_attr_hdl_t
 Elevation 1 attribute handle value. More...
 
struct  st_ble_esc_evt_data_t
 Environmental Sensing client event data. More...
 

Macros

#define BLE_ESC_DESC_VALUE_CHANGED_UUID   (0x2A7D)
 
#define BLE_ESC_DESC_VALUE_CHANGED_LEN   (18)
 
#define BLE_ESC_DESC_VALUE_CHANGED_CLI_CNFG_UUID   (0x2902)
 
#define BLE_ESC_DESC_VALUE_CHANGED_CLI_CNFG_LEN   (2)
 
#define BLE_ESC_TEMPERATURE_0_UUID   (0x2A6E)
 
#define BLE_ESC_TEMPERATURE_0_LEN   (2)
 
#define BLE_ESC_TEMPERATURE_0_CLI_CNFG_UUID   (0x2902)
 
#define BLE_ESC_TEMPERATURE_0_CLI_CNFG_LEN   (2)
 
#define BLE_ESC_TEMPERATURE_0_ES_MEAS_UUID   (0x290C)
 
#define BLE_ESC_TEMPERATURE_0_ES_MEAS_LEN   (11)
 
#define BLE_ESC_TEMPERATURE_0_CHAR_EXTENDED_PROPERTIES_UUID   (0x2900)
 
#define BLE_ESC_TEMPERATURE_0_CHAR_EXTENDED_PROPERTIES_LEN   (2)
 
#define BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_UUID   (0x290D)
 
#define BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_LEN   (4)
 
#define BLE_ESC_TEMPERATURE_0_ES_TRIGGER_1_UUID   (0x290D)
 
#define BLE_ESC_TEMPERATURE_0_ES_TRIGGER_1_LEN   (4)
 
#define BLE_ESC_TEMPERATURE_0_ES_TRIGGER_2_UUID   (0x290D)
 
#define BLE_ESC_TEMPERATURE_0_ES_TRIGGER_2_LEN   (4)
 
#define BLE_ESC_TEMPERATURE_0_ES_CONF_UUID   (0x290B)
 
#define BLE_ESC_TEMPERATURE_0_ES_CONF_LEN   (1)
 
#define BLE_ESC_TEMPERATURE_0_CHAR_USER_DESC_UUID   (0x2901)
 
#define BLE_ESC_TEMPERATURE_0_CHAR_USER_DESC_LEN   (100)
 
#define BLE_ESC_TEMPERATURE_0_VALID_RANGE_UUID   (0x2906)
 
#define BLE_ESC_TEMPERATURE_0_VALID_RANGE_LEN   (4)
 
#define BLE_ESC_TEMPERATURE_1_UUID   (0x2A6E)
 
#define BLE_ESC_TEMPERATURE_1_LEN   (2)
 
#define BLE_ESC_TEMPERATURE_1_CLI_CNFG_UUID   (0x2902)
 
#define BLE_ESC_TEMPERATURE_1_CLI_CNFG_LEN   (2)
 
#define BLE_ESC_TEMPERATURE_1_ES_MEAS_UUID   (0x290C)
 
#define BLE_ESC_TEMPERATURE_1_ES_MEAS_LEN   (11)
 
#define BLE_ESC_TEMPERATURE_1_CHAR_EXTENDED_PROPERTIES_UUID   (0x2900)
 
#define BLE_ESC_TEMPERATURE_1_CHAR_EXTENDED_PROPERTIES_LEN   (2)
 
#define BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_UUID   (0x290D)
 
#define BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_LEN   (4)
 
#define BLE_ESC_TEMPERATURE_1_ES_TRIGGER_1_UUID   (0x290D)
 
#define BLE_ESC_TEMPERATURE_1_ES_TRIGGER_1_LEN   (4)
 
#define BLE_ESC_TEMPERATURE_1_ES_TRIGGER_2_UUID   (0x290D)
 
#define BLE_ESC_TEMPERATURE_1_ES_TRIGGER_2_LEN   (4)
 
#define BLE_ESC_TEMPERATURE_1_ES_CONF_UUID   (0x290B)
 
#define BLE_ESC_TEMPERATURE_1_ES_CONF_LEN   (1)
 
#define BLE_ESC_TEMPERATURE_1_CHAR_USER_DESC_UUID   (0x2901)
 
#define BLE_ESC_TEMPERATURE_1_CHAR_USER_DESC_LEN   (100)
 
#define BLE_ESC_TEMPERATURE_1_VALID_RANGE_UUID   (0x2906)
 
#define BLE_ESC_TEMPERATURE_1_VALID_RANGE_LEN   (4)
 
#define BLE_ESC_ELEVATION_0_UUID   (0x2A6C)
 
#define BLE_ESC_ELEVATION_0_LEN   (3)
 
#define BLE_ESC_ELEVATION_0_CLI_CNFG_UUID   (0x2902)
 
#define BLE_ESC_ELEVATION_0_CLI_CNFG_LEN   (2)
 
#define BLE_ESC_ELEVATION_0_ES_MEAS_UUID   (0x290C)
 
#define BLE_ESC_ELEVATION_0_ES_MEAS_LEN   (11)
 
#define BLE_ESC_ELEVATION_0_CHAR_EXTENDED_PROPERTIES_UUID   (0x2900)
 
#define BLE_ESC_ELEVATION_0_CHAR_EXTENDED_PROPERTIES_LEN   (2)
 
#define BLE_ESC_ELEVATION_0_ES_TRIGGER_0_UUID   (0x290D)
 
#define BLE_ESC_ELEVATION_0_ES_TRIGGER_0_LEN   (4)
 
#define BLE_ESC_ELEVATION_0_ES_TRIGGER_1_UUID   (0x290D)
 
#define BLE_ESC_ELEVATION_0_ES_TRIGGER_1_LEN   (4)
 
#define BLE_ESC_ELEVATION_0_ES_TRIGGER_2_UUID   (0x290D)
 
#define BLE_ESC_ELEVATION_0_ES_TRIGGER_2_LEN   (4)
 
#define BLE_ESC_ELEVATION_0_ES_CONF_UUID   (0x290B)
 
#define BLE_ESC_ELEVATION_0_ES_CONF_LEN   (1)
 
#define BLE_ESC_ELEVATION_0_CHAR_USER_DESC_UUID   (0x2901)
 
#define BLE_ESC_ELEVATION_0_CHAR_USER_DESC_LEN   (100)
 
#define BLE_ESC_ELEVATION_0_VALID_RANGE_UUID   (0x2906)
 
#define BLE_ESC_ELEVATION_0_VALID_RANGE_LEN   (6)
 
#define BLE_ESC_ELEVATION_1_UUID   (0x2A6C)
 
#define BLE_ESC_ELEVATION_1_LEN   (3)
 
#define BLE_ESC_ELEVATION_1_CLI_CNFG_UUID   (0x2902)
 
#define BLE_ESC_ELEVATION_1_CLI_CNFG_LEN   (2)
 
#define BLE_ESC_ELEVATION_1_ES_MEAS_UUID   (0x290C)
 
#define BLE_ESC_ELEVATION_1_ES_MEAS_LEN   (11)
 
#define BLE_ESC_ELEVATION_1_CHAR_EXTENDED_PROPERTIES_UUID   (0x2900)
 
#define BLE_ESC_ELEVATION_1_CHAR_EXTENDED_PROPERTIES_LEN   (2)
 
#define BLE_ESC_ELEVATION_1_ES_TRIGGER_0_UUID   (0x290D)
 
#define BLE_ESC_ELEVATION_1_ES_TRIGGER_0_LEN   (4)
 
#define BLE_ESC_ELEVATION_1_ES_TRIGGER_1_UUID   (0x290D)
 
#define BLE_ESC_ELEVATION_1_ES_TRIGGER_1_LEN   (4)
 
#define BLE_ESC_ELEVATION_1_ES_TRIGGER_2_UUID   (0x290D)
 
#define BLE_ESC_ELEVATION_1_ES_TRIGGER_2_LEN   (4)
 
#define BLE_ESC_ELEVATION_1_ES_CONF_UUID   (0x290B)
 
#define BLE_ESC_ELEVATION_1_ES_CONF_LEN   (1)
 
#define BLE_ESC_ELEVATION_1_CHAR_USER_DESC_UUID   (0x2901)
 
#define BLE_ESC_ELEVATION_1_CHAR_USER_DESC_LEN   (100)
 
#define BLE_ESC_ELEVATION_1_VALID_RANGE_UUID   (0x2906)
 
#define BLE_ESC_ELEVATION_1_VALID_RANGE_LEN   (6)
 
#define BLE_ESC_WRITE_REQUEST_REJECTED_ERROR   (BLE_ERR_GROUP_GATT | 0x80)
 An attempt was made to write a value to the descriptor that is invalid or not supported by this Server. More...
 
#define BLE_ESC_CONDITION_NOT_SUPPORTED_ERROR   (BLE_ERR_GROUP_GATT | 0x81)
 An attempt was made to write a value to the Condition field of the ES Trigger Setting descriptor that is invalid or not supported by this Server. More...
 

Enumerations

enum  e_ble_esc_tempeture_0_es_meas_sampling_function_t {
  BLE_ESC_TEMPERATURE_0_ES_MEAS_SAMPLING_FUNCTION_UNSPECIFIED = 0,
  BLE_ESC_TEMPERATURE_0_ES_MEAS_SAMPLING_FUNCTION_INSTANTANEOUS = 1,
  BLE_ESC_TEMPERATURE_0_ES_MEAS_SAMPLING_FUNCTION_ARITHMETIC_MEAN = 2,
  BLE_ESC_TEMPERATURE_0_ES_MEAS_SAMPLING_FUNCTION_RMS = 3,
  BLE_ESC_TEMPERATURE_0_ES_MEAS_SAMPLING_FUNCTION_MAXIMUM = 4,
  BLE_ESC_TEMPERATURE_0_ES_MEAS_SAMPLING_FUNCTION_MINIMUM = 5,
  BLE_ESC_TEMPERATURE_0_ES_MEAS_SAMPLING_FUNCTION_ACCUMULATED = 6,
  BLE_ESC_TEMPERATURE_0_ES_MEAS_SAMPLING_FUNCTION_COUNT = 7
}
 Environmental Sensing Measurement Sampling Function enumeration. More...
 
enum  e_ble_esc_tempeture_0_es_trigger_0_condition_t {
  BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_TRIGGER_INACTIVE = 0,
  BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_USE_A_FIXED_TIME_INTERVAL_BETWEEN_TRANSMISSIONS = 1,
  BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_NO_LESS_THAN_THE_SPECIFIED_TIME_BETWEEN_TRANSMISSIONS = 2,
  BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_WHEN_VALUE_CHANGES_COMPARED_TO_PREVIOUS_VALUE = 3,
  BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_WHILE_LESS_THAN_THE_SPECIFIED_VALUE = 4,
  BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_WHILE_LESS_THAN_OR_EQUAL_TO_THE_SPECIFIED_VALUE = 5,
  BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_WHILE_GREATER_THAN_THE_SPECIFIED_VALUE = 6,
  BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_WHILE_GREATER_THAN_OR_EQUAL_TO_THE_SPECIFIED_VALUE = 7,
  BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_WHILE_EQUAL_TO_THE_SPECIFIED_VALUE = 8,
  BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_WHILE_NOT_EQUAL_TO_THE_SPECIFIED_VALUE = 9
}
 Environmental Sensing Trigger Setting 0 Condition enumeration. More...
 
enum  e_ble_esc_tempeture_0_es_conf_trigger_logic_t {
  BLE_ESC_TEMPERATURE_0_ES_CONF_TRIGGER_LOGIC_BOOLEAN_AND = 0,
  BLE_ESC_TEMPERATURE_0_ES_CONF_TRIGGER_LOGIC_BOOLEAN_OR = 1
}
 Environmental Sensing Configuration Trigger Logic enumeration. More...
 
enum  e_ble_esc_tempeture_1_es_meas_sampling_function_t {
  BLE_ESC_TEMPERATURE_1_ES_MEAS_SAMPLING_FUNCTION_UNSPECIFIED = 0,
  BLE_ESC_TEMPERATURE_1_ES_MEAS_SAMPLING_FUNCTION_INSTANTANEOUS = 1,
  BLE_ESC_TEMPERATURE_1_ES_MEAS_SAMPLING_FUNCTION_ARITHMETIC_MEAN = 2,
  BLE_ESC_TEMPERATURE_1_ES_MEAS_SAMPLING_FUNCTION_RMS = 3,
  BLE_ESC_TEMPERATURE_1_ES_MEAS_SAMPLING_FUNCTION_MAXIMUM = 4,
  BLE_ESC_TEMPERATURE_1_ES_MEAS_SAMPLING_FUNCTION_MINIMUM = 5,
  BLE_ESC_TEMPERATURE_1_ES_MEAS_SAMPLING_FUNCTION_ACCUMULATED = 6,
  BLE_ESC_TEMPERATURE_1_ES_MEAS_SAMPLING_FUNCTION_COUNT = 7
}
 Environmental Sensing Measurement Sampling Function enumeration. More...
 
enum  e_ble_esc_tempeture_1_es_trigger_0_condition_t {
  BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_TRIGGER_INACTIVE = 0,
  BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_USE_A_FIXED_TIME_INTERVAL_BETWEEN_TRANSMISSIONS = 1,
  BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_NO_LESS_THAN_THE_SPECIFIED_TIME_BETWEEN_TRANSMISSIONS = 2,
  BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_WHEN_VALUE_CHANGES_COMPARED_TO_PREVIOUS_VALUE = 3,
  BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_WHILE_LESS_THAN_THE_SPECIFIED_VALUE = 4,
  BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_WHILE_LESS_THAN_OR_EQUAL_TO_THE_SPECIFIED_VALUE = 5,
  BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_WHILE_GREATER_THAN_THE_SPECIFIED_VALUE = 6,
  BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_WHILE_GREATER_THAN_OR_EQUAL_TO_THE_SPECIFIED_VALUE = 7,
  BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_WHILE_EQUAL_TO_THE_SPECIFIED_VALUE = 8,
  BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_WHILE_NOT_EQUAL_TO_THE_SPECIFIED_VALUE = 9
}
 Environmental Sensing Trigger Setting 0 Condition enumeration. More...
 
enum  e_ble_esc_tempeture_1_es_conf_trigger_logic_t {
  BLE_ESC_TEMPERATURE_1_ES_CONF_TRIGGER_LOGIC_BOOLEAN_AND = 0,
  BLE_ESC_TEMPERATURE_1_ES_CONF_TRIGGER_LOGIC_BOOLEAN_OR = 1
}
 Environmental Sensing Configuration Trigger Logic enumeration. More...
 
enum  e_ble_esc_elevation_0_es_meas_sampling_function_t {
  BLE_ESC_ELEVATION_0_ES_MEAS_SAMPLING_FUNCTION_UNSPECIFIED = 0,
  BLE_ESC_ELEVATION_0_ES_MEAS_SAMPLING_FUNCTION_INSTANTANEOUS = 1,
  BLE_ESC_ELEVATION_0_ES_MEAS_SAMPLING_FUNCTION_ARITHMETIC_MEAN = 2,
  BLE_ESC_ELEVATION_0_ES_MEAS_SAMPLING_FUNCTION_RMS = 3,
  BLE_ESC_ELEVATION_0_ES_MEAS_SAMPLING_FUNCTION_MAXIMUM = 4,
  BLE_ESC_ELEVATION_0_ES_MEAS_SAMPLING_FUNCTION_MINIMUM = 5,
  BLE_ESC_ELEVATION_0_ES_MEAS_SAMPLING_FUNCTION_ACCUMULATED = 6,
  BLE_ESC_ELEVATION_0_ES_MEAS_SAMPLING_FUNCTION_COUNT = 7
}
 Environmental Sensing Measurement Sampling Function enumeration. More...
 
enum  e_ble_esc_elevation_0_es_trigger_0_condition_t {
  BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_TRIGGER_INACTIVE = 0,
  BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_USE_A_FIXED_TIME_INTERVAL_BETWEEN_TRANSMISSIONS = 1,
  BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_NO_LESS_THAN_THE_SPECIFIED_TIME_BETWEEN_TRANSMISSIONS = 2,
  BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_WHEN_VALUE_CHANGES_COMPARED_TO_PREVIOUS_VALUE = 3,
  BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_WHILE_LESS_THAN_THE_SPECIFIED_VALUE = 4,
  BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_WHILE_LESS_THAN_OR_EQUAL_TO_THE_SPECIFIED_VALUE = 5,
  BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_WHILE_GREATER_THAN_THE_SPECIFIED_VALUE = 6,
  BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_WHILE_GREATER_THAN_OR_EQUAL_TO_THE_SPECIFIED_VALUE = 7,
  BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_WHILE_EQUAL_TO_THE_SPECIFIED_VALUE = 8,
  BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_WHILE_NOT_EQUAL_TO_THE_SPECIFIED_VALUE = 9
}
 Environmental Sensing Trigger Setting 0 Condition enumeration. More...
 
enum  e_ble_esc_elevation_0_es_conf_trigger_logic_t {
  BLE_ESC_ELEVATION_0_ES_CONF_TRIGGER_LOGIC_BOOLEAN_AND = 0,
  BLE_ESC_ELEVATION_0_ES_CONF_TRIGGER_LOGIC_BOOLEAN_OR = 1
}
 Environmental Sensing Configuration Trigger Logic enumeration. More...
 
enum  e_ble_esc_elevation_1_es_meas_sampling_function_t {
  BLE_ESC_ELEVATION_1_ES_MEAS_SAMPLING_FUNCTION_UNSPECIFIED = 0,
  BLE_ESC_ELEVATION_1_ES_MEAS_SAMPLING_FUNCTION_INSTANTANEOUS = 1,
  BLE_ESC_ELEVATION_1_ES_MEAS_SAMPLING_FUNCTION_ARITHMETIC_MEAN = 2,
  BLE_ESC_ELEVATION_1_ES_MEAS_SAMPLING_FUNCTION_RMS = 3,
  BLE_ESC_ELEVATION_1_ES_MEAS_SAMPLING_FUNCTION_MAXIMUM = 4,
  BLE_ESC_ELEVATION_1_ES_MEAS_SAMPLING_FUNCTION_MINIMUM = 5,
  BLE_ESC_ELEVATION_1_ES_MEAS_SAMPLING_FUNCTION_ACCUMULATED = 6,
  BLE_ESC_ELEVATION_1_ES_MEAS_SAMPLING_FUNCTION_COUNT = 7
}
 Environmental Sensing Measurement Sampling Function enumeration. More...
 
enum  e_ble_esc_elevation_1_es_trigger_0_condition_t {
  BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_TRIGGER_INACTIVE = 0,
  BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_USE_A_FIXED_TIME_INTERVAL_BETWEEN_TRANSMISSIONS = 1,
  BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_NO_LESS_THAN_THE_SPECIFIED_TIME_BETWEEN_TRANSMISSIONS = 2,
  BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_WHEN_VALUE_CHANGES_COMPARED_TO_PREVIOUS_VALUE = 3,
  BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_WHILE_LESS_THAN_THE_SPECIFIED_VALUE = 4,
  BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_WHILE_LESS_THAN_OR_EQUAL_TO_THE_SPECIFIED_VALUE = 5,
  BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_WHILE_GREATER_THAN_THE_SPECIFIED_VALUE = 6,
  BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_WHILE_GREATER_THAN_OR_EQUAL_TO_THE_SPECIFIED_VALUE = 7,
  BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_WHILE_EQUAL_TO_THE_SPECIFIED_VALUE = 8,
  BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_WHILE_NOT_EQUAL_TO_THE_SPECIFIED_VALUE = 9
}
 Environmental Sensing Trigger Setting 0 Condition enumeration. More...
 
enum  e_ble_esc_elevation_1_es_conf_trigger_logic_t {
  BLE_ESC_ELEVATION_1_ES_CONF_TRIGGER_LOGIC_BOOLEAN_AND = 0,
  BLE_ESC_ELEVATION_1_ES_CONF_TRIGGER_LOGIC_BOOLEAN_OR = 1
}
 Environmental Sensing Configuration Trigger Logic enumeration. More...
 
enum  e_ble_esc_char_idx_t {
  BLE_ESC_DESC_VALUE_CHANGED_IDX,
  BLE_ESC_DESC_VALUE_CHANGED_CLI_CNFG_IDX,
  BLE_ESC_TEMPERATURE_0_IDX,
  BLE_ESC_TEMPERATURE_0_CLI_CNFG_IDX,
  BLE_ESC_TEMPERATURE_0_ES_MEAS_IDX,
  BLE_ESC_TEMPERATURE_0_CHAR_EXTENDED_PROPERTIES_IDX,
  BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_IDX,
  BLE_ESC_TEMPERATURE_0_ES_TRIGGER_1_IDX,
  BLE_ESC_TEMPERATURE_0_ES_TRIGGER_2_IDX,
  BLE_ESC_TEMPERATURE_0_ES_CONF_IDX,
  BLE_ESC_TEMPERATURE_0_CHAR_USER_DESC_IDX,
  BLE_ESC_TEMPERATURE_0_VALID_RANGE_IDX,
  BLE_ESC_TEMPERATURE_1_IDX,
  BLE_ESC_TEMPERATURE_1_CLI_CNFG_IDX,
  BLE_ESC_TEMPERATURE_1_ES_MEAS_IDX,
  BLE_ESC_TEMPERATURE_1_CHAR_EXTENDED_PROPERTIES_IDX,
  BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_IDX,
  BLE_ESC_TEMPERATURE_1_ES_TRIGGER_1_IDX,
  BLE_ESC_TEMPERATURE_1_ES_TRIGGER_2_IDX,
  BLE_ESC_TEMPERATURE_1_ES_CONF_IDX,
  BLE_ESC_TEMPERATURE_1_CHAR_USER_DESC_IDX,
  BLE_ESC_TEMPERATURE_1_VALID_RANGE_IDX,
  BLE_ESC_ELEVATION_0_IDX,
  BLE_ESC_ELEVATION_0_CLI_CNFG_IDX,
  BLE_ESC_ELEVATION_0_ES_MEAS_IDX,
  BLE_ESC_ELEVATION_0_CHAR_EXTENDED_PROPERTIES_IDX,
  BLE_ESC_ELEVATION_0_ES_TRIGGER_0_IDX,
  BLE_ESC_ELEVATION_0_ES_TRIGGER_1_IDX,
  BLE_ESC_ELEVATION_0_ES_TRIGGER_2_IDX,
  BLE_ESC_ELEVATION_0_ES_CONF_IDX,
  BLE_ESC_ELEVATION_0_CHAR_USER_DESC_IDX,
  BLE_ESC_ELEVATION_0_VALID_RANGE_IDX,
  BLE_ESC_ELEVATION_1_IDX,
  BLE_ESC_ELEVATION_1_CLI_CNFG_IDX,
  BLE_ESC_ELEVATION_1_ES_MEAS_IDX,
  BLE_ESC_ELEVATION_1_CHAR_EXTENDED_PROPERTIES_IDX,
  BLE_ESC_ELEVATION_1_ES_TRIGGER_0_IDX,
  BLE_ESC_ELEVATION_1_ES_TRIGGER_1_IDX,
  BLE_ESC_ELEVATION_1_ES_TRIGGER_2_IDX,
  BLE_ESC_ELEVATION_1_ES_CONF_IDX,
  BLE_ESC_ELEVATION_1_CHAR_USER_DESC_IDX,
  BLE_ESC_ELEVATION_1_VALID_RANGE_IDX
}
 Environmental Sensing characteristic ID. More...
 
enum  e_ble_esc_event_t {
  BLE_ESC_EVENT_DESC_VALUE_CHANGED_HDL_VAL_IND = BLE_SERVC_ATTR_EVENT(BLE_ESC_DESC_VALUE_CHANGED_IDX, BLE_SERVC_HDL_VAL_IND),
  BLE_ESC_EVENT_DESC_VALUE_CHANGED_CLI_CNFG_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_DESC_VALUE_CHANGED_CLI_CNFG_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_DESC_VALUE_CHANGED_CLI_CNFG_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_DESC_VALUE_CHANGED_CLI_CNFG_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_TEMPERATURE_0_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_0_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_0_HDL_VAL_NTF = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_0_IDX, BLE_SERVC_HDL_VAL_NTF),
  BLE_ESC_EVENT_TEMPERATURE_0_CLI_CNFG_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_0_CLI_CNFG_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_0_CLI_CNFG_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_0_CLI_CNFG_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_TEMPERATURE_0_ES_MEAS_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_0_ES_MEAS_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_0_CHAR_EXTENDED_PROPERTIES_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_0_CHAR_EXTENDED_PROPERTIES_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_0_ES_TRIGGER_0_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_0_ES_TRIGGER_0_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_TEMPERATURE_0_ES_TRIGGER_1_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_0_ES_TRIGGER_1_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_0_ES_TRIGGER_1_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_0_ES_TRIGGER_1_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_TEMPERATURE_0_ES_TRIGGER_2_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_0_ES_TRIGGER_2_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_0_ES_TRIGGER_2_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_0_ES_TRIGGER_2_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_TEMPERATURE_0_ES_CONF_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_0_ES_CONF_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_0_ES_CONF_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_0_ES_CONF_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_TEMPERATURE_0_CHAR_USER_DESC_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_0_CHAR_USER_DESC_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_0_CHAR_USER_DESC_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_0_CHAR_USER_DESC_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_TEMPERATURE_0_VALID_RANGE_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_0_VALID_RANGE_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_1_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_1_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_1_HDL_VAL_NTF = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_1_IDX, BLE_SERVC_HDL_VAL_NTF),
  BLE_ESC_EVENT_TEMPERATURE_1_CLI_CNFG_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_1_CLI_CNFG_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_1_CLI_CNFG_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_1_CLI_CNFG_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_TEMPERATURE_1_ES_MEAS_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_1_ES_MEAS_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_1_CHAR_EXTENDED_PROPERTIES_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_1_CHAR_EXTENDED_PROPERTIES_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_1_ES_TRIGGER_0_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_1_ES_TRIGGER_0_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_TEMPERATURE_1_ES_TRIGGER_1_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_1_ES_TRIGGER_1_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_1_ES_TRIGGER_1_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_1_ES_TRIGGER_1_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_TEMPERATURE_1_ES_TRIGGER_2_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_1_ES_TRIGGER_2_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_1_ES_TRIGGER_2_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_1_ES_TRIGGER_2_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_TEMPERATURE_1_ES_CONF_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_1_ES_CONF_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_1_ES_CONF_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_1_ES_CONF_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_TEMPERATURE_1_CHAR_USER_DESC_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_1_CHAR_USER_DESC_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_TEMPERATURE_1_CHAR_USER_DESC_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_1_CHAR_USER_DESC_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_TEMPERATURE_1_VALID_RANGE_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_TEMPERATURE_1_VALID_RANGE_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_0_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_0_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_0_HDL_VAL_NTF = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_0_IDX, BLE_SERVC_HDL_VAL_NTF),
  BLE_ESC_EVENT_ELEVATION_0_CLI_CNFG_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_0_CLI_CNFG_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_0_CLI_CNFG_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_0_CLI_CNFG_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_ELEVATION_0_ES_MEAS_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_0_ES_MEAS_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_0_CHAR_EXTENDED_PROPERTIES_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_0_CHAR_EXTENDED_PROPERTIES_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_0_ES_TRIGGER_0_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_0_ES_TRIGGER_0_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_0_ES_TRIGGER_0_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_0_ES_TRIGGER_0_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_ELEVATION_0_ES_TRIGGER_1_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_0_ES_TRIGGER_1_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_0_ES_TRIGGER_1_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_0_ES_TRIGGER_1_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_ELEVATION_0_ES_TRIGGER_2_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_0_ES_TRIGGER_2_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_0_ES_TRIGGER_2_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_0_ES_TRIGGER_2_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_ELEVATION_0_ES_CONF_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_0_ES_CONF_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_0_ES_CONF_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_0_ES_CONF_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_ELEVATION_0_CHAR_USER_DESC_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_0_CHAR_USER_DESC_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_0_CHAR_USER_DESC_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_0_CHAR_USER_DESC_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_ELEVATION_0_VALID_RANGE_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_0_VALID_RANGE_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_1_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_1_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_1_HDL_VAL_NTF = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_1_IDX, BLE_SERVC_HDL_VAL_NTF),
  BLE_ESC_EVENT_ELEVATION_1_CLI_CNFG_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_1_CLI_CNFG_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_1_CLI_CNFG_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_1_CLI_CNFG_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_ELEVATION_1_ES_MEAS_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_1_ES_MEAS_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_1_CHAR_EXTENDED_PROPERTIES_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_1_CHAR_EXTENDED_PROPERTIES_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_1_ES_TRIGGER_0_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_1_ES_TRIGGER_0_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_1_ES_TRIGGER_0_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_1_ES_TRIGGER_0_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_ELEVATION_1_ES_TRIGGER_1_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_1_ES_TRIGGER_1_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_1_ES_TRIGGER_1_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_1_ES_TRIGGER_1_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_ELEVATION_1_ES_TRIGGER_2_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_1_ES_TRIGGER_2_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_1_ES_TRIGGER_2_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_1_ES_TRIGGER_2_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_ELEVATION_1_ES_CONF_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_1_ES_CONF_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_1_ES_CONF_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_1_ES_CONF_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_ELEVATION_1_CHAR_USER_DESC_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_1_CHAR_USER_DESC_IDX, BLE_SERVC_READ_RSP),
  BLE_ESC_EVENT_ELEVATION_1_CHAR_USER_DESC_WRITE_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_1_CHAR_USER_DESC_IDX, BLE_SERVC_WRITE_RSP),
  BLE_ESC_EVENT_ELEVATION_1_VALID_RANGE_READ_RSP = BLE_SERVC_ATTR_EVENT(BLE_ESC_ELEVATION_1_VALID_RANGE_IDX, BLE_SERVC_READ_RSP)
}
 Environmental Sensing client event type. More...
 

Functions

ble_status_t R_BLE_ESC_ReadDescValueChangedCliCnfg (uint16_t conn_hdl)
 Read Descriptor Value Changed characteristic Client Characteristic Configuration descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteDescValueChangedCliCnfg (uint16_t conn_hdl, const uint16_t *p_value)
 Write Descriptor Value Changed characteristic Client Characteristic Configuration descriptor value to remote GATT database. More...
 
void R_BLE_ESC_GetDescValueChangedAttrHdl (const st_ble_dev_addr_t *p_addr, st_ble_esc_desc_value_changed_attr_hdl_t *p_hdl)
 Get Descriptor Value Changed attribute handles. More...
 
ble_status_t R_BLE_ESC_ReadTemperature0CliCnfg (uint16_t conn_hdl)
 Read Temperature 0 characteristic Client Characteristic Configuration descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteTemperature0CliCnfg (uint16_t conn_hdl, const uint16_t *p_value)
 Write Temperature 0 characteristic Client Characteristic Configuration descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadTemperature0EsMeas (uint16_t conn_hdl)
 Read Temperature 0 characteristic Environmental Sensing Measurement descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadTemperature0CharExtendedProperties (uint16_t conn_hdl)
 Read Temperature 0 characteristic Characteristic Extended Properties descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadTemperature0EsTrigger0 (uint16_t conn_hdl)
 Read Temperature 0 characteristic Environmental Sensing Trigger Setting 0 descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteTemperature0EsTrigger0 (uint16_t conn_hdl, const st_ble_esc_temperature_0_es_trigger_0_t *p_value)
 Write Temperature 0 characteristic Environmental Sensing Trigger Setting 0 descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadTemperature0EsTrigger1 (uint16_t conn_hdl)
 Read Temperature 0 characteristic Environmental Sensing Trigger Setting 1 descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteTemperature0EsTrigger1 (uint16_t conn_hdl, const st_ble_esc_temperature_0_es_trigger_1_t *p_value)
 Write Temperature 0 characteristic Environmental Sensing Trigger Setting 1 descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadTemperature0EsTrigger2 (uint16_t conn_hdl)
 Read Temperature 0 characteristic Environmental Sensing Trigger Setting 2 descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteTemperature0EsTrigger2 (uint16_t conn_hdl, const st_ble_esc_temperature_0_es_trigger_2_t *p_value)
 Write Temperature 0 characteristic Environmental Sensing Trigger Setting 2 descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadTemperature0EsConf (uint16_t conn_hdl)
 Read Temperature 0 characteristic Environmental Sensing Configuration descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteTemperature0EsConf (uint16_t conn_hdl, const uint8_t *p_value)
 Write Temperature 0 characteristic Environmental Sensing Configuration descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadTemperature0CharUserDesc (uint16_t conn_hdl, int32_t type)
 Read Temperature 0 characteristic Characteristic User Description descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteTemperature0CharUserDesc (uint16_t conn_hdl, const st_ble_esc_temperature_0_char_user_desc_t *p_value)
 Write Temperature 0 characteristic Characteristic User Description descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadTemperature0ValidRange (uint16_t conn_hdl)
 Read Temperature 0 characteristic Valid Range descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadTemperature0 (uint16_t conn_hdl)
 Read Temperature 0 characteristic value from the remote GATT database. More...
 
void R_BLE_ESC_GetTemperature0AttrHdl (const st_ble_dev_addr_t *p_addr, st_ble_esc_temperature_0_attr_hdl_t *p_hdl)
 Get Temperature 0 attribute handles. More...
 
ble_status_t R_BLE_ESC_ReadTemperature1CliCnfg (uint16_t conn_hdl)
 Read Temperature 1 characteristic Client Characteristic Configuration descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteTemperature1CliCnfg (uint16_t conn_hdl, const uint16_t *p_value)
 Write Temperature 1 characteristic Client Characteristic Configuration descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadTemperature1EsMeas (uint16_t conn_hdl)
 Read Temperature 1 characteristic Environmental Sensing Measurement descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadTemperature1CharExtendedProperties (uint16_t conn_hdl)
 Read Temperature 1 characteristic Characteristic Extended Properties descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadTemperature1EsTrigger0 (uint16_t conn_hdl)
 Read Temperature 1 characteristic Environmental Sensing Trigger Setting 0 descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteTemperature1EsTrigger0 (uint16_t conn_hdl, const st_ble_esc_temperature_1_es_trigger_0_t *p_value)
 Write Temperature 1 characteristic Environmental Sensing Trigger Setting 0 descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadTemperature1EsTrigger1 (uint16_t conn_hdl)
 Read Temperature 1 characteristic Environmental Sensing Trigger Setting 1 descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteTemperature1EsTrigger1 (uint16_t conn_hdl, const st_ble_esc_temperature_1_es_trigger_1_t *p_value)
 Write Temperature 1 characteristic Environmental Sensing Trigger Setting 1 descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadTemperature1EsTrigger2 (uint16_t conn_hdl)
 Read Temperature 1 characteristic Environmental Sensing Trigger Setting 2 descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteTemperature1EsTrigger2 (uint16_t conn_hdl, const st_ble_esc_temperature_1_es_trigger_2_t *p_value)
 Write Temperature 1 characteristic Environmental Sensing Trigger Setting 2 descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadTemperature1EsConf (uint16_t conn_hdl)
 Read Temperature 1 characteristic Environmental Sensing Configuration descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteTemperature1EsConf (uint16_t conn_hdl, const uint8_t *p_value)
 Write Temperature 1 characteristic Environmental Sensing Configuration descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadTemperature1CharUserDesc (uint16_t conn_hdl)
 Read Temperature 1 characteristic Characteristic User Description descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteTemperature1CharUserDesc (uint16_t conn_hdl, const st_ble_esc_temperature_1_char_user_desc_t *p_value)
 Write Temperature 1 characteristic Characteristic User Description descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadTemperature1ValidRange (uint16_t conn_hdl)
 Read Temperature 1 characteristic Valid Range descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadTemperature1 (uint16_t conn_hdl)
 Read Temperature 1 characteristic value from the remote GATT database. More...
 
void R_BLE_ESC_GetTemperature1AttrHdl (const st_ble_dev_addr_t *p_addr, st_ble_esc_temperature_1_attr_hdl_t *p_hdl)
 Get Temperature 1 attribute handles. More...
 
ble_status_t R_BLE_ESC_ReadElevation0CliCnfg (uint16_t conn_hdl)
 Read Elevation 0 characteristic Client Characteristic Configuration descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteElevation0CliCnfg (uint16_t conn_hdl, const uint16_t *p_value)
 Write Elevation 0 characteristic Client Characteristic Configuration descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadElevation0EsMeas (uint16_t conn_hdl)
 Read Elevation 0 characteristic Environmental Sensing Measurement descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadElevation0CharExtendedProperties (uint16_t conn_hdl)
 Read Elevation 0 characteristic Characteristic Extended Properties descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadElevation0EsTrigger0 (uint16_t conn_hdl)
 Read Elevation 0 characteristic Environmental Sensing Trigger Setting 0 descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteElevation0EsTrigger0 (uint16_t conn_hdl, const st_ble_esc_elevation_0_es_trigger_0_t *p_value)
 Write Elevation 0 characteristic Environmental Sensing Trigger Setting 0 descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadElevation0EsTrigger1 (uint16_t conn_hdl)
 Read Elevation 0 characteristic Environmental Sensing Trigger Setting 1 descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteElevation0EsTrigger1 (uint16_t conn_hdl, const st_ble_esc_elevation_0_es_trigger_1_t *p_value)
 Write Elevation 0 characteristic Environmental Sensing Trigger Setting 1 descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadElevation0EsTrigger2 (uint16_t conn_hdl)
 Read Elevation 0 characteristic Environmental Sensing Trigger Setting 2 descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteElevation0EsTrigger2 (uint16_t conn_hdl, const st_ble_esc_elevation_0_es_trigger_2_t *p_value)
 Write Elevation 0 characteristic Environmental Sensing Trigger Setting 2 descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadElevation0EsConf (uint16_t conn_hdl)
 Read Elevation 0 characteristic Environmental Sensing Configuration descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteElevation0EsConf (uint16_t conn_hdl, const uint8_t *p_value)
 Write Elevation 0 characteristic Environmental Sensing Configuration descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadElevation0CharUserDesc (uint16_t conn_hdl, int32_t type)
 Read Elevation 0 characteristic Characteristic User Description descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteElevation0CharUserDesc (uint16_t conn_hdl, const st_ble_esc_elevation_0_char_user_desc_t *p_value)
 Write Elevation 0 characteristic Characteristic User Description descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadElevation0ValidRange (uint16_t conn_hdl)
 Read Elevation 0 characteristic Valid Range descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadElevation0 (uint16_t conn_hdl)
 Read Elevation 0 characteristic value from the remote GATT database. More...
 
void R_BLE_ESC_GetElevation0AttrHdl (const st_ble_dev_addr_t *p_addr, st_ble_esc_elevation_0_attr_hdl_t *p_hdl)
 Get Elevation 0 attribute handles. More...
 
ble_status_t R_BLE_ESC_ReadElevation1CliCnfg (uint16_t conn_hdl)
 Read Elevation 1 characteristic Client Characteristic Configuration descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteElevation1CliCnfg (uint16_t conn_hdl, const uint16_t *p_value)
 Write Elevation 1 characteristic Client Characteristic Configuration descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadElevation1EsMeas (uint16_t conn_hdl)
 Read Elevation 1 characteristic Environmental Sensing Measurement descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadElevation1CharExtendedProperties (uint16_t conn_hdl)
 Read Elevation 1 characteristic Characteristic Extended Properties descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadElevation1EsTrigger0 (uint16_t conn_hdl)
 Read Elevation 1 characteristic Environmental Sensing Trigger Setting 0 descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteElevation1EsTrigger0 (uint16_t conn_hdl, const st_ble_esc_elevation_1_es_trigger_0_t *p_value)
 Write Elevation 1 characteristic Environmental Sensing Trigger Setting 0 descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadElevation1EsTrigger1 (uint16_t conn_hdl)
 Read Elevation 1 characteristic Environmental Sensing Trigger Setting 1 descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteElevation1EsTrigger1 (uint16_t conn_hdl, const st_ble_esc_elevation_1_es_trigger_1_t *p_value)
 Write Elevation 1 characteristic Environmental Sensing Trigger Setting 1 descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadElevation1EsTrigger2 (uint16_t conn_hdl)
 Read Elevation 1 characteristic Environmental Sensing Trigger Setting 2 descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteElevation1EsTrigger2 (uint16_t conn_hdl, const st_ble_esc_elevation_1_es_trigger_2_t *p_value)
 Write Elevation 1 characteristic Environmental Sensing Trigger Setting 2 descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadElevation1EsConf (uint16_t conn_hdl)
 Read Elevation 1 characteristic Environmental Sensing Configuration descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteElevation1EsConf (uint16_t conn_hdl, const uint8_t *p_value)
 Write Elevation 1 characteristic Environmental Sensing Configuration descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadElevation1CharUserDesc (uint16_t conn_hdl)
 Read Elevation 1 characteristic Characteristic User Description descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_WriteElevation1CharUserDesc (uint16_t conn_hdl, const st_ble_esc_elevation_1_char_user_desc_t *p_value)
 Write Elevation 1 characteristic Characteristic User Description descriptor value to remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadElevation1ValidRange (uint16_t conn_hdl)
 Read Elevation 1 characteristic Valid Range descriptor value from the remote GATT database. More...
 
ble_status_t R_BLE_ESC_ReadElevation1 (uint16_t conn_hdl)
 Read Elevation 1 characteristic value from the remote GATT database. More...
 
void R_BLE_ESC_GetElevation1AttrHdl (const st_ble_dev_addr_t *p_addr, st_ble_esc_elevation_1_attr_hdl_t *p_hdl)
 Get Elevation 1 attribute handles. More...
 
ble_status_t R_BLE_ESC_Init (ble_servc_app_cb_t cb)
 Initialize Environmental Sensing client. More...
 
void R_BLE_ESC_ServDiscCb (uint16_t conn_hdl, uint8_t serv_idx, uint16_t type, void *p_param)
 Environmental Sensing client discovery callback. More...
 
void R_BLE_ESC_GetServAttrHdl (const st_ble_dev_addr_t *p_addr, st_ble_gatt_hdl_range_t *p_hdl)
 Get Environmental Sensing client attribute handle. More...
 

Macro Definition Documentation

◆ BLE_ESC_WRITE_REQUEST_REJECTED_ERROR

#define BLE_ESC_WRITE_REQUEST_REJECTED_ERROR   (BLE_ERR_GROUP_GATT | 0x80)

An attempt was made to write a value to the descriptor that is invalid or not supported by this Server.

◆ BLE_ESC_CONDITION_NOT_SUPPORTED_ERROR

#define BLE_ESC_CONDITION_NOT_SUPPORTED_ERROR   (BLE_ERR_GROUP_GATT | 0x81)

An attempt was made to write a value to the Condition field of the ES Trigger Setting descriptor that is invalid or not supported by this Server.

Enumeration Type Documentation

◆ e_ble_esc_tempeture_0_es_meas_sampling_function_t

Environmental Sensing Measurement Sampling Function enumeration.

Enumerator
BLE_ESC_TEMPERATURE_0_ES_MEAS_SAMPLING_FUNCTION_UNSPECIFIED 

Unspecified

BLE_ESC_TEMPERATURE_0_ES_MEAS_SAMPLING_FUNCTION_INSTANTANEOUS 

Instantaneous

BLE_ESC_TEMPERATURE_0_ES_MEAS_SAMPLING_FUNCTION_ARITHMETIC_MEAN 

Arithmetic Mean

BLE_ESC_TEMPERATURE_0_ES_MEAS_SAMPLING_FUNCTION_RMS 

RMS

BLE_ESC_TEMPERATURE_0_ES_MEAS_SAMPLING_FUNCTION_MAXIMUM 

Maximum

BLE_ESC_TEMPERATURE_0_ES_MEAS_SAMPLING_FUNCTION_MINIMUM 

Minimum

BLE_ESC_TEMPERATURE_0_ES_MEAS_SAMPLING_FUNCTION_ACCUMULATED 

Accumulated

BLE_ESC_TEMPERATURE_0_ES_MEAS_SAMPLING_FUNCTION_COUNT 

Count

◆ e_ble_esc_tempeture_0_es_trigger_0_condition_t

Environmental Sensing Trigger Setting 0 Condition enumeration.

Enumerator
BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_TRIGGER_INACTIVE 

Trigger Inactive

BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_USE_A_FIXED_TIME_INTERVAL_BETWEEN_TRANSMISSIONS 

Use a fixed time interval between transmissions

BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_NO_LESS_THAN_THE_SPECIFIED_TIME_BETWEEN_TRANSMISSIONS 

No less than the specified time between transmissions

BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_WHEN_VALUE_CHANGES_COMPARED_TO_PREVIOUS_VALUE 

When value changes compared to previous value

BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_WHILE_LESS_THAN_THE_SPECIFIED_VALUE 

While less than the specified value

BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_WHILE_LESS_THAN_OR_EQUAL_TO_THE_SPECIFIED_VALUE 

While less than or equal to the specified value

BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_WHILE_GREATER_THAN_THE_SPECIFIED_VALUE 

While greater than the specified value

BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_WHILE_GREATER_THAN_OR_EQUAL_TO_THE_SPECIFIED_VALUE 

While greater than or equal to the specified value

BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_WHILE_EQUAL_TO_THE_SPECIFIED_VALUE 

While equal to the specified value

BLE_ESC_TEMPERATURE_0_ES_TRIGGER_0_CONDITION_WHILE_NOT_EQUAL_TO_THE_SPECIFIED_VALUE 

While not equal to the specified value

◆ e_ble_esc_tempeture_0_es_conf_trigger_logic_t

Environmental Sensing Configuration Trigger Logic enumeration.

Enumerator
BLE_ESC_TEMPERATURE_0_ES_CONF_TRIGGER_LOGIC_BOOLEAN_AND 

Boolean AND

BLE_ESC_TEMPERATURE_0_ES_CONF_TRIGGER_LOGIC_BOOLEAN_OR 

Boolean OR

◆ e_ble_esc_tempeture_1_es_meas_sampling_function_t

Environmental Sensing Measurement Sampling Function enumeration.

Enumerator
BLE_ESC_TEMPERATURE_1_ES_MEAS_SAMPLING_FUNCTION_UNSPECIFIED 

Unspecified

BLE_ESC_TEMPERATURE_1_ES_MEAS_SAMPLING_FUNCTION_INSTANTANEOUS 

Instantaneous

BLE_ESC_TEMPERATURE_1_ES_MEAS_SAMPLING_FUNCTION_ARITHMETIC_MEAN 

Arithmetic Mean

BLE_ESC_TEMPERATURE_1_ES_MEAS_SAMPLING_FUNCTION_RMS 

RMS

BLE_ESC_TEMPERATURE_1_ES_MEAS_SAMPLING_FUNCTION_MAXIMUM 

Maximum

BLE_ESC_TEMPERATURE_1_ES_MEAS_SAMPLING_FUNCTION_MINIMUM 

Minimum

BLE_ESC_TEMPERATURE_1_ES_MEAS_SAMPLING_FUNCTION_ACCUMULATED 

Accumulated

BLE_ESC_TEMPERATURE_1_ES_MEAS_SAMPLING_FUNCTION_COUNT 

Count

◆ e_ble_esc_tempeture_1_es_trigger_0_condition_t

Environmental Sensing Trigger Setting 0 Condition enumeration.

Enumerator
BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_TRIGGER_INACTIVE 

Trigger Inactive

BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_USE_A_FIXED_TIME_INTERVAL_BETWEEN_TRANSMISSIONS 

Use a fixed time interval between transmissions

BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_NO_LESS_THAN_THE_SPECIFIED_TIME_BETWEEN_TRANSMISSIONS 

No less than the specified time between transmissions

BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_WHEN_VALUE_CHANGES_COMPARED_TO_PREVIOUS_VALUE 

When value chances compared to previous value

BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_WHILE_LESS_THAN_THE_SPECIFIED_VALUE 

While less than the specified value

BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_WHILE_LESS_THAN_OR_EQUAL_TO_THE_SPECIFIED_VALUE 

While less than or equal to the specified value

BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_WHILE_GREATER_THAN_THE_SPECIFIED_VALUE 

While greater than the specified value

BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_WHILE_GREATER_THAN_OR_EQUAL_TO_THE_SPECIFIED_VALUE 

While greater than or equal to the specified value

BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_WHILE_EQUAL_TO_THE_SPECIFIED_VALUE 

While equal to the specified value

BLE_ESC_TEMPERATURE_1_ES_TRIGGER_0_CONDITION_WHILE_NOT_EQUAL_TO_THE_SPECIFIED_VALUE 

While not equal to the specified value

◆ e_ble_esc_tempeture_1_es_conf_trigger_logic_t

Environmental Sensing Configuration Trigger Logic enumeration.

Enumerator
BLE_ESC_TEMPERATURE_1_ES_CONF_TRIGGER_LOGIC_BOOLEAN_AND 

Boolean AND

BLE_ESC_TEMPERATURE_1_ES_CONF_TRIGGER_LOGIC_BOOLEAN_OR 

Boolean OR

◆ e_ble_esc_elevation_0_es_meas_sampling_function_t

Environmental Sensing Measurement Sampling Function enumeration.

Enumerator
BLE_ESC_ELEVATION_0_ES_MEAS_SAMPLING_FUNCTION_UNSPECIFIED 

Unspecified

BLE_ESC_ELEVATION_0_ES_MEAS_SAMPLING_FUNCTION_INSTANTANEOUS 

Instantaneous

BLE_ESC_ELEVATION_0_ES_MEAS_SAMPLING_FUNCTION_ARITHMETIC_MEAN 

Arithmetic Mean

BLE_ESC_ELEVATION_0_ES_MEAS_SAMPLING_FUNCTION_RMS 

RMS

BLE_ESC_ELEVATION_0_ES_MEAS_SAMPLING_FUNCTION_MAXIMUM 

Maximum

BLE_ESC_ELEVATION_0_ES_MEAS_SAMPLING_FUNCTION_MINIMUM 

Minimum

BLE_ESC_ELEVATION_0_ES_MEAS_SAMPLING_FUNCTION_ACCUMULATED 

Accumulated

BLE_ESC_ELEVATION_0_ES_MEAS_SAMPLING_FUNCTION_COUNT 

Count

◆ e_ble_esc_elevation_0_es_trigger_0_condition_t

Environmental Sensing Trigger Setting 0 Condition enumeration.

Enumerator
BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_TRIGGER_INACTIVE 

Trigger Inactive

BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_USE_A_FIXED_TIME_INTERVAL_BETWEEN_TRANSMISSIONS 

Use a fixed time interval between transmissions

BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_NO_LESS_THAN_THE_SPECIFIED_TIME_BETWEEN_TRANSMISSIONS 

No less than the specified time between transmissions

BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_WHEN_VALUE_CHANGES_COMPARED_TO_PREVIOUS_VALUE 

When value changes compared to previous value

BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_WHILE_LESS_THAN_THE_SPECIFIED_VALUE 

While less than the specified value

BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_WHILE_LESS_THAN_OR_EQUAL_TO_THE_SPECIFIED_VALUE 

While less than or equal to the specified value

BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_WHILE_GREATER_THAN_THE_SPECIFIED_VALUE 

While greater than the specified value

BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_WHILE_GREATER_THAN_OR_EQUAL_TO_THE_SPECIFIED_VALUE 

While greater than or equal to the specified value

BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_WHILE_EQUAL_TO_THE_SPECIFIED_VALUE 

While equal to the specified value

BLE_ESC_ELEVATION_0_ES_TRIGGER_0_CONDITION_WHILE_NOT_EQUAL_TO_THE_SPECIFIED_VALUE 

While not equal to the specified value

◆ e_ble_esc_elevation_0_es_conf_trigger_logic_t

Environmental Sensing Configuration Trigger Logic enumeration.

Enumerator
BLE_ESC_ELEVATION_0_ES_CONF_TRIGGER_LOGIC_BOOLEAN_AND 

Boolean AND

BLE_ESC_ELEVATION_0_ES_CONF_TRIGGER_LOGIC_BOOLEAN_OR 

Boolean OR

◆ e_ble_esc_elevation_1_es_meas_sampling_function_t

Environmental Sensing Measurement Sampling Function enumeration.

Enumerator
BLE_ESC_ELEVATION_1_ES_MEAS_SAMPLING_FUNCTION_UNSPECIFIED 

Unspecified

BLE_ESC_ELEVATION_1_ES_MEAS_SAMPLING_FUNCTION_INSTANTANEOUS 

Instantaneous

BLE_ESC_ELEVATION_1_ES_MEAS_SAMPLING_FUNCTION_ARITHMETIC_MEAN 

Arithmetic Mean

BLE_ESC_ELEVATION_1_ES_MEAS_SAMPLING_FUNCTION_RMS 

RMS

BLE_ESC_ELEVATION_1_ES_MEAS_SAMPLING_FUNCTION_MAXIMUM 

Maximum

BLE_ESC_ELEVATION_1_ES_MEAS_SAMPLING_FUNCTION_MINIMUM 

Minimum

BLE_ESC_ELEVATION_1_ES_MEAS_SAMPLING_FUNCTION_ACCUMULATED 

Accumulated

BLE_ESC_ELEVATION_1_ES_MEAS_SAMPLING_FUNCTION_COUNT 

Count

◆ e_ble_esc_elevation_1_es_trigger_0_condition_t

Environmental Sensing Trigger Setting 0 Condition enumeration.

Enumerator
BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_TRIGGER_INACTIVE 

Trigger Inactive

BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_USE_A_FIXED_TIME_INTERVAL_BETWEEN_TRANSMISSIONS 

Use a fixed time interval between transmissions

BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_NO_LESS_THAN_THE_SPECIFIED_TIME_BETWEEN_TRANSMISSIONS 

No less than the specified time between transmissions

BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_WHEN_VALUE_CHANGES_COMPARED_TO_PREVIOUS_VALUE 

When value changes compared to previous value

BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_WHILE_LESS_THAN_THE_SPECIFIED_VALUE 

While less than the specified value

BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_WHILE_LESS_THAN_OR_EQUAL_TO_THE_SPECIFIED_VALUE 

While less than or equal to the specified value

BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_WHILE_GREATER_THAN_THE_SPECIFIED_VALUE 

While greater than the specified value

BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_WHILE_GREATER_THAN_OR_EQUAL_TO_THE_SPECIFIED_VALUE 

While greater than or equal to the specified value

BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_WHILE_EQUAL_TO_THE_SPECIFIED_VALUE 

While equal to the specified value

BLE_ESC_ELEVATION_1_ES_TRIGGER_0_CONDITION_WHILE_NOT_EQUAL_TO_THE_SPECIFIED_VALUE 

While not equal to the specified value

◆ e_ble_esc_elevation_1_es_conf_trigger_logic_t

Environmental Sensing Configuration Trigger Logic enumeration.

Enumerator
BLE_ESC_ELEVATION_1_ES_CONF_TRIGGER_LOGIC_BOOLEAN_AND 

Boolean AND

BLE_ESC_ELEVATION_1_ES_CONF_TRIGGER_LOGIC_BOOLEAN_OR 

Boolean OR

◆ e_ble_esc_char_idx_t

Environmental Sensing characteristic ID.

◆ e_ble_esc_event_t

Environmental Sensing client event type.

Function Documentation

◆ R_BLE_ESC_ReadDescValueChangedCliCnfg()

ble_status_t R_BLE_ESC_ReadDescValueChangedCliCnfg ( uint16_t  conn_hdl)

Read Descriptor Value Changed characteristic Client Characteristic Configuration descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteDescValueChangedCliCnfg()

ble_status_t R_BLE_ESC_WriteDescValueChangedCliCnfg ( uint16_t  conn_hdl,
const uint16_t *  p_value 
)

Write Descriptor Value Changed characteristic Client Characteristic Configuration descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueDescriptor Value Changed characteristic Client Characteristic Configuration descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_GetDescValueChangedAttrHdl()

void R_BLE_ESC_GetDescValueChangedAttrHdl ( const st_ble_dev_addr_t p_addr,
st_ble_esc_desc_value_changed_attr_hdl_t p_hdl 
)

Get Descriptor Value Changed attribute handles.

Parameters
[in]p_addrBluetooth device address for the attribute handles.
[out]p_hdlThe pointer to store the retrieved attribute handles.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature0CliCnfg()

ble_status_t R_BLE_ESC_ReadTemperature0CliCnfg ( uint16_t  conn_hdl)

Read Temperature 0 characteristic Client Characteristic Configuration descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteTemperature0CliCnfg()

ble_status_t R_BLE_ESC_WriteTemperature0CliCnfg ( uint16_t  conn_hdl,
const uint16_t *  p_value 
)

Write Temperature 0 characteristic Client Characteristic Configuration descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueTemperature 0 characteristic Client Characteristic Configuration descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature0EsMeas()

ble_status_t R_BLE_ESC_ReadTemperature0EsMeas ( uint16_t  conn_hdl)

Read Temperature 0 characteristic Environmental Sensing Measurement descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature0CharExtendedProperties()

ble_status_t R_BLE_ESC_ReadTemperature0CharExtendedProperties ( uint16_t  conn_hdl)

Read Temperature 0 characteristic Characteristic Extended Properties descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature0EsTrigger0()

ble_status_t R_BLE_ESC_ReadTemperature0EsTrigger0 ( uint16_t  conn_hdl)

Read Temperature 0 characteristic Environmental Sensing Trigger Setting 0 descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteTemperature0EsTrigger0()

ble_status_t R_BLE_ESC_WriteTemperature0EsTrigger0 ( uint16_t  conn_hdl,
const st_ble_esc_temperature_0_es_trigger_0_t p_value 
)

Write Temperature 0 characteristic Environmental Sensing Trigger Setting 0 descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueTemperature 0 characteristic Environmental Sensing Trigger Setting 0 descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature0EsTrigger1()

ble_status_t R_BLE_ESC_ReadTemperature0EsTrigger1 ( uint16_t  conn_hdl)

Read Temperature 0 characteristic Environmental Sensing Trigger Setting 1 descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteTemperature0EsTrigger1()

ble_status_t R_BLE_ESC_WriteTemperature0EsTrigger1 ( uint16_t  conn_hdl,
const st_ble_esc_temperature_0_es_trigger_1_t p_value 
)

Write Temperature 0 characteristic Environmental Sensing Trigger Setting 1 descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueTemperature 0 characteristic Environmental Sensing Trigger Setting 1 descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature0EsTrigger2()

ble_status_t R_BLE_ESC_ReadTemperature0EsTrigger2 ( uint16_t  conn_hdl)

Read Temperature 0 characteristic Environmental Sensing Trigger Setting 2 descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteTemperature0EsTrigger2()

ble_status_t R_BLE_ESC_WriteTemperature0EsTrigger2 ( uint16_t  conn_hdl,
const st_ble_esc_temperature_0_es_trigger_2_t p_value 
)

Write Temperature 0 characteristic Environmental Sensing Trigger Setting 2 descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueTemperature 0 characteristic Environmental Sensing Trigger Setting 2 descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature0EsConf()

ble_status_t R_BLE_ESC_ReadTemperature0EsConf ( uint16_t  conn_hdl)

Read Temperature 0 characteristic Environmental Sensing Configuration descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteTemperature0EsConf()

ble_status_t R_BLE_ESC_WriteTemperature0EsConf ( uint16_t  conn_hdl,
const uint8_t *  p_value 
)

Write Temperature 0 characteristic Environmental Sensing Configuration descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueTemperature 0 characteristic Environmental Sensing Configuration descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature0CharUserDesc()

ble_status_t R_BLE_ESC_ReadTemperature0CharUserDesc ( uint16_t  conn_hdl,
int32_t  type 
)

Read Temperature 0 characteristic Characteristic User Description descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteTemperature0CharUserDesc()

ble_status_t R_BLE_ESC_WriteTemperature0CharUserDesc ( uint16_t  conn_hdl,
const st_ble_esc_temperature_0_char_user_desc_t p_value 
)

Write Temperature 0 characteristic Characteristic User Description descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueTemperature 0 characteristic Characteristic User Description descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature0ValidRange()

ble_status_t R_BLE_ESC_ReadTemperature0ValidRange ( uint16_t  conn_hdl)

Read Temperature 0 characteristic Valid Range descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature0()

ble_status_t R_BLE_ESC_ReadTemperature0 ( uint16_t  conn_hdl)

Read Temperature 0 characteristic value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_GetTemperature0AttrHdl()

void R_BLE_ESC_GetTemperature0AttrHdl ( const st_ble_dev_addr_t p_addr,
st_ble_esc_temperature_0_attr_hdl_t p_hdl 
)

Get Temperature 0 attribute handles.

Parameters
[in]p_addrBluetooth device address for the attribute handles.
[out]p_hdlThe pointer to store the retrieved attribute handles.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature1CliCnfg()

ble_status_t R_BLE_ESC_ReadTemperature1CliCnfg ( uint16_t  conn_hdl)

Read Temperature 1 characteristic Client Characteristic Configuration descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteTemperature1CliCnfg()

ble_status_t R_BLE_ESC_WriteTemperature1CliCnfg ( uint16_t  conn_hdl,
const uint16_t *  p_value 
)

Write Temperature 1 characteristic Client Characteristic Configuration descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueTemperature 1 characteristic Client Characteristic Configuration descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature1EsMeas()

ble_status_t R_BLE_ESC_ReadTemperature1EsMeas ( uint16_t  conn_hdl)

Read Temperature 1 characteristic Environmental Sensing Measurement descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature1CharExtendedProperties()

ble_status_t R_BLE_ESC_ReadTemperature1CharExtendedProperties ( uint16_t  conn_hdl)

Read Temperature 1 characteristic Characteristic Extended Properties descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature1EsTrigger0()

ble_status_t R_BLE_ESC_ReadTemperature1EsTrigger0 ( uint16_t  conn_hdl)

Read Temperature 1 characteristic Environmental Sensing Trigger Setting 0 descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteTemperature1EsTrigger0()

ble_status_t R_BLE_ESC_WriteTemperature1EsTrigger0 ( uint16_t  conn_hdl,
const st_ble_esc_temperature_1_es_trigger_0_t p_value 
)

Write Temperature 1 characteristic Environmental Sensing Trigger Setting 0 descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueTemperature 1 characteristic Environmental Sensing Trigger Setting 0 descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature1EsTrigger1()

ble_status_t R_BLE_ESC_ReadTemperature1EsTrigger1 ( uint16_t  conn_hdl)

Read Temperature 1 characteristic Environmental Sensing Trigger Setting 1 descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteTemperature1EsTrigger1()

ble_status_t R_BLE_ESC_WriteTemperature1EsTrigger1 ( uint16_t  conn_hdl,
const st_ble_esc_temperature_1_es_trigger_1_t p_value 
)

Write Temperature 1 characteristic Environmental Sensing Trigger Setting 1 descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueTemperature 1 characteristic Environmental Sensing Trigger Setting 1 descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature1EsTrigger2()

ble_status_t R_BLE_ESC_ReadTemperature1EsTrigger2 ( uint16_t  conn_hdl)

Read Temperature 1 characteristic Environmental Sensing Trigger Setting 2 descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteTemperature1EsTrigger2()

ble_status_t R_BLE_ESC_WriteTemperature1EsTrigger2 ( uint16_t  conn_hdl,
const st_ble_esc_temperature_1_es_trigger_2_t p_value 
)

Write Temperature 1 characteristic Environmental Sensing Trigger Setting 2 descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueTemperature 1 characteristic Environmental Sensing Trigger Setting 2 descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature1EsConf()

ble_status_t R_BLE_ESC_ReadTemperature1EsConf ( uint16_t  conn_hdl)

Read Temperature 1 characteristic Environmental Sensing Configuration descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteTemperature1EsConf()

ble_status_t R_BLE_ESC_WriteTemperature1EsConf ( uint16_t  conn_hdl,
const uint8_t *  p_value 
)

Write Temperature 1 characteristic Environmental Sensing Configuration descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueTemperature 1 characteristic Environmental Sensing Configuration descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature1CharUserDesc()

ble_status_t R_BLE_ESC_ReadTemperature1CharUserDesc ( uint16_t  conn_hdl)

Read Temperature 1 characteristic Characteristic User Description descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteTemperature1CharUserDesc()

ble_status_t R_BLE_ESC_WriteTemperature1CharUserDesc ( uint16_t  conn_hdl,
const st_ble_esc_temperature_1_char_user_desc_t p_value 
)

Write Temperature 1 characteristic Characteristic User Description descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueTemperature 1 characteristic Characteristic User Description descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature1ValidRange()

ble_status_t R_BLE_ESC_ReadTemperature1ValidRange ( uint16_t  conn_hdl)

Read Temperature 1 characteristic Valid Range descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_ReadTemperature1()

ble_status_t R_BLE_ESC_ReadTemperature1 ( uint16_t  conn_hdl)

Read Temperature 1 characteristic value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_GetTemperature1AttrHdl()

void R_BLE_ESC_GetTemperature1AttrHdl ( const st_ble_dev_addr_t p_addr,
st_ble_esc_temperature_1_attr_hdl_t p_hdl 
)

Get Temperature 1 attribute handles.

Parameters
[in]p_addrBluetooth device address for the attribute handles.
[out]p_hdlThe pointer to store the retrieved attribute handles.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation0CliCnfg()

ble_status_t R_BLE_ESC_ReadElevation0CliCnfg ( uint16_t  conn_hdl)

Read Elevation 0 characteristic Client Characteristic Configuration descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteElevation0CliCnfg()

ble_status_t R_BLE_ESC_WriteElevation0CliCnfg ( uint16_t  conn_hdl,
const uint16_t *  p_value 
)

Write Elevation 0 characteristic Client Characteristic Configuration descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueElevation 0 characteristic Client Characteristic Configuration descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation0EsMeas()

ble_status_t R_BLE_ESC_ReadElevation0EsMeas ( uint16_t  conn_hdl)

Read Elevation 0 characteristic Environmental Sensing Measurement descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation0CharExtendedProperties()

ble_status_t R_BLE_ESC_ReadElevation0CharExtendedProperties ( uint16_t  conn_hdl)

Read Elevation 0 characteristic Characteristic Extended Properties descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation0EsTrigger0()

ble_status_t R_BLE_ESC_ReadElevation0EsTrigger0 ( uint16_t  conn_hdl)

Read Elevation 0 characteristic Environmental Sensing Trigger Setting 0 descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteElevation0EsTrigger0()

ble_status_t R_BLE_ESC_WriteElevation0EsTrigger0 ( uint16_t  conn_hdl,
const st_ble_esc_elevation_0_es_trigger_0_t p_value 
)

Write Elevation 0 characteristic Environmental Sensing Trigger Setting 0 descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueElevation 0 characteristic Environmental Sensing Trigger Setting 0 descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation0EsTrigger1()

ble_status_t R_BLE_ESC_ReadElevation0EsTrigger1 ( uint16_t  conn_hdl)

Read Elevation 0 characteristic Environmental Sensing Trigger Setting 1 descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteElevation0EsTrigger1()

ble_status_t R_BLE_ESC_WriteElevation0EsTrigger1 ( uint16_t  conn_hdl,
const st_ble_esc_elevation_0_es_trigger_1_t p_value 
)

Write Elevation 0 characteristic Environmental Sensing Trigger Setting 1 descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueElevation 0 characteristic Environmental Sensing Trigger Setting 1 descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation0EsTrigger2()

ble_status_t R_BLE_ESC_ReadElevation0EsTrigger2 ( uint16_t  conn_hdl)

Read Elevation 0 characteristic Environmental Sensing Trigger Setting 2 descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteElevation0EsTrigger2()

ble_status_t R_BLE_ESC_WriteElevation0EsTrigger2 ( uint16_t  conn_hdl,
const st_ble_esc_elevation_0_es_trigger_2_t p_value 
)

Write Elevation 0 characteristic Environmental Sensing Trigger Setting 2 descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueElevation 0 characteristic Environmental Sensing Trigger Setting 2 descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation0EsConf()

ble_status_t R_BLE_ESC_ReadElevation0EsConf ( uint16_t  conn_hdl)

Read Elevation 0 characteristic Environmental Sensing Configuration descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteElevation0EsConf()

ble_status_t R_BLE_ESC_WriteElevation0EsConf ( uint16_t  conn_hdl,
const uint8_t *  p_value 
)

Write Elevation 0 characteristic Environmental Sensing Configuration descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueElevation 0 characteristic Environmental Sensing Configuration descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation0CharUserDesc()

ble_status_t R_BLE_ESC_ReadElevation0CharUserDesc ( uint16_t  conn_hdl,
int32_t  type 
)

Read Elevation 0 characteristic Characteristic User Description descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteElevation0CharUserDesc()

ble_status_t R_BLE_ESC_WriteElevation0CharUserDesc ( uint16_t  conn_hdl,
const st_ble_esc_elevation_0_char_user_desc_t p_value 
)

Write Elevation 0 characteristic Characteristic User Description descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueElevation 0 characteristic Characteristic User Description descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation0ValidRange()

ble_status_t R_BLE_ESC_ReadElevation0ValidRange ( uint16_t  conn_hdl)

Read Elevation 0 characteristic Valid Range descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation0()

ble_status_t R_BLE_ESC_ReadElevation0 ( uint16_t  conn_hdl)

Read Elevation 0 characteristic value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_GetElevation0AttrHdl()

void R_BLE_ESC_GetElevation0AttrHdl ( const st_ble_dev_addr_t p_addr,
st_ble_esc_elevation_0_attr_hdl_t p_hdl 
)

Get Elevation 0 attribute handles.

Parameters
[in]p_addrBluetooth device address for the attribute handles.
[out]p_hdlThe pointer to store the retrieved attribute handles.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation1CliCnfg()

ble_status_t R_BLE_ESC_ReadElevation1CliCnfg ( uint16_t  conn_hdl)

Read Elevation 1 characteristic Client Characteristic Configuration descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteElevation1CliCnfg()

ble_status_t R_BLE_ESC_WriteElevation1CliCnfg ( uint16_t  conn_hdl,
const uint16_t *  p_value 
)

Write Elevation 1 characteristic Client Characteristic Configuration descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueElevation 1 characteristic Client Characteristic Configuration descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation1EsMeas()

ble_status_t R_BLE_ESC_ReadElevation1EsMeas ( uint16_t  conn_hdl)

Read Elevation 1 characteristic Environmental Sensing Measurement descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation1CharExtendedProperties()

ble_status_t R_BLE_ESC_ReadElevation1CharExtendedProperties ( uint16_t  conn_hdl)

Read Elevation 1 characteristic Characteristic Extended Properties descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation1EsTrigger0()

ble_status_t R_BLE_ESC_ReadElevation1EsTrigger0 ( uint16_t  conn_hdl)

Read Elevation 1 characteristic Environmental Sensing Trigger Setting 0 descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteElevation1EsTrigger0()

ble_status_t R_BLE_ESC_WriteElevation1EsTrigger0 ( uint16_t  conn_hdl,
const st_ble_esc_elevation_1_es_trigger_0_t p_value 
)

Write Elevation 1 characteristic Environmental Sensing Trigger Setting 0 descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueElevation 1 characteristic Environmental Sensing Trigger Setting 0 descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation1EsTrigger1()

ble_status_t R_BLE_ESC_ReadElevation1EsTrigger1 ( uint16_t  conn_hdl)

Read Elevation 1 characteristic Environmental Sensing Trigger Setting 1 descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteElevation1EsTrigger1()

ble_status_t R_BLE_ESC_WriteElevation1EsTrigger1 ( uint16_t  conn_hdl,
const st_ble_esc_elevation_1_es_trigger_1_t p_value 
)

Write Elevation 1 characteristic Environmental Sensing Trigger Setting 1 descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueElevation 1 characteristic Environmental Sensing Trigger Setting 1 descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation1EsTrigger2()

ble_status_t R_BLE_ESC_ReadElevation1EsTrigger2 ( uint16_t  conn_hdl)

Read Elevation 1 characteristic Environmental Sensing Trigger Setting 2 descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteElevation1EsTrigger2()

ble_status_t R_BLE_ESC_WriteElevation1EsTrigger2 ( uint16_t  conn_hdl,
const st_ble_esc_elevation_1_es_trigger_2_t p_value 
)

Write Elevation 1 characteristic Environmental Sensing Trigger Setting 2 descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueElevation 1 characteristic Environmental Sensing Trigger Setting 2 descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation1EsConf()

ble_status_t R_BLE_ESC_ReadElevation1EsConf ( uint16_t  conn_hdl)

Read Elevation 1 characteristic Environmental Sensing Configuration descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteElevation1EsConf()

ble_status_t R_BLE_ESC_WriteElevation1EsConf ( uint16_t  conn_hdl,
const uint8_t *  p_value 
)

Write Elevation 1 characteristic Environmental Sensing Configuration descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueElevation 1 characteristic Environmental Sensing Configuration descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation1CharUserDesc()

ble_status_t R_BLE_ESC_ReadElevation1CharUserDesc ( uint16_t  conn_hdl)

Read Elevation 1 characteristic Characteristic User Description descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_WriteElevation1CharUserDesc()

ble_status_t R_BLE_ESC_WriteElevation1CharUserDesc ( uint16_t  conn_hdl,
const st_ble_esc_elevation_1_char_user_desc_t p_value 
)

Write Elevation 1 characteristic Characteristic User Description descriptor value to remote GATT database.

Parameters
[in]conn_hdlConnection handle.
[in]p_valueElevation 1 characteristic Characteristic User Description descriptor value to write.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation1ValidRange()

ble_status_t R_BLE_ESC_ReadElevation1ValidRange ( uint16_t  conn_hdl)

Read Elevation 1 characteristic Valid Range descriptor value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_ReadElevation1()

ble_status_t R_BLE_ESC_ReadElevation1 ( uint16_t  conn_hdl)

Read Elevation 1 characteristic value from the remote GATT database.

Parameters
[in]conn_hdlConnection handle.
Returns
ble_status_t

◆ R_BLE_ESC_GetElevation1AttrHdl()

void R_BLE_ESC_GetElevation1AttrHdl ( const st_ble_dev_addr_t p_addr,
st_ble_esc_elevation_1_attr_hdl_t p_hdl 
)

Get Elevation 1 attribute handles.

Parameters
[in]p_addrBluetooth device address for the attribute handles.
[out]p_hdlThe pointer to store the retrieved attribute handles.
Returns
ble_status_t

◆ R_BLE_ESC_Init()

ble_status_t R_BLE_ESC_Init ( ble_servc_app_cb_t  cb)

Initialize Environmental Sensing client.

Parameters
[in]cbClient callback.
Returns
ble_status_t

◆ R_BLE_ESC_ServDiscCb()

void R_BLE_ESC_ServDiscCb ( uint16_t  conn_hdl,
uint8_t  serv_idx,
uint16_t  type,
void *  p_param 
)

Environmental Sensing client discovery callback.

Parameters
[in]conn_hdlConnection handle
[in]serv_idxService instance index.
[in]typeService discovery event type.
[in]p_paramService discovery event parameter.
Returns
ble_status_t

◆ R_BLE_ESC_GetServAttrHdl()

void R_BLE_ESC_GetServAttrHdl ( const st_ble_dev_addr_t p_addr,
st_ble_gatt_hdl_range_t p_hdl 
)

Get Environmental Sensing client attribute handle.

Parameters
[in]p_addrBluetooth device address for the attribute handles.
[out]p_hdlThe pointer to store the retrieved attribute handles.