136 lines
4.6 KiB
C
136 lines
4.6 KiB
C
/*
|
|||
|
|
* Generated by asn1c
|
||
|
|
* From ASN.1 module "ETSI-ITS-CDD"
|
||
|
|
* found in "TS102894-2v241-CDD.asn"
|
||
|
|
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -fprefix=Vanetza_ITS2_ -R`
|
||
|
|
*/
|
||
|
|
|
||
|
|
#include "ReferencePosition.h"
|
||
|
|
|
||
|
|
asn_TYPE_member_t asn_MBR_Vanetza_ITS2_ReferencePosition_1[] = {
|
||
|
|
{ ATF_NOFLAGS, 0, offsetof(struct Vanetza_ITS2_ReferencePosition, latitude),
|
||
|
|
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||
|
|
-1, /* IMPLICIT tag at current level */
|
||
|
|
&asn_DEF_Vanetza_ITS2_Latitude,
|
||
|
|
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 */
|
||
|
|
"latitude"
|
||
|
|
},
|
||
|
|
{ ATF_NOFLAGS, 0, offsetof(struct Vanetza_ITS2_ReferencePosition, longitude),
|
||
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||
|
|
-1, /* IMPLICIT tag at current level */
|
||
|
|
&asn_DEF_Vanetza_ITS2_Longitude,
|
||
|
|
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 */
|
||
|
|
"longitude"
|
||
|
|
},
|
||
|
|
{ ATF_NOFLAGS, 0, offsetof(struct Vanetza_ITS2_ReferencePosition, positionConfidenceEllipse),
|
||
|
|
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||
|
|
-1, /* IMPLICIT tag at current level */
|
||
|
|
&asn_DEF_Vanetza_ITS2_PosConfidenceEllipse,
|
||
|
|
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 */
|
||
|
|
"positionConfidenceEllipse"
|
||
|
|
},
|
||
|
|
{ ATF_NOFLAGS, 0, offsetof(struct Vanetza_ITS2_ReferencePosition, altitude),
|
||
|
|
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
||
|
|
-1, /* IMPLICIT tag at current level */
|
||
|
|
&asn_DEF_Vanetza_ITS2_Altitude,
|
||
|
|
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 */
|
||
|
|
"altitude"
|
||
|
|
},
|
||
|
|
};
|
||
|
|
static const ber_tlv_tag_t asn_DEF_Vanetza_ITS2_ReferencePosition_tags_1[] = {
|
||
|
|
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||
|
|
};
|
||
|
|
static const asn_TYPE_tag2member_t asn_MAP_Vanetza_ITS2_ReferencePosition_tag2el_1[] = {
|
||
|
|
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* latitude */
|
||
|
|
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* longitude */
|
||
|
|
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* positionConfidenceEllipse */
|
||
|
|
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* altitude */
|
||
|
|
};
|
||
|
|
asn_SEQUENCE_specifics_t asn_SPC_Vanetza_ITS2_ReferencePosition_specs_1 = {
|
||
|
|
sizeof(struct Vanetza_ITS2_ReferencePosition),
|
||
|
|
offsetof(struct Vanetza_ITS2_ReferencePosition, _asn_ctx),
|
||
|
|
asn_MAP_Vanetza_ITS2_ReferencePosition_tag2el_1,
|
||
|
|
4, /* Count of tags in the map */
|
||
|
|
0, 0, 0, /* Optional elements (not needed) */
|
||
|
|
-1, /* First extension addition */
|
||
|
|
};
|
||
|
|
asn_TYPE_descriptor_t asn_DEF_Vanetza_ITS2_ReferencePosition = {
|
||
|
|
"ReferencePosition",
|
||
|
|
"ReferencePosition",
|
||
|
|
&asn_OP_SEQUENCE,
|
||
|
|
asn_DEF_Vanetza_ITS2_ReferencePosition_tags_1,
|
||
|
|
sizeof(asn_DEF_Vanetza_ITS2_ReferencePosition_tags_1)
|
||
|
|
/sizeof(asn_DEF_Vanetza_ITS2_ReferencePosition_tags_1[0]), /* 1 */
|
||
|
|
asn_DEF_Vanetza_ITS2_ReferencePosition_tags_1, /* Same as above */
|
||
|
|
sizeof(asn_DEF_Vanetza_ITS2_ReferencePosition_tags_1)
|
||
|
|
/sizeof(asn_DEF_Vanetza_ITS2_ReferencePosition_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_ReferencePosition_1,
|
||
|
|
4, /* Elements count */
|
||
|
|
&asn_SPC_Vanetza_ITS2_ReferencePosition_specs_1 /* Additional specs */
|
||
|
|
};
|
||
|
|
|