diff --git a/lib/asn1/FrameProtocol.c b/lib/asn1/FrameProtocol.c index 5ed62d1..a282074 100644 --- a/lib/asn1/FrameProtocol.c +++ b/lib/asn1/FrameProtocol.c @@ -12,17 +12,19 @@ * so here we adjust the DEF accordingly. */ static const asn_INTEGER_enum_map_t asn_MAP_FrameProtocol_value2enum_1[] = { + { 0, 4, "none" }, { 2, 3, "nfc" }, { 4, 6, "iclass" } }; static const unsigned int asn_MAP_FrameProtocol_enum2value_1[] = { - 1, /* iclass(4) */ - 0 /* nfc(2) */ + 2, /* iclass(4) */ + 1, /* nfc(2) */ + 0 /* none(0) */ }; static const asn_INTEGER_specifics_t asn_SPC_FrameProtocol_specs_1 = { asn_MAP_FrameProtocol_value2enum_1, /* "tag" => N; sorted by tag */ asn_MAP_FrameProtocol_enum2value_1, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ + 3, /* Number of elements in the maps */ 0, /* Enumeration is not extensible */ 1, /* Strict enumeration */ 0, /* Native long size */ diff --git a/lib/asn1/FrameProtocol.h b/lib/asn1/FrameProtocol.h index b2041f2..4ff141a 100644 --- a/lib/asn1/FrameProtocol.h +++ b/lib/asn1/FrameProtocol.h @@ -20,6 +20,7 @@ extern "C" { /* Dependencies */ typedef enum FrameProtocol { + FrameProtocol_none = 0, FrameProtocol_nfc = 2, FrameProtocol_iclass = 4 } e_FrameProtocol; diff --git a/seader.asn1 b/seader.asn1 index d56000c..67b85d8 100644 --- a/seader.asn1 +++ b/seader.asn1 @@ -87,6 +87,7 @@ ContentElementTag ::= ENUMERATED { } FrameProtocol ::= ENUMERATED { + none (0), nfc (2), iclass (4) }