|
BLE_API
v2.1.3
|
BleStackStatus | |
| typedef uint8_t | BleStackStatus |
| #define | BLESTACK_STATUS_SUCCESS 0x00 |
| #define | BLESTACK_STATUS_FREE 0x01 |
| #define | BLESTACK_STATUS_ERR_BUSY 0x02 |
| #define | BLESTACK_STATUS_ERR_INVALID_PARAM 0x03 |
| #define | BLESTACK_STATUS_ERR_INVALID_STATE 0x04 |
| #define | BLESTACK_STATUS_ERR_INVALID_HOSTID 0x05 |
| #define | BLESTACK_STATUS_ERR_INVALID_HOSTCOUNT 0x06 |
| #define | BLESTACK_STATUS_ERR_INVALID_CMD 0x07 |
| #define | BLESTACK_STATUS_ERR_INVALID_HANDLE 0x08 |
| #define | BLESTACK_STATUS_ERR_TIMER_BUSY 0x09 |
| #define | BLESTACK_STATUS_ERR_NOT_SUPPORTED 0x0A |
| #define | BLESTACK_STATUS_ERR_DB_PARSING_IN_PROGRESS 0x0B |
| #define | BLESTACK_STATUS_ERR_OTHER_PROCEDURE_IN_PROGRESS 0x0C |
| #define | BLESTACK_STATUS_ERR_SEQUENTIAL_PROTOCOL_VIOLATION 0x0D |
| #define | BLESTACK_STATUS_ERR_CLIENT_CONFIGURATION_DISABLE 0x0E |
BLE Stack error code definition.
| #define BLESTACK_STATUS_ERR_BUSY 0x02 |
Stack state busy.
| #define BLESTACK_STATUS_ERR_CLIENT_CONFIGURATION_DISABLE 0x0E |
Profile client configuration disable
| #define BLESTACK_STATUS_ERR_DB_PARSING_IN_PROGRESS 0x0B |
Host peripheral database parsing is still in progress.
| #define BLESTACK_STATUS_ERR_INVALID_CMD 0x07 |
Invalid command.
| #define BLESTACK_STATUS_ERR_INVALID_HANDLE 0x08 |
Invalid BLE handle.
| #define BLESTACK_STATUS_ERR_INVALID_HOSTCOUNT 0x06 |
Invalid count of Host Links. (MAX_NUM_CONN_HOST shall be less than or equal to BLE_SUPPORT_NUM_CONN_MAX)
| #define BLESTACK_STATUS_ERR_INVALID_HOSTID 0x05 |
Invalid Host ID
| #define BLESTACK_STATUS_ERR_INVALID_PARAM 0x03 |
Invalid parameter.
| #define BLESTACK_STATUS_ERR_INVALID_STATE 0x04 |
Invalid state.
| #define BLESTACK_STATUS_ERR_NOT_SUPPORTED 0x0A |
Command feature not supported
| #define BLESTACK_STATUS_ERR_OTHER_PROCEDURE_IN_PROGRESS 0x0C |
The other mandatory procedure is still in progress.
| #define BLESTACK_STATUS_ERR_SEQUENTIAL_PROTOCOL_VIOLATION 0x0D |
Detecting a sequential protocol violation. Usually happens in there is an another GATT request already in progress please wait and retry.
| #define BLESTACK_STATUS_ERR_TIMER_BUSY 0x09 |
Command timer busy
| #define BLESTACK_STATUS_FREE 0x01 |
Stack state is free indicates that LL and Host task is NOT running.
| #define BLESTACK_STATUS_SUCCESS 0x00 |
Successful command