All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Pages
urg_errno.h
Go to the documentation of this file.
1 #ifndef URG_ERRNO_H
2 #define URG_ERRNO_H
3 
13 enum {
14  URG_NO_ERROR = 0,
15  URG_UNKNOWN_ERROR = -1,
16  URG_NOT_CONNECTED = -2,
17  URG_NOT_IMPLEMENTED = -3,
18  URG_INVALID_RESPONSE = -4,
19  URG_NO_RESPONSE = -5,
20 
21  URG_SEND_ERROR = -6,
22  URG_RECEIVE_ERROR = -7,
23  URG_CHECKSUM_ERROR = -8,
24  URG_INVALID_PARAMETER = -9,
25  URG_MEASUREMENT_TYPE_MISMATCH = -10,
26  URG_COMMON_ERROR_LAST,
27 
28  URG_SERIAL_OPEN_ERROR = (URG_COMMON_ERROR_LAST -1) -1,
29  URG_NOT_DETECT_BAUDRATE_ERROR = (URG_COMMON_ERROR_LAST -1) -2,
30  URG_ETHERNET_OPEN_ERROR = (URG_COMMON_ERROR_LAST -1) -3,
31  URG_SCANNING_PARAMETER_ERROR = (URG_COMMON_ERROR_LAST -1) -4,
32  URG_DATA_SIZE_PARAMETER_ERROR = (URG_COMMON_ERROR_LAST -1) -5,
33 };
34 
35 #endif /* !URG_ERRNO_H */