diff --git a/lib/asn1/CardDetails.c b/lib/asn1/CardDetails.c index 904211c..46860f0 100644 --- a/lib/asn1/CardDetails.c +++ b/lib/asn1/CardDetails.c @@ -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 = { diff --git a/lib/asn1/CardDetails.h b/lib/asn1/CardDetails.h index a4a8ef8..a7637bd 100644 --- a/lib/asn1/CardDetails.h +++ b/lib/asn1/CardDetails.h @@ -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_ diff --git a/lib/asn1/CardDetected.c b/lib/asn1/CardDetected.c index c9a65b0..d710cf6 100644 --- a/lib/asn1/CardDetected.c +++ b/lib/asn1/CardDetected.c @@ -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" diff --git a/lib/asn1/CardDetected.h b/lib/asn1/CardDetected.h index fcec221..c95771c 100644 --- a/lib/asn1/CardDetected.h +++ b/lib/asn1/CardDetected.h @@ -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_ diff --git a/lib/asn1/ContentElementTag.c b/lib/asn1/ContentElementTag.c index 66e7deb..26ceeee 100644 --- a/lib/asn1/ContentElementTag.c +++ b/lib/asn1/ContentElementTag.c @@ -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 */ }; diff --git a/lib/asn1/ContentElementTag.h b/lib/asn1/ContentElementTag.h index 7d76c57..c8ae660 100644 --- a/lib/asn1/ContentElementTag.h +++ b/lib/asn1/ContentElementTag.h @@ -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 } diff --git a/lib/asn1/ErrorResponse.c b/lib/asn1/ErrorResponse.c index e02f1bd..542e7b3 100644 --- a/lib/asn1/ErrorResponse.c +++ b/lib/asn1/ErrorResponse.c @@ -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" diff --git a/lib/asn1/ErrorResponse.h b/lib/asn1/ErrorResponse.h index 1799ee6..d8bf1d0 100644 --- a/lib/asn1/ErrorResponse.h +++ b/lib/asn1/ErrorResponse.h @@ -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_ diff --git a/lib/asn1/FrameProtocol.c b/lib/asn1/FrameProtocol.c index 4308013..9c2ac32 100644 --- a/lib/asn1/FrameProtocol.c +++ b/lib/asn1/FrameProtocol.c @@ -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 */ }; diff --git a/lib/asn1/FrameProtocol.h b/lib/asn1/FrameProtocol.h index 4d454d6..8dc25db 100644 --- a/lib/asn1/FrameProtocol.h +++ b/lib/asn1/FrameProtocol.h @@ -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 } diff --git a/lib/asn1/NFCCommand.c b/lib/asn1/NFCCommand.c index 7a4d12f..452f317 100644 --- a/lib/asn1/NFCCommand.c +++ b/lib/asn1/NFCCommand.c @@ -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 */ diff --git a/lib/asn1/NFCCommand.h b/lib/asn1/NFCCommand.h index 3316a96..15453d5 100644 --- a/lib/asn1/NFCCommand.h +++ b/lib/asn1/NFCCommand.h @@ -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 } diff --git a/lib/asn1/NFCResponse.c b/lib/asn1/NFCResponse.c index 936bba3..e545c4f 100644 --- a/lib/asn1/NFCResponse.c +++ b/lib/asn1/NFCResponse.c @@ -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 */ diff --git a/lib/asn1/NFCResponse.h b/lib/asn1/NFCResponse.h index 288b6fa..02876a4 100644 --- a/lib/asn1/NFCResponse.h +++ b/lib/asn1/NFCResponse.h @@ -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 } diff --git a/lib/asn1/NFCRx.c b/lib/asn1/NFCRx.c index 15f9ed5..eac3970 100644 --- a/lib/asn1/NFCRx.c +++ b/lib/asn1/NFCRx.c @@ -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 = { diff --git a/lib/asn1/NFCRx.h b/lib/asn1/NFCRx.h index 1545c38..08d35bd 100644 --- a/lib/asn1/NFCRx.h +++ b/lib/asn1/NFCRx.h @@ -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_ diff --git a/lib/asn1/NFCSend.c b/lib/asn1/NFCSend.c index b8acd91..381f147 100644 --- a/lib/asn1/NFCSend.c +++ b/lib/asn1/NFCSend.c @@ -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 = { diff --git a/lib/asn1/NFCSend.h b/lib/asn1/NFCSend.h index e0f363b..790ef67 100644 --- a/lib/asn1/NFCSend.h +++ b/lib/asn1/NFCSend.h @@ -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_ diff --git a/lib/asn1/NoArguments.c b/lib/asn1/NoArguments.c index bb72ca0..f97a75d 100644 --- a/lib/asn1/NoArguments.c +++ b/lib/asn1/NoArguments.c @@ -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" diff --git a/lib/asn1/NoArguments.h b/lib/asn1/NoArguments.h index 153a001..c630763 100644 --- a/lib/asn1/NoArguments.h +++ b/lib/asn1/NoArguments.h @@ -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 } diff --git a/lib/asn1/PAC.c b/lib/asn1/PAC.c index 63d322f..458e648 100644 --- a/lib/asn1/PAC.c +++ b/lib/asn1/PAC.c @@ -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" diff --git a/lib/asn1/PAC.h b/lib/asn1/PAC.h index 81b1be0..5d44049 100644 --- a/lib/asn1/PAC.h +++ b/lib/asn1/PAC.h @@ -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 } diff --git a/lib/asn1/Payload.c b/lib/asn1/Payload.c index 0765e7e..f1d80bf 100644 --- a/lib/asn1/Payload.c +++ b/lib/asn1/Payload.c @@ -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 */ diff --git a/lib/asn1/Payload.h b/lib/asn1/Payload.h index ba3742e..f67f080 100644 --- a/lib/asn1/Payload.h +++ b/lib/asn1/Payload.h @@ -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_ diff --git a/lib/asn1/Protocol.c b/lib/asn1/Protocol.c index 338a0a4..5150af1 100644 --- a/lib/asn1/Protocol.c +++ b/lib/asn1/Protocol.c @@ -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" diff --git a/lib/asn1/Protocol.h b/lib/asn1/Protocol.h index bb0739a..1971dd4 100644 --- a/lib/asn1/Protocol.h +++ b/lib/asn1/Protocol.h @@ -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 } diff --git a/lib/asn1/RequestPacs.c b/lib/asn1/RequestPacs.c index eec0b33..3fa8297 100644 --- a/lib/asn1/RequestPacs.c +++ b/lib/asn1/RequestPacs.c @@ -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" diff --git a/lib/asn1/RequestPacs.h b/lib/asn1/RequestPacs.h index 365f8e1..8a1b6c4 100644 --- a/lib/asn1/RequestPacs.h +++ b/lib/asn1/RequestPacs.h @@ -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_ diff --git a/lib/asn1/Response.c b/lib/asn1/Response.c index e5f5964..dc97a66 100644 --- a/lib/asn1/Response.c +++ b/lib/asn1/Response.c @@ -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 */ diff --git a/lib/asn1/Response.h b/lib/asn1/Response.h index e2c0705..0c8a5a6 100644 --- a/lib/asn1/Response.h +++ b/lib/asn1/Response.h @@ -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 } diff --git a/lib/asn1/RfStatus.c b/lib/asn1/RfStatus.c index 51e6bda..b1cf372 100644 --- a/lib/asn1/RfStatus.c +++ b/lib/asn1/RfStatus.c @@ -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" diff --git a/lib/asn1/RfStatus.h b/lib/asn1/RfStatus.h index e662d68..19c7a04 100644 --- a/lib/asn1/RfStatus.h +++ b/lib/asn1/RfStatus.h @@ -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 } diff --git a/lib/asn1/SamCommand.c b/lib/asn1/SamCommand.c index 76f03a6..62fa25c 100644 --- a/lib/asn1/SamCommand.c +++ b/lib/asn1/SamCommand.c @@ -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 */ diff --git a/lib/asn1/SamCommand.h b/lib/asn1/SamCommand.h index 1b9bd36..5a54018 100644 --- a/lib/asn1/SamCommand.h +++ b/lib/asn1/SamCommand.h @@ -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 } diff --git a/lib/asn1/SamResponse.c b/lib/asn1/SamResponse.c index 6b491d0..804b95d 100644 --- a/lib/asn1/SamResponse.c +++ b/lib/asn1/SamResponse.c @@ -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" diff --git a/lib/asn1/SamResponse.h b/lib/asn1/SamResponse.h index 5ff8334..c3e0357 100644 --- a/lib/asn1/SamResponse.h +++ b/lib/asn1/SamResponse.h @@ -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 } diff --git a/lib/asn1/SamVersion.c b/lib/asn1/SamVersion.c index cfd34bd..6814790 100644 --- a/lib/asn1/SamVersion.c +++ b/lib/asn1/SamVersion.c @@ -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" diff --git a/lib/asn1/SamVersion.h b/lib/asn1/SamVersion.h index b356fcc..d091591 100644 --- a/lib/asn1/SamVersion.h +++ b/lib/asn1/SamVersion.h @@ -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_ diff --git a/readme.md b/readme.md index 05df100..4f9f388 100644 --- a/readme.md +++ b/readme.md @@ -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