src
vam_ts_AltitudeConfidence.c
Go to the documentation of this file.
1
/*
2
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3
* From ASN.1 module "ETSI-ITS-CDD"
4
* found in "/input/ETSI-ITS-CDD.asn"
5
* `asn1c -fcompound-names -fprefix=vam_ts_ -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-example -gen-UPER -gen-JER`
6
*/
7
8
#include "
etsi_its_vam_ts_coding/vam_ts_AltitudeConfidence.h
"
9
10
/*
11
* This type is implemented using NativeEnumerated,
12
* so here we adjust the DEF accordingly.
13
*/
14
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
15
asn_per_constraints_t
asn_PER_type_vam_ts_AltitudeConfidence_constr_1
CC_NOTUSED
= {
16
{ APC_CONSTRAINED, 4, 4, 0, 15 }
/* (0..15) */
,
17
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
18
0, 0
/* No PER value map */
19
};
20
#endif
/* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
21
static
const
asn_INTEGER_enum_map_t
asn_MAP_vam_ts_AltitudeConfidence_value2enum_1
[] = {
22
{ 0, 10,
"alt-000-01"
},
23
{ 1, 10,
"alt-000-02"
},
24
{ 2, 10,
"alt-000-05"
},
25
{ 3, 10,
"alt-000-10"
},
26
{ 4, 10,
"alt-000-20"
},
27
{ 5, 10,
"alt-000-50"
},
28
{ 6, 10,
"alt-001-00"
},
29
{ 7, 10,
"alt-002-00"
},
30
{ 8, 10,
"alt-005-00"
},
31
{ 9, 10,
"alt-010-00"
},
32
{ 10, 10,
"alt-020-00"
},
33
{ 11, 10,
"alt-050-00"
},
34
{ 12, 10,
"alt-100-00"
},
35
{ 13, 10,
"alt-200-00"
},
36
{ 14, 10,
"outOfRange"
},
37
{ 15, 11,
"unavailable"
}
38
};
39
static
const
unsigned
int
asn_MAP_vam_ts_AltitudeConfidence_enum2value_1
[] = {
40
0,
/* alt-000-01(0) */
41
1,
/* alt-000-02(1) */
42
2,
/* alt-000-05(2) */
43
3,
/* alt-000-10(3) */
44
4,
/* alt-000-20(4) */
45
5,
/* alt-000-50(5) */
46
6,
/* alt-001-00(6) */
47
7,
/* alt-002-00(7) */
48
8,
/* alt-005-00(8) */
49
9,
/* alt-010-00(9) */
50
10,
/* alt-020-00(10) */
51
11,
/* alt-050-00(11) */
52
12,
/* alt-100-00(12) */
53
13,
/* alt-200-00(13) */
54
14,
/* outOfRange(14) */
55
15
/* unavailable(15) */
56
};
57
const
asn_INTEGER_specifics_t
asn_SPC_vam_ts_AltitudeConfidence_specs_1
= {
58
asn_MAP_vam_ts_AltitudeConfidence_value2enum_1
,
/* "tag" => N; sorted by tag */
59
asn_MAP_vam_ts_AltitudeConfidence_enum2value_1
,
/* N => "tag"; sorted by N */
60
16,
/* Number of elements in the maps */
61
0,
/* Enumeration is not extensible */
62
1,
/* Strict enumeration */
63
0,
/* Native long size */
64
0
65
};
66
static
const
ber_tlv_tag_t
asn_DEF_vam_ts_AltitudeConfidence_tags_1
[] = {
67
(
ASN_TAG_CLASS_UNIVERSAL
| (10 << 2))
68
};
69
asn_TYPE_descriptor_t
asn_DEF_vam_ts_AltitudeConfidence
= {
70
"AltitudeConfidence"
,
71
"AltitudeConfidence"
,
72
&
asn_OP_NativeEnumerated
,
73
asn_DEF_vam_ts_AltitudeConfidence_tags_1
,
74
sizeof
(
asn_DEF_vam_ts_AltitudeConfidence_tags_1
)
75
/
sizeof
(
asn_DEF_vam_ts_AltitudeConfidence_tags_1
[0]),
/* 1 */
76
asn_DEF_vam_ts_AltitudeConfidence_tags_1
,
/* Same as above */
77
sizeof
(
asn_DEF_vam_ts_AltitudeConfidence_tags_1
)
78
/
sizeof
(
asn_DEF_vam_ts_AltitudeConfidence_tags_1
[0]),
/* 1 */
79
{
80
#if !defined(ASN_DISABLE_OER_SUPPORT)
81
0,
82
#endif
/* !defined(ASN_DISABLE_OER_SUPPORT) */
83
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
84
&
asn_PER_type_vam_ts_AltitudeConfidence_constr_1
,
85
#endif
/* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
86
#if !defined(ASN_DISABLE_JER_SUPPORT)
87
0,
88
#endif
/* !defined(ASN_DISABLE_JER_SUPPORT) */
89
NativeEnumerated_constraint
90
},
91
0, 0,
/* Defined elsewhere */
92
&
asn_SPC_vam_ts_AltitudeConfidence_specs_1
/* Additional specs */
93
};
94
asn_DEF_vam_ts_AltitudeConfidence
asn_TYPE_descriptor_t asn_DEF_vam_ts_AltitudeConfidence
Definition:
vam_ts_AltitudeConfidence.c:69
ber_tlv_tag_t
unsigned ber_tlv_tag_t
Definition:
ber_tlv_tag.h:18
ASN_TAG_CLASS_UNIVERSAL
@ ASN_TAG_CLASS_UNIVERSAL
Definition:
ber_tlv_tag.h:13
NativeEnumerated_constraint
#define NativeEnumerated_constraint
Definition:
NativeEnumerated.h:34
asn_TYPE_descriptor_s
Definition:
constr_TYPE.h:224
asn_OP_NativeEnumerated
asn_TYPE_operation_t asn_OP_NativeEnumerated
Definition:
NativeEnumerated.c:21
asn_INTEGER_specifics_s
Definition:
INTEGER.h:28
asn_SPC_vam_ts_AltitudeConfidence_specs_1
const asn_INTEGER_specifics_t asn_SPC_vam_ts_AltitudeConfidence_specs_1
Definition:
vam_ts_AltitudeConfidence.c:57
asn_PER_type_vam_ts_AltitudeConfidence_constr_1
asn_per_constraints_t asn_PER_type_vam_ts_AltitudeConfidence_constr_1
asn_DEF_vam_ts_AltitudeConfidence_tags_1
static const ber_tlv_tag_t asn_DEF_vam_ts_AltitudeConfidence_tags_1[]
Definition:
vam_ts_AltitudeConfidence.c:66
asn_MAP_vam_ts_AltitudeConfidence_value2enum_1
static const asn_INTEGER_enum_map_t asn_MAP_vam_ts_AltitudeConfidence_value2enum_1[]
Definition:
vam_ts_AltitudeConfidence.c:21
CC_NOTUSED
asn_per_constraints_t asn_PER_type_vam_ts_AltitudeConfidence_constr_1 CC_NOTUSED
Definition:
vam_ts_AltitudeConfidence.c:15
asn_per_constraints_s
Definition:
per_support.h:30
asn_MAP_vam_ts_AltitudeConfidence_enum2value_1
static const unsigned int asn_MAP_vam_ts_AltitudeConfidence_enum2value_1[]
Definition:
vam_ts_AltitudeConfidence.c:39
vam_ts_AltitudeConfidence.h
asn_INTEGER_enum_map_s
Definition:
INTEGER.h:21
etsi_its_vam_ts_coding
Author(s): Jean-Pierre Busch
, Guido Küppers
, Lennart Reiher
autogenerated on Sun May 18 2025 02:30:55