Go to the documentation of this file.00001 #ifndef URG_ERRNO_H
00002 #define URG_ERRNO_H
00003
00013 enum {
00014 URG_NO_ERROR = 0,
00015 URG_UNKNOWN_ERROR = -1,
00016 URG_NOT_CONNECTED = -2,
00017 URG_NOT_IMPLEMENTED = -3,
00018 URG_INVALID_RESPONSE = -4,
00019 URG_NO_RESPONSE = -5,
00020
00021 URG_SEND_ERROR = -6,
00022 URG_RECEIVE_ERROR = -7,
00023 URG_CHECKSUM_ERROR = -8,
00024 URG_INVALID_PARAMETER = -9,
00025 URG_MEASUREMENT_TYPE_MISMATCH = -10,
00026 URG_COMMON_ERROR_LAST,
00027
00028 URG_SERIAL_OPEN_ERROR = (URG_COMMON_ERROR_LAST -1) -1,
00029 URG_NOT_DETECT_BAUDRATE_ERROR = (URG_COMMON_ERROR_LAST -1) -2,
00030 URG_ETHERNET_OPEN_ERROR = (URG_COMMON_ERROR_LAST -1) -3,
00031 URG_SCANNING_PARAMETER_ERROR = (URG_COMMON_ERROR_LAST -1) -4,
00032 URG_DATA_SIZE_PARAMETER_ERROR = (URG_COMMON_ERROR_LAST -1) -5,
00033 };
00034
00035 #endif