NFCSend.c 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /*
  2. * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
  3. * From ASN.1 module "Seader"
  4. * found in "applications_user/seader/seader.asn1"
  5. * `asn1c -D applications_user/seader/lib/asn1 -no-gen-example -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. };
  37. static const ber_tlv_tag_t asn_DEF_NFCSend_tags_1[] = {
  38. (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
  39. };
  40. static const asn_TYPE_tag2member_t asn_MAP_NFCSend_tag2el_1[] = {
  41. { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* data */
  42. { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* protocol */
  43. { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* timeOut */
  44. };
  45. asn_SEQUENCE_specifics_t asn_SPC_NFCSend_specs_1 = {
  46. sizeof(struct NFCSend),
  47. offsetof(struct NFCSend, _asn_ctx),
  48. asn_MAP_NFCSend_tag2el_1,
  49. 3, /* Count of tags in the map */
  50. 0, 0, 0, /* Optional elements (not needed) */
  51. -1, /* First extension addition */
  52. };
  53. asn_TYPE_descriptor_t asn_DEF_NFCSend = {
  54. "NFCSend",
  55. "NFCSend",
  56. &asn_OP_SEQUENCE,
  57. asn_DEF_NFCSend_tags_1,
  58. sizeof(asn_DEF_NFCSend_tags_1)
  59. /sizeof(asn_DEF_NFCSend_tags_1[0]), /* 1 */
  60. asn_DEF_NFCSend_tags_1, /* Same as above */
  61. sizeof(asn_DEF_NFCSend_tags_1)
  62. /sizeof(asn_DEF_NFCSend_tags_1[0]), /* 1 */
  63. { 0, 0, SEQUENCE_constraint },
  64. asn_MBR_NFCSend_1,
  65. 3, /* Elements count */
  66. &asn_SPC_NFCSend_specs_1 /* Additional specs */
  67. };