nRF51 SDK - S130 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
General error codes

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

Macros

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

Detailed Description

General error code definitions for the BLE API.

Macro Definition Documentation

#define BLE_ERROR_INVALID_ATTR_HANDLE   (NRF_ERROR_STK_BASE_NUM+0x003)

Invalid attribute handle.

#define BLE_ERROR_INVALID_CONN_HANDLE   (NRF_ERROR_STK_BASE_NUM+0x002)

Invalid connection handle.

#define BLE_ERROR_INVALID_ROLE   (NRF_ERROR_STK_BASE_NUM+0x005)

Invalid role.

#define BLE_ERROR_NO_TX_BUFFERS   (NRF_ERROR_STK_BASE_NUM+0x004)

Buffer capacity exceeded.

#define BLE_ERROR_NOT_ENABLED   (NRF_ERROR_STK_BASE_NUM+0x001)

sd_ble_enable has not been called.