Files
seader/lib/asn1/NFCSend.c
T
2023-04-22 12:35:07 -07:00

83 lines
2.3 KiB
C

/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "Seader"
* found in "seader.asn1"
* `asn1c -D ./lib/asn1 -no-gen-example -pdu=all`
*/
#include "NFCSend.h"
asn_TYPE_member_t asn_MBR_NFCSend_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct NFCSend, data),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_OCTET_STRING,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"data"
},
{ ATF_NOFLAGS, 0, offsetof(struct NFCSend, protocol),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Protocol,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"protocol"
},
{ ATF_NOFLAGS, 0, offsetof(struct NFCSend, timeOut),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_NativeInteger,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"timeOut"
},
{ ATF_POINTER, 1, offsetof(struct NFCSend, format),
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_OCTET_STRING,
0,
{ 0, 0, 0 },
0, 0, /* No default value */
"format"
},
};
static const int asn_MAP_NFCSend_oms_1[] = { 3 };
static const ber_tlv_tag_t asn_DEF_NFCSend_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_NFCSend_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* data */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* protocol */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* timeOut */
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 3, 0, 0 } /* format */
};
asn_SEQUENCE_specifics_t asn_SPC_NFCSend_specs_1 = {
sizeof(struct NFCSend),
offsetof(struct NFCSend, _asn_ctx),
asn_MAP_NFCSend_tag2el_1,
4, /* Count of tags in the map */
asn_MAP_NFCSend_oms_1, /* Optional members */
1, 0, /* Root/Additions */
-1, /* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_NFCSend = {
"NFCSend",
"NFCSend",
&asn_OP_SEQUENCE,
asn_DEF_NFCSend_tags_1,
sizeof(asn_DEF_NFCSend_tags_1)
/sizeof(asn_DEF_NFCSend_tags_1[0]), /* 1 */
asn_DEF_NFCSend_tags_1, /* Same as above */
sizeof(asn_DEF_NFCSend_tags_1)
/sizeof(asn_DEF_NFCSend_tags_1[0]), /* 1 */
{ 0, 0, SEQUENCE_constraint },
asn_MBR_NFCSend_1,
4, /* Elements count */
&asn_SPC_NFCSend_specs_1 /* Additional specs */
};