Openwear requires RC oscillator to be used

Fork of nRF51822 by Nordic Semiconductor

Committer:
janekm
Date:
Thu Sep 04 21:18:28 2014 +0000
Revision:
62:4dfe75dd5769
Parent:
37:c29c330d942c
?

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bogdanm 0:eff01767de02 1 /*
bogdanm 0:eff01767de02 2 * Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved.
bogdanm 0:eff01767de02 3 *
bogdanm 0:eff01767de02 4 * The information contained herein is confidential property of Nordic Semiconductor. The use,
bogdanm 0:eff01767de02 5 * copying, transfer or disclosure of such information is prohibited except by express written
bogdanm 0:eff01767de02 6 * agreement with Nordic Semiconductor.
bogdanm 0:eff01767de02 7 *
bogdanm 0:eff01767de02 8 */
bogdanm 0:eff01767de02 9 /**
bogdanm 0:eff01767de02 10 @addtogroup BLE_COMMON
bogdanm 0:eff01767de02 11 @{
bogdanm 0:eff01767de02 12 @addtogroup nrf_error
bogdanm 0:eff01767de02 13 @{
bogdanm 0:eff01767de02 14 @ingroup BLE_COMMON
bogdanm 0:eff01767de02 15 @}
bogdanm 0:eff01767de02 16
bogdanm 0:eff01767de02 17 @defgroup ble_err General error codes
bogdanm 0:eff01767de02 18 @{
bogdanm 0:eff01767de02 19
bogdanm 0:eff01767de02 20 @brief General error code definitions for the BLE API.
bogdanm 0:eff01767de02 21
bogdanm 0:eff01767de02 22 @ingroup BLE_COMMON
bogdanm 0:eff01767de02 23 */
bogdanm 0:eff01767de02 24 #ifndef NRF_BLE_ERR_H__
bogdanm 0:eff01767de02 25 #define NRF_BLE_ERR_H__
bogdanm 0:eff01767de02 26
bogdanm 0:eff01767de02 27 #include "nrf_error.h"
bogdanm 0:eff01767de02 28
bogdanm 0:eff01767de02 29 /* @defgroup BLE_ERRORS Error Codes
bogdanm 0:eff01767de02 30 * @{ */
Rohit Grover 37:c29c330d942c 31 #define BLE_ERROR_NOT_ENABLED (NRF_ERROR_STK_BASE_NUM+0x001) /**< @ref sd_ble_enable has not been called. */
Rohit Grover 37:c29c330d942c 32 #define BLE_ERROR_INVALID_CONN_HANDLE (NRF_ERROR_STK_BASE_NUM+0x002) /**< Invalid connection handle. */
Rohit Grover 37:c29c330d942c 33 #define BLE_ERROR_INVALID_ATTR_HANDLE (NRF_ERROR_STK_BASE_NUM+0x003) /**< Invalid attribute handle. */
Rohit Grover 37:c29c330d942c 34 #define BLE_ERROR_NO_TX_BUFFERS (NRF_ERROR_STK_BASE_NUM+0x004) /**< Buffer capacity exceeded. */
bogdanm 0:eff01767de02 35 /** @} */
bogdanm 0:eff01767de02 36
bogdanm 0:eff01767de02 37
bogdanm 0:eff01767de02 38 /** @defgroup BLE_ERROR_SUBRANGES Module specific error code subranges
bogdanm 0:eff01767de02 39 * @brief Assignment of subranges for module specific error codes.
bogdanm 0:eff01767de02 40 * @note For specific error codes, see ble_<module>.h or ble_error_<module>.h.
bogdanm 0:eff01767de02 41 * @{ */
bogdanm 0:eff01767de02 42 #define NRF_L2CAP_ERR_BASE (NRF_ERROR_STK_BASE_NUM+0x100) /**< L2CAP specific errors. */
bogdanm 0:eff01767de02 43 #define NRF_GAP_ERR_BASE (NRF_ERROR_STK_BASE_NUM+0x200) /**< GAP specific errors. */
bogdanm 0:eff01767de02 44 #define NRF_GATTC_ERR_BASE (NRF_ERROR_STK_BASE_NUM+0x300) /**< GATT client specific errors. */
bogdanm 0:eff01767de02 45 #define NRF_GATTS_ERR_BASE (NRF_ERROR_STK_BASE_NUM+0x400) /**< GATT server specific errors. */
bogdanm 0:eff01767de02 46 /** @} */
bogdanm 0:eff01767de02 47
bogdanm 0:eff01767de02 48 #endif
bogdanm 0:eff01767de02 49
bogdanm 0:eff01767de02 50
bogdanm 0:eff01767de02 51 /**
bogdanm 0:eff01767de02 52 @}
bogdanm 0:eff01767de02 53 @}
bogdanm 0:eff01767de02 54 */