nRF51 SDK: ble_gatts_evt_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_gatts_evt_t Struct Reference
Generic Attribute Profile (GATT) Server | Structures | Generic Attribute Profile (GATT) Server

GATT Server event callback event structure. More...

`#include <ble_gatts.h>`

## Data Fields

uint16_t | conn_handle
union {
ble_gatts_evt_write_t write
ble_gatts_evt_rw_authorize_request_t authorize_request
ble_gatts_evt_sys_attr_missing_t sys_attr_missing
ble_gatts_evt_hvc_t hvc
ble_gatts_evt_timeout_t timeout
} | params
union {
ble_gatts_evt_write_t write
ble_gatts_evt_rw_authorize_request_t authorize_request
ble_gatts_evt_sys_attr_missing_t sys_attr_missing
ble_gatts_evt_hvc_t hvc
ble_gatts_evt_timeout_t timeout
} | params
union {
ble_gatts_evt_write_t write
ble_gatts_evt_rw_authorize_request_t authorize_request
ble_gatts_evt_sys_attr_missing_t sys_attr_missing
ble_gatts_evt_hvc_t hvc
ble_gatts_evt_timeout_t timeout
} | params

## Detailed Description

GATT Server event callback event structure.

## Field Documentation

ble_gatts_evt_rw_authorize_request_t ble_gatts_evt_t::authorize_request

Read or Write Authorize Request Parameters.

uint16_t ble_gatts_evt_t::conn_handle

Connection Handle on which event occurred.

ble_gatts_evt_hvc_t ble_gatts_evt_t::hvc

Handle Value Confirmation Event Parameters.

union { ... } ble_gatts_evt_t::params

Event Parameters.

ble_gatts_evt_sys_attr_missing_t ble_gatts_evt_t::sys_attr_missing

System attributes missing.

ble_gatts_evt_timeout_t ble_gatts_evt_t::timeout

Timeout Event.

ble_gatts_evt_write_t ble_gatts_evt_t::write

Write Event Parameters.