From c64decef7331a9ec9d6dd08d29f4439f2272a8d8 Mon Sep 17 00:00:00 2001 From: Andres Amaya Garcia Date: Fri, 18 Dec 2015 17:22:35 +0000 Subject: [PATCH] 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. --- ble/blecommon.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ble/blecommon.h b/ble/blecommon.h index caea0a4..16fdec0 100644 --- a/ble/blecommon.h +++ b/ble/blecommon.h @@ -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. */