mirror of https://github.com/ARMmbed/mbed-os.git
parent
4702ff2070
commit
71bc3f74da
|
|
@ -134,8 +134,8 @@ enum {
|
||||||
/**
|
/**
|
||||||
* Error codes for the BLE API.
|
* Error codes for the BLE API.
|
||||||
*
|
*
|
||||||
* The value 0 means that no error was reported therefore it allows a user of
|
* The value 0 means that no error was reported; therefore, it allows an API
|
||||||
* the API to cleanly test for errors.
|
* user to cleanly test for errors.
|
||||||
*
|
*
|
||||||
* @code
|
* @code
|
||||||
* ble_error_t error = some_ble_api_function();
|
* ble_error_t error = some_ble_api_function();
|
||||||
|
|
@ -182,7 +182,7 @@ enum ble_error_t {
|
||||||
BLE_ERROR_INVALID_STATE = 6,
|
BLE_ERROR_INVALID_STATE = 6,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Out of memory
|
* Out of memory.
|
||||||
*/
|
*/
|
||||||
BLE_ERROR_NO_MEM = 7,
|
BLE_ERROR_NO_MEM = 7,
|
||||||
|
|
||||||
|
|
@ -207,7 +207,7 @@ enum ble_error_t {
|
||||||
BLE_ERROR_UNSPECIFIED = 11,
|
BLE_ERROR_UNSPECIFIED = 11,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The platform-specific stack failed
|
* The platform-specific stack failed.
|
||||||
*/
|
*/
|
||||||
BLE_ERROR_INTERNAL_STACK_FAILURE = 12,
|
BLE_ERROR_INTERNAL_STACK_FAILURE = 12,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue