NFCResponse.c 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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 -pdu=all`
  6. */
  7. #include "NFCResponse.h"
  8. static asn_oer_constraints_t asn_OER_type_NFCResponse_constr_1 CC_NOTUSED = {
  9. { 0, 0 },
  10. -1};
  11. asn_per_constraints_t asn_PER_type_NFCResponse_constr_1 CC_NOTUSED = {
  12. { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
  13. { APC_UNCONSTRAINED, -1, -1, 0, 0 },
  14. 0, 0 /* No PER value map */
  15. };
  16. asn_TYPE_member_t asn_MBR_NFCResponse_1[] = {
  17. { ATF_NOFLAGS, 0, offsetof(struct NFCResponse, choice.nfcRx),
  18. (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
  19. -1, /* IMPLICIT tag at current level */
  20. &asn_DEF_NFCRx,
  21. 0,
  22. { 0, 0, 0 },
  23. 0, 0, /* No default value */
  24. "nfcRx"
  25. },
  26. { ATF_NOFLAGS, 0, offsetof(struct NFCResponse, choice.nfcAck),
  27. (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
  28. -1, /* IMPLICIT tag at current level */
  29. &asn_DEF_NULL,
  30. 0,
  31. { 0, 0, 0 },
  32. 0, 0, /* No default value */
  33. "nfcAck"
  34. },
  35. };
  36. static const asn_TYPE_tag2member_t asn_MAP_NFCResponse_tag2el_1[] = {
  37. { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nfcRx */
  38. { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 } /* nfcAck */
  39. };
  40. asn_CHOICE_specifics_t asn_SPC_NFCResponse_specs_1 = {
  41. sizeof(struct NFCResponse),
  42. offsetof(struct NFCResponse, _asn_ctx),
  43. offsetof(struct NFCResponse, present),
  44. sizeof(((struct NFCResponse *)0)->present),
  45. asn_MAP_NFCResponse_tag2el_1,
  46. 2, /* Count of tags in the map */
  47. 0, 0,
  48. -1 /* Extensions start */
  49. };
  50. asn_TYPE_descriptor_t asn_DEF_NFCResponse = {
  51. "NFCResponse",
  52. "NFCResponse",
  53. &asn_OP_CHOICE,
  54. 0, /* No effective tags (pointer) */
  55. 0, /* No effective tags (count) */
  56. 0, /* No tags (pointer) */
  57. 0, /* No tags (count) */
  58. { &asn_OER_type_NFCResponse_constr_1, &asn_PER_type_NFCResponse_constr_1, CHOICE_constraint },
  59. asn_MBR_NFCResponse_1,
  60. 2, /* Elements count */
  61. &asn_SPC_NFCResponse_specs_1 /* Additional specs */
  62. };