src
cam_ts_MapPosition.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=cam_ts_ -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-example -gen-UPER -gen-JER`
6
*/
7
8
#include "
etsi_its_cam_ts_coding/cam_ts_MapPosition.h
"
9
10
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
11
asn_per_constraints_t
asn_PER_type_cam_ts_MapPosition_constr_1
CC_NOTUSED
= {
12
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
13
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
14
0, 0
/* No PER value map */
15
};
16
#endif
/* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
17
asn_TYPE_member_t
asn_MBR_cam_ts_MapPosition_1
[] = {
18
{
ATF_POINTER
, 4,
offsetof
(
struct
cam_ts_MapPosition
, mapReference),
19
(
ASN_TAG_CLASS_CONTEXT
| (0 << 2)),
20
+1,
/* EXPLICIT tag at current level */
21
&
asn_DEF_cam_ts_MapReference
,
22
0,
23
{
24
#if !defined(ASN_DISABLE_OER_SUPPORT)
25
0,
26
#endif
/* !defined(ASN_DISABLE_OER_SUPPORT) */
27
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
28
0,
29
#endif
/* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
30
#if !defined(ASN_DISABLE_JER_SUPPORT)
31
0,
32
#endif
/* !defined(ASN_DISABLE_JER_SUPPORT) */
33
0
34
},
35
0, 0,
/* No default value */
36
"mapReference"
37
},
38
{
ATF_POINTER
, 3,
offsetof
(
struct
cam_ts_MapPosition
, laneId),
39
(
ASN_TAG_CLASS_CONTEXT
| (1 << 2)),
40
-1,
/* IMPLICIT tag at current level */
41
&
asn_DEF_cam_ts_Identifier1B
,
42
0,
43
{
44
#if !defined(ASN_DISABLE_OER_SUPPORT)
45
0,
46
#endif
/* !defined(ASN_DISABLE_OER_SUPPORT) */
47
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
48
0,
49
#endif
/* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
50
#if !defined(ASN_DISABLE_JER_SUPPORT)
51
0,
52
#endif
/* !defined(ASN_DISABLE_JER_SUPPORT) */
53
0
54
},
55
0, 0,
/* No default value */
56
"laneId"
57
},
58
{
ATF_POINTER
, 2,
offsetof
(
struct
cam_ts_MapPosition
, connectionId),
59
(
ASN_TAG_CLASS_CONTEXT
| (2 << 2)),
60
-1,
/* IMPLICIT tag at current level */
61
&
asn_DEF_cam_ts_Identifier1B
,
62
0,
63
{
64
#if !defined(ASN_DISABLE_OER_SUPPORT)
65
0,
66
#endif
/* !defined(ASN_DISABLE_OER_SUPPORT) */
67
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
68
0,
69
#endif
/* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
70
#if !defined(ASN_DISABLE_JER_SUPPORT)
71
0,
72
#endif
/* !defined(ASN_DISABLE_JER_SUPPORT) */
73
0
74
},
75
0, 0,
/* No default value */
76
"connectionId"
77
},
78
{
ATF_POINTER
, 1,
offsetof
(
struct
cam_ts_MapPosition
, longitudinalLanePosition),
79
(
ASN_TAG_CLASS_CONTEXT
| (3 << 2)),
80
-1,
/* IMPLICIT tag at current level */
81
&
asn_DEF_cam_ts_LongitudinalLanePosition
,
82
0,
83
{
84
#if !defined(ASN_DISABLE_OER_SUPPORT)
85
0,
86
#endif
/* !defined(ASN_DISABLE_OER_SUPPORT) */
87
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
88
0,
89
#endif
/* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
90
#if !defined(ASN_DISABLE_JER_SUPPORT)
91
0,
92
#endif
/* !defined(ASN_DISABLE_JER_SUPPORT) */
93
0
94
},
95
0, 0,
/* No default value */
96
"longitudinalLanePosition"
97
},
98
};
99
static
const
int
asn_MAP_cam_ts_MapPosition_oms_1
[] = { 0, 1, 2, 3 };
100
static
const
ber_tlv_tag_t
asn_DEF_cam_ts_MapPosition_tags_1
[] = {
101
(
ASN_TAG_CLASS_UNIVERSAL
| (16 << 2))
102
};
103
static
const
asn_TYPE_tag2member_t
asn_MAP_cam_ts_MapPosition_tag2el_1
[] = {
104
{ (
ASN_TAG_CLASS_CONTEXT
| (0 << 2)), 0, 0, 0 },
/* mapReference */
105
{ (
ASN_TAG_CLASS_CONTEXT
| (1 << 2)), 1, 0, 0 },
/* laneId */
106
{ (
ASN_TAG_CLASS_CONTEXT
| (2 << 2)), 2, 0, 0 },
/* connectionId */
107
{ (
ASN_TAG_CLASS_CONTEXT
| (3 << 2)), 3, 0, 0 }
/* longitudinalLanePosition */
108
};
109
asn_SEQUENCE_specifics_t
asn_SPC_cam_ts_MapPosition_specs_1
= {
110
sizeof
(
struct
cam_ts_MapPosition
),
111
offsetof
(struct
cam_ts_MapPosition
,
_asn_ctx
),
112
asn_MAP_cam_ts_MapPosition_tag2el_1
,
113
4,
/* Count of tags in the map */
114
asn_MAP_cam_ts_MapPosition_oms_1
,
/* Optional members */
115
4, 0,
/* Root/Additions */
116
4,
/* First extension addition */
117
};
118
asn_TYPE_descriptor_t
asn_DEF_cam_ts_MapPosition
= {
119
"MapPosition"
,
120
"MapPosition"
,
121
&
asn_OP_SEQUENCE
,
122
asn_DEF_cam_ts_MapPosition_tags_1
,
123
sizeof
(
asn_DEF_cam_ts_MapPosition_tags_1
)
124
/
sizeof
(
asn_DEF_cam_ts_MapPosition_tags_1
[0]),
/* 1 */
125
asn_DEF_cam_ts_MapPosition_tags_1
,
/* Same as above */
126
sizeof
(
asn_DEF_cam_ts_MapPosition_tags_1
)
127
/
sizeof
(
asn_DEF_cam_ts_MapPosition_tags_1
[0]),
/* 1 */
128
{
129
#if !defined(ASN_DISABLE_OER_SUPPORT)
130
0,
131
#endif
/* !defined(ASN_DISABLE_OER_SUPPORT) */
132
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
133
&
asn_PER_type_cam_ts_MapPosition_constr_1
,
134
#endif
/* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
135
#if !defined(ASN_DISABLE_JER_SUPPORT)
136
0,
137
#endif
/* !defined(ASN_DISABLE_JER_SUPPORT) */
138
SEQUENCE_constraint
139
},
140
asn_MBR_cam_ts_MapPosition_1
,
141
4,
/* Elements count */
142
&
asn_SPC_cam_ts_MapPosition_specs_1
/* Additional specs */
143
};
144
asn_MBR_cam_ts_MapPosition_1
asn_TYPE_member_t asn_MBR_cam_ts_MapPosition_1[]
Definition:
cam_ts_MapPosition.c:17
asn_OP_SEQUENCE
asn_TYPE_operation_t asn_OP_SEQUENCE
Definition:
constr_SEQUENCE.c:9
asn_DEF_cam_ts_MapReference
asn_TYPE_descriptor_t asn_DEF_cam_ts_MapReference
Definition:
cam_ts_MapReference.c:73
cam_ts_MapPosition
Definition:
cam_ts_MapPosition.h:27
ASN_TAG_CLASS_CONTEXT
@ ASN_TAG_CLASS_CONTEXT
Definition:
ber_tlv_tag.h:15
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
asn_DEF_cam_ts_LongitudinalLanePosition
asn_TYPE_descriptor_t asn_DEF_cam_ts_LongitudinalLanePosition
Definition:
cam_ts_LongitudinalLanePosition.c:67
asn_MAP_cam_ts_MapPosition_oms_1
static const int asn_MAP_cam_ts_MapPosition_oms_1[]
Definition:
cam_ts_MapPosition.c:99
asn_TYPE_tag2member_s
Definition:
constr_TYPE.h:289
ATF_POINTER
@ ATF_POINTER
Definition:
constr_TYPE.h:268
SEQUENCE_constraint
asn_constr_check_f SEQUENCE_constraint
Definition:
constr_SEQUENCE.h:56
asn_TYPE_descriptor_s
Definition:
constr_TYPE.h:224
offsetof
#define offsetof(s, m)
Definition:
asn_system.h:132
asn_MAP_cam_ts_MapPosition_tag2el_1
static const asn_TYPE_tag2member_t asn_MAP_cam_ts_MapPosition_tag2el_1[]
Definition:
cam_ts_MapPosition.c:103
asn_DEF_cam_ts_MapPosition_tags_1
static const ber_tlv_tag_t asn_DEF_cam_ts_MapPosition_tags_1[]
Definition:
cam_ts_MapPosition.c:100
asn_DEF_cam_ts_MapPosition
asn_TYPE_descriptor_t asn_DEF_cam_ts_MapPosition
Definition:
cam_ts_MapPosition.c:118
cam_ts_MapPosition::_asn_ctx
asn_struct_ctx_t _asn_ctx
Definition:
cam_ts_MapPosition.h:38
asn_SEQUENCE_specifics_s
Definition:
constr_SEQUENCE.h:14
asn_SPC_cam_ts_MapPosition_specs_1
asn_SEQUENCE_specifics_t asn_SPC_cam_ts_MapPosition_specs_1
Definition:
cam_ts_MapPosition.c:109
asn_PER_type_cam_ts_MapPosition_constr_1
asn_per_constraints_t asn_PER_type_cam_ts_MapPosition_constr_1
asn_DEF_cam_ts_Identifier1B
asn_TYPE_descriptor_t asn_DEF_cam_ts_Identifier1B
Definition:
cam_ts_Identifier1B.c:49
asn_per_constraints_s
Definition:
per_support.h:30
asn_TYPE_member_s
Definition:
constr_TYPE.h:272
cam_ts_MapPosition.h
CC_NOTUSED
asn_per_constraints_t asn_PER_type_cam_ts_MapPosition_constr_1 CC_NOTUSED
Definition:
cam_ts_MapPosition.c:11
etsi_its_cam_ts_coding
Author(s): Jean-Pierre Busch
, Guido Küppers
, Lennart Reiher
autogenerated on Sun May 18 2025 02:21:22