Using the µVision Socket Interface  Application Note 198
Control and monitor µVision via the built-in TCP/IP interface
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
UVSOCK_ERROR_RESPONSE Struct Reference

Data Fields

UINT nRes1
 Reserved. More...
 
UINT nRes2
 Reserved. More...
 
UINT StrLen
 Length of error string (including terminator) in bytes. More...
 
BYTE str [SOCK_NDATA-20]
 Error description. More...
 

Description

Error response data

Contains error information. The union in UVSOCK_CMD_RESPONSE will correspond to this structure if the status code within is anything other than UV_STATUS_SUCCESS or if within a UV_ASYNC_MSG.

Contained in UVSOCK_CMD_RESPONSE if an error occurred.

Field Documentation

UINT UVSOCK_ERROR_RESPONSE::nRes1

Reserved.

UINT UVSOCK_ERROR_RESPONSE::nRes2

Reserved.

BYTE UVSOCK_ERROR_RESPONSE::str[SOCK_NDATA-20]

Error description.

UINT UVSOCK_ERROR_RESPONSE::StrLen

Length of error string (including terminator) in bytes.