-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated files: src/tmx/Asn_J2735/include/asn_j2735_r2024
updated files: src/tmx/Asn_J2735/src/r2024 modified: src/tmx/TmxUtils/src/Conversions.h modified: src/tmx/TmxUtils/test/J2735MessageTest.cpp modified: src/v2i-hub/CswPlugin/src/DsrcBuilder.h
- Loading branch information
1 parent
ad53e99
commit 251c330
Showing
172 changed files
with
13,696 additions
and
398 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "C/C++ Runner: Debug Session", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"externalConsole": false, | ||
"cwd": "/home/willdesk/TestCode/V2X-Hub/src/tmx/Asn_J2735/src/r2024", | ||
"program": "/home/willdesk/TestCode/V2X-Hub/src/tmx/Asn_J2735/src/r2024/build/Debug/outDebug", | ||
"MIMode": "gdb", | ||
"miDebuggerPath": "/usr/bin/gdb", | ||
"setupCommands": [ | ||
{ | ||
"description": "Enable pretty-printing for gdb", | ||
"text": "-enable-pretty-printing", | ||
"ignoreFailures": true | ||
} | ||
] | ||
} | ||
] | ||
} |
59 changes: 59 additions & 0 deletions
59
src/tmx/Asn_J2735/include/asn_j2735_r2024/AddGrpB_DayOfWeek.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 "AddGrpB" | ||
* found in "J2735_201603_ASN_CC.asn" | ||
* `asn1c -gen-PER -fcompound-names -fincludes-quoted -fskeletons-copy` | ||
*/ | ||
|
||
#ifndef _AddGrpB_DayOfWeek_H_ | ||
#define _AddGrpB_DayOfWeek_H_ | ||
|
||
|
||
#include "asn_application.h" | ||
|
||
/* Including external dependencies */ | ||
#include "NativeEnumerated.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/* Dependencies */ | ||
typedef enum AddGrpB_DayOfWeek { | ||
AddGrpB_DayOfWeek_unknown = 0, | ||
AddGrpB_DayOfWeek_monday = 1, | ||
AddGrpB_DayOfWeek_tuesday = 2, | ||
AddGrpB_DayOfWeek_wednesday = 3, | ||
AddGrpB_DayOfWeek_thursday = 4, | ||
AddGrpB_DayOfWeek_friday = 5, | ||
AddGrpB_DayOfWeek_saturday = 6, | ||
AddGrpB_DayOfWeek_sunday = 7 | ||
} e_AddGrpB_DayOfWeek; | ||
|
||
/* AddGrpB_DayOfWeek */ | ||
typedef long AddGrpB_DayOfWeek_t; | ||
|
||
/* Implementation */ | ||
extern asn_per_constraints_t asn_PER_type_AddGrpB_DayOfWeek_constr_1; | ||
extern asn_TYPE_descriptor_t asn_DEF_AddGrpB_DayOfWeek; | ||
extern const asn_INTEGER_specifics_t asn_SPC_AddGrpB_DayOfWeek_specs_1; | ||
asn_struct_free_f AddGrpB_DayOfWeek_free; | ||
asn_struct_print_f AddGrpB_DayOfWeek_print; | ||
asn_constr_check_f AddGrpB_DayOfWeek_constraint; | ||
ber_type_decoder_f AddGrpB_DayOfWeek_decode_ber; | ||
der_type_encoder_f AddGrpB_DayOfWeek_encode_der; | ||
xer_type_decoder_f AddGrpB_DayOfWeek_decode_xer; | ||
xer_type_encoder_f AddGrpB_DayOfWeek_encode_xer; | ||
oer_type_decoder_f AddGrpB_DayOfWeek_decode_oer; | ||
oer_type_encoder_f AddGrpB_DayOfWeek_encode_oer; | ||
per_type_decoder_f AddGrpB_DayOfWeek_decode_uper; | ||
per_type_encoder_f AddGrpB_DayOfWeek_encode_uper; | ||
per_type_decoder_f AddGrpB_DayOfWeek_decode_aper; | ||
per_type_encoder_f AddGrpB_DayOfWeek_encode_aper; | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* _AddGrpB_DayOfWeek_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,42 @@ | ||
/* | ||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c) | ||
* From ASN.1 module "AddGrpC" | ||
* found in "J2735-AddGrpC.asn" | ||
* `asn1c -pdu=MessageFrame -fcompound-names -fincludes-quoted -no-gen-JER` | ||
*/ | ||
|
||
#ifndef _Altitude_H_ | ||
#define _Altitude_H_ | ||
|
||
|
||
#include "asn_application.h" | ||
|
||
/* Including external dependencies */ | ||
#include "AltitudeValue.h" | ||
#include "AltitudeConfidence.h" | ||
#include "constr_SEQUENCE.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/* Altitude */ | ||
typedef struct Altitude { | ||
AltitudeValue_t value; | ||
AltitudeConfidence_t confidence; | ||
|
||
/* Context for parsing across buffer boundaries */ | ||
asn_struct_ctx_t _asn_ctx; | ||
} Altitude_t; | ||
|
||
/* Implementation */ | ||
extern asn_TYPE_descriptor_t asn_DEF_Altitude; | ||
extern asn_SEQUENCE_specifics_t asn_SPC_Altitude_specs_1; | ||
extern asn_TYPE_member_t asn_MBR_Altitude_1[2]; | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* _Altitude_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,37 @@ | ||
/*- | ||
* Copyright (c) 2003, 2004 Lev Walkin <vlm@lionet.info>. All rights reserved. | ||
* Redistribution and modifications are permitted subject to BSD license. | ||
*/ | ||
#ifndef _BMPString_H_ | ||
#define _BMPString_H_ | ||
|
||
#include <OCTET_STRING.h> | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
typedef OCTET_STRING_t BMPString_t; /* Implemented via OCTET STRING */ | ||
|
||
extern asn_TYPE_descriptor_t asn_DEF_BMPString; | ||
extern asn_TYPE_operation_t asn_OP_BMPString; | ||
extern asn_OCTET_STRING_specifics_t asn_SPC_BMPString_specs; | ||
|
||
asn_struct_print_f BMPString_print; /* Human-readable output */ | ||
xer_type_decoder_f BMPString_decode_xer; | ||
xer_type_encoder_f BMPString_encode_xer; | ||
|
||
#define BMPString_free OCTET_STRING_free | ||
#define BMPString_print BMPString_print | ||
#define BMPString_compare OCTET_STRING_compare | ||
#define BMPString_constraint asn_generic_no_constraint | ||
#define BMPString_decode_ber OCTET_STRING_decode_ber | ||
#define BMPString_encode_der OCTET_STRING_encode_der | ||
#define BMPString_decode_uper OCTET_STRING_decode_uper | ||
#define BMPString_encode_uper OCTET_STRING_encode_uper | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* _BMPString_H_ */ |
56 changes: 56 additions & 0 deletions
56
src/tmx/Asn_J2735/include/asn_j2735_r2024/BasicSafetyMessage-addGrpCarma.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,56 @@ | ||
/* | ||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c) | ||
* From ASN.1 module "AddGrpCarma" | ||
* found in "J2735_201603_2022-11-21.asn" | ||
* `asn1c -fcompound-names -D ../include/generated/` | ||
*/ | ||
|
||
#ifndef _BasicSafetyMessage_addGrpCarma_H_ | ||
#define _BasicSafetyMessage_addGrpCarma_H_ | ||
|
||
|
||
#include "asn_application.h" | ||
|
||
/* Including external dependencies */ | ||
#include "asn_SEQUENCE_OF.h" | ||
#include "constr_SEQUENCE_OF.h" | ||
#include "constr_SEQUENCE.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/* Forward declarations */ | ||
struct Position3D_addGrpCarma; | ||
|
||
/* BasicSafetyMessage-addGrpCarma */ | ||
typedef struct BasicSafetyMessage_addGrpCarma { | ||
struct BasicSafetyMessage_addGrpCarma__routeDestinationPoints { | ||
A_SEQUENCE_OF(struct Position3D_addGrpCarma) list; | ||
|
||
/* Context for parsing across buffer boundaries */ | ||
asn_struct_ctx_t _asn_ctx; | ||
} *routeDestinationPoints; | ||
/* | ||
* This type is extensible, | ||
* possible extensions are below. | ||
*/ | ||
|
||
/* Context for parsing across buffer boundaries */ | ||
asn_struct_ctx_t _asn_ctx; | ||
} BasicSafetyMessage_addGrpCarma_t; | ||
|
||
/* Implementation */ | ||
extern asn_TYPE_descriptor_t asn_DEF_BasicSafetyMessage_addGrpCarma; | ||
extern asn_SEQUENCE_specifics_t asn_SPC_BasicSafetyMessage_addGrpCarma_specs_1; | ||
extern asn_TYPE_member_t asn_MBR_BasicSafetyMessage_addGrpCarma_1[1]; | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
/* Referred external types */ | ||
#include "Position3D-addGrpCarma.h" | ||
|
||
#endif /* _BasicSafetyMessage_addGrpCarma_H_ */ | ||
#include "asn_internal.h" |
66 changes: 66 additions & 0 deletions
66
src/tmx/Asn_J2735/include/asn_j2735_r2024/CCMPartIIcontent.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,66 @@ | ||
/* | ||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c) | ||
* From ASN.1 module "CooperativeControlMessage" | ||
* found in "J2945-6-CooperativeControlMessage-2024-rel-v1.1.asn" | ||
* `asn1c -pdu=MessageFrame -fcompound-names -fincludes-quoted -no-gen-JER` | ||
*/ | ||
|
||
#ifndef _CCMPartIIcontent_H_ | ||
#define _CCMPartIIcontent_H_ | ||
|
||
|
||
#include "asn_application.h" | ||
|
||
/* Including external dependencies */ | ||
#include "CooperativeControlMessage_PartII-Id.h" | ||
#include "ANY.h" | ||
#include "asn_ioc.h" | ||
#include "VehicleSafetyExtensions.h" | ||
#include "LightVehicleCCMExtensions.h" | ||
#include "HeavyTruckCCMExtensions.h" | ||
#include "OPEN_TYPE.h" | ||
#include "constr_CHOICE.h" | ||
#include "constr_SEQUENCE.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/* Dependencies */ | ||
typedef enum CCMpartIIExtension__partII_Value_PR { | ||
CCMpartIIExtension__partII_Value_PR_NOTHING, /* No components present */ | ||
CCMpartIIExtension__partII_Value_PR_VehicleSafetyExtensions, | ||
CCMpartIIExtension__partII_Value_PR_LightVehicleCCMExtensions, | ||
CCMpartIIExtension__partII_Value_PR_HeavyTruckCCMExtensions | ||
} CCMpartIIExtension__partII_Value_PR; | ||
|
||
/* CCMPartIIcontent */ | ||
typedef struct CCMpartIIExtension { | ||
CooperativeControlMessage_PartII_Id_t partII_Id; | ||
struct CCMpartIIExtension__partII_Value { | ||
CCMpartIIExtension__partII_Value_PR present; | ||
union CCMpartIIExtension__partII_Value_u { | ||
VehicleSafetyExtensions_t VehicleSafetyExtensions; | ||
LightVehicleCCMExtensions_t LightVehicleCCMExtensions; | ||
HeavyTruckCCMExtensions_t HeavyTruckCCMExtensions; | ||
} choice; | ||
|
||
/* Context for parsing across buffer boundaries */ | ||
asn_struct_ctx_t _asn_ctx; | ||
} partII_Value; | ||
|
||
/* Context for parsing across buffer boundaries */ | ||
asn_struct_ctx_t _asn_ctx; | ||
} CCMpartIIExtension_t; | ||
|
||
/* Implementation */ | ||
extern asn_TYPE_descriptor_t asn_DEF_CCMpartIIExtension; | ||
extern asn_SEQUENCE_specifics_t asn_SPC_CCMpartIIExtension_specs_1; | ||
extern asn_TYPE_member_t asn_MBR_CCMpartIIExtension_1[2]; | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* _CCMPartIIcontent_H_ */ | ||
#include "asn_internal.h" |
56 changes: 56 additions & 0 deletions
56
src/tmx/Asn_J2735/include/asn_j2735_r2024/DSRC_DayOfWeek.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,56 @@ | ||
/* | ||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c) | ||
* From ASN.1 module "DSRC" | ||
* found in "J2735_201603_ASN_CC.asn" | ||
* `asn1c -gen-PER -fcompound-names -fincludes-quoted -fskeletons-copy` | ||
*/ | ||
|
||
#ifndef _DSRC_DayOfWeek_H_ | ||
#define _DSRC_DayOfWeek_H_ | ||
|
||
|
||
#include "asn_application.h" | ||
|
||
/* Including external dependencies */ | ||
#include "BIT_STRING.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/* Dependencies */ | ||
typedef enum DSRC_DayOfWeek { | ||
DSRC_DayOfWeek_sun = 6, | ||
DSRC_DayOfWeek_mon = 5, | ||
DSRC_DayOfWeek_tue = 4, | ||
DSRC_DayOfWeek_wed = 3, | ||
DSRC_DayOfWeek_thu = 2, | ||
DSRC_DayOfWeek_fri = 1, | ||
DSRC_DayOfWeek_sat = 0 | ||
} e_DSRC_DayOfWeek; | ||
|
||
/* DSRC_DayOfWeek */ | ||
typedef BIT_STRING_t DSRC_DayOfWeek_t; | ||
|
||
/* Implementation */ | ||
extern asn_TYPE_descriptor_t asn_DEF_DSRC_DayOfWeek; | ||
asn_struct_free_f DSRC_DayOfWeek_free; | ||
asn_struct_print_f DSRC_DayOfWeek_print; | ||
asn_constr_check_f DSRC_DayOfWeek_constraint; | ||
ber_type_decoder_f DSRC_DayOfWeek_decode_ber; | ||
der_type_encoder_f DSRC_DayOfWeek_encode_der; | ||
xer_type_decoder_f DSRC_DayOfWeek_decode_xer; | ||
xer_type_encoder_f DSRC_DayOfWeek_encode_xer; | ||
oer_type_decoder_f DSRC_DayOfWeek_decode_oer; | ||
oer_type_encoder_f DSRC_DayOfWeek_encode_oer; | ||
per_type_decoder_f DSRC_DayOfWeek_decode_uper; | ||
per_type_encoder_f DSRC_DayOfWeek_encode_uper; | ||
per_type_decoder_f DSRC_DayOfWeek_decode_aper; | ||
per_type_encoder_f DSRC_DayOfWeek_encode_aper; | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* _DSRC_DayOfWeek_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,41 @@ | ||
/* | ||
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c) | ||
* From ASN.1 module "DSRC" | ||
* found in "J2735_201603_ASN_CC.asn" | ||
* `asn1c -gen-PER -fcompound-names -fincludes-quoted -fskeletons-copy` | ||
*/ | ||
|
||
#ifndef _DailySchedule_H_ | ||
#define _DailySchedule_H_ | ||
|
||
|
||
#include "asn_application.h" | ||
|
||
/* Including external dependencies */ | ||
#include "NativeInteger.h" | ||
#include "constr_SEQUENCE.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/* DailySchedule */ | ||
typedef struct DailySchedule { | ||
long begin; | ||
long duration; | ||
|
||
/* Context for parsing across buffer boundaries */ | ||
asn_struct_ctx_t _asn_ctx; | ||
} DailySchedule_t; | ||
|
||
/* Implementation */ | ||
extern asn_TYPE_descriptor_t asn_DEF_DailySchedule; | ||
extern asn_SEQUENCE_specifics_t asn_SPC_DailySchedule_specs_1; | ||
extern asn_TYPE_member_t asn_MBR_DailySchedule_1[2]; | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* _DailySchedule_H_ */ | ||
#include "asn_internal.h" |
Oops, something went wrong.