説明を見る。00001 #ifndef URG_ERRNO_H
00002 #define URG_ERRNO_H
00003
00016 enum {
00017 URG_NO_ERROR = 0,
00018 URG_UNKNOWN_ERROR = -1,
00019 URG_NOT_CONNECTED = -2,
00020 URG_NOT_IMPLEMENTED = -3,
00021 URG_INVALID_RESPONSE = -4,
00022 URG_NO_RESPONSE = -5,
00023
00024 URG_SEND_ERROR = -6,
00025 URG_RECEIVE_ERROR = -7,
00026 URG_CHECKSUM_ERROR = -8,
00027 URG_INVALID_PARAMETER = -9,
00028 URG_MEASUREMENT_TYPE_MISMATCH = -10,
00029 URG_COMMON_ERROR_LAST,
00030
00031 URG_SERIAL_OPEN_ERROR = (URG_COMMON_ERROR_LAST -1) -1,
00032 URG_NOT_DETECT_BAUDRATE_ERROR = (URG_COMMON_ERROR_LAST -1) -2,
00033 URG_ETHERNET_OPEN_ERROR = (URG_COMMON_ERROR_LAST -1) -3,
00034 URG_SCANNING_PARAMETER_ERROR = (URG_COMMON_ERROR_LAST -1) -4,
00035 URG_DATA_SIZE_PARAMETER_ERROR = (URG_COMMON_ERROR_LAST -1) -5,
00036 };
00037
00038 #endif