nRF51 SDK: ble_gls_init_t Struct Reference

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_gls_init_t Struct Reference
Glucose Service

Glucose Service init structure. This contains all options and data needed for initialization of 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 | feature
bool | is_context_supported

## Detailed Description

Glucose Service init structure. This contains all options and data needed for initialization of the service.

## Field Documentation

ble_srv_error_handler_t ble_gls_init_t::error_handler

Function to be called in case of an error.

ble_gls_evt_handler_t ble_gls_init_t::evt_handler

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

uint16_t ble_gls_init_t::feature

Glucose Feature value indicating supported features.

bool ble_gls_init_t::is_context_supported

Determines if optional Glucose Measurement Context is to be supported.