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.h File Reference

ble_gls.h File Reference

Go to the source code of this file.

Data Structures

struct  sfloat_t
 SFLOAT format (IEEE-11073 16-bit FLOAT, meaning 4 bits for exponent (base 10) and 12 bits mantissa) More...
struct  ble_gls_evt_t
 Glucose Service event. More...
struct  ble_gls_meas_t
 Glucose Measurement structure. More...
struct  ble_gls_meas_context_t
 Glucose measurement context structure. More...
struct  ble_gls_rec_t
 Glucose measurement record. More...
struct  ble_gls_init_t
 Glucose Service init structure. More...
struct  ble_gls_s
 Glucose Service structure. More...

Typedefs

typedef struct ble_gls_s ble_gls_t
 Glucose Service structure.
typedef void(* ble_gls_evt_handler_t )(ble_gls_t *p_gls, ble_gls_evt_t *p_evt)
 Glucose Service event handler type.

Enumerations

enum  ble_gls_evt_type_t { BLE_GLS_EVT_NOTIFICATION_ENABLED, BLE_GLS_EVT_NOTIFICATION_DISABLED }
 

Glucose Service event type.

More...

Functions

uint32_t ble_gls_init (ble_gls_t *p_gls, const ble_gls_init_t *p_gls_init)
 Function for initializing the Glucose Service.
void ble_gls_on_ble_evt (ble_gls_t *p_gls, ble_evt_t *p_ble_evt)
 Function for handling the Application's BLE Stack events.
uint32_t ble_gls_glucose_new_meas (ble_gls_t *p_gls, ble_gls_rec_t *p_rec)
 Function for reporting a new glucose measurement to the glucose service module.

Detailed Description

Definition in file ble_gls.h.