BLE Temperature Service Mobile and Ubiquitous Computing Module Birkbeck College

Dependencies:   DS1820

Committer:
gkroussos
Date:
Sun Mar 08 19:42:20 2015 +0000
Revision:
0:dd0fea342ad2
BLE Temperature Service ; Mobile and Ubiquitous Computing Module; Birkbeck College

Who changed what in which revision?

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