Microbit as a BLE gamepad

Dependents:   nRF51822

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

ble_gatts_attr_md_t Struct Reference

ble_gatts_attr_md_t Struct Reference
[Structures]

Attribute metadata. More...

#include <ble_gatts.h>

Data Fields

ble_gap_conn_sec_mode_t read_perm
 Read permissions.
ble_gap_conn_sec_mode_t write_perm
 Write permissions.
uint8_t vlen:1
 Variable length attribute.
uint8_t vloc:2
 Value location, see GATT Value Locations.
uint8_t rd_auth:1
 Read authorization and value will be requested from the application on every read operation.
uint8_t wr_auth:1
 Write authorization will be requested from the application on every Write Request operation (but not Write Command).

Detailed Description

Attribute metadata.

Definition at line 174 of file ble_gatts.h.


Field Documentation

uint8_t rd_auth

Read authorization and value will be requested from the application on every read operation.

Definition at line 180 of file ble_gatts.h.

Read permissions.

Definition at line 176 of file ble_gatts.h.

uint8_t vlen

Variable length attribute.

Definition at line 178 of file ble_gatts.h.

uint8_t vloc

Value location, see GATT Value Locations.

Definition at line 179 of file ble_gatts.h.

uint8_t wr_auth

Write authorization will be requested from the application on every Write Request operation (but not Write Command).

Definition at line 181 of file ble_gatts.h.

Write permissions.

Definition at line 177 of file ble_gatts.h.