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

Enumerations. More...

Enumerations

enum  wiced_result_t {
  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

Enumerations.

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_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.

8000 - 8999