nRF51 SDK: Module specific error code subranges

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Macros
Module specific error code subranges
BLE SoftDevice Common

Assignment of subranges for module specific error codes. More...

## Macros

#define | NRF_L2CAP_ERR_BASE (NRF_ERROR_STK_BASE_NUM+0x100)
#define | NRF_GAP_ERR_BASE (NRF_ERROR_STK_BASE_NUM+0x200)
#define | NRF_GATTC_ERR_BASE (NRF_ERROR_STK_BASE_NUM+0x300)
#define | NRF_GATTS_ERR_BASE (NRF_ERROR_STK_BASE_NUM+0x400)

## Detailed Description

Assignment of subranges for module specific error codes.

Note
  For specific error codes, see ble_<module>.h or ble_error_<module>.h.

## Macro Definition Documentation

#define NRF_GAP_ERR_BASE (NRF_ERROR_STK_BASE_NUM+0x200)

GAP specific errors.

#define NRF_GATTC_ERR_BASE (NRF_ERROR_STK_BASE_NUM+0x300)

GATT client specific errors.

#define NRF_GATTS_ERR_BASE (NRF_ERROR_STK_BASE_NUM+0x400)

GATT server specific errors.

#define NRF_L2CAP_ERR_BASE (NRF_ERROR_STK_BASE_NUM+0x100)

L2CAP specific errors.