Microbit as a BLE gamepad

Dependents:   nRF51822

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

ble_gatts_attr_context_t Struct Reference

ble_gatts_attr_context_t Struct Reference
[Structures]

GATT Attribute Context. More...

#include <ble_gatts.h>

Data Fields

ble_uuid_t srvc_uuid
 Service UUID.
ble_uuid_t char_uuid
 Characteristic UUID if applicable (BLE_UUID_TYPE_UNKNOWN otherwise).
ble_uuid_t desc_uuid
 Descriptor UUID if applicable (BLE_UUID_TYPE_UNKNOWN otherwise).
uint16_t srvc_handle
 Service Handle.
uint16_t value_handle
 Characteristic Value Handle if applicable (BLE_GATT_HANDLE_INVALID otherwise).
uint8_t type
 Attribute Type, see GATT Server Attribute Types.

Detailed Description

GATT Attribute Context.

Definition at line 210 of file ble_gatts.h.


Field Documentation

Characteristic UUID if applicable (BLE_UUID_TYPE_UNKNOWN otherwise).

Definition at line 213 of file ble_gatts.h.

Descriptor UUID if applicable (BLE_UUID_TYPE_UNKNOWN otherwise).

Definition at line 214 of file ble_gatts.h.

uint16_t srvc_handle

Service Handle.

Definition at line 215 of file ble_gatts.h.

Service UUID.

Definition at line 212 of file ble_gatts.h.

uint8_t type

Attribute Type, see GATT Server Attribute Types.

Definition at line 217 of file ble_gatts.h.

uint16_t value_handle

Characteristic Value Handle if applicable (BLE_GATT_HANDLE_INVALID otherwise).

Definition at line 216 of file ble_gatts.h.