Infineon Logo AIROC BTSDK v4.7 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
AIROC Result Codes

Result types. More...

Enumerations

enum  wiced_result_t {
  WICED_SUCCESS = ( 0 ), WICED_PENDING = ( 1 ), WICED_TIMEOUT = ( 2 ), WICED_PARTIAL_RESULTS = ( 3 ),
  WICED_ERROR = ( 4 ), WICED_BADARG = ( 5 ), WICED_BADOPTION = ( 6 ), WICED_UNSUPPORTED = ( 7 ),
  WICED_OUT_OF_HEAP_SPACE = ( 8 ), WICED_NOTUP = ( 9 ), WICED_UNFINISHED = ( 10 ), WICED_CONNECTION_LOST = ( 11 ),
  WICED_NOT_FOUND = ( 12 ), WICED_PACKET_BUFFER_CORRUPT = ( 13 ), WICED_ROUTING_ERROR = ( 14 ), WICED_BADVALUE = ( 15 ),
  WICED_WOULD_BLOCK = ( 16 ), WICED_ABORTED = ( 17 ), WICED_CONNECTION_RESET = ( 18 ), WICED_CONNECTION_CLOSED = ( 19 ),
  WICED_NOT_CONNECTED = ( 20 ), WICED_ADDRESS_IN_USE = ( 21 ), WICED_NETWORK_INTERFACE_ERROR = ( 22 ), WICED_ALREADY_CONNECTED = ( 23 ),
  WICED_INVALID_INTERFACE = ( 24 ), WICED_SOCKET_CREATE_FAIL = ( 25 ), WICED_INVALID_SOCKET = ( 26 ), WICED_CORRUPT_PACKET_BUFFER = ( 27 ),
  WICED_UNKNOWN_NETWORK_STACK_ERROR = ( 28 ), WICED_NO_STORED_AP_IN_DCT = ( 29 ), WICED_STA_JOIN_FAILED = ( 30 ), WICED_NO_MEMORY = ( 0x10 ),
  WICED_BT_SUCCESS = ( 0 ), WICED_BT_PARTIAL_RESULTS = ( 3 ), WICED_BT_BADARG = ( 5 ), WICED_BT_BADOPTION = ( 6 ),
  WICED_BT_OUT_OF_HEAP_SPACE = ( 8 ), WICED_BT_UNKNOWN_EVENT = ( 8029 ), WICED_BT_LIST_EMPTY = ( 8010 ), WICED_BT_ITEM_NOT_IN_LIST = ( 8011 ),
  WICED_BT_PACKET_DATA_OVERFLOW = ( 8012 ), WICED_BT_PACKET_POOL_EXHAUSTED = ( 8013 ), WICED_BT_PACKET_POOL_FATAL_ERROR = ( 8014 ), WICED_BT_UNKNOWN_PACKET = ( 8015 ),
  WICED_BT_PACKET_WRONG_OWNER = ( 8016 ), WICED_BT_BUS_UNINITIALISED = ( 8017 ), WICED_BT_MPAF_UNINITIALISED = ( 8018 ), WICED_BT_RFCOMM_UNINITIALISED = ( 8019 ),
  WICED_BT_STACK_UNINITIALISED = ( 8020 ), WICED_BT_SMARTBRIDGE_UNINITIALISED = ( 8021 ), WICED_BT_ATT_CACHE_UNINITIALISED = ( 8022 ), WICED_BT_MAX_CONNECTIONS_REACHED = ( 8023 ),
  WICED_BT_SOCKET_IN_USE = ( 8024 ), WICED_BT_SOCKET_NOT_CONNECTED = ( 8025 ), WICED_BT_ENCRYPTION_FAILED = ( 8026 ), WICED_BT_SCAN_IN_PROGRESS = ( 8027 ),
  WICED_BT_CONNECT_IN_PROGRESS = ( 8028 ), WICED_BT_DISCONNECT_IN_PROGRESS = ( 8029 ), WICED_BT_DISCOVER_IN_PROGRESS = ( 8030 ), WICED_BT_GATT_TIMEOUT = ( 8031 ),
  WICED_BT_ATTRIBUTE_VALUE_TOO_LONG = ( 8032 ), WICED_BT_PENDING = ( 8100 ), WICED_BT_BUSY = ( 8101 ), WICED_BT_NO_RESOURCES = ( 8102 ),
  WICED_BT_UNSUPPORTED = ( 8103 ), WICED_BT_ILLEGAL_VALUE = ( 8104 ), WICED_BT_WRONG_MODE = ( 8105 ), WICED_BT_UNKNOWN_ADDR = ( 8106 ),
  WICED_BT_TIMEOUT = ( 8107 ), WICED_BT_BAD_VALUE_RET = ( 8108 ), WICED_BT_ERROR = ( 8109 ), WICED_BT_NOT_AUTHORIZED = ( 8110 ),
  WICED_BT_DEV_RESET = ( 8111 ), WICED_BT_CMD_STORED = ( 8112 ), WICED_BT_ILLEGAL_ACTION = ( 8113 ), WICED_BT_DELAY_CHECK = ( 8114 ),
  WICED_BT_SCO_BAD_LENGTH = ( 8115 ), WICED_BT_SUCCESS_NO_SECURITY = ( 8116 ), WICED_BT_FAILED_ON_SECURITY = ( 8117 ), WICED_BT_REPEATED_ATTEMPTS = ( 8118 ),
  WICED_BT_MODE4_LEVEL4_NOT_SUPPORTED = ( 8119 ), WICED_BT_USE_DEFAULT_SECURITY = ( 8120 ), WICED_BT_KEY_MISSING = ( 8121 ), WICED_BT_ENCRYPT_DISABLED = ( 8122 )
}
 AIROC result. More...
 

Detailed Description

Result types.

Result enums, macros with prefix WICED_ to WICED_RESULT_LIST and WICED_BT_ to BT_RESULT_LIST. See wiced_result.h and wiced_bt_constants.h

Enumeration Type Documentation

AIROC result.

Enumerator
WICED_SUCCESS 

Success.

WICED_PENDING 

Pending.

WICED_TIMEOUT 

Timeout.

WICED_PARTIAL_RESULTS 

Partial results.

WICED_ERROR 

Error.

WICED_BADARG 

Bad Arguments.

WICED_BADOPTION 

Mode not supported.

WICED_UNSUPPORTED 

Unsupported function.

WICED_OUT_OF_HEAP_SPACE 

Dynamic memory space exhausted.

WICED_NOTUP 

Interface is not currently Up.

WICED_UNFINISHED 

Operation not finished yet.

WICED_CONNECTION_LOST 

Connection to server lost.

WICED_NOT_FOUND 

Item not found.

WICED_PACKET_BUFFER_CORRUPT 

Packet buffer corrupted.

WICED_ROUTING_ERROR 

Routing error.

WICED_BADVALUE 

Bad value.

WICED_WOULD_BLOCK 

Function would block.

WICED_ABORTED 

Operation aborted.

WICED_CONNECTION_RESET 

Connection has been reset.

WICED_CONNECTION_CLOSED 

Connection is closed.

WICED_NOT_CONNECTED 

Connection is not connected.

WICED_ADDRESS_IN_USE 

Address is in use.

WICED_NETWORK_INTERFACE_ERROR 

Network interface error.

WICED_ALREADY_CONNECTED 

Socket is already connected.

WICED_INVALID_INTERFACE 

Interface specified in invalid.

WICED_SOCKET_CREATE_FAIL 

Socket creation failed.

WICED_INVALID_SOCKET 

Socket is invalid.

WICED_CORRUPT_PACKET_BUFFER 

Packet buffer is corrupted.

WICED_UNKNOWN_NETWORK_STACK_ERROR 

Unknown network stack error.

WICED_NO_STORED_AP_IN_DCT 

DCT contains no AP credentials.

WICED_STA_JOIN_FAILED 

Join failed.

WICED_NO_MEMORY 

NO_MEMORY.

WICED_BT_SUCCESS 

Success.

WICED_BT_PARTIAL_RESULTS 

Partial results.

WICED_BT_BADARG 

Bad Arguments.

WICED_BT_BADOPTION 

Mode not supported.

WICED_BT_OUT_OF_HEAP_SPACE 

Dynamic memory space exhausted.

WICED_BT_UNKNOWN_EVENT 

Unknown event is received.

WICED_BT_LIST_EMPTY 

List is empty.

WICED_BT_ITEM_NOT_IN_LIST 

Item not found in the list.

WICED_BT_PACKET_DATA_OVERFLOW 

Data overflow beyond the packet end.

WICED_BT_PACKET_POOL_EXHAUSTED 

All packets in the pool is in use.

WICED_BT_PACKET_POOL_FATAL_ERROR 

Packet pool fatal error such as permanent packet leak.

WICED_BT_UNKNOWN_PACKET 

Unknown packet.

WICED_BT_PACKET_WRONG_OWNER 

Packet is owned by another entity.

WICED_BT_BUS_UNINITIALISED 

Bluetooth bus isn't initialised.

WICED_BT_MPAF_UNINITIALISED 

MPAF framework isn't initialised.

WICED_BT_RFCOMM_UNINITIALISED 

RFCOMM protocol isn't initialised.

WICED_BT_STACK_UNINITIALISED 

SmartBridge isn't initialised.

WICED_BT_SMARTBRIDGE_UNINITIALISED 

Bluetooth stack isn't initialised.

WICED_BT_ATT_CACHE_UNINITIALISED 

Attribute cache isn't initialised.

WICED_BT_MAX_CONNECTIONS_REACHED 

Maximum number of connections is reached.

WICED_BT_SOCKET_IN_USE 

Socket specified is in use.

WICED_BT_SOCKET_NOT_CONNECTED 

Socket is not connected or connection failed.

WICED_BT_ENCRYPTION_FAILED 

Encryption failed.

WICED_BT_SCAN_IN_PROGRESS 

Scan is in progress.

WICED_BT_CONNECT_IN_PROGRESS 

Connect is in progress.

WICED_BT_DISCONNECT_IN_PROGRESS 

Disconnect is in progress.

WICED_BT_DISCOVER_IN_PROGRESS 

Discovery is in progress.

WICED_BT_GATT_TIMEOUT 

GATT timeout occured.

WICED_BT_ATTRIBUTE_VALUE_TOO_LONG 

Attribute value too long.

WICED_BT_PENDING 

Pending.

WICED_BT_BUSY 

Device busy with another command.

WICED_BT_NO_RESOURCES 

No resources to issue command.

WICED_BT_UNSUPPORTED 

Unsupported function.

WICED_BT_ILLEGAL_VALUE 

Illegal parameter value.

WICED_BT_WRONG_MODE 

Device in wrong mode for request.

WICED_BT_UNKNOWN_ADDR 

Unknown remote BD address.

WICED_BT_TIMEOUT 

Timeout.

WICED_BT_BAD_VALUE_RET 

A bad value was received from HCI.

WICED_BT_ERROR 

Error.

WICED_BT_NOT_AUTHORIZED 

Authorization failed.

WICED_BT_DEV_RESET 

Device has been reset.

WICED_BT_CMD_STORED 

request is stored in control block

WICED_BT_ILLEGAL_ACTION 

state machine gets illegal command

WICED_BT_DELAY_CHECK 

delay the check on encryption

WICED_BT_SCO_BAD_LENGTH 

Bad SCO over HCI data length.

WICED_BT_SUCCESS_NO_SECURITY 

security passed, no security set

WICED_BT_FAILED_ON_SECURITY 

security failed

WICED_BT_REPEATED_ATTEMPTS 

repeated attempts for LE security requests

WICED_BT_MODE4_LEVEL4_NOT_SUPPORTED 

Connections Only Mode can't be supported.

WICED_BT_USE_DEFAULT_SECURITY 

Use default security.

WICED_BT_KEY_MISSING 

Key Missing.

WICED_BT_ENCRYPT_DISABLED 

Encryption is disabled.