exclude a little more from asn1c command

This commit is contained in:
Eric Betts
2024-07-28 18:58:27 -07:00
parent cf3d31663b
commit ddf8a8906b
39 changed files with 49 additions and 144 deletions

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "CardDetails.h"
@@ -45,7 +45,6 @@ asn_TYPE_member_t asn_MBR_CardDetails_1[] = {
"sak"
},
};
static const int asn_MAP_CardDetails_oms_1[] = { 2, 3 };
static const ber_tlv_tag_t asn_DEF_CardDetails_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
@@ -60,8 +59,7 @@ asn_SEQUENCE_specifics_t asn_SPC_CardDetails_specs_1 = {
offsetof(struct CardDetails, _asn_ctx),
asn_MAP_CardDetails_tag2el_1,
4, /* Count of tags in the map */
asn_MAP_CardDetails_oms_1, /* Optional members */
2, 0, /* Root/Additions */
0, 0, 0, /* Optional elements (not needed) */
-1, /* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_CardDetails = {

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _CardDetails_H_

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "CardDetected.h"

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _CardDetected_H_

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "ContentElementTag.h"
@@ -11,14 +11,6 @@
* This type is implemented using NativeEnumerated,
* so here we adjust the DEF accordingly.
*/
static asn_oer_constraints_t asn_OER_type_ContentElementTag_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1};
asn_per_constraints_t asn_PER_type_ContentElementTag_constr_1 CC_NOTUSED = {
{ APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static const asn_INTEGER_enum_map_t asn_MAP_ContentElementTag_value2enum_1[] = {
{ 4, 32, "implicitFormatPhysicalAccessBits" }
};
@@ -47,7 +39,7 @@ asn_TYPE_descriptor_t asn_DEF_ContentElementTag = {
asn_DEF_ContentElementTag_tags_1, /* Same as above */
sizeof(asn_DEF_ContentElementTag_tags_1)
/sizeof(asn_DEF_ContentElementTag_tags_1[0]), /* 1 */
{ &asn_OER_type_ContentElementTag_constr_1, &asn_PER_type_ContentElementTag_constr_1, NativeEnumerated_constraint },
{ 0, 0, NativeEnumerated_constraint },
0, 0, /* Defined elsewhere */
&asn_SPC_ContentElementTag_specs_1 /* Additional specs */
};

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _ContentElementTag_H_
@@ -27,7 +27,6 @@ typedef enum ContentElementTag {
typedef long ContentElementTag_t;
/* Implementation */
extern asn_per_constraints_t asn_PER_type_ContentElementTag_constr_1;
extern asn_TYPE_descriptor_t asn_DEF_ContentElementTag;
extern const asn_INTEGER_specifics_t asn_SPC_ContentElementTag_specs_1;
asn_struct_free_f ContentElementTag_free;
@@ -37,10 +36,6 @@ ber_type_decoder_f ContentElementTag_decode_ber;
der_type_encoder_f ContentElementTag_encode_der;
xer_type_decoder_f ContentElementTag_decode_xer;
xer_type_encoder_f ContentElementTag_encode_xer;
oer_type_decoder_f ContentElementTag_decode_oer;
oer_type_encoder_f ContentElementTag_encode_oer;
per_type_decoder_f ContentElementTag_decode_uper;
per_type_encoder_f ContentElementTag_encode_uper;
#ifdef __cplusplus
}

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "ErrorResponse.h"

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _ErrorResponse_H_

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "FrameProtocol.h"
@@ -11,14 +11,6 @@
* This type is implemented using NativeEnumerated,
* so here we adjust the DEF accordingly.
*/
static asn_oer_constraints_t asn_OER_type_FrameProtocol_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1};
static asn_per_constraints_t asn_PER_type_FrameProtocol_constr_1 CC_NOTUSED = {
{ APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static const asn_INTEGER_enum_map_t asn_MAP_FrameProtocol_value2enum_1[] = {
{ 2, 3, "nfc" },
{ 4, 6, "iclass" }
@@ -49,7 +41,7 @@ asn_TYPE_descriptor_t asn_DEF_FrameProtocol = {
asn_DEF_FrameProtocol_tags_1, /* Same as above */
sizeof(asn_DEF_FrameProtocol_tags_1)
/sizeof(asn_DEF_FrameProtocol_tags_1[0]), /* 1 */
{ &asn_OER_type_FrameProtocol_constr_1, &asn_PER_type_FrameProtocol_constr_1, NativeEnumerated_constraint },
{ 0, 0, NativeEnumerated_constraint },
0, 0, /* Defined elsewhere */
&asn_SPC_FrameProtocol_specs_1 /* Additional specs */
};

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _FrameProtocol_H_
@@ -36,10 +36,6 @@ ber_type_decoder_f FrameProtocol_decode_ber;
der_type_encoder_f FrameProtocol_encode_der;
xer_type_decoder_f FrameProtocol_decode_xer;
xer_type_encoder_f FrameProtocol_encode_xer;
oer_type_decoder_f FrameProtocol_decode_oer;
oer_type_encoder_f FrameProtocol_encode_oer;
per_type_decoder_f FrameProtocol_decode_uper;
per_type_encoder_f FrameProtocol_encode_uper;
#ifdef __cplusplus
}

View File

@@ -2,19 +2,11 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "NFCCommand.h"
static asn_oer_constraints_t asn_OER_type_NFCCommand_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1};
asn_per_constraints_t asn_PER_type_NFCCommand_constr_1 CC_NOTUSED = {
{ APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
asn_TYPE_member_t asn_MBR_NFCCommand_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct NFCCommand, choice.nfcSend),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
@@ -57,7 +49,7 @@ asn_TYPE_descriptor_t asn_DEF_NFCCommand = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
{ &asn_OER_type_NFCCommand_constr_1, &asn_PER_type_NFCCommand_constr_1, CHOICE_constraint },
{ 0, 0, CHOICE_constraint },
asn_MBR_NFCCommand_1,
2, /* Elements count */
&asn_SPC_NFCCommand_specs_1 /* Additional specs */

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _NFCCommand_H_
@@ -43,7 +43,6 @@ typedef struct NFCCommand {
extern asn_TYPE_descriptor_t asn_DEF_NFCCommand;
extern asn_CHOICE_specifics_t asn_SPC_NFCCommand_specs_1;
extern asn_TYPE_member_t asn_MBR_NFCCommand_1[2];
extern asn_per_constraints_t asn_PER_type_NFCCommand_constr_1;
#ifdef __cplusplus
}

View File

@@ -2,19 +2,11 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "NFCResponse.h"
static asn_oer_constraints_t asn_OER_type_NFCResponse_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1};
asn_per_constraints_t asn_PER_type_NFCResponse_constr_1 CC_NOTUSED = {
{ APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
asn_TYPE_member_t asn_MBR_NFCResponse_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct NFCResponse, choice.nfcRx),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
@@ -57,7 +49,7 @@ asn_TYPE_descriptor_t asn_DEF_NFCResponse = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
{ &asn_OER_type_NFCResponse_constr_1, &asn_PER_type_NFCResponse_constr_1, CHOICE_constraint },
{ 0, 0, CHOICE_constraint },
asn_MBR_NFCResponse_1,
2, /* Elements count */
&asn_SPC_NFCResponse_specs_1 /* Additional specs */

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _NFCResponse_H_
@@ -43,7 +43,6 @@ typedef struct NFCResponse {
extern asn_TYPE_descriptor_t asn_DEF_NFCResponse;
extern asn_CHOICE_specifics_t asn_SPC_NFCResponse_specs_1;
extern asn_TYPE_member_t asn_MBR_NFCResponse_1[2];
extern asn_per_constraints_t asn_PER_type_NFCResponse_constr_1;
#ifdef __cplusplus
}

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "NFCRx.h"
@@ -27,7 +27,6 @@ asn_TYPE_member_t asn_MBR_NFCRx_1[] = {
"rfStatus"
},
};
static const int asn_MAP_NFCRx_oms_1[] = { 0 };
static const ber_tlv_tag_t asn_DEF_NFCRx_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
@@ -40,8 +39,7 @@ asn_SEQUENCE_specifics_t asn_SPC_NFCRx_specs_1 = {
offsetof(struct NFCRx, _asn_ctx),
asn_MAP_NFCRx_tag2el_1,
2, /* Count of tags in the map */
asn_MAP_NFCRx_oms_1, /* Optional members */
1, 0, /* Root/Additions */
0, 0, 0, /* Optional elements (not needed) */
-1, /* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_NFCRx = {

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _NFCRx_H_

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "NFCSend.h"
@@ -45,7 +45,6 @@ asn_TYPE_member_t asn_MBR_NFCSend_1[] = {
"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))
};
@@ -60,8 +59,7 @@ asn_SEQUENCE_specifics_t asn_SPC_NFCSend_specs_1 = {
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 */
0, 0, 0, /* Optional elements (not needed) */
-1, /* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_NFCSend = {

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _NFCSend_H_

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "NoArguments.h"

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _NoArguments_H_
@@ -30,10 +30,6 @@ ber_type_decoder_f NoArguments_decode_ber;
der_type_encoder_f NoArguments_encode_der;
xer_type_decoder_f NoArguments_decode_xer;
xer_type_encoder_f NoArguments_encode_xer;
oer_type_decoder_f NoArguments_decode_oer;
oer_type_encoder_f NoArguments_encode_oer;
per_type_decoder_f NoArguments_decode_uper;
per_type_encoder_f NoArguments_encode_uper;
#ifdef __cplusplus
}

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "PAC.h"

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _PAC_H_
@@ -30,10 +30,6 @@ ber_type_decoder_f PAC_decode_ber;
der_type_encoder_f PAC_encode_der;
xer_type_decoder_f PAC_decode_xer;
xer_type_encoder_f PAC_encode_xer;
oer_type_decoder_f PAC_decode_oer;
oer_type_encoder_f PAC_encode_oer;
per_type_decoder_f PAC_decode_uper;
per_type_encoder_f PAC_encode_uper;
#ifdef __cplusplus
}

View File

@@ -2,19 +2,11 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "Payload.h"
static asn_oer_constraints_t asn_OER_type_Payload_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1};
static asn_per_constraints_t asn_PER_type_Payload_constr_1 CC_NOTUSED = {
{ APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_TYPE_member_t asn_MBR_Payload_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct Payload, choice.samCommand),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
@@ -77,7 +69,7 @@ asn_TYPE_descriptor_t asn_DEF_Payload = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
{ &asn_OER_type_Payload_constr_1, &asn_PER_type_Payload_constr_1, CHOICE_constraint },
{ 0, 0, CHOICE_constraint },
asn_MBR_Payload_1,
4, /* Elements count */
&asn_SPC_Payload_specs_1 /* Additional specs */

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _Payload_H_

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "Protocol.h"

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _Protocol_H_
@@ -30,10 +30,6 @@ ber_type_decoder_f Protocol_decode_ber;
der_type_encoder_f Protocol_encode_der;
xer_type_decoder_f Protocol_decode_xer;
xer_type_encoder_f Protocol_encode_xer;
oer_type_decoder_f Protocol_decode_oer;
oer_type_encoder_f Protocol_encode_oer;
per_type_decoder_f Protocol_decode_uper;
per_type_encoder_f Protocol_encode_uper;
#ifdef __cplusplus
}

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "RequestPacs.h"

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _RequestPacs_H_

View File

@@ -2,19 +2,11 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "Response.h"
static asn_oer_constraints_t asn_OER_type_Response_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1};
asn_per_constraints_t asn_PER_type_Response_constr_1 CC_NOTUSED = {
{ APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
asn_TYPE_member_t asn_MBR_Response_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct Response, choice.nfcResponse),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
@@ -57,7 +49,7 @@ asn_TYPE_descriptor_t asn_DEF_Response = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
{ &asn_OER_type_Response_constr_1, &asn_PER_type_Response_constr_1, CHOICE_constraint },
{ 0, 0, CHOICE_constraint },
asn_MBR_Response_1,
2, /* Elements count */
&asn_SPC_Response_specs_1 /* Additional specs */

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _Response_H_
@@ -43,7 +43,6 @@ typedef struct Response {
extern asn_TYPE_descriptor_t asn_DEF_Response;
extern asn_CHOICE_specifics_t asn_SPC_Response_specs_1;
extern asn_TYPE_member_t asn_MBR_Response_1[2];
extern asn_per_constraints_t asn_PER_type_Response_constr_1;
#ifdef __cplusplus
}

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "RfStatus.h"

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _RfStatus_H_
@@ -30,10 +30,6 @@ ber_type_decoder_f RfStatus_decode_ber;
der_type_encoder_f RfStatus_encode_der;
xer_type_decoder_f RfStatus_decode_xer;
xer_type_encoder_f RfStatus_encode_xer;
oer_type_decoder_f RfStatus_decode_oer;
oer_type_encoder_f RfStatus_encode_oer;
per_type_decoder_f RfStatus_decode_uper;
per_type_encoder_f RfStatus_encode_uper;
#ifdef __cplusplus
}

View File

@@ -2,19 +2,11 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "SamCommand.h"
static asn_oer_constraints_t asn_OER_type_SamCommand_constr_1 CC_NOTUSED = {
{ 0, 0 },
-1};
asn_per_constraints_t asn_PER_type_SamCommand_constr_1 CC_NOTUSED = {
{ APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
asn_TYPE_member_t asn_MBR_SamCommand_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct SamCommand, choice.requestPacs),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
@@ -77,7 +69,7 @@ asn_TYPE_descriptor_t asn_DEF_SamCommand = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
{ &asn_OER_type_SamCommand_constr_1, &asn_PER_type_SamCommand_constr_1, CHOICE_constraint },
{ 0, 0, CHOICE_constraint },
asn_MBR_SamCommand_1,
4, /* Elements count */
&asn_SPC_SamCommand_specs_1 /* Additional specs */

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _SamCommand_H_
@@ -49,7 +49,6 @@ typedef struct SamCommand {
extern asn_TYPE_descriptor_t asn_DEF_SamCommand;
extern asn_CHOICE_specifics_t asn_SPC_SamCommand_specs_1;
extern asn_TYPE_member_t asn_MBR_SamCommand_1[4];
extern asn_per_constraints_t asn_PER_type_SamCommand_constr_1;
#ifdef __cplusplus
}

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "SamResponse.h"

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _SamResponse_H_
@@ -30,10 +30,6 @@ ber_type_decoder_f SamResponse_decode_ber;
der_type_encoder_f SamResponse_encode_der;
xer_type_decoder_f SamResponse_decode_xer;
xer_type_encoder_f SamResponse_encode_xer;
oer_type_decoder_f SamResponse_decode_oer;
oer_type_encoder_f SamResponse_encode_oer;
per_type_decoder_f SamResponse_decode_uper;
per_type_encoder_f SamResponse_encode_uper;
#ifdef __cplusplus
}

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#include "SamVersion.h"

View File

@@ -2,7 +2,7 @@
* 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`
* `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all`
*/
#ifndef _SamVersion_H_

View File

@@ -43,7 +43,7 @@ Optionally 3d print a [case designed by sean](https://www.printables.com/model/5
### To Build ASN1 (if you change seader.asn1)
* Install git version of [asnc1](https://github.com/vlm/asn1c) (`brew install asn1c --head` on macos)
* Run `asn1c -D ./lib/asn1 -no-gen-example -pdu=all seader.asn1` in in root to generate asn1c files
* Run `asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all seader.asn1` in in root to generate asn1c files
## References