Nordic stack and drivers for the mbed BLE API

Dependents:   idd_hw5_bleFanProto

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

ble_gls_s Struct Reference

ble_gls_s Struct Reference
[Glucose Service]

Glucose Service structure. More...

#include <ble_gls.h>

Data Fields

ble_gls_evt_handler_t evt_handler
 Event handler to be called for handling events in the Glucose Service.
ble_srv_error_handler_t error_handler
 Function to be called in case of an error.
uint16_t service_handle
 Handle of Glucose Service (as provided by the BLE stack).
ble_gatts_char_handles_t glm_handles
 Handles related to the Glucose Measurement characteristic.
ble_gatts_char_handles_t glm_context_handles
 Handles related to the Glucose Measurement Context characteristic.
ble_gatts_char_handles_t glf_handles
 Handles related to the Glucose Feature characteristic.
ble_gatts_char_handles_t racp_handles
 Handles related to the Record Access Control Point characteristic.
uint16_t conn_handle
 Handle of the current connection (as provided by the BLE stack, is BLE_CONN_HANDLE_INVALID if not in a connection).

Detailed Description

Glucose Service structure.

This contains various status information for the service.

Definition at line 213 of file ble_gls.h.


Field Documentation

uint16_t conn_handle

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

Definition at line 222 of file ble_gls.h.

Function to be called in case of an error.

Definition at line 216 of file ble_gls.h.

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

Definition at line 215 of file ble_gls.h.

Handles related to the Glucose Feature characteristic.

Definition at line 220 of file ble_gls.h.

Handles related to the Glucose Measurement Context characteristic.

Definition at line 219 of file ble_gls.h.

Handles related to the Glucose Measurement characteristic.

Definition at line 218 of file ble_gls.h.

Handles related to the Record Access Control Point characteristic.

Definition at line 221 of file ble_gls.h.

uint16_t service_handle

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

Definition at line 217 of file ble_gls.h.