Data Fields
samples_evt_t Struct Reference
BLE Services » Sample Service (SAMPLES) » Structures

Sample Service event. More...

`#include <sample_service.h>`

## Data Fields
samples_evt_type_t | evt_type
uint8_t | conn_idx
uint8_t * | p_data
uint16_t | length

## Detailed Description

Sample Service event.

## Field Documentation

## ◆ conn_idx

uint8_t samples_evt_t::conn_idx

The connection index.

## ◆ evt_type

samples_evt_type_t samples_evt_t::evt_type

The sample service event.

## ◆ length

uint16_t samples_evt_t::length

Length of event data.

## ◆ p_data

uint8_t* samples_evt_t::p_data

Pointer to event data.

The documentation for this struct was generated from the following file:

- sample_service.h