Lightly modified version of the BLE stack, that doesn't bring up a DFUService by default... as we have our own.
Fork of BLE_API by
Diff: common/blecommon.h
- Revision:
- 351:2433f5dd41d4
- Parent:
- 348:d5ad8959683f
--- a/common/blecommon.h Fri May 08 15:35:46 2015 +0100 +++ b/common/blecommon.h Fri May 08 15:35:46 2015 +0100 @@ -121,10 +121,11 @@ 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_INVALID_STATE = 5, /**< Invalid state. */ - BLE_ERROR_NO_MEM = 6, /**< Out of Memory */ - BLE_ERROR_UNSPECIFIED = 7, /**< Unknown error. */ + BLE_ERROR_INVALID_PARAM = 4, /**< One of the supplied parameters is invalid */ + BLE_STACK_BUSY = 5, /**< The stack is busy */ + BLE_ERROR_INVALID_STATE = 6, /**< Invalid state. */ + BLE_ERROR_NO_MEM = 7, /**< Out of Memory */ + BLE_ERROR_UNSPECIFIED = 8, /**< Unknown error. */ } ble_error_t; #ifdef __cplusplus