obu-firmware builds against vanetza-idf from microbu-esp32c5/external, but that tree was gitignored, so a clone of this repository could not build the firmware it ships. It is now committed here as ordinary files in its own folder, microbu-esp32c5/: the colleague's commit cf4b99f plus the V2X2MAP bridge's signature verification (--trust) used on the bench. Nothing is fetched from or pushed to the colleague's repository; this repository and its remotes carry everything. The folder's own .gitignore keeps build output, downloaded components and private key material out, as it did there; the committed file set is identical to that repository's tracked files. The ESP32-C5 is still flashed from obu-firmware/, which only takes vanetza-idf from microbu-esp32c5/, so the two stay separate folders. FLASHING.md says how to take a newer version of the colleague's tree (copy it over the folder, rebuild, test, commit).
67 lines
1.5 KiB
C
67 lines
1.5 KiB
C
/*
|
|
* Generated by asn1c
|
|
* From ASN.1 module "CPM-PDU-Descriptions"
|
|
* found in "TR103562v211-CPM.asn"
|
|
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
|
*/
|
|
|
|
#ifndef _ObjectClass_H_
|
|
#define _ObjectClass_H_
|
|
|
|
|
|
#include "asn_application.h"
|
|
|
|
/* Including external dependencies */
|
|
#include "ClassConfidence.h"
|
|
#include "VehicleSubclass.h"
|
|
#include "PersonSubclass.h"
|
|
#include "AnimalSubclass.h"
|
|
#include "OtherSubclass.h"
|
|
#include "constr_CHOICE.h"
|
|
#include "constr_SEQUENCE.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Dependencies */
|
|
typedef enum ObjectClass__class_PR {
|
|
ObjectClass__class_PR_NOTHING, /* No components present */
|
|
ObjectClass__class_PR_vehicle,
|
|
ObjectClass__class_PR_person,
|
|
ObjectClass__class_PR_animal,
|
|
ObjectClass__class_PR_other
|
|
} ObjectClass__class_PR;
|
|
|
|
/* ObjectClass */
|
|
typedef struct ObjectClass {
|
|
ClassConfidence_t confidence;
|
|
struct ObjectClass__class {
|
|
ObjectClass__class_PR present;
|
|
union ObjectClass__class_u {
|
|
VehicleSubclass_t vehicle;
|
|
PersonSubclass_t person;
|
|
AnimalSubclass_t animal;
|
|
OtherSubclass_t other;
|
|
} choice;
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} Class;
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} ObjectClass_t;
|
|
|
|
/* Implementation */
|
|
extern asn_TYPE_descriptor_t asn_DEF_ObjectClass;
|
|
extern asn_SEQUENCE_specifics_t asn_SPC_ObjectClass_specs_1;
|
|
extern asn_TYPE_member_t asn_MBR_ObjectClass_1[2];
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _ObjectClass_H_ */
|
|
#include "asn_internal.h"
|