FIU Serial Library 1.0.0
FIU Serial Library
Loading...
Searching...
No Matches
Error Codes

Error codes returned by the FIU client functions. More...

Collaboration diagram for Error Codes:

Macros

#define FIU_SUCCESS   (0)
 Success (no error).
#define FIU_ERR_BOX_ID_OUT_OF_RANGE   (-1)
 Box ID out of range.
#define FIU_ERR_CHANNEL_INDEX_OUT_OF_RANGE   (-2)
 Channel index out of range.
#define FIU_ERR_INVALID_ARGUMENT   (-3)
 Invalid argument.
#define FIU_ERR_INVALID_RESPONSE   (-4)
 Invalid response received from FIU.
#define FIU_ERR_ALREADY_CONNECTED   (-5)
 Already connected.
#define FIU_ERR_FAILED_TO_OPEN_PORT   (-6)
 Failed to open serial port.
#define FIU_ERR_FAILED_TO_CONFIGURE_PORT   (-7)
 Failed to configure serial port.
#define FIU_ERR_NOT_CONNECTED   (-8)
 Not connected.
#define FIU_ERR_SEND_FAILED   (-9)
 Failed to send data through serial port.
#define FIU_ERR_READ_TIMED_OUT   (-10)
 Read timed out.
#define FIU_ERR_READ_FAILED   (-11)
 Read failed (serial port error).
#define FIU_ERR_CHECKSUM_MISMATCH   (-12)
 Checksum mismatch on received message.
#define FIU_ERR_SYNTAX_ERROR   (-13)
 Syntax error (from device).
#define FIU_ERR_SYSTEM_INTERLOCKED   (-14)
 System interlocked (from device).
#define FIU_ERR_RESOURCE_CONFLICT   (-15)
 Resource conflict (from device).
#define FIU_ERR_UNKNOWN_DEVICE_ERROR   (-16)
 Unknown error (from device).
#define FIU_ERR_INVALID_OBJECT   (-17)
 Invalid client object.
#define FIU_ERR_BUFFER_TOO_SMALL   (-18)
 Buffer too small.
#define FIU_ERR_ALLOCATION_FAILED   (-19)
 Allocation failed (C only).
#define FIU_ERR_UNEXPECTED_EXCEPTION   (-20)
 Unexpected exception (C only).

Detailed Description

Error codes returned by the FIU client functions.