Keep vanetza-idf in obu-firmware, so a plain clone builds the firmware
obu-firmware builds against the vanetza-idf C-ITS library, which until now came from the colleague's microbu-esp32c5 tree beside the repository and was not tracked here, so a clone of this repository could not build the firmware it ships. The library alone is now part of obu-firmware, as obu-firmware/external/vanetza-idf: their external/vanetza-idf at commit cf4b99f, unchanged (9775 files; see its PROVENANCE.md). CMake takes it from there by default; -DVANETZA_IDF_DIR still points the build elsewhere. The rest of the colleague's tree (their own VAM firmware, PKI tooling, station-link Python tools, the V2X2MAP bridge) stays out of this repository and gitignored; nothing is pushed to their repository. NOTES.md, docs/06, TODO.md and the pcap verifier's usage line point at the new location.
This commit is contained in:
@@ -0,0 +1,372 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "LaneInformation.h"
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_ext1_10[] = {
|
||||
{ ATF_POINTER, 5, offsetof(struct LaneInformation__ext1, detectionZoneIds),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ZoneIds,
|
||||
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 */
|
||||
"detectionZoneIds"
|
||||
},
|
||||
{ ATF_POINTER, 4, offsetof(struct LaneInformation__ext1, relevanceZoneIds),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ZoneIds,
|
||||
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 */
|
||||
"relevanceZoneIds"
|
||||
},
|
||||
{ ATF_POINTER, 3, offsetof(struct LaneInformation__ext1, laneCharacteristics),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_LaneCharacteristics,
|
||||
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 */
|
||||
"laneCharacteristics"
|
||||
},
|
||||
{ ATF_POINTER, 2, offsetof(struct LaneInformation__ext1, laneSurfaceStaticCharacteristics),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_RoadSurfaceStaticCharacteristics,
|
||||
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 */
|
||||
"laneSurfaceStaticCharacteristics"
|
||||
},
|
||||
{ ATF_POINTER, 1, offsetof(struct LaneInformation__ext1, laneSurfaceDynamicCharacteristics),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_RoadSurfaceDynamicCharacteristics,
|
||||
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 */
|
||||
"laneSurfaceDynamicCharacteristics"
|
||||
},
|
||||
};
|
||||
static const int asn_MAP_ext1_oms_10[] = { 0, 1, 2, 3, 4 };
|
||||
static const ber_tlv_tag_t asn_DEF_ext1_tags_10[] = {
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)),
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_ext1_tag2el_10[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* detectionZoneIds */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* relevanceZoneIds */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* laneCharacteristics */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* laneSurfaceStaticCharacteristics */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* laneSurfaceDynamicCharacteristics */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_ext1_specs_10 = {
|
||||
sizeof(struct LaneInformation__ext1),
|
||||
offsetof(struct LaneInformation__ext1, _asn_ctx),
|
||||
asn_MAP_ext1_tag2el_10,
|
||||
5, /* Count of tags in the map */
|
||||
asn_MAP_ext1_oms_10, /* Optional members */
|
||||
5, 0, /* Root/Additions */
|
||||
-1, /* First extension addition */
|
||||
};
|
||||
static /* Use -fall-defs-global to expose */
|
||||
asn_TYPE_descriptor_t asn_DEF_ext1_10 = {
|
||||
"ext1",
|
||||
"ext1",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_ext1_tags_10,
|
||||
sizeof(asn_DEF_ext1_tags_10)
|
||||
/sizeof(asn_DEF_ext1_tags_10[0]) - 1, /* 1 */
|
||||
asn_DEF_ext1_tags_10, /* Same as above */
|
||||
sizeof(asn_DEF_ext1_tags_10)
|
||||
/sizeof(asn_DEF_ext1_tags_10[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_ext1_10,
|
||||
5, /* Elements count */
|
||||
&asn_SPC_ext1_specs_10 /* Additional specs */
|
||||
};
|
||||
|
||||
asn_TYPE_member_t asn_MBR_LaneInformation_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct LaneInformation, laneNumber),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_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 */
|
||||
"laneNumber"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct LaneInformation, direction),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Direction,
|
||||
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 */
|
||||
"direction"
|
||||
},
|
||||
{ ATF_POINTER, 1, offsetof(struct LaneInformation, validity),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_InternationalSign_applicablePeriod,
|
||||
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 */
|
||||
"validity"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct LaneInformation, laneType),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_LaneType,
|
||||
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 */
|
||||
"laneType"
|
||||
},
|
||||
{ ATF_POINTER, 1, offsetof(struct LaneInformation, laneTypeQualifier),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_CompleteVehicleCharacteristics,
|
||||
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 */
|
||||
"laneTypeQualifier"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct LaneInformation, laneStatus),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_LaneStatus,
|
||||
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 */
|
||||
"laneStatus"
|
||||
},
|
||||
{ ATF_POINTER, 2, offsetof(struct LaneInformation, laneWidth),
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_IviLaneWidth,
|
||||
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 */
|
||||
"laneWidth"
|
||||
},
|
||||
{ ATF_POINTER, 1, offsetof(struct LaneInformation, ext1),
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)),
|
||||
0,
|
||||
&asn_DEF_ext1_10,
|
||||
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_LaneInformation_oms_1[] = { 2, 4, 6, 7 };
|
||||
static const ber_tlv_tag_t asn_DEF_LaneInformation_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_LaneInformation_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* laneNumber */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* direction */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* validity */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* laneType */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* laneTypeQualifier */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* laneStatus */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* laneWidth */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* ext1 */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_LaneInformation_specs_1 = {
|
||||
sizeof(struct LaneInformation),
|
||||
offsetof(struct LaneInformation, _asn_ctx),
|
||||
asn_MAP_LaneInformation_tag2el_1,
|
||||
8, /* Count of tags in the map */
|
||||
asn_MAP_LaneInformation_oms_1, /* Optional members */
|
||||
3, 1, /* Root/Additions */
|
||||
7, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_LaneInformation = {
|
||||
"LaneInformation",
|
||||
"LaneInformation",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_LaneInformation_tags_1,
|
||||
sizeof(asn_DEF_LaneInformation_tags_1)
|
||||
/sizeof(asn_DEF_LaneInformation_tags_1[0]), /* 1 */
|
||||
asn_DEF_LaneInformation_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_LaneInformation_tags_1)
|
||||
/sizeof(asn_DEF_LaneInformation_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_LaneInformation_1,
|
||||
8, /* Elements count */
|
||||
&asn_SPC_LaneInformation_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user