00001
00006 #ifndef I_0DD3687F_47D0_454B_ADB2_CBAB0ED46FCE
00007 #define I_0DD3687F_47D0_454B_ADB2_CBAB0ED46FCE
00008
00009 #define G_NO_ERROR 0
00010 #define G_NO_ERROR_S "no error"
00011
00012 #define G_GCLIB_ERROR -1
00013 #define G_GCLIB_ERROR_S "gclib unexpected error"
00014
00015 #define G_GCLIB_UTILITY_ERROR -2
00016 #define G_GCLIB_UTILITY_ERROR_S "invalid request value or bad arguments were specified to GUtility()"
00017
00018 #define G_GCLIB_UTILITY_IP_TAKEN -3
00019 #define G_GCLIB_UTILITY_IP_TAKEN_S "ip address is already taken by a device on the network"
00020
00021 #define G_GCLIB_NON_BLOCKING_READ_EMPTY -4
00022 #define G_GCLIB_NON_BLOCKING_READ_EMPTY_S "data was not waiting for a zero-timeout read"
00023
00024 #define G_TIMEOUT -1100
00025 #define G_TIMEOUT_S "device timed out"
00026
00027 #define G_OPEN_ERROR -1101
00028 #define G_OPEN_ERROR_S "device failed to open"
00029
00030 #define G_INVALID_PREPROCESSOR_OPTIONS -1204
00031 #define G_INVALID_PREPROCESSOR_OPTIONS_S "preprocessor did not recognize options"
00032
00033 #define G_COMMAND_CALLED_WITH_ILLEGAL_COMMAND -1106
00034 #define G_COMMAND_CALLED_WITH_ILLEGAL_COMMAND_S "illegal command passed to command call"
00035
00036 #define G_DATA_RECORD_ERROR -1107
00037 #define G_DATA_RECORD_ERROR_S "data record error"
00038
00039 #define G_UNSUPPORTED_FUNCTION -1109
00040 #define G_UNSUPPORTED_FUNCTION_S "function not supported on this communication bus"
00041
00042 #define G_FIRMWARE_LOAD_NOT_SUPPORTED -1110
00043 #define G_FIRMWARE_LOAD_NOT_SUPPORTED_S "firmware cannot be loaded on this communication bus to this hardware"
00044
00045 #define G_ARRAY_NOT_DIMENSIONED -1200
00046 #define G_ARRAY_NOT_DIMENSIONED_S "array not dimensioned on controller or wrong size"
00047
00048 #define G_ILLEGAL_DATA_IN_PROGRAM -1202
00049 #define G_ILLEGAL_DATA_IN_PROGRAM_S "illegal ASCII character in program"
00050
00051 #define G_UNABLE_TO_COMPRESS_PROGRAM_TO_FIT -1203
00052 #define G_UNABLE_TO_COMPRESS_PROGRAM_TO_FIT_S "program cannot be compressed to fit on the controller"
00053
00054 #define G_BAD_RESPONSE_QUESTION_MARK -10000
00055 #define G_BAD_RESPONSE_QUESTION_MARK_S "question mark returned by controller"
00056
00057 #define G_BAD_VALUE_RANGE -10002
00058 #define G_BAD_VALUE_RANGE_S "value passed to function was bad or out of range"
00059
00060 #define G_BAD_FULL_MEMORY -10003
00061 #define G_BAD_FULL_MEMORY_S "operation could not complete because of a memory error"
00062
00063 #define G_BAD_LOST_DATA -10004
00064 #define G_BAD_LOST_DATA_S "data was lost due to buffer or fifo limitations"
00065
00066 #define G_BAD_FILE -10005
00067 #define G_BAD_FILE_S "file was not found, contents are invalid, or write failed"
00068
00069 #define G_BAD_ADDRESS -10006
00070 #define G_BAD_ADDRESS_S "a bad address was specified in open"
00071
00072 #endif //I_0DD3687F_47D0_454B_ADB2_CBAB0ED46FCE