adding another error instance to blecommon.h

master
Rohit Grover 2014-07-24 15:35:04 +01:00
parent 9c8f69c78c
commit 65a336308c
1 changed files with 4 additions and 9 deletions

View File

@ -36,15 +36,10 @@ extern "C" {
typedef enum ble_error_e
{
BLE_ERROR_NONE = 0, /**< No error */
BLE_ERROR_BUFFER_OVERFLOW = 1, /**< The requested action would
*cause a buffer overflow and has
*been aborted */
BLE_ERROR_NOT_IMPLEMENTED = 2, /**< Requested a feature that
*isn't yet implement or isn't
*supported by the target HW */
BLE_ERROR_PARAM_OUT_OF_RANGE = 3 /**< One of the supplied
*parameters is outside the valid
*range */
BLE_ERROR_BUFFER_OVERFLOW = 1, /**< The requested action would cause a buffer overflow and has been aborted */
BLE_ERROR_NOT_IMPLEMENTED = 2, /**< Requested a feature that isn't yet implement or isn't supported by the target HW */
BLE_ERROR_PARAM_OUT_OF_RANGE = 3, /**< One of the supplied parameters is outside the valid range */
BLE_STACK_BUSY = 4, /**< The stack is busy */
} ble_error_t;
#ifdef __cplusplus