Add none FrameProtocol ref #30

This commit is contained in:
Eric Betts
2026-03-07 12:48:59 -08:00
parent 810f143242
commit c83adbfb95
3 changed files with 7 additions and 3 deletions

View File

@@ -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 */

View File

@@ -20,6 +20,7 @@ extern "C" {
/* Dependencies */
typedef enum FrameProtocol {
FrameProtocol_none = 0,
FrameProtocol_nfc = 2,
FrameProtocol_iclass = 4
} e_FrameProtocol;

View File

@@ -87,6 +87,7 @@ ContentElementTag ::= ENUMERATED {
}
FrameProtocol ::= ENUMERATED {
none (0),
nfc (2),
iclass (4)
}