Skip to content

Commit

Permalink
new folder: src/tmx/Asn_J2735/include/asn_j2735_r2020
Browse files Browse the repository at this point in the history
	new folder: src/tmx/Asn_J2735/src/r2020
	modified:   src/tmx/TmxUtils/test/J2735MessageTest.cpp
	modified:   src/v2i-hub/CARMAStreetsPlugin/src/J3224ToSDSMJsonConverter.cpp
	modified:   src/v2i-hub/CARMAStreetsPlugin/src/J3224ToSDSMJsonConverter.h
	modified:   src/v2i-hub/CARMAStreetsPlugin/src/JsonToJ3224SDSMConverter.cpp
	modified:   src/v2i-hub/CARMAStreetsPlugin/src/JsonToJ3224SDSMConverter.h
	modified:   src/v2i-hub/CARMAStreetsPlugin/test/test_J2735ToSRMJsonConverter.cpp
	modified:   src/v2i-hub/CARMAStreetsPlugin/test/test_J3224ToSDSMJsonConverter.cpp
	modified:   src/v2i-hub/CswPlugin/src/XmlCurveParser.cpp
	modified:   src/v2i-hub/MapPlugin/src/inputs/isd/ISDDataAdaptor.hpp
	modified:   src/v2i-hub/MessageReceiverPlugin/src/MessageReceiverPlugin.cpp
	modified:   src/v2i-hub/SpatPlugin/src/NTCIP1202.cpp
	modified:   src/v2i-hub/TimPlugin/src/DsrcBuilder.cpp
	modified:   src/v2i-hub/TimPlugin/src/TimPlugin.cpp
	modified:   src/v2i-hub/TimPlugin/src/XmlCurveParser.cpp
  • Loading branch information
jwillmartin committed Oct 25, 2023
1 parent fd6d2b5 commit ae4930c
Show file tree
Hide file tree
Showing 1,316 changed files with 133,716 additions and 619 deletions.
84 changes: 84 additions & 0 deletions src/tmx/Asn_J2735/include/asn_j2735_r2020/ANY.h
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 */
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"
46 changes: 46 additions & 0 deletions src/tmx/Asn_J2735/include/asn_j2735_r2020/Acceleration.h
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.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 src/tmx/Asn_J2735/include/asn_j2735_r2020/AccelerationConfidence.h
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 src/tmx/Asn_J2735/include/asn_j2735_r2020/AccelerationSet4Way.h
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.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"
45 changes: 45 additions & 0 deletions src/tmx/Asn_J2735/include/asn_j2735_r2020/AddGrpB_Angle.h
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"
46 changes: 46 additions & 0 deletions src/tmx/Asn_J2735/include/asn_j2735_r2020/AddGrpB_Elevation.h
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 "AddGrpB"
* found in "J2735-AddGrpB.asn"
* `asn1c -pdu=MessageFrame -fcompound-names -fincludes-quoted -no-gen-JER`
*/

#ifndef _AddGrpB_Elevation_H_
#define _AddGrpB_Elevation_H_


#include "asn_application.h"

/* Including external dependencies */
#include "NativeInteger.h"

#ifdef __cplusplus
extern "C" {
#endif

/* AddGrpB_Elevation */
typedef long AddGrpB_Elevation_t;

/* Implementation */
extern asn_per_constraints_t asn_PER_type_AddGrpB_Elevation_constr_1;
extern asn_TYPE_descriptor_t asn_DEF_AddGrpB_Elevation;
asn_struct_free_f AddGrpB_Elevation_free;
asn_struct_print_f AddGrpB_Elevation_print;
asn_constr_check_f AddGrpB_Elevation_constraint;
ber_type_decoder_f AddGrpB_Elevation_decode_ber;
der_type_encoder_f AddGrpB_Elevation_encode_der;
xer_type_decoder_f AddGrpB_Elevation_decode_xer;
xer_type_encoder_f AddGrpB_Elevation_encode_xer;
oer_type_decoder_f AddGrpB_Elevation_decode_oer;
oer_type_encoder_f AddGrpB_Elevation_encode_oer;
per_type_decoder_f AddGrpB_Elevation_decode_uper;
per_type_encoder_f AddGrpB_Elevation_encode_uper;
per_type_decoder_f AddGrpB_Elevation_decode_aper;
per_type_encoder_f AddGrpB_Elevation_encode_aper;

#ifdef __cplusplus
}
#endif

#endif /* _AddGrpB_Elevation_H_ */
#include "asn_internal.h"
Loading

0 comments on commit ae4930c

Please sign in to comment.