Microbit as a BLE gamepad

Dependents:   nRF51822

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

Enumerations

Enumerations

enum  BLE_GATTS_SVCS {
  SD_BLE_GATTS_SERVICE_ADD = BLE_GATTS_SVC_BASE, SD_BLE_GATTS_INCLUDE_ADD, SD_BLE_GATTS_CHARACTERISTIC_ADD, SD_BLE_GATTS_DESCRIPTOR_ADD,
  SD_BLE_GATTS_VALUE_SET, SD_BLE_GATTS_VALUE_GET, SD_BLE_GATTS_HVX, SD_BLE_GATTS_SERVICE_CHANGED,
  SD_BLE_GATTS_RW_AUTHORIZE_REPLY, SD_BLE_GATTS_SYS_ATTR_SET, SD_BLE_GATTS_SYS_ATTR_GET
}
 

GATTS API SVC numbers.

More...
enum  BLE_GATTS_EVTS {
  BLE_GATTS_EVT_WRITE = BLE_GATTS_EVT_BASE, BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST, BLE_GATTS_EVT_SYS_ATTR_MISSING, BLE_GATTS_EVT_HVC,
  BLE_GATTS_EVT_SC_CONFIRM, BLE_GATTS_EVT_TIMEOUT
}
 

GATT Server Event IDs.

More...

Enumeration Type Documentation

GATT Server Event IDs.

Enumerator:
BLE_GATTS_EVT_WRITE 

Write operation performed.

ble_gatts_evt_write_t

BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST 

Read/Write Authorization request.

ble_gatts_evt_rw_authorize_request_t

BLE_GATTS_EVT_SYS_ATTR_MISSING 

A persistent system attribute access is pending, awaiting a sd_ble_gatts_sys_attr_set().

ble_gatts_evt_sys_attr_missing_t

BLE_GATTS_EVT_HVC 

Handle Value Confirmation.

ble_gatts_evt_hvc_t

BLE_GATTS_EVT_SC_CONFIRM 

Service Changed Confirmation.

No additional event structure applies.

BLE_GATTS_EVT_TIMEOUT 

Timeout.

ble_gatts_evt_timeout_t

Definition at line 73 of file ble_gatts.h.

GATTS API SVC numbers.

Enumerator:
SD_BLE_GATTS_SERVICE_ADD 

Add a service.

SD_BLE_GATTS_INCLUDE_ADD 

Add an included service.

SD_BLE_GATTS_CHARACTERISTIC_ADD 

Add a characteristic.

SD_BLE_GATTS_DESCRIPTOR_ADD 

Add a generic attribute.

SD_BLE_GATTS_VALUE_SET 

Set an attribute value.

SD_BLE_GATTS_VALUE_GET 

Get an attribute value.

SD_BLE_GATTS_HVX 

Handle Value Notification or Indication.

SD_BLE_GATTS_SERVICE_CHANGED 

Perform a Service Changed Indication to one or more peers.

SD_BLE_GATTS_RW_AUTHORIZE_REPLY 

Reply to an authorization request for a read or write operation on one or more attributes.

SD_BLE_GATTS_SYS_ATTR_SET 

Set the persistent system attributes for a connection.

SD_BLE_GATTS_SYS_ATTR_GET 

Retrieve the persistent system attributes.

Definition at line 55 of file ble_gatts.h.