seader.asn1 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. Seader DEFINITIONS ::=
  2. BEGIN
  3. Protocol ::= OCTET STRING
  4. RfStatus ::= OCTET STRING
  5. SamResponse ::= OCTET STRING
  6. -- omnikey_5326_dfr_softwaredeveloperguide 4.2
  7. PAC ::= BIT STRING
  8. -- omnikey_5326_dfr_softwaredeveloperguide 3.3
  9. Payload ::= CHOICE {
  10. samCommand [0] SamCommand, --aka SioAPI
  11. nfcCommand [1] NFCCommand,
  12. response [29] Response,
  13. errorResponse [30] IMPLICIT ErrorResponse
  14. }
  15. ErrorResponse ::= SEQUENCE {
  16. errorCode [0] IMPLICIT INTEGER,
  17. data [1] IMPLICIT OCTET STRING
  18. }
  19. SamCommand ::= CHOICE {
  20. requestPacs [1] IMPLICIT RequestPacs,
  21. cardDetected [13] IMPLICIT CardDetected
  22. }
  23. CardDetected ::= SEQUENCE {
  24. detectedCardDetails [0] IMPLICIT CardDetails
  25. }
  26. CardDetails ::= SEQUENCE {
  27. protocol [0] IMPLICIT Protocol,
  28. csn [1] IMPLICIT OCTET STRING,
  29. atqa [2] IMPLICIT OCTET STRING OPTIONAL,
  30. sak [3] IMPLICIT OCTET STRING OPTIONAL
  31. }
  32. Response ::= CHOICE {
  33. nfcResponse [0] NFCResponse,
  34. samResponse [10] IMPLICIT SamResponse
  35. }
  36. NFCResponse ::= CHOICE {
  37. nfcRx [0] IMPLICIT NFCRx,
  38. nfcAck [2] IMPLICIT NULL
  39. }
  40. NFCRx ::= SEQUENCE {
  41. data [0] IMPLICIT OCTET STRING OPTIONAL,
  42. rfStatus [1] IMPLICIT RfStatus
  43. }
  44. NFCCommand ::= CHOICE {
  45. nfcSend [1] IMPLICIT NFCSend,
  46. nfcOff [2] IMPLICIT NULL
  47. }
  48. NFCSend ::= SEQUENCE {
  49. data [0] IMPLICIT OCTET STRING,
  50. protocol [1] IMPLICIT Protocol,
  51. timeOut [2] IMPLICIT INTEGER,
  52. format [5] IMPLICIT OCTET STRING OPTIONAL
  53. }
  54. -- omnikey_5326_dfr_softwaredeveloperguide 4.2
  55. RequestPacs ::= SEQUENCE {
  56. contentElementTag [0] IMPLICIT ContentElementTag
  57. }
  58. -- omnikey_5326_dfr_softwaredeveloperguide 4.2
  59. -- omnikey_5025_cl_software_developer_guide_mn_en 6.2
  60. ContentElementTag ::= ENUMERATED {
  61. implicitFormatPhysicalAccessBits (4)
  62. }
  63. FrameProtocol ::= ENUMERATED {
  64. nfc (2),
  65. iclass (4)
  66. }
  67. END