Files

289 lines
9.8 KiB
C
Raw Permalink Normal View History

/*
* Generated by asn1c
* From ASN.1 module "DENM-PDU-Description"
* found in "TS103831v231-DENM.asn"
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -fprefix=Vanetza_ITS2_ -R`
*/
#include "AlacarteContainer.h"
static asn_TYPE_member_t asn_MBR_Vanetza_ITS2_ext1_9[] = {
{ ATF_POINTER, 2, offsetof(struct Vanetza_ITS2_AlacarteContainer__ext1, roadConfiguration),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Vanetza_ITS2_RoadConfigurationContainer,
0,
{
#if !defined(ASN_DISABLE_OER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
#if !defined(ASN_DISABLE_JER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
0
},
0, 0, /* No default value */
"roadConfiguration"
},
{ ATF_POINTER, 1, offsetof(struct Vanetza_ITS2_AlacarteContainer__ext1, preCrash),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Vanetza_ITS2_PreCrashContainer,
0,
{
#if !defined(ASN_DISABLE_OER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
#if !defined(ASN_DISABLE_JER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
0
},
0, 0, /* No default value */
"preCrash"
},
};
static const int asn_MAP_Vanetza_ITS2_ext1_oms_9[] = { 0, 1 };
static const ber_tlv_tag_t asn_DEF_Vanetza_ITS2_ext1_tags_9[] = {
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_Vanetza_ITS2_ext1_tag2el_9[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* roadConfiguration */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* preCrash */
};
static asn_SEQUENCE_specifics_t asn_SPC_Vanetza_ITS2_ext1_specs_9 = {
sizeof(struct Vanetza_ITS2_AlacarteContainer__ext1),
offsetof(struct Vanetza_ITS2_AlacarteContainer__ext1, _asn_ctx),
asn_MAP_Vanetza_ITS2_ext1_tag2el_9,
2, /* Count of tags in the map */
asn_MAP_Vanetza_ITS2_ext1_oms_9, /* Optional members */
2, 0, /* Root/Additions */
-1, /* First extension addition */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_Vanetza_ITS2_ext1_9 = {
"ext1",
"ext1",
&asn_OP_SEQUENCE,
asn_DEF_Vanetza_ITS2_ext1_tags_9,
sizeof(asn_DEF_Vanetza_ITS2_ext1_tags_9)
/sizeof(asn_DEF_Vanetza_ITS2_ext1_tags_9[0]) - 1, /* 1 */
asn_DEF_Vanetza_ITS2_ext1_tags_9, /* Same as above */
sizeof(asn_DEF_Vanetza_ITS2_ext1_tags_9)
/sizeof(asn_DEF_Vanetza_ITS2_ext1_tags_9[0]), /* 2 */
{
#if !defined(ASN_DISABLE_OER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
#if !defined(ASN_DISABLE_JER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
SEQUENCE_constraint
},
asn_MBR_Vanetza_ITS2_ext1_9,
2, /* Elements count */
&asn_SPC_Vanetza_ITS2_ext1_specs_9 /* Additional specs */
};
asn_TYPE_member_t asn_MBR_Vanetza_ITS2_AlacarteContainer_1[] = {
{ ATF_POINTER, 7, offsetof(struct Vanetza_ITS2_AlacarteContainer, lanePosition),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Vanetza_ITS2_LanePosition,
0,
{
#if !defined(ASN_DISABLE_OER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
#if !defined(ASN_DISABLE_JER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
0
},
0, 0, /* No default value */
"lanePosition"
},
{ ATF_POINTER, 6, offsetof(struct Vanetza_ITS2_AlacarteContainer, impactReduction),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Vanetza_ITS2_ImpactReductionContainer,
0,
{
#if !defined(ASN_DISABLE_OER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
#if !defined(ASN_DISABLE_JER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
0
},
0, 0, /* No default value */
"impactReduction"
},
{ ATF_POINTER, 5, offsetof(struct Vanetza_ITS2_AlacarteContainer, externalTemperature),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Vanetza_ITS2_Temperature,
0,
{
#if !defined(ASN_DISABLE_OER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
#if !defined(ASN_DISABLE_JER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
0
},
0, 0, /* No default value */
"externalTemperature"
},
{ ATF_POINTER, 4, offsetof(struct Vanetza_ITS2_AlacarteContainer, roadWorks),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Vanetza_ITS2_RoadWorksContainerExtended,
0,
{
#if !defined(ASN_DISABLE_OER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
#if !defined(ASN_DISABLE_JER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
0
},
0, 0, /* No default value */
"roadWorks"
},
{ ATF_POINTER, 3, offsetof(struct Vanetza_ITS2_AlacarteContainer, positioningSolution),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Vanetza_ITS2_PositioningSolutionType,
0,
{
#if !defined(ASN_DISABLE_OER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
#if !defined(ASN_DISABLE_JER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
0
},
0, 0, /* No default value */
"positioningSolution"
},
{ ATF_POINTER, 2, offsetof(struct Vanetza_ITS2_AlacarteContainer, stationaryVehicle),
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Vanetza_ITS2_StationaryVehicleContainer,
0,
{
#if !defined(ASN_DISABLE_OER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
#if !defined(ASN_DISABLE_JER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
0
},
0, 0, /* No default value */
"stationaryVehicle"
},
{ ATF_POINTER, 1, offsetof(struct Vanetza_ITS2_AlacarteContainer, ext1),
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
0,
&asn_DEF_Vanetza_ITS2_ext1_9,
0,
{
#if !defined(ASN_DISABLE_OER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
#if !defined(ASN_DISABLE_JER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
0
},
0, 0, /* No default value */
"ext1"
},
};
static const int asn_MAP_Vanetza_ITS2_AlacarteContainer_oms_1[] = { 0, 1, 2, 3, 4, 5, 6 };
static const ber_tlv_tag_t asn_DEF_Vanetza_ITS2_AlacarteContainer_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_Vanetza_ITS2_AlacarteContainer_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lanePosition */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* impactReduction */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* externalTemperature */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* roadWorks */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* positioningSolution */
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* stationaryVehicle */
{ (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* ext1 */
};
asn_SEQUENCE_specifics_t asn_SPC_Vanetza_ITS2_AlacarteContainer_specs_1 = {
sizeof(struct Vanetza_ITS2_AlacarteContainer),
offsetof(struct Vanetza_ITS2_AlacarteContainer, _asn_ctx),
asn_MAP_Vanetza_ITS2_AlacarteContainer_tag2el_1,
7, /* Count of tags in the map */
asn_MAP_Vanetza_ITS2_AlacarteContainer_oms_1, /* Optional members */
6, 1, /* Root/Additions */
6, /* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_Vanetza_ITS2_AlacarteContainer = {
"AlacarteContainer",
"AlacarteContainer",
&asn_OP_SEQUENCE,
asn_DEF_Vanetza_ITS2_AlacarteContainer_tags_1,
sizeof(asn_DEF_Vanetza_ITS2_AlacarteContainer_tags_1)
/sizeof(asn_DEF_Vanetza_ITS2_AlacarteContainer_tags_1[0]), /* 1 */
asn_DEF_Vanetza_ITS2_AlacarteContainer_tags_1, /* Same as above */
sizeof(asn_DEF_Vanetza_ITS2_AlacarteContainer_tags_1)
/sizeof(asn_DEF_Vanetza_ITS2_AlacarteContainer_tags_1[0]), /* 1 */
{
#if !defined(ASN_DISABLE_OER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
#if !defined(ASN_DISABLE_JER_SUPPORT)
0,
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
SEQUENCE_constraint
},
asn_MBR_Vanetza_ITS2_AlacarteContainer_1,
7, /* Elements count */
&asn_SPC_Vanetza_ITS2_AlacarteContainer_specs_1 /* Additional specs */
};