BLE temperature profile using digital DS1820 or analog LM35 sensors
mbed/TARGET_NRF51822/ble_err.h@0:637031152314, 2015-03-07 (annotated)
- Committer:
- gkroussos
- Date:
- Sat Mar 07 16:23:41 2015 +0000
- Revision:
- 0:637031152314
Working version 1.0
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gkroussos | 0:637031152314 | 1 | /* |
gkroussos | 0:637031152314 | 2 | * Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved. |
gkroussos | 0:637031152314 | 3 | * |
gkroussos | 0:637031152314 | 4 | * The information contained herein is confidential property of Nordic Semiconductor. The use, |
gkroussos | 0:637031152314 | 5 | * copying, transfer or disclosure of such information is prohibited except by express written |
gkroussos | 0:637031152314 | 6 | * agreement with Nordic Semiconductor. |
gkroussos | 0:637031152314 | 7 | * |
gkroussos | 0:637031152314 | 8 | */ |
gkroussos | 0:637031152314 | 9 | /** |
gkroussos | 0:637031152314 | 10 | @addtogroup BLE_COMMON |
gkroussos | 0:637031152314 | 11 | @{ |
gkroussos | 0:637031152314 | 12 | @addtogroup nrf_error |
gkroussos | 0:637031152314 | 13 | @{ |
gkroussos | 0:637031152314 | 14 | @ingroup BLE_COMMON |
gkroussos | 0:637031152314 | 15 | @} |
gkroussos | 0:637031152314 | 16 | |
gkroussos | 0:637031152314 | 17 | @defgroup ble_err General error codes |
gkroussos | 0:637031152314 | 18 | @{ |
gkroussos | 0:637031152314 | 19 | |
gkroussos | 0:637031152314 | 20 | @brief General error code definitions for the BLE API. |
gkroussos | 0:637031152314 | 21 | |
gkroussos | 0:637031152314 | 22 | @ingroup BLE_COMMON |
gkroussos | 0:637031152314 | 23 | */ |
gkroussos | 0:637031152314 | 24 | #ifndef NRF_BLE_ERR_H__ |
gkroussos | 0:637031152314 | 25 | #define NRF_BLE_ERR_H__ |
gkroussos | 0:637031152314 | 26 | |
gkroussos | 0:637031152314 | 27 | #include "nrf_error.h" |
gkroussos | 0:637031152314 | 28 | |
gkroussos | 0:637031152314 | 29 | /* @defgroup BLE_ERRORS Error Codes |
gkroussos | 0:637031152314 | 30 | * @{ */ |
gkroussos | 0:637031152314 | 31 | #define BLE_ERROR_INVALID_CONN_HANDLE (NRF_ERROR_STK_BASE_NUM+0x001) /**< Invalid connection handle. */ |
gkroussos | 0:637031152314 | 32 | #define BLE_ERROR_INVALID_ATTR_HANDLE (NRF_ERROR_STK_BASE_NUM+0x002) /**< Invalid attribute handle. */ |
gkroussos | 0:637031152314 | 33 | #define BLE_ERROR_NO_TX_BUFFERS (NRF_ERROR_STK_BASE_NUM+0x003) /**< Buffer capacity exceeded. */ |
gkroussos | 0:637031152314 | 34 | /** @} */ |
gkroussos | 0:637031152314 | 35 | |
gkroussos | 0:637031152314 | 36 | |
gkroussos | 0:637031152314 | 37 | /** @defgroup BLE_ERROR_SUBRANGES Module specific error code subranges |
gkroussos | 0:637031152314 | 38 | * @brief Assignment of subranges for module specific error codes. |
gkroussos | 0:637031152314 | 39 | * @note For specific error codes, see ble_<module>.h or ble_error_<module>.h. |
gkroussos | 0:637031152314 | 40 | * @{ */ |
gkroussos | 0:637031152314 | 41 | #define NRF_L2CAP_ERR_BASE (NRF_ERROR_STK_BASE_NUM+0x100) /**< L2CAP specific errors. */ |
gkroussos | 0:637031152314 | 42 | #define NRF_GAP_ERR_BASE (NRF_ERROR_STK_BASE_NUM+0x200) /**< GAP specific errors. */ |
gkroussos | 0:637031152314 | 43 | #define NRF_GATTC_ERR_BASE (NRF_ERROR_STK_BASE_NUM+0x300) /**< GATT client specific errors. */ |
gkroussos | 0:637031152314 | 44 | #define NRF_GATTS_ERR_BASE (NRF_ERROR_STK_BASE_NUM+0x400) /**< GATT server specific errors. */ |
gkroussos | 0:637031152314 | 45 | /** @} */ |
gkroussos | 0:637031152314 | 46 | |
gkroussos | 0:637031152314 | 47 | #endif |
gkroussos | 0:637031152314 | 48 | |
gkroussos | 0:637031152314 | 49 | |
gkroussos | 0:637031152314 | 50 | /** |
gkroussos | 0:637031152314 | 51 | @} |
gkroussos | 0:637031152314 | 52 | @} |
gkroussos | 0:637031152314 | 53 | */ |