nRF51 SDK: Enumerations

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

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

## Enumerations

enum

BLE_GATTC_SVCS {
SD_BLE_GATTC_PRIMARY_SERVICES_DISCOVER = 0x90, SD_BLE_GATTC_RELATIONSHIPS_DISCOVER, SD_BLE_GATTC_CHARACTERISTICS_DISCOVER, SD_BLE_GATTC_DESCRIPTORS_DISCOVER,
SD_BLE_GATTC_CHAR_VALUE_BY_UUID_READ, SD_BLE_GATTC_READ, SD_BLE_GATTC_CHAR_VALUES_READ, SD_BLE_GATTC_WRITE,
SD_BLE_GATTC_HV_CONFIRM, SD_BLE_GATTC_PRIMARY_SERVICES_DISCOVER = 0x90, SD_BLE_GATTC_RELATIONSHIPS_DISCOVER, SD_BLE_GATTC_CHARACTERISTICS_DISCOVER,
SD_BLE_GATTC_DESCRIPTORS_DISCOVER, SD_BLE_GATTC_CHAR_VALUE_BY_UUID_READ, SD_BLE_GATTC_READ, SD_BLE_GATTC_CHAR_VALUES_READ,
SD_BLE_GATTC_WRITE, SD_BLE_GATTC_HV_CONFIRM, SD_BLE_GATTC_PRIMARY_SERVICES_DISCOVER = 0x90, SD_BLE_GATTC_RELATIONSHIPS_DISCOVER,
SD_BLE_GATTC_CHARACTERISTICS_DISCOVER, SD_BLE_GATTC_DESCRIPTORS_DISCOVER, SD_BLE_GATTC_CHAR_VALUE_BY_UUID_READ, SD_BLE_GATTC_READ,
SD_BLE_GATTC_CHAR_VALUES_READ, SD_BLE_GATTC_WRITE, SD_BLE_GATTC_HV_CONFIRM
}

| GATTC API SVC numbers. More...

enum

BLE_GATTC_EVTS {
BLE_GATTC_EVT_PRIM_SRVC_DISC_RSP = 0x30, BLE_GATTC_EVT_REL_DISC_RSP, BLE_GATTC_EVT_CHAR_DISC_RSP, BLE_GATTC_EVT_DESC_DISC_RSP,
BLE_GATTC_EVT_CHAR_VAL_BY_UUID_READ_RSP, BLE_GATTC_EVT_READ_RSP, BLE_GATTC_EVT_CHAR_VALS_READ_RSP, BLE_GATTC_EVT_WRITE_RSP,
BLE_GATTC_EVT_HVX, BLE_GATTC_EVT_TIMEOUT, BLE_GATTC_EVT_PRIM_SRVC_DISC_RSP = 0x30, BLE_GATTC_EVT_REL_DISC_RSP,
BLE_GATTC_EVT_CHAR_DISC_RSP, BLE_GATTC_EVT_DESC_DISC_RSP, BLE_GATTC_EVT_CHAR_VAL_BY_UUID_READ_RSP, BLE_GATTC_EVT_READ_RSP,
BLE_GATTC_EVT_CHAR_VALS_READ_RSP, BLE_GATTC_EVT_WRITE_RSP, BLE_GATTC_EVT_HVX, BLE_GATTC_EVT_TIMEOUT,
BLE_GATTC_EVT_PRIM_SRVC_DISC_RSP = 0x30, BLE_GATTC_EVT_REL_DISC_RSP, BLE_GATTC_EVT_CHAR_DISC_RSP, BLE_GATTC_EVT_DESC_DISC_RSP,
BLE_GATTC_EVT_CHAR_VAL_BY_UUID_READ_RSP, BLE_GATTC_EVT_READ_RSP, BLE_GATTC_EVT_CHAR_VALS_READ_RSP, BLE_GATTC_EVT_WRITE_RSP,
BLE_GATTC_EVT_HVX, BLE_GATTC_EVT_TIMEOUT
}

| GATT Client Event IDs. More...

## Detailed Description

## Enumeration Type Documentation

enum BLE_GATTC_EVTS

GATT Client Event IDs.

Enumerator
BLE_GATTC_EVT_PRIM_SRVC_DISC_RSP | Primary Service Discovery Response event.
BLE_GATTC_EVT_REL_DISC_RSP | Relationship Discovery Response event.
BLE_GATTC_EVT_CHAR_DISC_RSP | Characteristic Discovery Response event.
BLE_GATTC_EVT_DESC_DISC_RSP | Descriptor Discovery Response event.
BLE_GATTC_EVT_CHAR_VAL_BY_UUID_READ_RSP | Read By UUID Response event.
BLE_GATTC_EVT_READ_RSP | Read Response event.
BLE_GATTC_EVT_CHAR_VALS_READ_RSP | Read multiple Response event.
BLE_GATTC_EVT_WRITE_RSP | Write Response event.
BLE_GATTC_EVT_HVX | Handle Value Notification or Indication event.
BLE_GATTC_EVT_TIMEOUT | Timeout event.
BLE_GATTC_EVT_PRIM_SRVC_DISC_RSP | GATTC BLE Event base. Primary Service Discovery Response event.
BLE_GATTC_EVT_REL_DISC_RSP | Relationship Discovery Response event.
BLE_GATTC_EVT_CHAR_DISC_RSP | Characteristic Discovery Response event.
BLE_GATTC_EVT_DESC_DISC_RSP | Descriptor Discovery Response event.
BLE_GATTC_EVT_CHAR_VAL_BY_UUID_READ_RSP | Read By UUID Response event.
BLE_GATTC_EVT_READ_RSP | Read Response event.
BLE_GATTC_EVT_CHAR_VALS_READ_RSP | Read multiple Response event.
BLE_GATTC_EVT_WRITE_RSP | Write Response event.
BLE_GATTC_EVT_HVX | Handle Value Notification or Indication event.
BLE_GATTC_EVT_TIMEOUT | Timeout event.
BLE_GATTC_EVT_PRIM_SRVC_DISC_RSP | Primary Service Discovery Response event.
BLE_GATTC_EVT_REL_DISC_RSP | Relationship Discovery Response event.
BLE_GATTC_EVT_CHAR_DISC_RSP | Characteristic Discovery Response event.
BLE_GATTC_EVT_DESC_DISC_RSP | Descriptor Discovery Response event.
BLE_GATTC_EVT_CHAR_VAL_BY_UUID_READ_RSP | Read By UUID Response event.
BLE_GATTC_EVT_READ_RSP | Read Response event.
BLE_GATTC_EVT_CHAR_VALS_READ_RSP | Read multiple Response event.
BLE_GATTC_EVT_WRITE_RSP | Write Response event.
BLE_GATTC_EVT_HVX | Handle Value Notification or Indication event.
BLE_GATTC_EVT_TIMEOUT | Timeout event.

enum BLE_GATTC_SVCS

GATTC API SVC numbers.

Enumerator
SD_BLE_GATTC_PRIMARY_SERVICES_DISCOVER | Primary Service Discovery.
SD_BLE_GATTC_RELATIONSHIPS_DISCOVER | Relationship Discovery.
SD_BLE_GATTC_CHARACTERISTICS_DISCOVER | Characteristic Discovery.
SD_BLE_GATTC_DESCRIPTORS_DISCOVER | Characteristic Descriptor Discovery.
SD_BLE_GATTC_CHAR_VALUE_BY_UUID_READ | Read Characteristic Value by UUID.
SD_BLE_GATTC_READ | Generic read.
SD_BLE_GATTC_CHAR_VALUES_READ | Read multiple Characteristic Values.
SD_BLE_GATTC_WRITE | Generic write.
SD_BLE_GATTC_HV_CONFIRM | Handle Value Confirmation.
SD_BLE_GATTC_PRIMARY_SERVICES_DISCOVER | GATTC BLE SVC base. Primary Service Discovery.
SD_BLE_GATTC_RELATIONSHIPS_DISCOVER | Relationship Discovery.
SD_BLE_GATTC_CHARACTERISTICS_DISCOVER | Characteristic Discovery.
SD_BLE_GATTC_DESCRIPTORS_DISCOVER | Characteristic Descriptor Discovery.
SD_BLE_GATTC_CHAR_VALUE_BY_UUID_READ | Read Characteristic Value by UUID.
SD_BLE_GATTC_READ | Generic read.
SD_BLE_GATTC_CHAR_VALUES_READ | Read multiple Characteristic Values.
SD_BLE_GATTC_WRITE | Generic write.
SD_BLE_GATTC_HV_CONFIRM | Handle Value Confirmation.
SD_BLE_GATTC_PRIMARY_SERVICES_DISCOVER | Primary Service Discovery.
SD_BLE_GATTC_RELATIONSHIPS_DISCOVER | Relationship Discovery.
SD_BLE_GATTC_CHARACTERISTICS_DISCOVER | Characteristic Discovery.
SD_BLE_GATTC_DESCRIPTORS_DISCOVER | Characteristic Descriptor Discovery.
SD_BLE_GATTC_CHAR_VALUE_BY_UUID_READ | Read Characteristic Value by UUID.
SD_BLE_GATTC_READ | Generic read.
SD_BLE_GATTC_CHAR_VALUES_READ | Read multiple Characteristic Values.
SD_BLE_GATTC_WRITE | Generic write.
SD_BLE_GATTC_HV_CONFIRM | Handle Value Confirmation.