| S130 SoftDevice v2.0.1 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Enumerations
Enumerations
Generic Attribute Profile (GATT) Server

## 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 }
| 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_TIMEOUT }
| GATT Server Event IDs. More...

## Detailed Description

## Enumeration Type Documentation

enum BLE_GATTS_EVTS

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_TIMEOUT | Peer failed to resonpond to an ATT request in time. See ble_gatts_evt_timeout_t.

enum BLE_GATTS_SVCS

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.