SamCommand.c 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*
  2. * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
  3. * From ASN.1 module "Seader"
  4. * found in "seader.asn1"
  5. * `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
  6. */
  7. #include "SamCommand.h"
  8. asn_TYPE_member_t asn_MBR_SamCommand_1[] = {
  9. { ATF_NOFLAGS, 0, offsetof(struct SamCommand, choice.requestPacs),
  10. (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
  11. -1, /* IMPLICIT tag at current level */
  12. &asn_DEF_RequestPacs,
  13. 0,
  14. { 0, 0, 0 },
  15. 0, 0, /* No default value */
  16. "requestPacs"
  17. },
  18. { ATF_NOFLAGS, 0, offsetof(struct SamCommand, choice.version),
  19. (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
  20. -1, /* IMPLICIT tag at current level */
  21. &asn_DEF_NULL,
  22. 0,
  23. { 0, 0, 0 },
  24. 0, 0, /* No default value */
  25. "version"
  26. },
  27. { ATF_NOFLAGS, 0, offsetof(struct SamCommand, choice.cardDetected),
  28. (ASN_TAG_CLASS_CONTEXT | (13 << 2)),
  29. -1, /* IMPLICIT tag at current level */
  30. &asn_DEF_CardDetected,
  31. 0,
  32. { 0, 0, 0 },
  33. 0, 0, /* No default value */
  34. "cardDetected"
  35. },
  36. { ATF_NOFLAGS, 0, offsetof(struct SamCommand, choice.serialNumber),
  37. (ASN_TAG_CLASS_CONTEXT | (22 << 2)),
  38. -1, /* IMPLICIT tag at current level */
  39. &asn_DEF_NoArguments,
  40. 0,
  41. { 0, 0, 0 },
  42. 0, 0, /* No default value */
  43. "serialNumber"
  44. },
  45. };
  46. static const asn_TYPE_tag2member_t asn_MAP_SamCommand_tag2el_1[] = {
  47. { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* requestPacs */
  48. { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* version */
  49. { (ASN_TAG_CLASS_CONTEXT | (13 << 2)), 2, 0, 0 }, /* cardDetected */
  50. { (ASN_TAG_CLASS_CONTEXT | (22 << 2)), 3, 0, 0 } /* serialNumber */
  51. };
  52. asn_CHOICE_specifics_t asn_SPC_SamCommand_specs_1 = {
  53. sizeof(struct SamCommand),
  54. offsetof(struct SamCommand, _asn_ctx),
  55. offsetof(struct SamCommand, present),
  56. sizeof(((struct SamCommand *)0)->present),
  57. asn_MAP_SamCommand_tag2el_1,
  58. 4, /* Count of tags in the map */
  59. 0, 0,
  60. -1 /* Extensions start */
  61. };
  62. asn_TYPE_descriptor_t asn_DEF_SamCommand = {
  63. "SamCommand",
  64. "SamCommand",
  65. &asn_OP_CHOICE,
  66. 0, /* No effective tags (pointer) */
  67. 0, /* No effective tags (count) */
  68. 0, /* No tags (pointer) */
  69. 0, /* No tags (count) */
  70. { 0, 0, CHOICE_constraint },
  71. asn_MBR_SamCommand_1,
  72. 4, /* Elements count */
  73. &asn_SPC_SamCommand_specs_1 /* Additional specs */
  74. };