テスト用です。

Dependencies:   mbed

Committer:
jksoft
Date:
Tue Oct 11 11:09:42 2016 +0000
Revision:
0:8468a4403fea
SB??ver;

Who changed what in which revision?

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