Enumerations

S140 SoftDevice v7.3.0 API

S140 SoftDevice v7.3.0

Detailed Description

Enumeration Type Documentation

GATTS Configuration IDs.

IDs that uniquely identify a GATTS configuration.

Enumerator
BLE_GATTS_CFG_SERVICE_CHANGED

GATTS BLE configuration base. Service changed configuration.

BLE_GATTS_CFG_ATTR_TAB_SIZE

Attribute table size configuration.

BLE_GATTS_CFG_SERVICE_CHANGED_CCCD_PERM

Service changed CCCD permission configuration.

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 respond to an ATT request in time.
See ble_gatts_evt_timeout_t .

BLE_GATTS_EVT_HVN_TX_COMPLETE

Handle Value Notification transmission complete.
See ble_gatts_evt_hvn_tx_complete_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.