SWRU271I October 2010 – January 2020 CC2540 , CC2540T , CC2541 , CC2541-Q1 , CC2640R2F
This section lists the various possible error codes generated by the host. An HCI extension command may respond with a command status of SUCCESS. If an error is detected during subsequent processing of that command, the relevant error code is reported in the command complete event.
The error code 0x00 means SUCCESS. The possible range of failure error codes is 0x01 to 0xFF. The following table provides an error code description for each failure error code.
Value | Parameter Description |
---|---|
0x00 | SUCCESS |
0x01 | FAILURE |
0x02 | INVALIDPARAMETER |
0x03 | INVALID_TASK |
0x04 | MSG_BUFFER_NOT_AVAIL |
0x05 | INVALID_MSG_POINTER |
0x06 | INVALID_EVENT_ID |
0x07 | INVALID_INTERRUPT_ID |
0x08 | NO_TIMER_AVAIL |
0x09 | NV_ITEM_UNINIT |
0x0A | NV_OPER_FAILED |
0x0B | INVALID_MEM_SIZE |
0x0C | NV_BAD_ITEM_LEN |
0x10 | bleNotReady |
0x11 | bleAlreadyInRequestedMode |
0x12 | bleIncorrectMode |
0x13 | bleMemAllocError |
0x14 | bleNotConnected |
0x15 | bleNoResources |
0x16 | blePending |
0x17 | bleTimeout |
0x18 | bleInvalidRange |
0x19 | bleLinkEncrypted |
0x1A | bleProcedureComplete |
0x30 | bleGAPUserCanceled |
0x31 | bleGAPConnNotAcceptable |
0x32 | bleGAPBondRejected |
0x40 | bleInvalidPDU |
0x41 | bleInsufficientAuthen |
0x42 | bleInsufficientEncrypt |
0x43 | bleInsufficientKeySize |
0xFF | INVALID_TASK_ID |