nRF51 SDK - S130 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_gls_s Struct Reference

Glucose Service structure. This contains various status information for the service. More...

#include <ble_gls.h>

Data Fields

ble_gls_evt_handler_t evt_handler
 
ble_srv_error_handler_t error_handler
 
uint16_t service_handle
 
ble_gatts_char_handles_t glm_handles
 
ble_gatts_char_handles_t glm_context_handles
 
ble_gatts_char_handles_t glf_handles
 
ble_gatts_char_handles_t racp_handles
 
uint16_t conn_handle
 
uint16_t feature
 
bool is_context_supported
 

Detailed Description

Glucose Service structure. This contains various status information for the service.

Field Documentation

uint16_t ble_gls_s::conn_handle

Handle of the current connection (as provided by the BLE stack, is BLE_CONN_HANDLE_INVALID if not in a connection).

ble_srv_error_handler_t ble_gls_s::error_handler

Function to be called in case of an error.

ble_gls_evt_handler_t ble_gls_s::evt_handler

Event handler to be called for handling events in the Glucose Service.

ble_gatts_char_handles_t ble_gls_s::glf_handles

Handles related to the Glucose Feature characteristic.

ble_gatts_char_handles_t ble_gls_s::glm_context_handles

Handles related to the Glucose Measurement Context characteristic.

ble_gatts_char_handles_t ble_gls_s::glm_handles

Handles related to the Glucose Measurement characteristic.

ble_gatts_char_handles_t ble_gls_s::racp_handles

Handles related to the Record Access Control Point characteristic.

uint16_t ble_gls_s::service_handle

Handle of Glucose Service (as provided by the BLE stack).