| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- /*
- * 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 -no-gen-OER -no-gen-PER -pdu=all`
- */
- #include "Payload.h"
- static asn_TYPE_member_t asn_MBR_Payload_1[] = {
- { ATF_NOFLAGS, 0, offsetof(struct Payload, choice.samCommand),
- (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
- +1, /* EXPLICIT tag at current level */
- &asn_DEF_SamCommand,
- 0,
- { 0, 0, 0 },
- 0, 0, /* No default value */
- "samCommand"
- },
- { ATF_NOFLAGS, 0, offsetof(struct Payload, choice.nfcCommand),
- (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
- +1, /* EXPLICIT tag at current level */
- &asn_DEF_NFCCommand,
- 0,
- { 0, 0, 0 },
- 0, 0, /* No default value */
- "nfcCommand"
- },
- { ATF_NOFLAGS, 0, offsetof(struct Payload, choice.response),
- (ASN_TAG_CLASS_CONTEXT | (29 << 2)),
- +1, /* EXPLICIT tag at current level */
- &asn_DEF_Response,
- 0,
- { 0, 0, 0 },
- 0, 0, /* No default value */
- "response"
- },
- { ATF_NOFLAGS, 0, offsetof(struct Payload, choice.errorResponse),
- (ASN_TAG_CLASS_CONTEXT | (30 << 2)),
- -1, /* IMPLICIT tag at current level */
- &asn_DEF_ErrorResponse,
- 0,
- { 0, 0, 0 },
- 0, 0, /* No default value */
- "errorResponse"
- },
- };
- static const asn_TYPE_tag2member_t asn_MAP_Payload_tag2el_1[] = {
- { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* samCommand */
- { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nfcCommand */
- { (ASN_TAG_CLASS_CONTEXT | (29 << 2)), 2, 0, 0 }, /* response */
- { (ASN_TAG_CLASS_CONTEXT | (30 << 2)), 3, 0, 0 } /* errorResponse */
- };
- static asn_CHOICE_specifics_t asn_SPC_Payload_specs_1 = {
- sizeof(struct Payload),
- offsetof(struct Payload, _asn_ctx),
- offsetof(struct Payload, present),
- sizeof(((struct Payload *)0)->present),
- asn_MAP_Payload_tag2el_1,
- 4, /* Count of tags in the map */
- 0, 0,
- -1 /* Extensions start */
- };
- asn_TYPE_descriptor_t asn_DEF_Payload = {
- "Payload",
- "Payload",
- &asn_OP_CHOICE,
- 0, /* No effective tags (pointer) */
- 0, /* No effective tags (count) */
- 0, /* No tags (pointer) */
- 0, /* No tags (count) */
- { 0, 0, CHOICE_constraint },
- asn_MBR_Payload_1,
- 4, /* Elements count */
- &asn_SPC_Payload_specs_1 /* Additional specs */
- };
|