BAD_PARAM |
Return value of a function that indicates there was a bad parameter to the function.
#define BAD_PARAM -2
COMMAND_LRC_ERROR |
Return value of a function that indicates that the CRC check on written or read data failed.
#define COMMAND_LRC_ERROR -7
COMMUNICATIONS_ERROR |
Return value of a function that indicates there was a communication error.
#define COMMUNICATIONS_ERROR -1
DEVICE_ID_SIZE |
Expected size of the buffer holding the Device ID, including the trailing null character.
#define DEVICE_ID_SIZE 9
GENERAL_ERROR |
Return value of a function that indicates that some error occurred.
#define GENERAL_ERROR -9
INVALID_COMMAND_NUMBER |
Return value of a function that indicates that the command sent to the driver was not defined.
#define INVALID_COMMAND_NUMBER -4
LIBRARY_VERSION_SIZE |
Expected size of the buffer holding the driver version, including the trailing null character.
#define LIBRARY_VERSION_SIZE 9
RECEIVED_CHARACTER_ERROR |
Return value of a function that indicates that the function encountered a value it did not expect.
#define RECEIVED_CHARACTER_ERROR -8
SETUP_ERROR |
Return value of a function that indicates the driver instance was in a state that didn't permit it to carry out the function.
#define SETUP_ERROR -3
SOFTWARE_VERSION_SIZE |
Expected size of the buffer holding the Software Version, including the trailing null character.
#define SOFTWARE_VERSION_SIZE 9
STATUS_OK |
Return value of a function that executes with no errors.
#define STATUS_OK 0
TIME_BUFFER_SIZE |
Expected size of the buffer holding time data for getTimeCmd() and setTimeCmd().
#define TIME_BUFFER_SIZE 6
© 2008 Opticon Inc. Last Updated: Monday, August 18, 2008