Nordic Thingy:52 v2.2.0
ble_tes_s Struct Reference

Thingy Environment Service structure. More...

Data Fields

ble_gatts_char_handles_t color_handles
 
ble_gatts_char_handles_t config_handles
 
uint16_t conn_handle
 
ble_tes_evt_handler_t evt_handler
 
ble_gatts_char_handles_t gas_handles
 
ble_gatts_char_handles_t humidity_handles
 
bool is_color_notif_enabled
 
bool is_gas_notif_enabled
 
bool is_humidity_notif_enabled
 
bool is_pressure_notif_enabled
 
bool is_temperature_notif_enabled
 
ble_gatts_char_handles_t pressure_handles
 
uint16_t service_handle
 
ble_gatts_char_handles_t temperature_handles
 
uint8_t uuid_type
 

Detailed Description

Thingy Environment Service structure.

This structure contains status information related to the service.

Field Documentation

◆ color_handles

ble_gatts_char_handles_t ble_tes_s::color_handles

Handles related to the gas characteristic (as provided by the S132 SoftDevice).

◆ config_handles

ble_gatts_char_handles_t ble_tes_s::config_handles

Handles related to the config characteristic (as provided by the S132 SoftDevice).

◆ conn_handle

uint16_t ble_tes_s::conn_handle

Handle of the current connection (as provided by the S110 SoftDevice). BLE_CONN_HANDLE_INVALID if not in a connection.

◆ evt_handler

ble_tes_evt_handler_t ble_tes_s::evt_handler

Event handler to be called for handling received data.

◆ gas_handles

ble_gatts_char_handles_t ble_tes_s::gas_handles

Handles related to the gas characteristic (as provided by the S132 SoftDevice).

◆ humidity_handles

ble_gatts_char_handles_t ble_tes_s::humidity_handles

Handles related to the humidity characteristic (as provided by the S132 SoftDevice).

◆ is_color_notif_enabled

bool ble_tes_s::is_color_notif_enabled

Variable to indicate if the peer has enabled notification of the characteristic.

◆ is_gas_notif_enabled

bool ble_tes_s::is_gas_notif_enabled

Variable to indicate if the peer has enabled notification of the characteristic.

◆ is_humidity_notif_enabled

bool ble_tes_s::is_humidity_notif_enabled

Variable to indicate if the peer has enabled notification of the characteristic.

◆ is_pressure_notif_enabled

bool ble_tes_s::is_pressure_notif_enabled

Variable to indicate if the peer has enabled notification of the characteristic.

◆ is_temperature_notif_enabled

bool ble_tes_s::is_temperature_notif_enabled

Variable to indicate if the peer has enabled notification of the characteristic.

◆ pressure_handles

ble_gatts_char_handles_t ble_tes_s::pressure_handles

Handles related to the pressure characteristic (as provided by the S132 SoftDevice).

◆ service_handle

uint16_t ble_tes_s::service_handle

Handle of Thingy Environment Service (as provided by the S110 SoftDevice).

◆ temperature_handles

ble_gatts_char_handles_t ble_tes_s::temperature_handles

Handles related to the temperature characteristic (as provided by the S132 SoftDevice).

◆ uuid_type

uint8_t ble_tes_s::uuid_type

UUID type for Thingy Environment Service Base UUID.


The documentation for this struct was generated from the following file: