Add BLE_ERROR_INTERNAL_STACK_FAILURE error code

Add an additional error code to the ble_error_t enum to describe a failure
state caused by the internal platform-specific stack. This state was not
described by any of the existing error codes.
This commit is contained in:
Andres Amaya Garcia 2015-12-18 17:22:35 +00:00
parent 1381ba46e7
commit c64decef73

View file

@ -63,6 +63,7 @@ enum ble_error_t {
BLE_ERROR_INITIALIZATION_INCOMPLETE = 9,
BLE_ERROR_ALREADY_INITIALIZED = 10,
BLE_ERROR_UNSPECIFIED = 11, /**< Unknown error. */
BLE_ERROR_INTERNAL_STACK_FAILURE = 12, /**< The platform-specific stack failed */
};
/** @brief Default MTU size. */