| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_lbs_s Struct Reference
LED Button Service Server

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

`#include <ble_lbs.h>`

## Data Fields
uint16_t | service_handle
ble_gatts_char_handles_t | led_char_handles
ble_gatts_char_handles_t | button_char_handles
uint8_t | uuid_type
uint16_t | conn_handle
ble_lbs_led_write_handler_t | led_write_handler

## Detailed Description

LED Button Service structure. This structure contains various status information for the service.

## Field Documentation

ble_gatts_char_handles_t ble_lbs_s::button_char_handles

Handles related to the Button Characteristic.

uint16_t ble_lbs_s::conn_handle

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

ble_gatts_char_handles_t ble_lbs_s::led_char_handles

Handles related to the LED Characteristic.

ble_lbs_led_write_handler_t ble_lbs_s::led_write_handler

Event handler to be called when the LED Characteristic is written.

uint16_t ble_lbs_s::service_handle

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

uint8_t ble_lbs_s::uuid_type

UUID type for the LED Button Service.