Go to the documentation of this file.00001 #ifndef __ErrorCodes_H_
00002 #define __ErrorCodes_H_
00003
00004 #define RQ_INVALID_HANDLE -1
00005 #define RQ_SUCCESS 0
00006 #define RQ_ERR_OPEN_PORT 1
00007 #define RQ_ERR_NOT_CONNECTED 2
00008 #define RQ_ERR_TRANSMIT_FAILED 3
00009 #define RQ_ERR_SERIAL_IO 4
00010 #define RQ_ERR_SERIAL_RECEIVE 5
00011 #define RQ_INVALID_RESPONSE 6
00012 #define RQ_UNRECOGNIZED_DEVICE 7
00013 #define RQ_UNRECOGNIZED_VERSION 8
00014 #define RQ_INVALID_CONFIG_ITEM 9
00015 #define RQ_INVALID_OPER_ITEM 10
00016 #define RQ_INVALID_COMMAND_ITEM 11
00017 #define RQ_INDEX_OUT_RANGE 12
00018 #define RQ_SET_CONFIG_FAILED 13
00019 #define RQ_GET_CONFIG_FAILED 14
00020 #define RQ_GET_VALUE_FAILED 15
00021 #define RQ_SET_COMMAND_FAILED 16
00022
00023 #endif