-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstatus.go
More file actions
42 lines (41 loc) · 706 Bytes
/
status.go
File metadata and controls
42 lines (41 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package llrp
const (
// LLRPStatus StatusCode
// message scope
M_Success = 0
M_ParameterError = 100 + iota
M_FieldError
M_UnexpectedParameter
M_MissingParameter
M_DuplicateParameter
M_OverflowParameter
M_OverflowField
M_UnknownParameter
M_UnknownField
M_UnsupportedMessage
M_UnsupportedVersion
M_UnsupportedParameter
M_UnexpectedMessage
)
const (
// parameter
P_ParameterError_Scope = 200 + iota
P_FieldError_Scope
P_UnexpectedParameter
P_MissingParameter
P_DuplicateParamete
P_OverflowParameter
P_OverflowField
P_UnknownParameter
P_UnknownField
P_UnsupportedParameter
)
const (
// field
A_Invalid = 300 + iota
A_OutOfRange
)
const (
// reader
R_DeviceError = 401
)