General error codes

S312 SoftDevice v6.1.1 API

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

Detailed Description

General error code definitions for the BLE API.

Macro Definition Documentation

#define BLE_ERROR_BLOCKED_BY_OTHER_LINKS   (NRF_ERROR_STK_BASE_NUM+0x006)

The attempt to change link settings failed due to the scheduling of other links.

#define BLE_ERROR_INVALID_ADV_HANDLE   (NRF_ERROR_STK_BASE_NUM+0x004)

Invalid advertising handle.

#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_NOT_ENABLED   (NRF_ERROR_STK_BASE_NUM+0x001)

sd_ble_enable has not been called.