nRF51 SDK: General error codes

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Macros
General error codes
BLE SoftDevice Common

General error code definitions for the BLE API. More...

## Macros

#define | BLE_ERROR_INVALID_CONN_HANDLE (NRF_ERROR_STK_BASE_NUM+0x001)
#define | BLE_ERROR_INVALID_ATTR_HANDLE (NRF_ERROR_STK_BASE_NUM+0x002)
#define | BLE_ERROR_NO_TX_BUFFERS (NRF_ERROR_STK_BASE_NUM+0x003)
#define | BLE_ERROR_INVALID_ROLE (NRF_ERROR_STK_BASE_NUM+0x004)

## Detailed Description

General error code definitions for the BLE API.

## Macro Definition Documentation

#define BLE_ERROR_INVALID_ATTR_HANDLE (NRF_ERROR_STK_BASE_NUM+0x002)

Invalid attribute handle.

#define BLE_ERROR_INVALID_CONN_HANDLE (NRF_ERROR_STK_BASE_NUM+0x001)

Invalid connection handle.

#define BLE_ERROR_INVALID_ROLE (NRF_ERROR_STK_BASE_NUM+0x004)

Invalid role.

#define BLE_ERROR_NO_TX_BUFFERS (NRF_ERROR_STK_BASE_NUM+0x003)

Buffer capacity exceeded.