Each method of the Wireless Communication Library returns an error code. The error code allows you to understand what is going wrong and to recover your application from the wrong state. The error code is the signed integer value with 32 bits (4 bytes) size (it is Integer in Delphi, Int32 in .NET, and int in C++). The error codes are grouped by the framework or subsystem.

On this page you can find the full Wireless Communication Library 8 error codes list and error descriptions. To use the table below, simply convert the decimal error code to hexadecimal and use search by this page. The library also provides methods that allow you to convert error codes to human-readable descriptions. The demo application that shows how to convert an error code to human-readable text is shipped as part of the Wireless Communication Library 8 framework package. By default the demo uses the errors XML file available on our site. However, the Wireless Communication Library 8 package also includes a local copy of that file. You can use this local copy instead of one available on our site.

NOTE: The Wireless Communication Library 7 has different error codes. To find information about Wireless Communication Libraty 7 errors refer to this page.


Common Error Codes

ValueConstantDescription
Success results
0x00000000WCL_E_SUCCESSThe operation was completed successfully.
Common errors
0x00000001WCL_E_INVALID_ARGUMENTOne or more arguments passed to the method/function are invalid.
0x00000002WCL_E_OUT_OF_MEMORYOut of system memory.
0x00000003WCL_E_OUT_OF_RESOURCESOut of system resources.
0x00000004WCL_E_NOT_IMPLEMENTEDThe method is not implemented yet.
WinRT sub-system errors
0x00001000WCL_E_WINRT_CORE_DLL_NOT_FOUNDThe WinRT core DLL was not found.
0x00001001WCL_E_WINRT_STRING_DLL_NOT_FOUNDThe WinRT string DLL was not found.
0x00001002WCL_E_WINRT_INIT_FAILEDWinRT initialization failed.
0x00001003WCL_E_WINRT_CREATE_STRING_FAILEDFailed to create string.
0x00001004WCL_E_WINRT_ACTIVATE_INSTANCE_FAILEDFailed to activate required class instance.
0x00001005WCL_E_WINRT_CREATE_INTERFACE_FAILEDFailed to create required class interface.
Message receiver errors
0x00002000WCL_E_MR_CLOSEDThe message receiver has been closed or isn't open.
0x00002001WCL_E_MR_OPENEDThe message receiver has already been opened.
0x00002002WCL_E_MR_NOT_OPENEDThe message receiver is not open.
0x00002003WCL_E_MR_CREATE_SYNC_OBJ_FAILEDThe message receiver failed to create a thread synchronization object.
0x00002004WCL_E_MR_SYNC_OBJ_NOT_CREATEDThread synchronization object was not created.
0x00002005WCL_E_MR_SYNCHRONIZE_FAILEDThe message receiver failed to synchronize threads and notify the main thread of new messages.
0x00002006WCL_E_MR_REGISTER_SYNC_OBJ_FAILEDThe message receiver failed to register for thread synchronization.
0x00002007WCL_E_MR_INVALID_THREADThe method was called from an invalid thread.
Message broadcaster errors
0x00003000WCL_E_MB_NOT_CREATEDMessage broadcaster not initialized.
0x00003001WCL_E_MB_RECEIVER_ALREADY_SUBSCRIBEDMessage receiver is already subscribed.
0x00003002WCL_E_MB_RECEIVER_NOT_SUBSCRIBEDMessage receiver is not subscribed.
0x00003003WCL_E_MB_RECEIVER_NOT_FOUNDMessage receiver with the specified ID was not found.
LAF manager errors
0x00004000WCL_E_LAF_MANAGER_FEATURE_NOT_SUPPORTEDThis platform does not support the LAF.
0x00004001WCL_E_LAF_MANAGER_START_THREAD_FAILEDFailed to start LAF manager worker thread.
0x00004002WCL_E_LAF_MANAGER_GET_LAF_LIST_FAILEDFailed to access LAF list.
0x00004003WCL_E_LAF_NOT_FOUNDThe specified LAF ID does not exist or could not be located.
0x00004004WCL_E_LAF_OPEN_KEY_FAILEDFailed to access LAF key information.
0x00004005WCL_E_LAF_KEY_NOT_FOUNDLAF key not found.
0x00004006WCL_E_LAF_ACQUIRE_CONTEXT_FAILEDFailed to acquire encryption context.
0x00004007WCL_E_LAF_CREATE_HASH_FAILEDHash generation failed.
0x00004008WCL_E_LAF_CRYPT_HASH_FAILEDFailed to encrypt the hash.
0x00004009WCL_E_LAF_GET_CRYPTED_HASH_FAILEDFailed to retrieve encrypted hash.
0x0000400AWCL_E_LAF_IDENTITY_NOT_FOUNDThe application file does not contain the required identity resource.
0x0000400BWCL_E_LAF_IDENTITY_READ_FAILEDUnable to read identity information (corrupt or missing data).
0x0000400CWCL_E_LAF_IDENTITY_INVALIDThe identity data is malformed or incorrectly structured.
0x0000400DWCL_E_LAF_IDENTITY_EMPTYEmpty identity.
0x0000400EWCL_E_LAF_IDENTITY_INVALID_FORMATInvalid identity format.
0x0000400FWCL_E_LAF_UNLOCK_REQUEST_FAILEDLimited access feature unlock request failed.
0x00004010WCL_E_LAF_GET_REQUEST_STATUS_FAILEDFailed to retrieve unlock status.
0x00004011WCL_E_LAF_LOCKEDLAF is locked.
0x00004012WCL_E_LAF_UNAVAILABLEThe LAF is unavailable because it was not found.
0x00004013WCL_E_LAF_STATUS_UNKNOWNUnknown or undefined LAF status.

Communication errors

ValueConstantDescription
Connection errors
0x00010000WCL_E_CONNECTION_CONNECTEDA connection is connected.
0x00010001WCL_E_CONNECTION_NOT_CONNECTEDA connection is not connected.
0x00010002WCL_E_CONNECTION_DISCONNECTEDA connection is disconnected.
0x00010003WCL_E_CONNECTION_CLOSEDA server connection is closed.
0x00010004WCL_E_CONNECTION_LISTENINGA server connection is listening.
0x00010005WCL_E_CONNECTION_CREATE_CONNECT_EVENT_FAILEDCreate connect processing event failed.
0x00010006WCL_E_CONNECTION_TERMINATED_BY_USERThe connection has been terminated by user.
0x00010007WCL_E_CONNECTION_SYSTEM_SUSPENDINGA connection was closed (disconnected) because a system is about to enter a suspended state.
0x00010008WCL_E_CONNECTION_UNABLE_CREATE_DISCONNECT_EVENTUnable to create communication termination event.
0x00010009WCL_E_CONNECTION_UNABLE_START_COMMUNICATIONUnable to create communication thread.
0x0001000AWCL_E_CONNECTION_CREATE_INIT_EVENT_FAILEDCreate a communication thread initialization event failed.
0x0001000BWCL_E_CONNECTION_SERVER_CLOSEDA client connection was disconnected because the server was closed.
0x0001000CWCL_E_CONNECTION_NOT_CREATEDA server client connection object was not created because an accept message was not processed.
0x0001000DWCL_E_CONNECTION_UNABLE_FIND_CLIENT_CLASSA server was not able to find a specific client connection class.
0x0001000EWCL_E_CONNECTION_ACCEPTING_CLIENTA server connection can not be closed because it is accepting incoming client connection.
0x0001000FWCL_E_CONNECTION_CREATE_TERMINATION_EVENT_FAILEDCreate server termination event failed.
0x00010010WCL_E_CONNECTION_DATA_WRITE_FAILEDData write failed.
OBEX errors
0x00011000WCL_E_OBEX_NOT_CONNECTEDAn OBEX client is not connected to an OBEX server.
0x00011001WCL_E_OBEX_CONNECTEDAn OBEX client is already connected to an OBEX server.
0x00011002WCL_E_OBEX_OPERATION_IN_PROGRESSAn OBEX operation is in progress.
0x00011003WCL_E_OBEX_CONTINUEThe server has received the request headers and the client should proceed to send the request body (in the case of a request for which a body needs to be sent).
0x00011004WCL_E_OBEX_CREATEDThe request has been fulfilled, resulting in the creation of a new resource.
0x00011005WCL_E_OBEX_ACCEPTEDThe request has been accepted for processing, but the processing has not been completed. The request might or might not be eventually acted upon, and may be disallowed when processing occurs.
0x00011006WCL_E_OBEX_NON_AUTHORITATIVEThe server is a transforming proxy that received a WCL_E_SUCCESS from its origin, but is returning a modified version of the origin's response.
0x00011007WCL_E_OBEX_NO_CONTENTThe server successfully processed the request and is not returning any content.
0x00011008WCL_E_OBEX_RESET_CONTENTThe server successfully processed the request, but is not returning any content. Unlike a WCL_E_OBEX_NO_CONTENT error, this error requires that the requester reset the object.
0x00011009WCL_E_OBEX_PARTIAL_CONTENTThe server is delivering only part of the resource due to a range header sent by the client. The range header is used by OBEX clients to enable resuming of interrupted downloads, or split a download into multiple simultaneous streams.
0x0001100AWCL_E_OBEX_MULTIPLE_CHOICESIndicates multiple options for the resource from which the client may choose.
0x0001100BWCL_E_OBEX_MOVED_PERMANENTLYThis and all future requests should be directed to the given URI.
0x0001100CWCL_E_OBEX_MOVED_TEMPORARYThe response to the request can be found under another URI using the GET method.
0x0001100DWCL_E_OBEX_SEE_OTHERThe response to the request can be found under another URI using the GET method.
0x0001100EWCL_E_OBEX_NOT_MODIFIEDIndicates that the resource has not been modified since the version specified by the request headers If-Modified-Since or If-None-Match. In such case, there is no need to retransmit the resource since the client still has a previously-downloaded copy.
0x0001100FWCL_E_OBEX_USE_PROXYThe requested resource is available only through a proxy, the address for which is provided in the response.
0x00011010WCL_E_OBEX_BAD_REQUESTThe server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax, size too large, invalid request message framing, or deceptive request routing).
0x00011011WCL_E_OBEX_UNAUTHORIZEDSimilar to WCL_E_OBEX_FORBIDDEN, but specifically for use when authentication is required and has failed or has not yet been provided. The response must include a WWW-Authenticate header field containing a challenge applicable to the requested resource.
0x00011012WCL_E_OBEX_PAYMENT_REQUIREDReserved for future use.
0x00011013WCL_E_OBEX_FORBIDDENThe request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource, or may need an account of some sort.
0x00011014WCL_E_OBEX_NOT_FOUNDThe requested resource could not be found but may be available in the future. Subsequent requests by the client are permissible.
0x00011015WCL_E_OBEX_METHOD_NOT_ALLOWEDA request method is not supported for the requested resource.
0x00011016WCL_E_OBEX_NOT_ACCEPTABLEThe requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
0x00011017WCL_E_OBEX_PROXY_AUTH_REQUIREDThe client must first authenticate itself with the proxy.
0x00011018WCL_E_OBEX_REQUEST_TIMEOUTThe server timed out waiting for the request.
0x00011019WCL_E_OBEX_CONFLICTIndicates that the request could not be processed because of conflict in the request, such as an edit conflict between multiple simultaneous updates.
0x0001101AWCL_E_OBEX_GONEIndicates that the resource requested is no longer available and will not be available again.
0x0001101BWCL_E_OBEX_LENGTH_REQUIREDThe request did not specify the length of its content, which is required by the requested resource.
0x0001101CWCL_E_OBEX_PRECONDITION_FAILEDThe server does not meet one of the preconditions that the requester put on the request.
0x0001101DWCL_E_OBEX_REQUEST_TOO_LARGEThe request is larger than the server is willing or able to process.
0x0001101EWCL_E_OBEX_URL_TOO_LARGEThe URI provided was too long for the server to process.
0x0001101FWCL_E_OBEX_UNSUPPORTED_MEDIA_TYPEThe request entity has a media type which the server or resource does not support. For example, the client uploads an image as image/svg+xml, but the server requires that images use a different format.
0x00011020WCL_E_OBEX_INTERNALA generic error, given when an unexpected condition was encountered and no more specific message is suitable.
0x00011021WCL_E_OBEX_NOT_IMPLEMENTEDThe server either does not recognize the request method, or it lacks the ability to fulfill the request.
0x00011022WCL_E_OBEX_BAD_GATEWAYThe server was acting as a gateway or proxy and received an invalid response from the upstream server.
0x00011023WCL_E_OBEX_SERVICE_UNAVAILABLEThe server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state. Also this error indicates that wrong Connect ID or Target used.
0x00011024WCL_E_OBEX_GATEWAY_TIMEOUTThe server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
0x00011025WCL_E_OBEX_HTTP_VERSION_NOT_SUPPORTEDThe server does not support the HTTP protocol version used in the request.
0x00011026WCL_E_OBEX_DATABASE_FULLIndicates that the client requests that something be placed into a database but the database is full (cannot take more data).
0x00011027WCL_E_OBEX_DATABASE_LOCKEDReturned when the client wishes to access a database, database table, or database record that has been locked.
0x00011028WCL_E_OBEX_UNEXPECTEDUnexpected or unknown OBEX result code.
0x00011029WCL_E_OBEX_OPERATION_TERMINATED_BY_USERThe current operation has been terminated by a user.
0x0001102AWCL_E_OBEX_OPERATION_TERMINATED_BY_DISCONNECTThe current operation has been terminated because a remote device is disconnected.
0x0001102BWCL_E_OBEX_DISCONNECTEDThe error code indicates that the OBEX session has been disconnected by a remote side.
0x0001102CWCL_E_OBEX_INVALID_OPERATION_SEQUENCEThe operation can not be executed at this time. This error appears if, for example, an application calls Terminate for Connect, Disconnect or SetPath operations.
0x0001102DWCL_E_OBEX_COM_INIT_FAILEDCOM initialization failed.
0x0001102EWCL_E_OBEX_XML_NOT_AVAILABLEXML parser is not available.
0x0001102FWCL_E_OBEX_INVALID_DIR_LISTUnable to parse directory listing.
0x00011030WCL_E_OBEX_INVALID_DIR_FORMATWrong directory listing format.
0x00011031WCL_E_OBEX_INVALID_STATEInvalid data processor state.

Serial Framework errors

ValueConstantDescription
Common Serial Framework errors
0x00020000WCL_E_SERIAL_MONITORING_RUNNINGSerial devices monitoring is running.
0x00020001WCL_E_SERIAL_MONITORING_NOT_RUNNINGSerial devices monitoring is not running.
0x00020002WCL_E_SERIAL_DEVICE_CLASS_NOT_FOUNDA device class was not found.
0x00020003WCL_E_SERIAL_ALLOCATE_MASTER_PORT_FAILEDUnable to allocate the device enumeration port.
0x00020004WCL_E_SERIAL_MASTER_PORT_NOT_ALLOCATEDThe device's enuemration port was not allocated.
0x00020005WCL_E_SERIAL_CREATE_DEVICES_FILTER_FAILEDUnable to create a device's enumeration filter.
0x00020006WCL_E_SERIAL_IO_SERVICES_NOT_FOUNDUnable to enumerate devices with given class.
0x00020007WCL_E_SERIAL_FEATURE_NOT_SUPPORTEDThe requested feature is not supported on this platform.
0x00020008WCL_E_SERIAL_UNABLE_GET_DEVICE_NODEUnable to locate specified device's node.
0x00020009WCL_E_SERIAL_DEVICE_SWITCH_FAILEDUnable to switch (disable or enable) the specified USB devices.
0x0002000AWCL_E_SERIAL_DEVICE_REMOVEDA serial device has been removed.
0x0002000BWCL_E_SERIAL_CLIENT_NOT_CONNECTEDA serial client is not connected.
0x0002000CWCL_E_SERIAL_CLIENT_CONNECTEDA serial client is already connected.
0x0002000DWCL_E_SERIAL_CLIENT_BUSYA serial client connection is busy by connection or disconnecting.
0x0002000EWCL_E_SERIAL_CONNECTION_TERMINATEA connection to a serial device was terminated by unknown reason.
0x0002000FWCL_E_SERIAL_READ_ERRORReading from COM port failed.
0x00020010WCL_E_SERIAL_CREATE_OVERLAPPED_EVENT_FAILEDCreate overlapped operation event failed.
0x00020011WCL_E_SERIAL_CREATE_RESTART_EVENT_FAILEDCreate communication restart event failed.
0x00020012WCL_E_SERIAL_OPEN_PORT_FAILEDOpen the specified serial port failed.
0x00020013WCL_E_SERIAL_GET_COMM_CONFIGURATION_FAILEDRead COM port configuration failed.
0x00020014WCL_E_SERIAL_SET_COMM_CONFIGURATION_FAILEDWrite COM port configuration failed.
0x00020015WCL_E_SERIAL_GET_COMM_TIMEOUTS_FAILEDRead COM port timeouts failed.
0x00020016WCL_E_SERIAL_SET_EVENTS_MASK_FAILEDSet COM potr events mask failed.
0x00020017WCL_E_SERIAL_GET_READ_BUFFER_SIZE_FAILEDGet read buffer size failed.
0x00020018WCL_E_SERIAL_GET_WRITE_BUFFER_SIZE_FAILEDGet write buffer size failed.
0x00020019WCL_E_SERIAL_SET_READ_BUFFER_SIZE_FILEDSet read buffer size failed.
0x0002001AWCL_E_SERIAL_SET_WRITE_BUFFER_SIZE_FAILEDSet write buffer size failed.
0x0002001BWCL_E_SERIAL_INIT_OVERLAPPED_OPERATION_FAILEDOverlapped IO operation initialization failed.
0x0002001CWCL_E_SERIAL_WRITE_TIMEOUTTimeout appeared during write operation. That does not mean real error. That just means that some bytes were sent but time out appeared before all bytes are sent. You can retry to send remaining bytes or terminate connection.
0x0002001DWCL_E_SERIAL_WRITE_FAILEDWrite data to the serial port was failed.
0x0002001EWCL_E_SERIAL_DEVICE_WRITE_TIMEOUTWrite operation was timed out on wait. Probably device is disconnected or not available.
0x0002001FWCL_E_SERIAL_GET_COMM_FEATURES_FAILEDCOM features read failed.
0x00020020WCL_E_SERIAL_SET_COMM_TIMEOUTS_FAILEDWrite COM port timeouts failed.
0x00020021WCL_E_SERIAL_CLEAR_COMM_BREAK_FAILEDThe ClearCommBreak method failed.
0x00020022WCL_E_SERIAL_ESCAPE_COMM_FUNCTION_FAILEDThe EscapeCommFunction has been failed.
0x00020023WCL_E_SERIAL_FLUSH_BUFFERS_FAILEDThe FlushBuffers method failed.
0x00020024WCL_E_SERIAL_GET_MODEM_STATUS_FAILEDThe GetCommStatus method failed.
0x00020025WCL_E_SERIAL_PURGE_COMM_FAILEDThe PurgeComm method failed.
0x00020026WCL_E_SERIAL_SET_COMM_BREAK_FAILEDThe SetCommBreak method failed.
0x00020027WCL_E_SERIAL_TRANSMIT_COMM_CHAR_FAILEDThe TransmitCommChar method failed.