-
Notifications
You must be signed in to change notification settings - Fork 4
/
seader.asn1
91 lines (75 loc) · 1.94 KB
/
seader.asn1
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
Seader DEFINITIONS ::=
BEGIN
Protocol ::= OCTET STRING
RfStatus ::= OCTET STRING
SamResponse ::= OCTET STRING
-- omnikey_5326_dfr_softwaredeveloperguide 4.2
PAC ::= BIT STRING
NoArguments ::= NULL
-- omnikey_5326_dfr_softwaredeveloperguide 3.3
Payload ::= CHOICE {
samCommand [0] SamCommand, --aka SioAPI
nfcCommand [1] NFCCommand,
response [29] Response,
errorResponse [30] IMPLICIT ErrorResponse
}
ErrorResponse ::= SEQUENCE {
errorCode [0] IMPLICIT INTEGER,
data [1] IMPLICIT OCTET STRING
}
SamCommand ::= CHOICE {
requestPacs [1] IMPLICIT RequestPacs,
version [2] IMPLICIT NULL,
cardDetected [13] IMPLICIT CardDetected,
serialNumber [22] IMPLICIT NoArguments
}
CardDetected ::= SEQUENCE {
detectedCardDetails [0] IMPLICIT CardDetails
}
CardDetails ::= SEQUENCE {
protocol [0] IMPLICIT Protocol,
csn [1] IMPLICIT OCTET STRING,
atqa [2] IMPLICIT OCTET STRING OPTIONAL,
sak [3] IMPLICIT OCTET STRING OPTIONAL
}
Response ::= CHOICE {
nfcResponse [0] NFCResponse,
samResponse [10] IMPLICIT SamResponse
}
NFCResponse ::= CHOICE {
nfcRx [0] IMPLICIT NFCRx,
nfcAck [2] IMPLICIT NULL
}
NFCRx ::= SEQUENCE {
data [0] IMPLICIT OCTET STRING OPTIONAL,
rfStatus [1] IMPLICIT RfStatus
}
NFCCommand ::= CHOICE {
nfcSend [1] IMPLICIT NFCSend,
nfcOff [2] IMPLICIT NULL
}
NFCSend ::= SEQUENCE {
data [0] IMPLICIT OCTET STRING,
protocol [1] IMPLICIT Protocol,
timeOut [2] IMPLICIT INTEGER,
format [5] IMPLICIT OCTET STRING OPTIONAL
}
-- omnikey_5326_dfr_softwaredeveloperguide 4.2
RequestPacs ::= SEQUENCE {
contentElementTag [0] IMPLICIT ContentElementTag
}
-- omnikey_5326_dfr_softwaredeveloperguide 4.2
-- omnikey_5025_cl_software_developer_guide_mn_en 6.2
ContentElementTag ::= ENUMERATED {
implicitFormatPhysicalAccessBits (4)
}
FrameProtocol ::= ENUMERATED {
nfc (2),
iclass (4)
}
SamVersion ::= SEQUENCE {
version [0] IMPLICIT OCTET STRING,
firmware [1] IMPLICIT OCTET STRING,
type [2] IMPLICIT OCTET STRING
}
END