-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified: src/tmx/Asn_J2735/CMakeLists.txt
deleted: src/tmx/Asn_J2735/changeBracketsToQuotes new folder: src/tmx/Asn_J2735/include/asn_j2735_r2023 new folder: src/tmx/Asn_J2735/src/r2023 deleted: src/tmx/Asn_J2735/regenerate.sh modified: src/tmx/TmxUtils/test/J2735MessageTest.cpp modified: src/tmx/tmx.doxyfile modified: src/v2i-hub/MessageLoggerPlugin/src/MessageLoggerPlugin.cpp
- Loading branch information
1 parent
a8b9052
commit b55507a
Showing
1,658 changed files
with
163,211 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
/*- | ||
* Copyright (c) 2004-2017 Lev Walkin <vlm@lionet.info>. All rights reserved. | ||
* Redistribution and modifications are permitted subject to BSD license. | ||
*/ | ||
#ifndef ASN_TYPE_ANY_H | ||
#define ASN_TYPE_ANY_H | ||
|
||
#include <OCTET_STRING.h> /* Implemented via OCTET STRING type */ | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
typedef struct ANY { | ||
uint8_t *buf; /* BER-encoded ANY contents */ | ||
int size; /* Size of the above buffer */ | ||
|
||
asn_struct_ctx_t _asn_ctx; /* Parsing across buffer boundaries */ | ||
} ANY_t; | ||
|
||
extern asn_TYPE_descriptor_t asn_DEF_ANY; | ||
extern asn_TYPE_operation_t asn_OP_ANY; | ||
extern asn_OCTET_STRING_specifics_t asn_SPC_ANY_specs; | ||
|
||
#define ANY_free OCTET_STRING_free | ||
|
||
#if !defined(ASN_DISABLE_PRINT_SUPPORT) | ||
#define ANY_print OCTET_STRING_print | ||
#endif /* !defined(ASN_DISABLE_PRINT_SUPPORT) */ | ||
|
||
#define ANY_compare OCTET_STRING_compare | ||
|
||
#define ANY_constraint asn_generic_no_constraint | ||
|
||
#if !defined(ASN_DISABLE_BER_SUPPORT) | ||
#define ANY_decode_ber OCTET_STRING_decode_ber | ||
#define ANY_encode_der OCTET_STRING_encode_der | ||
#endif /* !defined(ASN_DISABLE_BER_SUPPORT) */ | ||
|
||
#if !defined(ASN_DISABLE_XER_SUPPORT) | ||
#define ANY_decode_xer OCTET_STRING_decode_xer_hex | ||
xer_type_encoder_f ANY_encode_xer; | ||
#endif /* !defined(ASN_DISABLE_XER_SUPPORT) */ | ||
|
||
#if !defined(ASN_DISABLE_JER_SUPPORT) | ||
jer_type_encoder_f ANY_encode_jer; | ||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */ | ||
|
||
#if !defined(ASN_DISABLE_UPER_SUPPORT) | ||
per_type_decoder_f ANY_decode_uper; | ||
per_type_encoder_f ANY_encode_uper; | ||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) */ | ||
#if !defined(ASN_DISABLE_APER_SUPPORT) | ||
per_type_decoder_f ANY_decode_aper; | ||
per_type_encoder_f ANY_encode_aper; | ||
#endif /* !defined(ASN_DISABLE_APER_SUPPORT) */ | ||
|
||
/****************************** | ||
* Handy conversion routines. * | ||
******************************/ | ||
|
||
/* Convert another ASN.1 type into the ANY. This implies DER encoding. */ | ||
int ANY_fromType(ANY_t *, asn_TYPE_descriptor_t *td, void *struct_ptr); | ||
ANY_t *ANY_new_fromType(asn_TYPE_descriptor_t *td, void *struct_ptr); | ||
#if !defined(ASN_DISABLE_APER_SUPPORT) | ||
int ANY_fromType_aper(ANY_t *st, asn_TYPE_descriptor_t *td, void *sptr); | ||
ANY_t *ANY_new_fromType_aper(asn_TYPE_descriptor_t *td, void *sptr); | ||
#endif /* !defined(ASN_DISABLE_APER_SUPPORT) */ | ||
|
||
/* Convert the contents of the ANY type into the specified type. */ | ||
int ANY_to_type(ANY_t *, asn_TYPE_descriptor_t *td, void **struct_ptr); | ||
#if !defined(ASN_DISABLE_APER_SUPPORT) | ||
int ANY_to_type_aper(ANY_t *, asn_TYPE_descriptor_t *td, void **struct_ptr); | ||
#endif /* !defined(ASN_DISABLE_APER_SUPPORT) */ | ||
|
||
#define ANY_fromBuf(s, buf, size) OCTET_STRING_fromBuf((s), (buf), (size)) | ||
#define ANY_new_fromBuf(buf, size) OCTET_STRING_new_fromBuf( \ | ||
&asn_DEF_ANY, (buf), (size)) | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* ASN_TYPE_ANY_H */ |
44 changes: 44 additions & 0 deletions
44
src/tmx/Asn_J2735/include/asn_j2735_r2023/AccelSteerYawRateConfidence.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* | ||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c) | ||
* From ASN.1 module "ProbeVehicleData" | ||
* found in "J2735-ProbeVehicleData.asn" | ||
* `asn1c -pdu=MessageFrame -fcompound-names -fincludes-quoted -no-gen-JER` | ||
*/ | ||
|
||
#ifndef _AccelSteerYawRateConfidence_H_ | ||
#define _AccelSteerYawRateConfidence_H_ | ||
|
||
|
||
#include "asn_application.h" | ||
|
||
/* Including external dependencies */ | ||
#include "YawRateConfidence.h" | ||
#include "AccelerationConfidence.h" | ||
#include "SteeringWheelAngleConfidence.h" | ||
#include "constr_SEQUENCE.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/* AccelSteerYawRateConfidence */ | ||
typedef struct AccelSteerYawRateConfidence { | ||
YawRateConfidence_t yawRate; | ||
AccelerationConfidence_t acceleration; | ||
SteeringWheelAngleConfidence_t steeringWheelAngle; | ||
|
||
/* Context for parsing across buffer boundaries */ | ||
asn_struct_ctx_t _asn_ctx; | ||
} AccelSteerYawRateConfidence_t; | ||
|
||
/* Implementation */ | ||
extern asn_TYPE_descriptor_t asn_DEF_AccelSteerYawRateConfidence; | ||
extern asn_SEQUENCE_specifics_t asn_SPC_AccelSteerYawRateConfidence_specs_1; | ||
extern asn_TYPE_member_t asn_MBR_AccelSteerYawRateConfidence_1[3]; | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* _AccelSteerYawRateConfidence_H_ */ | ||
#include "asn_internal.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* | ||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c) | ||
* From ASN.1 module "Common" | ||
* found in "J2735-Common-v7.asn" | ||
* `asn1c -pdu=MessageFrame -fcompound-names -fincludes-quoted -no-gen-JER` | ||
*/ | ||
|
||
#ifndef _Acceleration_H_ | ||
#define _Acceleration_H_ | ||
|
||
|
||
#include "asn_application.h" | ||
|
||
/* Including external dependencies */ | ||
#include "NativeInteger.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/* Acceleration */ | ||
typedef long Acceleration_t; | ||
|
||
/* Implementation */ | ||
extern asn_per_constraints_t asn_PER_type_Acceleration_constr_1; | ||
extern asn_TYPE_descriptor_t asn_DEF_Acceleration; | ||
asn_struct_free_f Acceleration_free; | ||
asn_struct_print_f Acceleration_print; | ||
asn_constr_check_f Acceleration_constraint; | ||
ber_type_decoder_f Acceleration_decode_ber; | ||
der_type_encoder_f Acceleration_encode_der; | ||
xer_type_decoder_f Acceleration_decode_xer; | ||
xer_type_encoder_f Acceleration_encode_xer; | ||
oer_type_decoder_f Acceleration_decode_oer; | ||
oer_type_encoder_f Acceleration_encode_oer; | ||
per_type_decoder_f Acceleration_decode_uper; | ||
per_type_encoder_f Acceleration_encode_uper; | ||
per_type_decoder_f Acceleration_decode_aper; | ||
per_type_encoder_f Acceleration_encode_aper; | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* _Acceleration_H_ */ | ||
#include "asn_internal.h" |
59 changes: 59 additions & 0 deletions
59
src/tmx/Asn_J2735/include/asn_j2735_r2023/AccelerationConfidence.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* | ||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c) | ||
* From ASN.1 module "ProbeVehicleData" | ||
* found in "J2735-ProbeVehicleData.asn" | ||
* `asn1c -pdu=MessageFrame -fcompound-names -fincludes-quoted -no-gen-JER` | ||
*/ | ||
|
||
#ifndef _AccelerationConfidence_H_ | ||
#define _AccelerationConfidence_H_ | ||
|
||
|
||
#include "asn_application.h" | ||
|
||
/* Including external dependencies */ | ||
#include "NativeEnumerated.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/* Dependencies */ | ||
typedef enum AccelerationConfidence { | ||
AccelerationConfidence_unavailable = 0, | ||
AccelerationConfidence_accl_100_00 = 1, | ||
AccelerationConfidence_accl_010_00 = 2, | ||
AccelerationConfidence_accl_005_00 = 3, | ||
AccelerationConfidence_accl_001_00 = 4, | ||
AccelerationConfidence_accl_000_10 = 5, | ||
AccelerationConfidence_accl_000_05 = 6, | ||
AccelerationConfidence_accl_000_01 = 7 | ||
} e_AccelerationConfidence; | ||
|
||
/* AccelerationConfidence */ | ||
typedef long AccelerationConfidence_t; | ||
|
||
/* Implementation */ | ||
extern asn_per_constraints_t asn_PER_type_AccelerationConfidence_constr_1; | ||
extern asn_TYPE_descriptor_t asn_DEF_AccelerationConfidence; | ||
extern const asn_INTEGER_specifics_t asn_SPC_AccelerationConfidence_specs_1; | ||
asn_struct_free_f AccelerationConfidence_free; | ||
asn_struct_print_f AccelerationConfidence_print; | ||
asn_constr_check_f AccelerationConfidence_constraint; | ||
ber_type_decoder_f AccelerationConfidence_decode_ber; | ||
der_type_encoder_f AccelerationConfidence_encode_der; | ||
xer_type_decoder_f AccelerationConfidence_decode_xer; | ||
xer_type_encoder_f AccelerationConfidence_encode_xer; | ||
oer_type_decoder_f AccelerationConfidence_decode_oer; | ||
oer_type_encoder_f AccelerationConfidence_encode_oer; | ||
per_type_decoder_f AccelerationConfidence_decode_uper; | ||
per_type_encoder_f AccelerationConfidence_encode_uper; | ||
per_type_decoder_f AccelerationConfidence_decode_aper; | ||
per_type_encoder_f AccelerationConfidence_encode_aper; | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* _AccelerationConfidence_H_ */ | ||
#include "asn_internal.h" |
45 changes: 45 additions & 0 deletions
45
src/tmx/Asn_J2735/include/asn_j2735_r2023/AccelerationSet4Way.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c) | ||
* From ASN.1 module "Common" | ||
* found in "J2735-Common-v7.asn" | ||
* `asn1c -pdu=MessageFrame -fcompound-names -fincludes-quoted -no-gen-JER` | ||
*/ | ||
|
||
#ifndef _AccelerationSet4Way_H_ | ||
#define _AccelerationSet4Way_H_ | ||
|
||
|
||
#include "asn_application.h" | ||
|
||
/* Including external dependencies */ | ||
#include "Acceleration.h" | ||
#include "VerticalAcceleration.h" | ||
#include "YawRate.h" | ||
#include "constr_SEQUENCE.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/* AccelerationSet4Way */ | ||
typedef struct AccelerationSet4Way { | ||
Acceleration_t Long; | ||
Acceleration_t lat; | ||
VerticalAcceleration_t vert; | ||
YawRate_t yaw; | ||
|
||
/* Context for parsing across buffer boundaries */ | ||
asn_struct_ctx_t _asn_ctx; | ||
} AccelerationSet4Way_t; | ||
|
||
/* Implementation */ | ||
extern asn_TYPE_descriptor_t asn_DEF_AccelerationSet4Way; | ||
extern asn_SEQUENCE_specifics_t asn_SPC_AccelerationSet4Way_specs_1; | ||
extern asn_TYPE_member_t asn_MBR_AccelerationSet4Way_1[4]; | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* _AccelerationSet4Way_H_ */ | ||
#include "asn_internal.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c) | ||
* From ASN.1 module "AddGrpB" | ||
* found in "J2735-AddGrpB.asn" | ||
* `asn1c -pdu=MessageFrame -fcompound-names -fincludes-quoted -no-gen-JER` | ||
*/ | ||
|
||
#ifndef _AddGrpB_Angle_H_ | ||
#define _AddGrpB_Angle_H_ | ||
|
||
|
||
#include "asn_application.h" | ||
|
||
/* Including external dependencies */ | ||
#include "NativeInteger.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/* AddGrpB_Angle */ | ||
typedef long AddGrpB_Angle_t; | ||
|
||
/* Implementation */ | ||
extern asn_TYPE_descriptor_t asn_DEF_AddGrpB_Angle; | ||
asn_struct_free_f AddGrpB_Angle_free; | ||
asn_struct_print_f AddGrpB_Angle_print; | ||
asn_constr_check_f AddGrpB_Angle_constraint; | ||
ber_type_decoder_f AddGrpB_Angle_decode_ber; | ||
der_type_encoder_f AddGrpB_Angle_encode_der; | ||
xer_type_decoder_f AddGrpB_Angle_decode_xer; | ||
xer_type_encoder_f AddGrpB_Angle_encode_xer; | ||
oer_type_decoder_f AddGrpB_Angle_decode_oer; | ||
oer_type_encoder_f AddGrpB_Angle_encode_oer; | ||
per_type_decoder_f AddGrpB_Angle_decode_uper; | ||
per_type_encoder_f AddGrpB_Angle_encode_uper; | ||
per_type_decoder_f AddGrpB_Angle_decode_aper; | ||
per_type_encoder_f AddGrpB_Angle_encode_aper; | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* _AddGrpB_Angle_H_ */ | ||
#include "asn_internal.h" |
Oops, something went wrong.