NFCSend.c 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 "NFCSend.h"
  8. asn_TYPE_member_t asn_MBR_NFCSend_1[] = {
  9. { ATF_NOFLAGS, 0, offsetof(struct NFCSend, data),
  10. (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
  11. -1, /* IMPLICIT tag at current level */
  12. &asn_DEF_OCTET_STRING,
  13. 0,
  14. { 0, 0, 0 },
  15. 0, 0, /* No default value */
  16. "data"
  17. },
  18. { ATF_NOFLAGS, 0, offsetof(struct NFCSend, protocol),
  19. (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
  20. -1, /* IMPLICIT tag at current level */
  21. &asn_DEF_Protocol,
  22. 0,
  23. { 0, 0, 0 },
  24. 0, 0, /* No default value */
  25. "protocol"
  26. },
  27. { ATF_NOFLAGS, 0, offsetof(struct NFCSend, timeOut),
  28. (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
  29. -1, /* IMPLICIT tag at current level */
  30. &asn_DEF_NativeInteger,
  31. 0,
  32. { 0, 0, 0 },
  33. 0, 0, /* No default value */
  34. "timeOut"
  35. },
  36. { ATF_POINTER, 1, offsetof(struct NFCSend, format),
  37. (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
  38. -1, /* IMPLICIT tag at current level */
  39. &asn_DEF_OCTET_STRING,
  40. 0,
  41. { 0, 0, 0 },
  42. 0, 0, /* No default value */
  43. "format"
  44. },
  45. };
  46. static const ber_tlv_tag_t asn_DEF_NFCSend_tags_1[] = {
  47. (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
  48. };
  49. static const asn_TYPE_tag2member_t asn_MAP_NFCSend_tag2el_1[] = {
  50. { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* data */
  51. { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* protocol */
  52. { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* timeOut */
  53. { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 3, 0, 0 } /* format */
  54. };
  55. asn_SEQUENCE_specifics_t asn_SPC_NFCSend_specs_1 = {
  56. sizeof(struct NFCSend),
  57. offsetof(struct NFCSend, _asn_ctx),
  58. asn_MAP_NFCSend_tag2el_1,
  59. 4, /* Count of tags in the map */
  60. 0, 0, 0, /* Optional elements (not needed) */
  61. -1, /* First extension addition */
  62. };
  63. asn_TYPE_descriptor_t asn_DEF_NFCSend = {
  64. "NFCSend",
  65. "NFCSend",
  66. &asn_OP_SEQUENCE,
  67. asn_DEF_NFCSend_tags_1,
  68. sizeof(asn_DEF_NFCSend_tags_1)
  69. /sizeof(asn_DEF_NFCSend_tags_1[0]), /* 1 */
  70. asn_DEF_NFCSend_tags_1, /* Same as above */
  71. sizeof(asn_DEF_NFCSend_tags_1)
  72. /sizeof(asn_DEF_NFCSend_tags_1[0]), /* 1 */
  73. { 0, 0, SEQUENCE_constraint },
  74. asn_MBR_NFCSend_1,
  75. 4, /* Elements count */
  76. &asn_SPC_NFCSend_specs_1 /* Additional specs */
  77. };