S132 SoftDevice v5.0.0-1.alpha
Enumerations

Enumerations

enum  BLE_GATTS_SVCS {
  SD_BLE_GATTS_SERVICE_ADD = 0xA0,
  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,
  SD_BLE_GATTS_INITIAL_USER_HANDLE_GET,
  SD_BLE_GATTS_ATTR_GET,
  SD_BLE_GATTS_EXCHANGE_MTU_REPLY
}
 GATTS API SVC numbers. More...
 
enum  BLE_GATTS_EVTS {
  BLE_GATTS_EVT_WRITE = 0x50,
  BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST,
  BLE_GATTS_EVT_SYS_ATTR_MISSING,
  BLE_GATTS_EVT_HVC,
  BLE_GATTS_EVT_SC_CONFIRM,
  BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST,
  BLE_GATTS_EVT_TIMEOUT
}
 GATT Server Event IDs. More...
 

Detailed Description

Enumeration Type Documentation

GATT Server Event IDs.

Enumerator
BLE_GATTS_EVT_WRITE 

GATTS BLE Event base. Write operation performed.
See ble_gatts_evt_write_t.

BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST 

Read/Write Authorization request.
Reply with sd_ble_gatts_rw_authorize_reply.
See ble_gatts_evt_rw_authorize_request_t.

BLE_GATTS_EVT_SYS_ATTR_MISSING 

A persistent system attribute access is pending.
Respond with sd_ble_gatts_sys_attr_set.
See ble_gatts_evt_sys_attr_missing_t.

BLE_GATTS_EVT_HVC 

Handle Value Confirmation.
See ble_gatts_evt_hvc_t.

BLE_GATTS_EVT_SC_CONFIRM 

Service Changed Confirmation. No additional event structure applies.

BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST 

Exchange MTU Request.
Reply with sd_ble_gatts_exchange_mtu_reply.
See ble_gatts_evt_exchange_mtu_request_t.

BLE_GATTS_EVT_TIMEOUT 

Peer failed to resonpond to an ATT request in time.
See ble_gatts_evt_timeout_t.

GATTS API SVC numbers.

Enumerator
SD_BLE_GATTS_SERVICE_ADD 

GATTS BLE SVC base. 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.

SD_BLE_GATTS_INITIAL_USER_HANDLE_GET 

Retrieve the first valid user handle.

SD_BLE_GATTS_ATTR_GET 

Retrieve the UUID and/or metadata of an attribute.

SD_BLE_GATTS_EXCHANGE_MTU_REPLY 

Reply to Exchange MTU Request.


Documentation feedback | Developer Zone | Subscribe | Updated