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,93 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AbsolutePosition.h"
|
||||
|
||||
asn_TYPE_member_t asn_MBR_AbsolutePosition_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AbsolutePosition, latitude),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Latitude,
|
||||
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 */
|
||||
"latitude"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AbsolutePosition, longitude),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Longitude,
|
||||
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 */
|
||||
"longitude"
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_AbsolutePosition_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_AbsolutePosition_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* latitude */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* longitude */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_AbsolutePosition_specs_1 = {
|
||||
sizeof(struct AbsolutePosition),
|
||||
offsetof(struct AbsolutePosition, _asn_ctx),
|
||||
asn_MAP_AbsolutePosition_tag2el_1,
|
||||
2, /* Count of tags in the map */
|
||||
0, 0, 0, /* Optional elements (not needed) */
|
||||
-1, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AbsolutePosition = {
|
||||
"AbsolutePosition",
|
||||
"AbsolutePosition",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_AbsolutePosition_tags_1,
|
||||
sizeof(asn_DEF_AbsolutePosition_tags_1)
|
||||
/sizeof(asn_DEF_AbsolutePosition_tags_1[0]), /* 1 */
|
||||
asn_DEF_AbsolutePosition_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AbsolutePosition_tags_1)
|
||||
/sizeof(asn_DEF_AbsolutePosition_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_AbsolutePosition_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_AbsolutePosition_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AbsolutePosition_H_
|
||||
#define _AbsolutePosition_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "Latitude.h"
|
||||
#include "Longitude.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* AbsolutePosition */
|
||||
typedef struct AbsolutePosition {
|
||||
Latitude_t latitude;
|
||||
Longitude_t longitude;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AbsolutePosition_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AbsolutePosition;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_AbsolutePosition_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AbsolutePosition_1[2];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AbsolutePosition_H_ */
|
||||
#include "asn_internal.h"
|
||||
+114
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AbsolutePositionWAltitude.h"
|
||||
|
||||
asn_TYPE_member_t asn_MBR_AbsolutePositionWAltitude_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AbsolutePositionWAltitude, latitude),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Latitude,
|
||||
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 */
|
||||
"latitude"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AbsolutePositionWAltitude, longitude),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Longitude,
|
||||
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 */
|
||||
"longitude"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AbsolutePositionWAltitude, altitude),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Altitude,
|
||||
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 */
|
||||
"altitude"
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_AbsolutePositionWAltitude_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_AbsolutePositionWAltitude_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* latitude */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* longitude */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* altitude */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_AbsolutePositionWAltitude_specs_1 = {
|
||||
sizeof(struct AbsolutePositionWAltitude),
|
||||
offsetof(struct AbsolutePositionWAltitude, _asn_ctx),
|
||||
asn_MAP_AbsolutePositionWAltitude_tag2el_1,
|
||||
3, /* Count of tags in the map */
|
||||
0, 0, 0, /* Optional elements (not needed) */
|
||||
-1, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AbsolutePositionWAltitude = {
|
||||
"AbsolutePositionWAltitude",
|
||||
"AbsolutePositionWAltitude",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_AbsolutePositionWAltitude_tags_1,
|
||||
sizeof(asn_DEF_AbsolutePositionWAltitude_tags_1)
|
||||
/sizeof(asn_DEF_AbsolutePositionWAltitude_tags_1[0]), /* 1 */
|
||||
asn_DEF_AbsolutePositionWAltitude_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AbsolutePositionWAltitude_tags_1)
|
||||
/sizeof(asn_DEF_AbsolutePositionWAltitude_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_AbsolutePositionWAltitude_1,
|
||||
3, /* Elements count */
|
||||
&asn_SPC_AbsolutePositionWAltitude_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AbsolutePositionWAltitude_H_
|
||||
#define _AbsolutePositionWAltitude_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "Latitude.h"
|
||||
#include "Longitude.h"
|
||||
#include "Altitude.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* AbsolutePositionWAltitude */
|
||||
typedef struct AbsolutePositionWAltitude {
|
||||
Latitude_t latitude;
|
||||
Longitude_t longitude;
|
||||
Altitude_t altitude;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AbsolutePositionWAltitude_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AbsolutePositionWAltitude;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_AbsolutePositionWAltitude_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AbsolutePositionWAltitude_1[3];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AbsolutePositionWAltitude_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AbsolutePositions.h"
|
||||
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_AbsolutePositions_constr_1 CC_NOTUSED = {
|
||||
{ 0, 0 },
|
||||
-1 /* (SIZE(0..MAX)) */};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_AbsolutePositions_constr_1 CC_NOTUSED = {
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
{ APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 1, 8 } /* (SIZE(1..8,...)) */,
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
asn_TYPE_member_t asn_MBR_AbsolutePositions_1[] = {
|
||||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_AbsolutePosition,
|
||||
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 */
|
||||
""
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_AbsolutePositions_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
asn_SET_OF_specifics_t asn_SPC_AbsolutePositions_specs_1 = {
|
||||
sizeof(struct AbsolutePositions),
|
||||
offsetof(struct AbsolutePositions, _asn_ctx),
|
||||
0, /* XER encoding is XMLDelimitedItemList */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AbsolutePositions = {
|
||||
"AbsolutePositions",
|
||||
"AbsolutePositions",
|
||||
&asn_OP_SEQUENCE_OF,
|
||||
asn_DEF_AbsolutePositions_tags_1,
|
||||
sizeof(asn_DEF_AbsolutePositions_tags_1)
|
||||
/sizeof(asn_DEF_AbsolutePositions_tags_1[0]), /* 1 */
|
||||
asn_DEF_AbsolutePositions_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AbsolutePositions_tags_1)
|
||||
/sizeof(asn_DEF_AbsolutePositions_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AbsolutePositions_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AbsolutePositions_constr_1,
|
||||
#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_OF_constraint
|
||||
},
|
||||
asn_MBR_AbsolutePositions_1,
|
||||
1, /* Single element */
|
||||
&asn_SPC_AbsolutePositions_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AbsolutePositions_H_
|
||||
#define _AbsolutePositions_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "asn_SEQUENCE_OF.h"
|
||||
#include "constr_SEQUENCE_OF.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct AbsolutePosition;
|
||||
|
||||
/* AbsolutePositions */
|
||||
typedef struct AbsolutePositions {
|
||||
A_SEQUENCE_OF(struct AbsolutePosition) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AbsolutePositions_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AbsolutePositions;
|
||||
extern asn_SET_OF_specifics_t asn_SPC_AbsolutePositions_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AbsolutePositions_1[1];
|
||||
extern asn_oer_constraints_t asn_OER_type_AbsolutePositions_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_AbsolutePositions_constr_1;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "AbsolutePosition.h"
|
||||
|
||||
#endif /* _AbsolutePositions_H_ */
|
||||
#include "asn_internal.h"
|
||||
+78
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AbsolutePositionsWAltitude.h"
|
||||
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_AbsolutePositionsWAltitude_constr_1 CC_NOTUSED = {
|
||||
{ 0, 0 },
|
||||
-1 /* (SIZE(0..MAX)) */};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_AbsolutePositionsWAltitude_constr_1 CC_NOTUSED = {
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
{ APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 1, 8 } /* (SIZE(1..8,...)) */,
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
asn_TYPE_member_t asn_MBR_AbsolutePositionsWAltitude_1[] = {
|
||||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_AbsolutePositionWAltitude,
|
||||
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 */
|
||||
""
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_AbsolutePositionsWAltitude_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
asn_SET_OF_specifics_t asn_SPC_AbsolutePositionsWAltitude_specs_1 = {
|
||||
sizeof(struct AbsolutePositionsWAltitude),
|
||||
offsetof(struct AbsolutePositionsWAltitude, _asn_ctx),
|
||||
0, /* XER encoding is XMLDelimitedItemList */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AbsolutePositionsWAltitude = {
|
||||
"AbsolutePositionsWAltitude",
|
||||
"AbsolutePositionsWAltitude",
|
||||
&asn_OP_SEQUENCE_OF,
|
||||
asn_DEF_AbsolutePositionsWAltitude_tags_1,
|
||||
sizeof(asn_DEF_AbsolutePositionsWAltitude_tags_1)
|
||||
/sizeof(asn_DEF_AbsolutePositionsWAltitude_tags_1[0]), /* 1 */
|
||||
asn_DEF_AbsolutePositionsWAltitude_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AbsolutePositionsWAltitude_tags_1)
|
||||
/sizeof(asn_DEF_AbsolutePositionsWAltitude_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AbsolutePositionsWAltitude_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AbsolutePositionsWAltitude_constr_1,
|
||||
#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_OF_constraint
|
||||
},
|
||||
asn_MBR_AbsolutePositionsWAltitude_1,
|
||||
1, /* Single element */
|
||||
&asn_SPC_AbsolutePositionsWAltitude_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AbsolutePositionsWAltitude_H_
|
||||
#define _AbsolutePositionsWAltitude_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "asn_SEQUENCE_OF.h"
|
||||
#include "constr_SEQUENCE_OF.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct AbsolutePositionWAltitude;
|
||||
|
||||
/* AbsolutePositionsWAltitude */
|
||||
typedef struct AbsolutePositionsWAltitude {
|
||||
A_SEQUENCE_OF(struct AbsolutePositionWAltitude) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AbsolutePositionsWAltitude_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AbsolutePositionsWAltitude;
|
||||
extern asn_SET_OF_specifics_t asn_SPC_AbsolutePositionsWAltitude_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AbsolutePositionsWAltitude_1[1];
|
||||
extern asn_oer_constraints_t asn_OER_type_AbsolutePositionsWAltitude_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_AbsolutePositionsWAltitude_constr_1;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "AbsolutePositionWAltitude.h"
|
||||
|
||||
#endif /* _AbsolutePositionsWAltitude_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AccelerationConfidence.h"
|
||||
|
||||
int
|
||||
AccelerationConfidence_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= 0L && value <= 102L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This type is implemented using NativeInteger,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_AccelerationConfidence_constr_1 CC_NOTUSED = {
|
||||
{ 1, 1 } /* (0..102) */,
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_AccelerationConfidence_constr_1 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 7, 7, 0, 102 } /* (0..102) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const ber_tlv_tag_t asn_DEF_AccelerationConfidence_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AccelerationConfidence = {
|
||||
"AccelerationConfidence",
|
||||
"AccelerationConfidence",
|
||||
&asn_OP_NativeInteger,
|
||||
asn_DEF_AccelerationConfidence_tags_1,
|
||||
sizeof(asn_DEF_AccelerationConfidence_tags_1)
|
||||
/sizeof(asn_DEF_AccelerationConfidence_tags_1[0]), /* 1 */
|
||||
asn_DEF_AccelerationConfidence_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AccelerationConfidence_tags_1)
|
||||
/sizeof(asn_DEF_AccelerationConfidence_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AccelerationConfidence_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AccelerationConfidence_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
AccelerationConfidence_constraint
|
||||
},
|
||||
0, 0, /* Defined elsewhere */
|
||||
0 /* No specifics */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AccelerationConfidence_H_
|
||||
#define _AccelerationConfidence_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeInteger.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum AccelerationConfidence {
|
||||
AccelerationConfidence_pointOneMeterPerSecSquared = 1,
|
||||
AccelerationConfidence_outOfRange = 101,
|
||||
AccelerationConfidence_unavailable = 102
|
||||
} e_AccelerationConfidence;
|
||||
|
||||
/* AccelerationConfidence */
|
||||
typedef long AccelerationConfidence_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_oer_constraints_t asn_OER_type_AccelerationConfidence_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_AccelerationConfidence_constr_1;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AccelerationConfidence;
|
||||
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;
|
||||
jer_type_encoder_f AccelerationConfidence_encode_jer;
|
||||
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"
|
||||
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AccelerationControl.h"
|
||||
|
||||
int
|
||||
AccelerationControl_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
|
||||
size_t size;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
if(st->size > 0) {
|
||||
/* Size in bits */
|
||||
size = 8 * st->size - (st->bits_unused & 0x07);
|
||||
} else {
|
||||
size = 0;
|
||||
}
|
||||
|
||||
if((size == 7UL)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This type is implemented using BIT_STRING,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_AccelerationControl_constr_1 CC_NOTUSED = {
|
||||
{ 0, 0 },
|
||||
7 /* (SIZE(7..7)) */};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_AccelerationControl_constr_1 CC_NOTUSED = {
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
{ APC_CONSTRAINED, 0, 0, 7, 7 } /* (SIZE(7..7)) */,
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
asn_jer_constraints_t asn_JER_type_AccelerationControl_constr_1 CC_NOTUSED = {
|
||||
7};
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
static const ber_tlv_tag_t asn_DEF_AccelerationControl_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (3 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AccelerationControl = {
|
||||
"AccelerationControl",
|
||||
"AccelerationControl",
|
||||
&asn_OP_BIT_STRING,
|
||||
asn_DEF_AccelerationControl_tags_1,
|
||||
sizeof(asn_DEF_AccelerationControl_tags_1)
|
||||
/sizeof(asn_DEF_AccelerationControl_tags_1[0]), /* 1 */
|
||||
asn_DEF_AccelerationControl_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AccelerationControl_tags_1)
|
||||
/sizeof(asn_DEF_AccelerationControl_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AccelerationControl_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AccelerationControl_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
&asn_JER_type_AccelerationControl_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
AccelerationControl_constraint
|
||||
},
|
||||
0, 0, /* Defined elsewhere */
|
||||
&asn_SPC_BIT_STRING_specs /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AccelerationControl_H_
|
||||
#define _AccelerationControl_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "BIT_STRING.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum AccelerationControl {
|
||||
AccelerationControl_brakePedalEngaged = 0,
|
||||
AccelerationControl_gasPedalEngaged = 1,
|
||||
AccelerationControl_emergencyBrakeEngaged = 2,
|
||||
AccelerationControl_collisionWarningEngaged = 3,
|
||||
AccelerationControl_accEngaged = 4,
|
||||
AccelerationControl_cruiseControlEngaged = 5,
|
||||
AccelerationControl_speedLimiterEngaged = 6
|
||||
} e_AccelerationControl;
|
||||
|
||||
/* AccelerationControl */
|
||||
typedef BIT_STRING_t AccelerationControl_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_oer_constraints_t asn_OER_type_AccelerationControl_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_AccelerationControl_constr_1;
|
||||
extern asn_jer_constraints_t asn_JER_type_AccelerationControl_constr_1;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AccelerationControl;
|
||||
asn_struct_free_f AccelerationControl_free;
|
||||
asn_struct_print_f AccelerationControl_print;
|
||||
asn_constr_check_f AccelerationControl_constraint;
|
||||
ber_type_decoder_f AccelerationControl_decode_ber;
|
||||
der_type_encoder_f AccelerationControl_encode_der;
|
||||
xer_type_decoder_f AccelerationControl_decode_xer;
|
||||
xer_type_encoder_f AccelerationControl_encode_xer;
|
||||
jer_type_encoder_f AccelerationControl_encode_jer;
|
||||
oer_type_decoder_f AccelerationControl_decode_oer;
|
||||
oer_type_encoder_f AccelerationControl_encode_oer;
|
||||
per_type_decoder_f AccelerationControl_decode_uper;
|
||||
per_type_encoder_f AccelerationControl_encode_uper;
|
||||
per_type_decoder_f AccelerationControl_decode_aper;
|
||||
per_type_encoder_f AccelerationControl_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AccelerationControl_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AccidentSubCauseCode.h"
|
||||
|
||||
int
|
||||
AccidentSubCauseCode_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= 0L && value <= 255L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This type is implemented using NativeInteger,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
static asn_oer_constraints_t asn_OER_type_AccidentSubCauseCode_constr_1 CC_NOTUSED = {
|
||||
{ 1, 1 } /* (0..255) */,
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
static asn_per_constraints_t asn_PER_type_AccidentSubCauseCode_constr_1 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const ber_tlv_tag_t asn_DEF_AccidentSubCauseCode_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AccidentSubCauseCode = {
|
||||
"AccidentSubCauseCode",
|
||||
"AccidentSubCauseCode",
|
||||
&asn_OP_NativeInteger,
|
||||
asn_DEF_AccidentSubCauseCode_tags_1,
|
||||
sizeof(asn_DEF_AccidentSubCauseCode_tags_1)
|
||||
/sizeof(asn_DEF_AccidentSubCauseCode_tags_1[0]), /* 1 */
|
||||
asn_DEF_AccidentSubCauseCode_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AccidentSubCauseCode_tags_1)
|
||||
/sizeof(asn_DEF_AccidentSubCauseCode_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AccidentSubCauseCode_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AccidentSubCauseCode_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
AccidentSubCauseCode_constraint
|
||||
},
|
||||
0, 0, /* Defined elsewhere */
|
||||
0 /* No specifics */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AccidentSubCauseCode_H_
|
||||
#define _AccidentSubCauseCode_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeInteger.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum AccidentSubCauseCode {
|
||||
AccidentSubCauseCode_unavailable = 0,
|
||||
AccidentSubCauseCode_multiVehicleAccident = 1,
|
||||
AccidentSubCauseCode_heavyAccident = 2,
|
||||
AccidentSubCauseCode_accidentInvolvingLorry = 3,
|
||||
AccidentSubCauseCode_accidentInvolvingBus = 4,
|
||||
AccidentSubCauseCode_accidentInvolvingHazardousMaterials = 5,
|
||||
AccidentSubCauseCode_accidentOnOppositeLane = 6,
|
||||
AccidentSubCauseCode_unsecuredAccident = 7,
|
||||
AccidentSubCauseCode_assistanceRequested = 8
|
||||
} e_AccidentSubCauseCode;
|
||||
|
||||
/* AccidentSubCauseCode */
|
||||
typedef long AccidentSubCauseCode_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AccidentSubCauseCode;
|
||||
asn_struct_free_f AccidentSubCauseCode_free;
|
||||
asn_struct_print_f AccidentSubCauseCode_print;
|
||||
asn_constr_check_f AccidentSubCauseCode_constraint;
|
||||
ber_type_decoder_f AccidentSubCauseCode_decode_ber;
|
||||
der_type_encoder_f AccidentSubCauseCode_encode_der;
|
||||
xer_type_decoder_f AccidentSubCauseCode_decode_xer;
|
||||
xer_type_encoder_f AccidentSubCauseCode_encode_xer;
|
||||
jer_type_encoder_f AccidentSubCauseCode_encode_jer;
|
||||
oer_type_decoder_f AccidentSubCauseCode_decode_oer;
|
||||
oer_type_encoder_f AccidentSubCauseCode_encode_oer;
|
||||
per_type_decoder_f AccidentSubCauseCode_decode_uper;
|
||||
per_type_encoder_f AccidentSubCauseCode_encode_uper;
|
||||
per_type_decoder_f AccidentSubCauseCode_decode_aper;
|
||||
per_type_encoder_f AccidentSubCauseCode_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AccidentSubCauseCode_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "ActionID.h"
|
||||
|
||||
asn_TYPE_member_t asn_MBR_ActionID_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct ActionID, originatingStationID),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_StationID,
|
||||
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 */
|
||||
"originatingStationID"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct ActionID, sequenceNumber),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SequenceNumber,
|
||||
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 */
|
||||
"sequenceNumber"
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_ActionID_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_ActionID_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* originatingStationID */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* sequenceNumber */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_ActionID_specs_1 = {
|
||||
sizeof(struct ActionID),
|
||||
offsetof(struct ActionID, _asn_ctx),
|
||||
asn_MAP_ActionID_tag2el_1,
|
||||
2, /* Count of tags in the map */
|
||||
0, 0, 0, /* Optional elements (not needed) */
|
||||
-1, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_ActionID = {
|
||||
"ActionID",
|
||||
"ActionID",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_ActionID_tags_1,
|
||||
sizeof(asn_DEF_ActionID_tags_1)
|
||||
/sizeof(asn_DEF_ActionID_tags_1[0]), /* 1 */
|
||||
asn_DEF_ActionID_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_ActionID_tags_1)
|
||||
/sizeof(asn_DEF_ActionID_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_ActionID_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_ActionID_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _ActionID_H_
|
||||
#define _ActionID_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "StationID.h"
|
||||
#include "SequenceNumber.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* ActionID */
|
||||
typedef struct ActionID {
|
||||
StationID_t originatingStationID;
|
||||
SequenceNumber_t sequenceNumber;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} ActionID_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ActionID;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_ActionID_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_ActionID_1[2];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _ActionID_H_ */
|
||||
#include "asn_internal.h"
|
||||
+79
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "EfcDsrcApplication"
|
||||
* found in "ISO14906-0-6.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "ActualNumberOfPassengers.h"
|
||||
|
||||
int
|
||||
ActualNumberOfPassengers_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= 0L && value <= 255L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This type is implemented using Int1,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
static asn_oer_constraints_t asn_OER_type_ActualNumberOfPassengers_constr_1 CC_NOTUSED = {
|
||||
{ 1, 1 } /* (0..255) */,
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
static asn_per_constraints_t asn_PER_type_ActualNumberOfPassengers_constr_1 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const ber_tlv_tag_t asn_DEF_ActualNumberOfPassengers_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_ActualNumberOfPassengers = {
|
||||
"ActualNumberOfPassengers",
|
||||
"ActualNumberOfPassengers",
|
||||
&asn_OP_NativeInteger,
|
||||
asn_DEF_ActualNumberOfPassengers_tags_1,
|
||||
sizeof(asn_DEF_ActualNumberOfPassengers_tags_1)
|
||||
/sizeof(asn_DEF_ActualNumberOfPassengers_tags_1[0]), /* 1 */
|
||||
asn_DEF_ActualNumberOfPassengers_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_ActualNumberOfPassengers_tags_1)
|
||||
/sizeof(asn_DEF_ActualNumberOfPassengers_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_ActualNumberOfPassengers_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_ActualNumberOfPassengers_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
ActualNumberOfPassengers_constraint
|
||||
},
|
||||
0, 0, /* No members */
|
||||
0 /* No specifics */
|
||||
};
|
||||
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "EfcDsrcApplication"
|
||||
* found in "ISO14906-0-6.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _ActualNumberOfPassengers_H_
|
||||
#define _ActualNumberOfPassengers_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "Int1.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* ActualNumberOfPassengers */
|
||||
typedef Int1_t ActualNumberOfPassengers_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ActualNumberOfPassengers;
|
||||
asn_struct_free_f ActualNumberOfPassengers_free;
|
||||
asn_struct_print_f ActualNumberOfPassengers_print;
|
||||
asn_constr_check_f ActualNumberOfPassengers_constraint;
|
||||
ber_type_decoder_f ActualNumberOfPassengers_decode_ber;
|
||||
der_type_encoder_f ActualNumberOfPassengers_encode_der;
|
||||
xer_type_decoder_f ActualNumberOfPassengers_decode_xer;
|
||||
xer_type_encoder_f ActualNumberOfPassengers_encode_xer;
|
||||
jer_type_encoder_f ActualNumberOfPassengers_encode_jer;
|
||||
oer_type_decoder_f ActualNumberOfPassengers_decode_oer;
|
||||
oer_type_encoder_f ActualNumberOfPassengers_encode_oer;
|
||||
per_type_decoder_f ActualNumberOfPassengers_decode_uper;
|
||||
per_type_encoder_f ActualNumberOfPassengers_encode_uper;
|
||||
per_type_decoder_f ActualNumberOfPassengers_decode_aper;
|
||||
per_type_encoder_f ActualNumberOfPassengers_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _ActualNumberOfPassengers_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,130 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "EfcDsrcApplication"
|
||||
* found in "ISO14906-0-6.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AddRq.h"
|
||||
|
||||
static int
|
||||
memb_attributeId_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= 0L && value <= 127L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
static asn_oer_constraints_t asn_OER_memb_attributeId_constr_2 CC_NOTUSED = {
|
||||
{ 0, 0 },
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
static asn_per_constraints_t asn_PER_memb_attributeId_constr_2 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED | APC_EXTENSIBLE, 7, 7, 0, 127 } /* (0..127,...) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static asn_TYPE_member_t asn_MBR_AddRq_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AddRq, attributeId),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_memb_attributeId_constr_2,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_memb_attributeId_constr_2,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
memb_attributeId_constraint_1
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
"attributeId"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AddRq, value),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger,
|
||||
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 */
|
||||
"value"
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_AddRq_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_AddRq_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* attributeId */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* value */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_AddRq_specs_1 = {
|
||||
sizeof(struct AddRq),
|
||||
offsetof(struct AddRq, _asn_ctx),
|
||||
asn_MAP_AddRq_tag2el_1,
|
||||
2, /* Count of tags in the map */
|
||||
0, 0, 0, /* Optional elements (not needed) */
|
||||
-1, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AddRq = {
|
||||
"AddRq",
|
||||
"AddRq",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_AddRq_tags_1,
|
||||
sizeof(asn_DEF_AddRq_tags_1)
|
||||
/sizeof(asn_DEF_AddRq_tags_1[0]), /* 1 */
|
||||
asn_DEF_AddRq_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AddRq_tags_1)
|
||||
/sizeof(asn_DEF_AddRq_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_AddRq_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_AddRq_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "EfcDsrcApplication"
|
||||
* found in "ISO14906-0-6.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AddRq_H_
|
||||
#define _AddRq_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeInteger.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* AddRq */
|
||||
typedef struct AddRq {
|
||||
long attributeId;
|
||||
long value;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AddRq_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AddRq;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AddRq_H_ */
|
||||
#include "asn_internal.h"
|
||||
Vendored
+79
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AdverseWeatherCondition-AdhesionSubCauseCode.h"
|
||||
|
||||
int
|
||||
AdverseWeatherCondition_AdhesionSubCauseCode_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= 0L && value <= 255L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This type is implemented using NativeInteger,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
static asn_oer_constraints_t asn_OER_type_AdverseWeatherCondition_AdhesionSubCauseCode_constr_1 CC_NOTUSED = {
|
||||
{ 1, 1 } /* (0..255) */,
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
static asn_per_constraints_t asn_PER_type_AdverseWeatherCondition_AdhesionSubCauseCode_constr_1 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const ber_tlv_tag_t asn_DEF_AdverseWeatherCondition_AdhesionSubCauseCode_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AdverseWeatherCondition_AdhesionSubCauseCode = {
|
||||
"AdverseWeatherCondition-AdhesionSubCauseCode",
|
||||
"AdverseWeatherCondition-AdhesionSubCauseCode",
|
||||
&asn_OP_NativeInteger,
|
||||
asn_DEF_AdverseWeatherCondition_AdhesionSubCauseCode_tags_1,
|
||||
sizeof(asn_DEF_AdverseWeatherCondition_AdhesionSubCauseCode_tags_1)
|
||||
/sizeof(asn_DEF_AdverseWeatherCondition_AdhesionSubCauseCode_tags_1[0]), /* 1 */
|
||||
asn_DEF_AdverseWeatherCondition_AdhesionSubCauseCode_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AdverseWeatherCondition_AdhesionSubCauseCode_tags_1)
|
||||
/sizeof(asn_DEF_AdverseWeatherCondition_AdhesionSubCauseCode_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AdverseWeatherCondition_AdhesionSubCauseCode_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AdverseWeatherCondition_AdhesionSubCauseCode_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
AdverseWeatherCondition_AdhesionSubCauseCode_constraint
|
||||
},
|
||||
0, 0, /* Defined elsewhere */
|
||||
0 /* No specifics */
|
||||
};
|
||||
|
||||
Vendored
+61
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AdverseWeatherCondition_AdhesionSubCauseCode_H_
|
||||
#define _AdverseWeatherCondition_AdhesionSubCauseCode_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeInteger.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum AdverseWeatherCondition_AdhesionSubCauseCode {
|
||||
AdverseWeatherCondition_AdhesionSubCauseCode_unavailable = 0,
|
||||
AdverseWeatherCondition_AdhesionSubCauseCode_heavyFrostOnRoad = 1,
|
||||
AdverseWeatherCondition_AdhesionSubCauseCode_fuelOnRoad = 2,
|
||||
AdverseWeatherCondition_AdhesionSubCauseCode_mudOnRoad = 3,
|
||||
AdverseWeatherCondition_AdhesionSubCauseCode_snowOnRoad = 4,
|
||||
AdverseWeatherCondition_AdhesionSubCauseCode_iceOnRoad = 5,
|
||||
AdverseWeatherCondition_AdhesionSubCauseCode_blackIceOnRoad = 6,
|
||||
AdverseWeatherCondition_AdhesionSubCauseCode_oilOnRoad = 7,
|
||||
AdverseWeatherCondition_AdhesionSubCauseCode_looseChippings = 8,
|
||||
AdverseWeatherCondition_AdhesionSubCauseCode_instantBlackIce = 9,
|
||||
AdverseWeatherCondition_AdhesionSubCauseCode_roadsSalted = 10
|
||||
} e_AdverseWeatherCondition_AdhesionSubCauseCode;
|
||||
|
||||
/* AdverseWeatherCondition-AdhesionSubCauseCode */
|
||||
typedef long AdverseWeatherCondition_AdhesionSubCauseCode_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AdverseWeatherCondition_AdhesionSubCauseCode;
|
||||
asn_struct_free_f AdverseWeatherCondition_AdhesionSubCauseCode_free;
|
||||
asn_struct_print_f AdverseWeatherCondition_AdhesionSubCauseCode_print;
|
||||
asn_constr_check_f AdverseWeatherCondition_AdhesionSubCauseCode_constraint;
|
||||
ber_type_decoder_f AdverseWeatherCondition_AdhesionSubCauseCode_decode_ber;
|
||||
der_type_encoder_f AdverseWeatherCondition_AdhesionSubCauseCode_encode_der;
|
||||
xer_type_decoder_f AdverseWeatherCondition_AdhesionSubCauseCode_decode_xer;
|
||||
xer_type_encoder_f AdverseWeatherCondition_AdhesionSubCauseCode_encode_xer;
|
||||
jer_type_encoder_f AdverseWeatherCondition_AdhesionSubCauseCode_encode_jer;
|
||||
oer_type_decoder_f AdverseWeatherCondition_AdhesionSubCauseCode_decode_oer;
|
||||
oer_type_encoder_f AdverseWeatherCondition_AdhesionSubCauseCode_encode_oer;
|
||||
per_type_decoder_f AdverseWeatherCondition_AdhesionSubCauseCode_decode_uper;
|
||||
per_type_encoder_f AdverseWeatherCondition_AdhesionSubCauseCode_encode_uper;
|
||||
per_type_decoder_f AdverseWeatherCondition_AdhesionSubCauseCode_decode_aper;
|
||||
per_type_encoder_f AdverseWeatherCondition_AdhesionSubCauseCode_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AdverseWeatherCondition_AdhesionSubCauseCode_H_ */
|
||||
#include "asn_internal.h"
|
||||
+79
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AdverseWeatherCondition-ExtremeWeatherConditionSubCauseCode.h"
|
||||
|
||||
int
|
||||
AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= 0L && value <= 255L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This type is implemented using NativeInteger,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
static asn_oer_constraints_t asn_OER_type_AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_constr_1 CC_NOTUSED = {
|
||||
{ 1, 1 } /* (0..255) */,
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
static asn_per_constraints_t asn_PER_type_AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_constr_1 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const ber_tlv_tag_t asn_DEF_AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode = {
|
||||
"AdverseWeatherCondition-ExtremeWeatherConditionSubCauseCode",
|
||||
"AdverseWeatherCondition-ExtremeWeatherConditionSubCauseCode",
|
||||
&asn_OP_NativeInteger,
|
||||
asn_DEF_AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_tags_1,
|
||||
sizeof(asn_DEF_AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_tags_1)
|
||||
/sizeof(asn_DEF_AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_tags_1[0]), /* 1 */
|
||||
asn_DEF_AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_tags_1)
|
||||
/sizeof(asn_DEF_AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_constraint
|
||||
},
|
||||
0, 0, /* Defined elsewhere */
|
||||
0 /* No specifics */
|
||||
};
|
||||
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_H_
|
||||
#define _AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeInteger.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode {
|
||||
AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_unavailable = 0,
|
||||
AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_strongWinds = 1,
|
||||
AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_damagingHail = 2,
|
||||
AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_hurricane = 3,
|
||||
AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_thunderstorm = 4,
|
||||
AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_tornado = 5,
|
||||
AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_blizzard = 6
|
||||
} e_AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode;
|
||||
|
||||
/* AdverseWeatherCondition-ExtremeWeatherConditionSubCauseCode */
|
||||
typedef long AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode;
|
||||
asn_struct_free_f AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_free;
|
||||
asn_struct_print_f AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_print;
|
||||
asn_constr_check_f AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_constraint;
|
||||
ber_type_decoder_f AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_decode_ber;
|
||||
der_type_encoder_f AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_encode_der;
|
||||
xer_type_decoder_f AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_decode_xer;
|
||||
xer_type_encoder_f AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_encode_xer;
|
||||
jer_type_encoder_f AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_encode_jer;
|
||||
oer_type_decoder_f AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_decode_oer;
|
||||
oer_type_encoder_f AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_encode_oer;
|
||||
per_type_decoder_f AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_decode_uper;
|
||||
per_type_encoder_f AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_encode_uper;
|
||||
per_type_decoder_f AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_decode_aper;
|
||||
per_type_encoder_f AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_H_ */
|
||||
#include "asn_internal.h"
|
||||
+79
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AdverseWeatherCondition-PrecipitationSubCauseCode.h"
|
||||
|
||||
int
|
||||
AdverseWeatherCondition_PrecipitationSubCauseCode_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= 0L && value <= 255L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This type is implemented using NativeInteger,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
static asn_oer_constraints_t asn_OER_type_AdverseWeatherCondition_PrecipitationSubCauseCode_constr_1 CC_NOTUSED = {
|
||||
{ 1, 1 } /* (0..255) */,
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
static asn_per_constraints_t asn_PER_type_AdverseWeatherCondition_PrecipitationSubCauseCode_constr_1 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const ber_tlv_tag_t asn_DEF_AdverseWeatherCondition_PrecipitationSubCauseCode_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AdverseWeatherCondition_PrecipitationSubCauseCode = {
|
||||
"AdverseWeatherCondition-PrecipitationSubCauseCode",
|
||||
"AdverseWeatherCondition-PrecipitationSubCauseCode",
|
||||
&asn_OP_NativeInteger,
|
||||
asn_DEF_AdverseWeatherCondition_PrecipitationSubCauseCode_tags_1,
|
||||
sizeof(asn_DEF_AdverseWeatherCondition_PrecipitationSubCauseCode_tags_1)
|
||||
/sizeof(asn_DEF_AdverseWeatherCondition_PrecipitationSubCauseCode_tags_1[0]), /* 1 */
|
||||
asn_DEF_AdverseWeatherCondition_PrecipitationSubCauseCode_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AdverseWeatherCondition_PrecipitationSubCauseCode_tags_1)
|
||||
/sizeof(asn_DEF_AdverseWeatherCondition_PrecipitationSubCauseCode_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AdverseWeatherCondition_PrecipitationSubCauseCode_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AdverseWeatherCondition_PrecipitationSubCauseCode_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
AdverseWeatherCondition_PrecipitationSubCauseCode_constraint
|
||||
},
|
||||
0, 0, /* Defined elsewhere */
|
||||
0 /* No specifics */
|
||||
};
|
||||
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AdverseWeatherCondition_PrecipitationSubCauseCode_H_
|
||||
#define _AdverseWeatherCondition_PrecipitationSubCauseCode_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeInteger.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum AdverseWeatherCondition_PrecipitationSubCauseCode {
|
||||
AdverseWeatherCondition_PrecipitationSubCauseCode_unavailable = 0,
|
||||
AdverseWeatherCondition_PrecipitationSubCauseCode_heavyRain = 1,
|
||||
AdverseWeatherCondition_PrecipitationSubCauseCode_heavySnowfall = 2,
|
||||
AdverseWeatherCondition_PrecipitationSubCauseCode_softHail = 3
|
||||
} e_AdverseWeatherCondition_PrecipitationSubCauseCode;
|
||||
|
||||
/* AdverseWeatherCondition-PrecipitationSubCauseCode */
|
||||
typedef long AdverseWeatherCondition_PrecipitationSubCauseCode_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AdverseWeatherCondition_PrecipitationSubCauseCode;
|
||||
asn_struct_free_f AdverseWeatherCondition_PrecipitationSubCauseCode_free;
|
||||
asn_struct_print_f AdverseWeatherCondition_PrecipitationSubCauseCode_print;
|
||||
asn_constr_check_f AdverseWeatherCondition_PrecipitationSubCauseCode_constraint;
|
||||
ber_type_decoder_f AdverseWeatherCondition_PrecipitationSubCauseCode_decode_ber;
|
||||
der_type_encoder_f AdverseWeatherCondition_PrecipitationSubCauseCode_encode_der;
|
||||
xer_type_decoder_f AdverseWeatherCondition_PrecipitationSubCauseCode_decode_xer;
|
||||
xer_type_encoder_f AdverseWeatherCondition_PrecipitationSubCauseCode_encode_xer;
|
||||
jer_type_encoder_f AdverseWeatherCondition_PrecipitationSubCauseCode_encode_jer;
|
||||
oer_type_decoder_f AdverseWeatherCondition_PrecipitationSubCauseCode_decode_oer;
|
||||
oer_type_encoder_f AdverseWeatherCondition_PrecipitationSubCauseCode_encode_oer;
|
||||
per_type_decoder_f AdverseWeatherCondition_PrecipitationSubCauseCode_decode_uper;
|
||||
per_type_encoder_f AdverseWeatherCondition_PrecipitationSubCauseCode_encode_uper;
|
||||
per_type_decoder_f AdverseWeatherCondition_PrecipitationSubCauseCode_decode_aper;
|
||||
per_type_encoder_f AdverseWeatherCondition_PrecipitationSubCauseCode_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AdverseWeatherCondition_PrecipitationSubCauseCode_H_ */
|
||||
#include "asn_internal.h"
|
||||
Vendored
+79
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AdverseWeatherCondition-VisibilitySubCauseCode.h"
|
||||
|
||||
int
|
||||
AdverseWeatherCondition_VisibilitySubCauseCode_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= 0L && value <= 255L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This type is implemented using NativeInteger,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
static asn_oer_constraints_t asn_OER_type_AdverseWeatherCondition_VisibilitySubCauseCode_constr_1 CC_NOTUSED = {
|
||||
{ 1, 1 } /* (0..255) */,
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
static asn_per_constraints_t asn_PER_type_AdverseWeatherCondition_VisibilitySubCauseCode_constr_1 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const ber_tlv_tag_t asn_DEF_AdverseWeatherCondition_VisibilitySubCauseCode_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AdverseWeatherCondition_VisibilitySubCauseCode = {
|
||||
"AdverseWeatherCondition-VisibilitySubCauseCode",
|
||||
"AdverseWeatherCondition-VisibilitySubCauseCode",
|
||||
&asn_OP_NativeInteger,
|
||||
asn_DEF_AdverseWeatherCondition_VisibilitySubCauseCode_tags_1,
|
||||
sizeof(asn_DEF_AdverseWeatherCondition_VisibilitySubCauseCode_tags_1)
|
||||
/sizeof(asn_DEF_AdverseWeatherCondition_VisibilitySubCauseCode_tags_1[0]), /* 1 */
|
||||
asn_DEF_AdverseWeatherCondition_VisibilitySubCauseCode_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AdverseWeatherCondition_VisibilitySubCauseCode_tags_1)
|
||||
/sizeof(asn_DEF_AdverseWeatherCondition_VisibilitySubCauseCode_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AdverseWeatherCondition_VisibilitySubCauseCode_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AdverseWeatherCondition_VisibilitySubCauseCode_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
AdverseWeatherCondition_VisibilitySubCauseCode_constraint
|
||||
},
|
||||
0, 0, /* Defined elsewhere */
|
||||
0 /* No specifics */
|
||||
};
|
||||
|
||||
Vendored
+59
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AdverseWeatherCondition_VisibilitySubCauseCode_H_
|
||||
#define _AdverseWeatherCondition_VisibilitySubCauseCode_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeInteger.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum AdverseWeatherCondition_VisibilitySubCauseCode {
|
||||
AdverseWeatherCondition_VisibilitySubCauseCode_unavailable = 0,
|
||||
AdverseWeatherCondition_VisibilitySubCauseCode_fog = 1,
|
||||
AdverseWeatherCondition_VisibilitySubCauseCode_smoke = 2,
|
||||
AdverseWeatherCondition_VisibilitySubCauseCode_heavySnowfall = 3,
|
||||
AdverseWeatherCondition_VisibilitySubCauseCode_heavyRain = 4,
|
||||
AdverseWeatherCondition_VisibilitySubCauseCode_heavyHail = 5,
|
||||
AdverseWeatherCondition_VisibilitySubCauseCode_lowSunGlare = 6,
|
||||
AdverseWeatherCondition_VisibilitySubCauseCode_sandstorms = 7,
|
||||
AdverseWeatherCondition_VisibilitySubCauseCode_swarmsOfInsects = 8
|
||||
} e_AdverseWeatherCondition_VisibilitySubCauseCode;
|
||||
|
||||
/* AdverseWeatherCondition-VisibilitySubCauseCode */
|
||||
typedef long AdverseWeatherCondition_VisibilitySubCauseCode_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AdverseWeatherCondition_VisibilitySubCauseCode;
|
||||
asn_struct_free_f AdverseWeatherCondition_VisibilitySubCauseCode_free;
|
||||
asn_struct_print_f AdverseWeatherCondition_VisibilitySubCauseCode_print;
|
||||
asn_constr_check_f AdverseWeatherCondition_VisibilitySubCauseCode_constraint;
|
||||
ber_type_decoder_f AdverseWeatherCondition_VisibilitySubCauseCode_decode_ber;
|
||||
der_type_encoder_f AdverseWeatherCondition_VisibilitySubCauseCode_encode_der;
|
||||
xer_type_decoder_f AdverseWeatherCondition_VisibilitySubCauseCode_decode_xer;
|
||||
xer_type_encoder_f AdverseWeatherCondition_VisibilitySubCauseCode_encode_xer;
|
||||
jer_type_encoder_f AdverseWeatherCondition_VisibilitySubCauseCode_encode_jer;
|
||||
oer_type_decoder_f AdverseWeatherCondition_VisibilitySubCauseCode_decode_oer;
|
||||
oer_type_encoder_f AdverseWeatherCondition_VisibilitySubCauseCode_encode_oer;
|
||||
per_type_decoder_f AdverseWeatherCondition_VisibilitySubCauseCode_decode_uper;
|
||||
per_type_encoder_f AdverseWeatherCondition_VisibilitySubCauseCode_encode_uper;
|
||||
per_type_decoder_f AdverseWeatherCondition_VisibilitySubCauseCode_decode_aper;
|
||||
per_type_encoder_f AdverseWeatherCondition_VisibilitySubCauseCode_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AdverseWeatherCondition_VisibilitySubCauseCode_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,288 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "DSRC"
|
||||
* found in "ISO19091.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AdvisorySpeed.h"
|
||||
|
||||
static int
|
||||
memb_regional_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
size_t size;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* Determine the number of elements */
|
||||
size = _A_CSEQUENCE_FROM_VOID(sptr)->count;
|
||||
|
||||
if((size >= 1UL && size <= 4UL)) {
|
||||
/* Perform validation of the inner elements */
|
||||
return SEQUENCE_OF_constraint(td, sptr, ctfailcb, app_key);
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
static asn_oer_constraints_t asn_OER_type_regional_constr_7 CC_NOTUSED = {
|
||||
{ 0, 0 },
|
||||
-1 /* (SIZE(1..4)) */};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
static asn_per_constraints_t asn_PER_type_regional_constr_7 CC_NOTUSED = {
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
{ APC_CONSTRAINED, 2, 2, 1, 4 } /* (SIZE(1..4)) */,
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
static asn_oer_constraints_t asn_OER_memb_regional_constr_7 CC_NOTUSED = {
|
||||
{ 0, 0 },
|
||||
-1 /* (SIZE(1..4)) */};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
static asn_per_constraints_t asn_PER_memb_regional_constr_7 CC_NOTUSED = {
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
{ APC_CONSTRAINED, 2, 2, 1, 4 } /* (SIZE(1..4)) */,
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static asn_TYPE_member_t asn_MBR_regional_7[] = {
|
||||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_Reg_AdvisorySpeed,
|
||||
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 */
|
||||
""
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_regional_tags_7[] = {
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static asn_SET_OF_specifics_t asn_SPC_regional_specs_7 = {
|
||||
sizeof(struct AdvisorySpeed__regional),
|
||||
offsetof(struct AdvisorySpeed__regional, _asn_ctx),
|
||||
0, /* XER encoding is XMLDelimitedItemList */
|
||||
};
|
||||
static /* Use -fall-defs-global to expose */
|
||||
asn_TYPE_descriptor_t asn_DEF_regional_7 = {
|
||||
"regional",
|
||||
"regional",
|
||||
&asn_OP_SEQUENCE_OF,
|
||||
asn_DEF_regional_tags_7,
|
||||
sizeof(asn_DEF_regional_tags_7)
|
||||
/sizeof(asn_DEF_regional_tags_7[0]) - 1, /* 1 */
|
||||
asn_DEF_regional_tags_7, /* Same as above */
|
||||
sizeof(asn_DEF_regional_tags_7)
|
||||
/sizeof(asn_DEF_regional_tags_7[0]), /* 2 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_regional_constr_7,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_regional_constr_7,
|
||||
#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_OF_constraint
|
||||
},
|
||||
asn_MBR_regional_7,
|
||||
1, /* Single element */
|
||||
&asn_SPC_regional_specs_7 /* Additional specs */
|
||||
};
|
||||
|
||||
asn_TYPE_member_t asn_MBR_AdvisorySpeed_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AdvisorySpeed, type),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_AdvisorySpeedType,
|
||||
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 */
|
||||
"type"
|
||||
},
|
||||
{ ATF_POINTER, 5, offsetof(struct AdvisorySpeed, speed),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SpeedAdvice,
|
||||
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 */
|
||||
"speed"
|
||||
},
|
||||
{ ATF_POINTER, 4, offsetof(struct AdvisorySpeed, confidence),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SpeedConfidenceIso,
|
||||
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 */
|
||||
"confidence"
|
||||
},
|
||||
{ ATF_POINTER, 3, offsetof(struct AdvisorySpeed, distance),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ZoneLength,
|
||||
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 */
|
||||
"distance"
|
||||
},
|
||||
{ ATF_POINTER, 2, offsetof(struct AdvisorySpeed, Class),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_RestrictionClassID,
|
||||
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 */
|
||||
"class"
|
||||
},
|
||||
{ ATF_POINTER, 1, offsetof(struct AdvisorySpeed, regional),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
|
||||
0,
|
||||
&asn_DEF_regional_7,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_memb_regional_constr_7,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_memb_regional_constr_7,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
memb_regional_constraint_1
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
"regional"
|
||||
},
|
||||
};
|
||||
static const int asn_MAP_AdvisorySpeed_oms_1[] = { 1, 2, 3, 4, 5 };
|
||||
static const ber_tlv_tag_t asn_DEF_AdvisorySpeed_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_AdvisorySpeed_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* type */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* speed */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* confidence */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* distance */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* class */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* regional */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_AdvisorySpeed_specs_1 = {
|
||||
sizeof(struct AdvisorySpeed),
|
||||
offsetof(struct AdvisorySpeed, _asn_ctx),
|
||||
asn_MAP_AdvisorySpeed_tag2el_1,
|
||||
6, /* Count of tags in the map */
|
||||
asn_MAP_AdvisorySpeed_oms_1, /* Optional members */
|
||||
5, 0, /* Root/Additions */
|
||||
6, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AdvisorySpeed = {
|
||||
"AdvisorySpeed",
|
||||
"AdvisorySpeed",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_AdvisorySpeed_tags_1,
|
||||
sizeof(asn_DEF_AdvisorySpeed_tags_1)
|
||||
/sizeof(asn_DEF_AdvisorySpeed_tags_1[0]), /* 1 */
|
||||
asn_DEF_AdvisorySpeed_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AdvisorySpeed_tags_1)
|
||||
/sizeof(asn_DEF_AdvisorySpeed_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_AdvisorySpeed_1,
|
||||
6, /* Elements count */
|
||||
&asn_SPC_AdvisorySpeed_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "DSRC"
|
||||
* found in "ISO19091.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AdvisorySpeed_H_
|
||||
#define _AdvisorySpeed_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "AdvisorySpeedType.h"
|
||||
#include "SpeedAdvice.h"
|
||||
#include "SpeedConfidenceIso.h"
|
||||
#include "ZoneLength.h"
|
||||
#include "RestrictionClassID.h"
|
||||
#include "asn_SEQUENCE_OF.h"
|
||||
#include "constr_SEQUENCE_OF.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct Reg_AdvisorySpeed;
|
||||
|
||||
/* AdvisorySpeed */
|
||||
typedef struct AdvisorySpeed {
|
||||
AdvisorySpeedType_t type;
|
||||
SpeedAdvice_t *speed; /* OPTIONAL */
|
||||
SpeedConfidenceIso_t *confidence; /* OPTIONAL */
|
||||
ZoneLength_t *distance; /* OPTIONAL */
|
||||
RestrictionClassID_t *Class; /* OPTIONAL */
|
||||
struct AdvisorySpeed__regional {
|
||||
A_SEQUENCE_OF(struct Reg_AdvisorySpeed) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} *regional;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AdvisorySpeed_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AdvisorySpeed;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_AdvisorySpeed_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AdvisorySpeed_1[6];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "RegionalExtension.h"
|
||||
|
||||
#endif /* _AdvisorySpeed_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "DSRC"
|
||||
* found in "ISO19091.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AdvisorySpeedList.h"
|
||||
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_AdvisorySpeedList_constr_1 CC_NOTUSED = {
|
||||
{ 0, 0 },
|
||||
-1 /* (SIZE(1..16)) */};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_AdvisorySpeedList_constr_1 CC_NOTUSED = {
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
{ APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */,
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
asn_TYPE_member_t asn_MBR_AdvisorySpeedList_1[] = {
|
||||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_AdvisorySpeed,
|
||||
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 */
|
||||
""
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_AdvisorySpeedList_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
asn_SET_OF_specifics_t asn_SPC_AdvisorySpeedList_specs_1 = {
|
||||
sizeof(struct AdvisorySpeedList),
|
||||
offsetof(struct AdvisorySpeedList, _asn_ctx),
|
||||
0, /* XER encoding is XMLDelimitedItemList */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AdvisorySpeedList = {
|
||||
"AdvisorySpeedList",
|
||||
"AdvisorySpeedList",
|
||||
&asn_OP_SEQUENCE_OF,
|
||||
asn_DEF_AdvisorySpeedList_tags_1,
|
||||
sizeof(asn_DEF_AdvisorySpeedList_tags_1)
|
||||
/sizeof(asn_DEF_AdvisorySpeedList_tags_1[0]), /* 1 */
|
||||
asn_DEF_AdvisorySpeedList_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AdvisorySpeedList_tags_1)
|
||||
/sizeof(asn_DEF_AdvisorySpeedList_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AdvisorySpeedList_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AdvisorySpeedList_constr_1,
|
||||
#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_OF_constraint
|
||||
},
|
||||
asn_MBR_AdvisorySpeedList_1,
|
||||
1, /* Single element */
|
||||
&asn_SPC_AdvisorySpeedList_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "DSRC"
|
||||
* found in "ISO19091.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AdvisorySpeedList_H_
|
||||
#define _AdvisorySpeedList_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "asn_SEQUENCE_OF.h"
|
||||
#include "constr_SEQUENCE_OF.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct AdvisorySpeed;
|
||||
|
||||
/* AdvisorySpeedList */
|
||||
typedef struct AdvisorySpeedList {
|
||||
A_SEQUENCE_OF(struct AdvisorySpeed) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AdvisorySpeedList_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AdvisorySpeedList;
|
||||
extern asn_SET_OF_specifics_t asn_SPC_AdvisorySpeedList_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AdvisorySpeedList_1[1];
|
||||
extern asn_oer_constraints_t asn_OER_type_AdvisorySpeedList_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_AdvisorySpeedList_constr_1;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "AdvisorySpeed.h"
|
||||
|
||||
#endif /* _AdvisorySpeedList_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "DSRC"
|
||||
* found in "ISO19091.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AdvisorySpeedType.h"
|
||||
|
||||
/*
|
||||
* This type is implemented using NativeEnumerated,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_AdvisorySpeedType_constr_1 CC_NOTUSED = {
|
||||
{ 0, 0 },
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_AdvisorySpeedType_constr_1 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 3 } /* (0..3,...) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const asn_INTEGER_enum_map_t asn_MAP_AdvisorySpeedType_value2enum_1[] = {
|
||||
{ 0, 4, "none" },
|
||||
{ 1, 9, "greenwave" },
|
||||
{ 2, 8, "ecoDrive" },
|
||||
{ 3, 7, "transit" }
|
||||
/* This list is extensible */
|
||||
};
|
||||
static const unsigned int asn_MAP_AdvisorySpeedType_enum2value_1[] = {
|
||||
2, /* ecoDrive(2) */
|
||||
1, /* greenwave(1) */
|
||||
0, /* none(0) */
|
||||
3 /* transit(3) */
|
||||
/* This list is extensible */
|
||||
};
|
||||
const asn_INTEGER_specifics_t asn_SPC_AdvisorySpeedType_specs_1 = {
|
||||
asn_MAP_AdvisorySpeedType_value2enum_1, /* "tag" => N; sorted by tag */
|
||||
asn_MAP_AdvisorySpeedType_enum2value_1, /* N => "tag"; sorted by N */
|
||||
4, /* Number of elements in the maps */
|
||||
5, /* Extensions before this member */
|
||||
1, /* Strict enumeration */
|
||||
0, /* Native long size */
|
||||
0
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_AdvisorySpeedType_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AdvisorySpeedType = {
|
||||
"AdvisorySpeedType",
|
||||
"AdvisorySpeedType",
|
||||
&asn_OP_NativeEnumerated,
|
||||
asn_DEF_AdvisorySpeedType_tags_1,
|
||||
sizeof(asn_DEF_AdvisorySpeedType_tags_1)
|
||||
/sizeof(asn_DEF_AdvisorySpeedType_tags_1[0]), /* 1 */
|
||||
asn_DEF_AdvisorySpeedType_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AdvisorySpeedType_tags_1)
|
||||
/sizeof(asn_DEF_AdvisorySpeedType_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AdvisorySpeedType_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AdvisorySpeedType_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
NativeEnumerated_constraint
|
||||
},
|
||||
0, 0, /* Defined elsewhere */
|
||||
&asn_SPC_AdvisorySpeedType_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "DSRC"
|
||||
* found in "ISO19091.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AdvisorySpeedType_H_
|
||||
#define _AdvisorySpeedType_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeEnumerated.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum AdvisorySpeedType {
|
||||
AdvisorySpeedType_none = 0,
|
||||
AdvisorySpeedType_greenwave = 1,
|
||||
AdvisorySpeedType_ecoDrive = 2,
|
||||
AdvisorySpeedType_transit = 3
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_AdvisorySpeedType;
|
||||
|
||||
/* AdvisorySpeedType */
|
||||
typedef long AdvisorySpeedType_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_oer_constraints_t asn_OER_type_AdvisorySpeedType_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_AdvisorySpeedType_constr_1;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AdvisorySpeedType;
|
||||
extern const asn_INTEGER_specifics_t asn_SPC_AdvisorySpeedType_specs_1;
|
||||
asn_struct_free_f AdvisorySpeedType_free;
|
||||
asn_struct_print_f AdvisorySpeedType_print;
|
||||
asn_constr_check_f AdvisorySpeedType_constraint;
|
||||
ber_type_decoder_f AdvisorySpeedType_decode_ber;
|
||||
der_type_encoder_f AdvisorySpeedType_encode_der;
|
||||
xer_type_decoder_f AdvisorySpeedType_decode_xer;
|
||||
xer_type_encoder_f AdvisorySpeedType_encode_xer;
|
||||
jer_type_encoder_f AdvisorySpeedType_encode_jer;
|
||||
oer_type_decoder_f AdvisorySpeedType_decode_oer;
|
||||
oer_type_encoder_f AdvisorySpeedType_encode_oer;
|
||||
per_type_decoder_f AdvisorySpeedType_decode_uper;
|
||||
per_type_encoder_f AdvisorySpeedType_encode_uper;
|
||||
per_type_decoder_f AdvisorySpeedType_decode_aper;
|
||||
per_type_encoder_f AdvisorySpeedType_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AdvisorySpeedType_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,179 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "DENM-PDU-Descriptions"
|
||||
* found in "EN302637-3v131-DENM.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AlacarteContainer.h"
|
||||
|
||||
asn_TYPE_member_t asn_MBR_AlacarteContainer_1[] = {
|
||||
{ ATF_POINTER, 6, offsetof(struct AlacarteContainer, lanePosition),
|
||||
(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 */
|
||||
"lanePosition"
|
||||
},
|
||||
{ ATF_POINTER, 5, offsetof(struct AlacarteContainer, impactReduction),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ImpactReductionContainer,
|
||||
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 */
|
||||
"impactReduction"
|
||||
},
|
||||
{ ATF_POINTER, 4, offsetof(struct AlacarteContainer, externalTemperature),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ITS_Container_Temperature,
|
||||
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 */
|
||||
"externalTemperature"
|
||||
},
|
||||
{ ATF_POINTER, 3, offsetof(struct AlacarteContainer, roadWorks),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_RoadWorksContainerExtended,
|
||||
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 */
|
||||
"roadWorks"
|
||||
},
|
||||
{ ATF_POINTER, 2, offsetof(struct AlacarteContainer, positioningSolution),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_PositioningSolutionType,
|
||||
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 */
|
||||
"positioningSolution"
|
||||
},
|
||||
{ ATF_POINTER, 1, offsetof(struct AlacarteContainer, stationaryVehicle),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_StationaryVehicleContainer,
|
||||
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 */
|
||||
"stationaryVehicle"
|
||||
},
|
||||
};
|
||||
static const int asn_MAP_AlacarteContainer_oms_1[] = { 0, 1, 2, 3, 4, 5 };
|
||||
static const ber_tlv_tag_t asn_DEF_AlacarteContainer_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_AlacarteContainer_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lanePosition */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* impactReduction */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* externalTemperature */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* roadWorks */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* positioningSolution */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* stationaryVehicle */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_AlacarteContainer_specs_1 = {
|
||||
sizeof(struct AlacarteContainer),
|
||||
offsetof(struct AlacarteContainer, _asn_ctx),
|
||||
asn_MAP_AlacarteContainer_tag2el_1,
|
||||
6, /* Count of tags in the map */
|
||||
asn_MAP_AlacarteContainer_oms_1, /* Optional members */
|
||||
6, 0, /* Root/Additions */
|
||||
6, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AlacarteContainer = {
|
||||
"AlacarteContainer",
|
||||
"AlacarteContainer",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_AlacarteContainer_tags_1,
|
||||
sizeof(asn_DEF_AlacarteContainer_tags_1)
|
||||
/sizeof(asn_DEF_AlacarteContainer_tags_1[0]), /* 1 */
|
||||
asn_DEF_AlacarteContainer_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AlacarteContainer_tags_1)
|
||||
/sizeof(asn_DEF_AlacarteContainer_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_AlacarteContainer_1,
|
||||
6, /* Elements count */
|
||||
&asn_SPC_AlacarteContainer_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "DENM-PDU-Descriptions"
|
||||
* found in "EN302637-3v131-DENM.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AlacarteContainer_H_
|
||||
#define _AlacarteContainer_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "LanePosition.h"
|
||||
#include "ITS-Container_Temperature.h"
|
||||
#include "PositioningSolutionType.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct ImpactReductionContainer;
|
||||
struct RoadWorksContainerExtended;
|
||||
struct StationaryVehicleContainer;
|
||||
|
||||
/* AlacarteContainer */
|
||||
typedef struct AlacarteContainer {
|
||||
LanePosition_t *lanePosition; /* OPTIONAL */
|
||||
struct ImpactReductionContainer *impactReduction; /* OPTIONAL */
|
||||
ITS_Container_Temperature_t *externalTemperature; /* OPTIONAL */
|
||||
struct RoadWorksContainerExtended *roadWorks; /* OPTIONAL */
|
||||
PositioningSolutionType_t *positioningSolution; /* OPTIONAL */
|
||||
struct StationaryVehicleContainer *stationaryVehicle; /* OPTIONAL */
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AlacarteContainer_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AlacarteContainer;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_AlacarteContainer_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AlacarteContainer_1[6];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "ImpactReductionContainer.h"
|
||||
#include "RoadWorksContainerExtended.h"
|
||||
#include "StationaryVehicleContainer.h"
|
||||
|
||||
#endif /* _AlacarteContainer_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "DSRC"
|
||||
* found in "ISO19091.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AllowedManeuvers.h"
|
||||
|
||||
int
|
||||
AllowedManeuvers_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
|
||||
size_t size;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
if(st->size > 0) {
|
||||
/* Size in bits */
|
||||
size = 8 * st->size - (st->bits_unused & 0x07);
|
||||
} else {
|
||||
size = 0;
|
||||
}
|
||||
|
||||
if((size == 12UL)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This type is implemented using BIT_STRING,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_AllowedManeuvers_constr_1 CC_NOTUSED = {
|
||||
{ 0, 0 },
|
||||
12 /* (SIZE(12..12)) */};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_AllowedManeuvers_constr_1 CC_NOTUSED = {
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
{ APC_CONSTRAINED, 0, 0, 12, 12 } /* (SIZE(12..12)) */,
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
asn_jer_constraints_t asn_JER_type_AllowedManeuvers_constr_1 CC_NOTUSED = {
|
||||
12};
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
static const ber_tlv_tag_t asn_DEF_AllowedManeuvers_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (3 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AllowedManeuvers = {
|
||||
"AllowedManeuvers",
|
||||
"AllowedManeuvers",
|
||||
&asn_OP_BIT_STRING,
|
||||
asn_DEF_AllowedManeuvers_tags_1,
|
||||
sizeof(asn_DEF_AllowedManeuvers_tags_1)
|
||||
/sizeof(asn_DEF_AllowedManeuvers_tags_1[0]), /* 1 */
|
||||
asn_DEF_AllowedManeuvers_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AllowedManeuvers_tags_1)
|
||||
/sizeof(asn_DEF_AllowedManeuvers_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AllowedManeuvers_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AllowedManeuvers_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
&asn_JER_type_AllowedManeuvers_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
AllowedManeuvers_constraint
|
||||
},
|
||||
0, 0, /* Defined elsewhere */
|
||||
&asn_SPC_BIT_STRING_specs /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "DSRC"
|
||||
* found in "ISO19091.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AllowedManeuvers_H_
|
||||
#define _AllowedManeuvers_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "BIT_STRING.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum AllowedManeuvers {
|
||||
AllowedManeuvers_maneuverStraightAllowed = 0,
|
||||
AllowedManeuvers_maneuverLeftAllowed = 1,
|
||||
AllowedManeuvers_maneuverRightAllowed = 2,
|
||||
AllowedManeuvers_maneuverUTurnAllowed = 3,
|
||||
AllowedManeuvers_maneuverLeftTurnOnRedAllowed = 4,
|
||||
AllowedManeuvers_maneuverRightTurnOnRedAllowed = 5,
|
||||
AllowedManeuvers_maneuverLaneChangeAllowed = 6,
|
||||
AllowedManeuvers_maneuverNoStoppingAllowed = 7,
|
||||
AllowedManeuvers_yieldAllwaysRequired = 8,
|
||||
AllowedManeuvers_goWithHalt = 9,
|
||||
AllowedManeuvers_caution = 10,
|
||||
AllowedManeuvers_reserved1 = 11
|
||||
} e_AllowedManeuvers;
|
||||
|
||||
/* AllowedManeuvers */
|
||||
typedef BIT_STRING_t AllowedManeuvers_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_oer_constraints_t asn_OER_type_AllowedManeuvers_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_AllowedManeuvers_constr_1;
|
||||
extern asn_jer_constraints_t asn_JER_type_AllowedManeuvers_constr_1;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AllowedManeuvers;
|
||||
asn_struct_free_f AllowedManeuvers_free;
|
||||
asn_struct_print_f AllowedManeuvers_print;
|
||||
asn_constr_check_f AllowedManeuvers_constraint;
|
||||
ber_type_decoder_f AllowedManeuvers_decode_ber;
|
||||
der_type_encoder_f AllowedManeuvers_encode_der;
|
||||
xer_type_decoder_f AllowedManeuvers_decode_xer;
|
||||
xer_type_encoder_f AllowedManeuvers_encode_xer;
|
||||
jer_type_encoder_f AllowedManeuvers_encode_jer;
|
||||
oer_type_decoder_f AllowedManeuvers_decode_oer;
|
||||
oer_type_encoder_f AllowedManeuvers_encode_oer;
|
||||
per_type_decoder_f AllowedManeuvers_decode_uper;
|
||||
per_type_encoder_f AllowedManeuvers_encode_uper;
|
||||
per_type_decoder_f AllowedManeuvers_decode_aper;
|
||||
per_type_encoder_f AllowedManeuvers_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AllowedManeuvers_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "AVIAEINumberingAndDataStructures"
|
||||
* found in "ISO14816.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AlphabetIndicator.h"
|
||||
|
||||
int
|
||||
AlphabetIndicator_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= 0L && value <= 63L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This type is implemented using NativeInteger,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_AlphabetIndicator_constr_1 CC_NOTUSED = {
|
||||
{ 1, 1 } /* (0..63) */,
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_AlphabetIndicator_constr_1 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 6, 6, 0, 63 } /* (0..63) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const ber_tlv_tag_t asn_DEF_AlphabetIndicator_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AlphabetIndicator = {
|
||||
"AlphabetIndicator",
|
||||
"AlphabetIndicator",
|
||||
&asn_OP_NativeInteger,
|
||||
asn_DEF_AlphabetIndicator_tags_1,
|
||||
sizeof(asn_DEF_AlphabetIndicator_tags_1)
|
||||
/sizeof(asn_DEF_AlphabetIndicator_tags_1[0]), /* 1 */
|
||||
asn_DEF_AlphabetIndicator_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AlphabetIndicator_tags_1)
|
||||
/sizeof(asn_DEF_AlphabetIndicator_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AlphabetIndicator_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AlphabetIndicator_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
AlphabetIndicator_constraint
|
||||
},
|
||||
0, 0, /* Defined elsewhere */
|
||||
0 /* No specifics */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "AVIAEINumberingAndDataStructures"
|
||||
* found in "ISO14816.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AlphabetIndicator_H_
|
||||
#define _AlphabetIndicator_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeInteger.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum AlphabetIndicator {
|
||||
AlphabetIndicator_latinAlphabetNo1 = 0,
|
||||
AlphabetIndicator_latinAlphabetNo2 = 1,
|
||||
AlphabetIndicator_latinAlphabetNo3 = 2,
|
||||
AlphabetIndicator_latinAlphabetNo4 = 3,
|
||||
AlphabetIndicator_latinCyrillicAlphabet = 4,
|
||||
AlphabetIndicator_latinArabicAlphabet = 5,
|
||||
AlphabetIndicator_latinGreekAlphabet = 6,
|
||||
AlphabetIndicator_latinHebrewAlphabet = 7,
|
||||
AlphabetIndicator_latinAlphabetNo5 = 8,
|
||||
AlphabetIndicator_latinAlphabetNo6 = 9,
|
||||
AlphabetIndicator_twoOctetBMP = 10,
|
||||
AlphabetIndicator_fourOctetCanonical = 11
|
||||
} e_AlphabetIndicator;
|
||||
|
||||
/* AlphabetIndicator */
|
||||
typedef long AlphabetIndicator_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_oer_constraints_t asn_OER_type_AlphabetIndicator_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_AlphabetIndicator_constr_1;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AlphabetIndicator;
|
||||
asn_struct_free_f AlphabetIndicator_free;
|
||||
asn_struct_print_f AlphabetIndicator_print;
|
||||
asn_constr_check_f AlphabetIndicator_constraint;
|
||||
ber_type_decoder_f AlphabetIndicator_decode_ber;
|
||||
der_type_encoder_f AlphabetIndicator_encode_der;
|
||||
xer_type_decoder_f AlphabetIndicator_decode_xer;
|
||||
xer_type_encoder_f AlphabetIndicator_encode_xer;
|
||||
jer_type_encoder_f AlphabetIndicator_encode_jer;
|
||||
oer_type_decoder_f AlphabetIndicator_decode_oer;
|
||||
oer_type_encoder_f AlphabetIndicator_encode_oer;
|
||||
per_type_decoder_f AlphabetIndicator_decode_uper;
|
||||
per_type_encoder_f AlphabetIndicator_encode_uper;
|
||||
per_type_decoder_f AlphabetIndicator_decode_aper;
|
||||
per_type_encoder_f AlphabetIndicator_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AlphabetIndicator_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "Altitude.h"
|
||||
|
||||
asn_TYPE_member_t asn_MBR_Altitude_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct Altitude, altitudeValue),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_AltitudeValue,
|
||||
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 */
|
||||
"altitudeValue"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct Altitude, altitudeConfidence),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_AltitudeConfidence,
|
||||
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 */
|
||||
"altitudeConfidence"
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_Altitude_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_Altitude_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* altitudeValue */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* altitudeConfidence */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_Altitude_specs_1 = {
|
||||
sizeof(struct Altitude),
|
||||
offsetof(struct Altitude, _asn_ctx),
|
||||
asn_MAP_Altitude_tag2el_1,
|
||||
2, /* Count of tags in the map */
|
||||
0, 0, 0, /* Optional elements (not needed) */
|
||||
-1, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_Altitude = {
|
||||
"Altitude",
|
||||
"Altitude",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_Altitude_tags_1,
|
||||
sizeof(asn_DEF_Altitude_tags_1)
|
||||
/sizeof(asn_DEF_Altitude_tags_1[0]), /* 1 */
|
||||
asn_DEF_Altitude_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_Altitude_tags_1)
|
||||
/sizeof(asn_DEF_Altitude_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_Altitude_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_Altitude_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#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 altitudeValue;
|
||||
AltitudeConfidence_t altitudeConfidence;
|
||||
|
||||
/* 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"
|
||||
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AltitudeConfidence.h"
|
||||
|
||||
/*
|
||||
* This type is implemented using NativeEnumerated,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_AltitudeConfidence_constr_1 CC_NOTUSED = {
|
||||
{ 0, 0 },
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_AltitudeConfidence_constr_1 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const asn_INTEGER_enum_map_t asn_MAP_AltitudeConfidence_value2enum_1[] = {
|
||||
{ 0, 10, "alt-000-01" },
|
||||
{ 1, 10, "alt-000-02" },
|
||||
{ 2, 10, "alt-000-05" },
|
||||
{ 3, 10, "alt-000-10" },
|
||||
{ 4, 10, "alt-000-20" },
|
||||
{ 5, 10, "alt-000-50" },
|
||||
{ 6, 10, "alt-001-00" },
|
||||
{ 7, 10, "alt-002-00" },
|
||||
{ 8, 10, "alt-005-00" },
|
||||
{ 9, 10, "alt-010-00" },
|
||||
{ 10, 10, "alt-020-00" },
|
||||
{ 11, 10, "alt-050-00" },
|
||||
{ 12, 10, "alt-100-00" },
|
||||
{ 13, 10, "alt-200-00" },
|
||||
{ 14, 10, "outOfRange" },
|
||||
{ 15, 11, "unavailable" }
|
||||
};
|
||||
static const unsigned int asn_MAP_AltitudeConfidence_enum2value_1[] = {
|
||||
0, /* alt-000-01(0) */
|
||||
1, /* alt-000-02(1) */
|
||||
2, /* alt-000-05(2) */
|
||||
3, /* alt-000-10(3) */
|
||||
4, /* alt-000-20(4) */
|
||||
5, /* alt-000-50(5) */
|
||||
6, /* alt-001-00(6) */
|
||||
7, /* alt-002-00(7) */
|
||||
8, /* alt-005-00(8) */
|
||||
9, /* alt-010-00(9) */
|
||||
10, /* alt-020-00(10) */
|
||||
11, /* alt-050-00(11) */
|
||||
12, /* alt-100-00(12) */
|
||||
13, /* alt-200-00(13) */
|
||||
14, /* outOfRange(14) */
|
||||
15 /* unavailable(15) */
|
||||
};
|
||||
const asn_INTEGER_specifics_t asn_SPC_AltitudeConfidence_specs_1 = {
|
||||
asn_MAP_AltitudeConfidence_value2enum_1, /* "tag" => N; sorted by tag */
|
||||
asn_MAP_AltitudeConfidence_enum2value_1, /* N => "tag"; sorted by N */
|
||||
16, /* Number of elements in the maps */
|
||||
0, /* Enumeration is not extensible */
|
||||
1, /* Strict enumeration */
|
||||
0, /* Native long size */
|
||||
0
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_AltitudeConfidence_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AltitudeConfidence = {
|
||||
"AltitudeConfidence",
|
||||
"AltitudeConfidence",
|
||||
&asn_OP_NativeEnumerated,
|
||||
asn_DEF_AltitudeConfidence_tags_1,
|
||||
sizeof(asn_DEF_AltitudeConfidence_tags_1)
|
||||
/sizeof(asn_DEF_AltitudeConfidence_tags_1[0]), /* 1 */
|
||||
asn_DEF_AltitudeConfidence_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AltitudeConfidence_tags_1)
|
||||
/sizeof(asn_DEF_AltitudeConfidence_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AltitudeConfidence_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AltitudeConfidence_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
NativeEnumerated_constraint
|
||||
},
|
||||
0, 0, /* Defined elsewhere */
|
||||
&asn_SPC_AltitudeConfidence_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AltitudeConfidence_H_
|
||||
#define _AltitudeConfidence_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeEnumerated.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum AltitudeConfidence {
|
||||
AltitudeConfidence_alt_000_01 = 0,
|
||||
AltitudeConfidence_alt_000_02 = 1,
|
||||
AltitudeConfidence_alt_000_05 = 2,
|
||||
AltitudeConfidence_alt_000_10 = 3,
|
||||
AltitudeConfidence_alt_000_20 = 4,
|
||||
AltitudeConfidence_alt_000_50 = 5,
|
||||
AltitudeConfidence_alt_001_00 = 6,
|
||||
AltitudeConfidence_alt_002_00 = 7,
|
||||
AltitudeConfidence_alt_005_00 = 8,
|
||||
AltitudeConfidence_alt_010_00 = 9,
|
||||
AltitudeConfidence_alt_020_00 = 10,
|
||||
AltitudeConfidence_alt_050_00 = 11,
|
||||
AltitudeConfidence_alt_100_00 = 12,
|
||||
AltitudeConfidence_alt_200_00 = 13,
|
||||
AltitudeConfidence_outOfRange = 14,
|
||||
AltitudeConfidence_unavailable = 15
|
||||
} e_AltitudeConfidence;
|
||||
|
||||
/* AltitudeConfidence */
|
||||
typedef long AltitudeConfidence_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_oer_constraints_t asn_OER_type_AltitudeConfidence_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_AltitudeConfidence_constr_1;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AltitudeConfidence;
|
||||
extern const asn_INTEGER_specifics_t asn_SPC_AltitudeConfidence_specs_1;
|
||||
asn_struct_free_f AltitudeConfidence_free;
|
||||
asn_struct_print_f AltitudeConfidence_print;
|
||||
asn_constr_check_f AltitudeConfidence_constraint;
|
||||
ber_type_decoder_f AltitudeConfidence_decode_ber;
|
||||
der_type_encoder_f AltitudeConfidence_encode_der;
|
||||
xer_type_decoder_f AltitudeConfidence_decode_xer;
|
||||
xer_type_encoder_f AltitudeConfidence_encode_xer;
|
||||
jer_type_encoder_f AltitudeConfidence_encode_jer;
|
||||
oer_type_decoder_f AltitudeConfidence_decode_oer;
|
||||
oer_type_encoder_f AltitudeConfidence_encode_oer;
|
||||
per_type_decoder_f AltitudeConfidence_decode_uper;
|
||||
per_type_encoder_f AltitudeConfidence_encode_uper;
|
||||
per_type_decoder_f AltitudeConfidence_decode_aper;
|
||||
per_type_encoder_f AltitudeConfidence_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AltitudeConfidence_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AltitudeValue.h"
|
||||
|
||||
int
|
||||
AltitudeValue_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= -100000L && value <= 800001L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This type is implemented using NativeInteger,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_AltitudeValue_constr_1 CC_NOTUSED = {
|
||||
{ 4, 0 } /* (-100000..800001) */,
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_AltitudeValue_constr_1 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 20, -1, -100000, 800001 } /* (-100000..800001) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const ber_tlv_tag_t asn_DEF_AltitudeValue_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AltitudeValue = {
|
||||
"AltitudeValue",
|
||||
"AltitudeValue",
|
||||
&asn_OP_NativeInteger,
|
||||
asn_DEF_AltitudeValue_tags_1,
|
||||
sizeof(asn_DEF_AltitudeValue_tags_1)
|
||||
/sizeof(asn_DEF_AltitudeValue_tags_1[0]), /* 1 */
|
||||
asn_DEF_AltitudeValue_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AltitudeValue_tags_1)
|
||||
/sizeof(asn_DEF_AltitudeValue_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AltitudeValue_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AltitudeValue_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
AltitudeValue_constraint
|
||||
},
|
||||
0, 0, /* Defined elsewhere */
|
||||
0 /* No specifics */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "ITS-Container"
|
||||
* found in "TS102894-2v131-CDD.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AltitudeValue_H_
|
||||
#define _AltitudeValue_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeInteger.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum AltitudeValue {
|
||||
AltitudeValue_referenceEllipsoidSurface = 0,
|
||||
AltitudeValue_oneCentimeter = 1,
|
||||
AltitudeValue_unavailable = 800001
|
||||
} e_AltitudeValue;
|
||||
|
||||
/* AltitudeValue */
|
||||
typedef long AltitudeValue_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_oer_constraints_t asn_OER_type_AltitudeValue_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_AltitudeValue_constr_1;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AltitudeValue;
|
||||
asn_struct_free_f AltitudeValue_free;
|
||||
asn_struct_print_f AltitudeValue_print;
|
||||
asn_constr_check_f AltitudeValue_constraint;
|
||||
ber_type_decoder_f AltitudeValue_decode_ber;
|
||||
der_type_encoder_f AltitudeValue_encode_der;
|
||||
xer_type_decoder_f AltitudeValue_decode_xer;
|
||||
xer_type_encoder_f AltitudeValue_encode_xer;
|
||||
jer_type_encoder_f AltitudeValue_encode_jer;
|
||||
oer_type_decoder_f AltitudeValue_decode_oer;
|
||||
oer_type_encoder_f AltitudeValue_encode_oer;
|
||||
per_type_decoder_f AltitudeValue_decode_uper;
|
||||
per_type_encoder_f AltitudeValue_encode_uper;
|
||||
per_type_decoder_f AltitudeValue_decode_aper;
|
||||
per_type_encoder_f AltitudeValue_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AltitudeValue_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "DSRC"
|
||||
* found in "ISO19091.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "Angle.h"
|
||||
|
||||
int
|
||||
Angle_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= 0L && value <= 28800L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This type is implemented using NativeInteger,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_Angle_constr_1 CC_NOTUSED = {
|
||||
{ 2, 1 } /* (0..28800) */,
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_Angle_constr_1 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 15, 15, 0, 28800 } /* (0..28800) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const ber_tlv_tag_t asn_DEF_Angle_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_Angle = {
|
||||
"Angle",
|
||||
"Angle",
|
||||
&asn_OP_NativeInteger,
|
||||
asn_DEF_Angle_tags_1,
|
||||
sizeof(asn_DEF_Angle_tags_1)
|
||||
/sizeof(asn_DEF_Angle_tags_1[0]), /* 1 */
|
||||
asn_DEF_Angle_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_Angle_tags_1)
|
||||
/sizeof(asn_DEF_Angle_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_Angle_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_Angle_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
Angle_constraint
|
||||
},
|
||||
0, 0, /* No members */
|
||||
0 /* No specifics */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "DSRC"
|
||||
* found in "ISO19091.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _Angle_H_
|
||||
#define _Angle_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeInteger.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Angle */
|
||||
typedef long Angle_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_oer_constraints_t asn_OER_type_Angle_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_Angle_constr_1;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_Angle;
|
||||
asn_struct_free_f Angle_free;
|
||||
asn_struct_print_f Angle_print;
|
||||
asn_constr_check_f Angle_constraint;
|
||||
ber_type_decoder_f Angle_decode_ber;
|
||||
der_type_encoder_f Angle_encode_der;
|
||||
xer_type_decoder_f Angle_decode_xer;
|
||||
xer_type_encoder_f Angle_encode_xer;
|
||||
jer_type_encoder_f Angle_encode_jer;
|
||||
oer_type_decoder_f Angle_decode_oer;
|
||||
oer_type_encoder_f Angle_encode_oer;
|
||||
per_type_decoder_f Angle_decode_uper;
|
||||
per_type_encoder_f Angle_encode_uper;
|
||||
per_type_decoder_f Angle_decode_aper;
|
||||
per_type_encoder_f Angle_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _Angle_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "CPM-PDU-Descriptions"
|
||||
* found in "TR103562v211-CPM.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AngleConfidence.h"
|
||||
|
||||
int
|
||||
AngleConfidence_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= 1L && value <= 127L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This type is implemented using NativeInteger,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_AngleConfidence_constr_1 CC_NOTUSED = {
|
||||
{ 1, 1 } /* (1..127) */,
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_AngleConfidence_constr_1 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 7, 7, 1, 127 } /* (1..127) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const ber_tlv_tag_t asn_DEF_AngleConfidence_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AngleConfidence = {
|
||||
"AngleConfidence",
|
||||
"AngleConfidence",
|
||||
&asn_OP_NativeInteger,
|
||||
asn_DEF_AngleConfidence_tags_1,
|
||||
sizeof(asn_DEF_AngleConfidence_tags_1)
|
||||
/sizeof(asn_DEF_AngleConfidence_tags_1[0]), /* 1 */
|
||||
asn_DEF_AngleConfidence_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AngleConfidence_tags_1)
|
||||
/sizeof(asn_DEF_AngleConfidence_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AngleConfidence_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AngleConfidence_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
AngleConfidence_constraint
|
||||
},
|
||||
0, 0, /* Defined elsewhere */
|
||||
0 /* No specifics */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* 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 _AngleConfidence_H_
|
||||
#define _AngleConfidence_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeInteger.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum AngleConfidence {
|
||||
AngleConfidence_zeroPointOneDegree = 1,
|
||||
AngleConfidence_oneDegree = 10,
|
||||
AngleConfidence_outOfRange = 126,
|
||||
AngleConfidence_unavailable = 127
|
||||
} e_AngleConfidence;
|
||||
|
||||
/* AngleConfidence */
|
||||
typedef long AngleConfidence_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_oer_constraints_t asn_OER_type_AngleConfidence_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_AngleConfidence_constr_1;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AngleConfidence;
|
||||
asn_struct_free_f AngleConfidence_free;
|
||||
asn_struct_print_f AngleConfidence_print;
|
||||
asn_constr_check_f AngleConfidence_constraint;
|
||||
ber_type_decoder_f AngleConfidence_decode_ber;
|
||||
der_type_encoder_f AngleConfidence_encode_der;
|
||||
xer_type_decoder_f AngleConfidence_decode_xer;
|
||||
xer_type_encoder_f AngleConfidence_encode_xer;
|
||||
jer_type_encoder_f AngleConfidence_encode_jer;
|
||||
oer_type_decoder_f AngleConfidence_decode_oer;
|
||||
oer_type_encoder_f AngleConfidence_encode_oer;
|
||||
per_type_decoder_f AngleConfidence_decode_uper;
|
||||
per_type_encoder_f AngleConfidence_encode_uper;
|
||||
per_type_decoder_f AngleConfidence_decode_aper;
|
||||
per_type_encoder_f AngleConfidence_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AngleConfidence_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,141 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "CPM-PDU-Descriptions"
|
||||
* found in "TR103562v211-CPM.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AnimalSubclass.h"
|
||||
|
||||
static int asn_DFL_2_cmp_0(const void *sptr) {
|
||||
const AnimalSubclassType_t *st = sptr;
|
||||
|
||||
if(!st) {
|
||||
return -1; /* No value is not a default value */
|
||||
}
|
||||
|
||||
/* Test default value 0 */
|
||||
return (*st != 0);
|
||||
}
|
||||
static int asn_DFL_2_set_0(void **sptr) {
|
||||
AnimalSubclassType_t *st = *sptr;
|
||||
|
||||
if(!st) {
|
||||
st = (*sptr = CALLOC(1, sizeof(*st)));
|
||||
if(!st) return -1;
|
||||
}
|
||||
|
||||
/* Install default value 0 */
|
||||
*st = 0;
|
||||
return 0;
|
||||
}
|
||||
static int asn_DFL_3_cmp_0(const void *sptr) {
|
||||
const ClassConfidence_t *st = sptr;
|
||||
|
||||
if(!st) {
|
||||
return -1; /* No value is not a default value */
|
||||
}
|
||||
|
||||
/* Test default value 0 */
|
||||
return (*st != 0);
|
||||
}
|
||||
static int asn_DFL_3_set_0(void **sptr) {
|
||||
ClassConfidence_t *st = *sptr;
|
||||
|
||||
if(!st) {
|
||||
st = (*sptr = CALLOC(1, sizeof(*st)));
|
||||
if(!st) return -1;
|
||||
}
|
||||
|
||||
/* Install default value 0 */
|
||||
*st = 0;
|
||||
return 0;
|
||||
}
|
||||
asn_TYPE_member_t asn_MBR_AnimalSubclass_1[] = {
|
||||
{ ATF_NOFLAGS, 2, offsetof(struct AnimalSubclass, type),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_AnimalSubclassType,
|
||||
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
|
||||
},
|
||||
&asn_DFL_2_cmp_0, /* Compare DEFAULT 0 */
|
||||
&asn_DFL_2_set_0, /* Set DEFAULT 0 */
|
||||
"type"
|
||||
},
|
||||
{ ATF_NOFLAGS, 1, offsetof(struct AnimalSubclass, confidence),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ClassConfidence,
|
||||
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
|
||||
},
|
||||
&asn_DFL_3_cmp_0, /* Compare DEFAULT 0 */
|
||||
&asn_DFL_3_set_0, /* Set DEFAULT 0 */
|
||||
"confidence"
|
||||
},
|
||||
};
|
||||
static const int asn_MAP_AnimalSubclass_oms_1[] = { 0, 1 };
|
||||
static const ber_tlv_tag_t asn_DEF_AnimalSubclass_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_AnimalSubclass_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* type */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* confidence */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_AnimalSubclass_specs_1 = {
|
||||
sizeof(struct AnimalSubclass),
|
||||
offsetof(struct AnimalSubclass, _asn_ctx),
|
||||
asn_MAP_AnimalSubclass_tag2el_1,
|
||||
2, /* Count of tags in the map */
|
||||
asn_MAP_AnimalSubclass_oms_1, /* Optional members */
|
||||
2, 0, /* Root/Additions */
|
||||
-1, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AnimalSubclass = {
|
||||
"AnimalSubclass",
|
||||
"AnimalSubclass",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_AnimalSubclass_tags_1,
|
||||
sizeof(asn_DEF_AnimalSubclass_tags_1)
|
||||
/sizeof(asn_DEF_AnimalSubclass_tags_1[0]), /* 1 */
|
||||
asn_DEF_AnimalSubclass_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AnimalSubclass_tags_1)
|
||||
/sizeof(asn_DEF_AnimalSubclass_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_AnimalSubclass_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_AnimalSubclass_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* 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 _AnimalSubclass_H_
|
||||
#define _AnimalSubclass_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "AnimalSubclassType.h"
|
||||
#include "ClassConfidence.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* AnimalSubclass */
|
||||
typedef struct AnimalSubclass {
|
||||
AnimalSubclassType_t type; /* DEFAULT 0 */
|
||||
ClassConfidence_t confidence; /* DEFAULT 0 */
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AnimalSubclass_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AnimalSubclass;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_AnimalSubclass_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AnimalSubclass_1[2];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AnimalSubclass_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "CPM-PDU-Descriptions"
|
||||
* found in "TR103562v211-CPM.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AnimalSubclassType.h"
|
||||
|
||||
int
|
||||
AnimalSubclassType_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= 0L && value <= 255L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This type is implemented using NativeInteger,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_AnimalSubclassType_constr_1 CC_NOTUSED = {
|
||||
{ 1, 1 } /* (0..255) */,
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_AnimalSubclassType_constr_1 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const ber_tlv_tag_t asn_DEF_AnimalSubclassType_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AnimalSubclassType = {
|
||||
"AnimalSubclassType",
|
||||
"AnimalSubclassType",
|
||||
&asn_OP_NativeInteger,
|
||||
asn_DEF_AnimalSubclassType_tags_1,
|
||||
sizeof(asn_DEF_AnimalSubclassType_tags_1)
|
||||
/sizeof(asn_DEF_AnimalSubclassType_tags_1[0]), /* 1 */
|
||||
asn_DEF_AnimalSubclassType_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AnimalSubclassType_tags_1)
|
||||
/sizeof(asn_DEF_AnimalSubclassType_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AnimalSubclassType_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AnimalSubclassType_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
AnimalSubclassType_constraint
|
||||
},
|
||||
0, 0, /* Defined elsewhere */
|
||||
0 /* No specifics */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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 _AnimalSubclassType_H_
|
||||
#define _AnimalSubclassType_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeInteger.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum AnimalSubclassType {
|
||||
AnimalSubclassType_unknown = 0
|
||||
} e_AnimalSubclassType;
|
||||
|
||||
/* AnimalSubclassType */
|
||||
typedef long AnimalSubclassType_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_oer_constraints_t asn_OER_type_AnimalSubclassType_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_AnimalSubclassType_constr_1;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AnimalSubclassType;
|
||||
asn_struct_free_f AnimalSubclassType_free;
|
||||
asn_struct_print_f AnimalSubclassType_print;
|
||||
asn_constr_check_f AnimalSubclassType_constraint;
|
||||
ber_type_decoder_f AnimalSubclassType_decode_ber;
|
||||
der_type_encoder_f AnimalSubclassType_encode_der;
|
||||
xer_type_decoder_f AnimalSubclassType_decode_xer;
|
||||
xer_type_encoder_f AnimalSubclassType_encode_xer;
|
||||
jer_type_encoder_f AnimalSubclassType_encode_jer;
|
||||
oer_type_decoder_f AnimalSubclassType_decode_oer;
|
||||
oer_type_encoder_f AnimalSubclassType_encode_oer;
|
||||
per_type_decoder_f AnimalSubclassType_decode_uper;
|
||||
per_type_encoder_f AnimalSubclassType_encode_uper;
|
||||
per_type_decoder_f AnimalSubclassType_decode_aper;
|
||||
per_type_encoder_f AnimalSubclassType_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AnimalSubclassType_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "DSRC"
|
||||
* found in "ISO19091.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AntennaOffsetSet.h"
|
||||
|
||||
asn_TYPE_member_t asn_MBR_AntennaOffsetSet_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AntennaOffsetSet, antOffsetX),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Offset_B12,
|
||||
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 */
|
||||
"antOffsetX"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AntennaOffsetSet, antOffsetY),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Offset_B09,
|
||||
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 */
|
||||
"antOffsetY"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AntennaOffsetSet, antOffsetZ),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Offset_B10,
|
||||
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 */
|
||||
"antOffsetZ"
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_AntennaOffsetSet_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_AntennaOffsetSet_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* antOffsetX */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* antOffsetY */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* antOffsetZ */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_AntennaOffsetSet_specs_1 = {
|
||||
sizeof(struct AntennaOffsetSet),
|
||||
offsetof(struct AntennaOffsetSet, _asn_ctx),
|
||||
asn_MAP_AntennaOffsetSet_tag2el_1,
|
||||
3, /* Count of tags in the map */
|
||||
0, 0, 0, /* Optional elements (not needed) */
|
||||
-1, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AntennaOffsetSet = {
|
||||
"AntennaOffsetSet",
|
||||
"AntennaOffsetSet",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_AntennaOffsetSet_tags_1,
|
||||
sizeof(asn_DEF_AntennaOffsetSet_tags_1)
|
||||
/sizeof(asn_DEF_AntennaOffsetSet_tags_1[0]), /* 1 */
|
||||
asn_DEF_AntennaOffsetSet_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AntennaOffsetSet_tags_1)
|
||||
/sizeof(asn_DEF_AntennaOffsetSet_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_AntennaOffsetSet_1,
|
||||
3, /* Elements count */
|
||||
&asn_SPC_AntennaOffsetSet_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "DSRC"
|
||||
* found in "ISO19091.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AntennaOffsetSet_H_
|
||||
#define _AntennaOffsetSet_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "Offset-B12.h"
|
||||
#include "Offset-B09.h"
|
||||
#include "Offset-B10.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* AntennaOffsetSet */
|
||||
typedef struct AntennaOffsetSet {
|
||||
Offset_B12_t antOffsetX;
|
||||
Offset_B09_t antOffsetY;
|
||||
Offset_B10_t antOffsetZ;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AntennaOffsetSet_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AntennaOffsetSet;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_AntennaOffsetSet_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AntennaOffsetSet_1[3];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AntennaOffsetSet_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,290 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AnyCatalogue.h"
|
||||
|
||||
static int
|
||||
memb_version_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= 0L && value <= 255L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int
|
||||
memb_pictogramCode_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= 0L && value <= 65535L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int
|
||||
memb_value_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= 0L && value <= 65535L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
static asn_oer_constraints_t asn_OER_memb_version_constr_3 CC_NOTUSED = {
|
||||
{ 1, 1 } /* (0..255) */,
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
static asn_per_constraints_t asn_PER_memb_version_constr_3 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
static asn_oer_constraints_t asn_OER_memb_pictogramCode_constr_4 CC_NOTUSED = {
|
||||
{ 2, 1 } /* (0..65535) */,
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
static asn_per_constraints_t asn_PER_memb_pictogramCode_constr_4 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
static asn_oer_constraints_t asn_OER_memb_value_constr_5 CC_NOTUSED = {
|
||||
{ 2, 1 } /* (0..65535) */,
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
static asn_per_constraints_t asn_PER_memb_value_constr_5 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
asn_TYPE_member_t asn_MBR_AnyCatalogue_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AnyCatalogue, owner),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Provider,
|
||||
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 */
|
||||
"owner"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AnyCatalogue, version),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_memb_version_constr_3,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_memb_version_constr_3,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
memb_version_constraint_1
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
"version"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AnyCatalogue, pictogramCode),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_memb_pictogramCode_constr_4,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_memb_pictogramCode_constr_4,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
memb_pictogramCode_constraint_1
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
"pictogramCode"
|
||||
},
|
||||
{ ATF_POINTER, 3, offsetof(struct AnyCatalogue, value),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_memb_value_constr_5,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_memb_value_constr_5,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
memb_value_constraint_1
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
"value"
|
||||
},
|
||||
{ ATF_POINTER, 2, offsetof(struct AnyCatalogue, unit),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_RSCUnit,
|
||||
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 */
|
||||
"unit"
|
||||
},
|
||||
{ ATF_POINTER, 1, offsetof(struct AnyCatalogue, attributes),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ISO14823Attributes,
|
||||
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 */
|
||||
"attributes"
|
||||
},
|
||||
};
|
||||
static const int asn_MAP_AnyCatalogue_oms_1[] = { 3, 4, 5 };
|
||||
static const ber_tlv_tag_t asn_DEF_AnyCatalogue_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_AnyCatalogue_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* owner */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* version */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pictogramCode */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* value */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* unit */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* attributes */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_AnyCatalogue_specs_1 = {
|
||||
sizeof(struct AnyCatalogue),
|
||||
offsetof(struct AnyCatalogue, _asn_ctx),
|
||||
asn_MAP_AnyCatalogue_tag2el_1,
|
||||
6, /* Count of tags in the map */
|
||||
asn_MAP_AnyCatalogue_oms_1, /* Optional members */
|
||||
3, 0, /* Root/Additions */
|
||||
-1, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AnyCatalogue = {
|
||||
"AnyCatalogue",
|
||||
"AnyCatalogue",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_AnyCatalogue_tags_1,
|
||||
sizeof(asn_DEF_AnyCatalogue_tags_1)
|
||||
/sizeof(asn_DEF_AnyCatalogue_tags_1[0]), /* 1 */
|
||||
asn_DEF_AnyCatalogue_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AnyCatalogue_tags_1)
|
||||
/sizeof(asn_DEF_AnyCatalogue_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_AnyCatalogue_1,
|
||||
6, /* Elements count */
|
||||
&asn_SPC_AnyCatalogue_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AnyCatalogue_H_
|
||||
#define _AnyCatalogue_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "Provider.h"
|
||||
#include "NativeInteger.h"
|
||||
#include "RSCUnit.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct ISO14823Attributes;
|
||||
|
||||
/* AnyCatalogue */
|
||||
typedef struct AnyCatalogue {
|
||||
Provider_t owner;
|
||||
long version;
|
||||
long pictogramCode;
|
||||
long *value; /* OPTIONAL */
|
||||
RSCUnit_t *unit; /* OPTIONAL */
|
||||
struct ISO14823Attributes *attributes; /* OPTIONAL */
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AnyCatalogue_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AnyCatalogue;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_AnyCatalogue_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AnyCatalogue_1[6];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "ISO14823Attributes.h"
|
||||
|
||||
#endif /* _AnyCatalogue_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "DSRC"
|
||||
* found in "ISO19091.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "ApproachID.h"
|
||||
|
||||
int
|
||||
ApproachID_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= 0L && value <= 15L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This type is implemented using NativeInteger,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_ApproachID_constr_1 CC_NOTUSED = {
|
||||
{ 1, 1 } /* (0..15) */,
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_ApproachID_constr_1 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const ber_tlv_tag_t asn_DEF_ApproachID_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_ApproachID = {
|
||||
"ApproachID",
|
||||
"ApproachID",
|
||||
&asn_OP_NativeInteger,
|
||||
asn_DEF_ApproachID_tags_1,
|
||||
sizeof(asn_DEF_ApproachID_tags_1)
|
||||
/sizeof(asn_DEF_ApproachID_tags_1[0]), /* 1 */
|
||||
asn_DEF_ApproachID_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_ApproachID_tags_1)
|
||||
/sizeof(asn_DEF_ApproachID_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_ApproachID_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_ApproachID_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
ApproachID_constraint
|
||||
},
|
||||
0, 0, /* No members */
|
||||
0 /* No specifics */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "DSRC"
|
||||
* found in "ISO19091.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _ApproachID_H_
|
||||
#define _ApproachID_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeInteger.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* ApproachID */
|
||||
typedef long ApproachID_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_oer_constraints_t asn_OER_type_ApproachID_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_ApproachID_constr_1;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ApproachID;
|
||||
asn_struct_free_f ApproachID_free;
|
||||
asn_struct_print_f ApproachID_print;
|
||||
asn_constr_check_f ApproachID_constraint;
|
||||
ber_type_decoder_f ApproachID_decode_ber;
|
||||
der_type_encoder_f ApproachID_encode_der;
|
||||
xer_type_decoder_f ApproachID_decode_xer;
|
||||
xer_type_encoder_f ApproachID_encode_xer;
|
||||
jer_type_encoder_f ApproachID_encode_jer;
|
||||
oer_type_decoder_f ApproachID_decode_oer;
|
||||
oer_type_encoder_f ApproachID_encode_oer;
|
||||
per_type_decoder_f ApproachID_decode_uper;
|
||||
per_type_encoder_f ApproachID_encode_uper;
|
||||
per_type_decoder_f ApproachID_decode_aper;
|
||||
per_type_encoder_f ApproachID_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _ApproachID_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "CPM-PDU-Descriptions"
|
||||
* found in "TR103562v211-CPM.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AreaCircular.h"
|
||||
|
||||
asn_TYPE_member_t asn_MBR_AreaCircular_1[] = {
|
||||
{ ATF_POINTER, 1, offsetof(struct AreaCircular, nodeCenterPoint),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_OffsetPoint,
|
||||
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 */
|
||||
"nodeCenterPoint"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AreaCircular, radius),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Radius,
|
||||
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 */
|
||||
"radius"
|
||||
},
|
||||
};
|
||||
static const int asn_MAP_AreaCircular_oms_1[] = { 0 };
|
||||
static const ber_tlv_tag_t asn_DEF_AreaCircular_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_AreaCircular_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nodeCenterPoint */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* radius */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_AreaCircular_specs_1 = {
|
||||
sizeof(struct AreaCircular),
|
||||
offsetof(struct AreaCircular, _asn_ctx),
|
||||
asn_MAP_AreaCircular_tag2el_1,
|
||||
2, /* Count of tags in the map */
|
||||
asn_MAP_AreaCircular_oms_1, /* Optional members */
|
||||
1, 0, /* Root/Additions */
|
||||
-1, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AreaCircular = {
|
||||
"AreaCircular",
|
||||
"AreaCircular",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_AreaCircular_tags_1,
|
||||
sizeof(asn_DEF_AreaCircular_tags_1)
|
||||
/sizeof(asn_DEF_AreaCircular_tags_1[0]), /* 1 */
|
||||
asn_DEF_AreaCircular_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AreaCircular_tags_1)
|
||||
/sizeof(asn_DEF_AreaCircular_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_AreaCircular_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_AreaCircular_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* 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 _AreaCircular_H_
|
||||
#define _AreaCircular_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "Radius.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct OffsetPoint;
|
||||
|
||||
/* AreaCircular */
|
||||
typedef struct AreaCircular {
|
||||
struct OffsetPoint *nodeCenterPoint; /* OPTIONAL */
|
||||
Radius_t radius;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AreaCircular_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AreaCircular;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_AreaCircular_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AreaCircular_1[2];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "OffsetPoint.h"
|
||||
|
||||
#endif /* _AreaCircular_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,158 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "CPM-PDU-Descriptions"
|
||||
* found in "TR103562v211-CPM.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AreaEllipse.h"
|
||||
|
||||
asn_TYPE_member_t asn_MBR_AreaEllipse_1[] = {
|
||||
{ ATF_POINTER, 1, offsetof(struct AreaEllipse, nodeCenterPoint),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_OffsetPoint,
|
||||
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 */
|
||||
"nodeCenterPoint"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AreaEllipse, semiMinorRangeLength),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SemiRangeLength,
|
||||
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 */
|
||||
"semiMinorRangeLength"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AreaEllipse, semiMajorRangeLength),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SemiRangeLength,
|
||||
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 */
|
||||
"semiMajorRangeLength"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AreaEllipse, semiMajorRangeOrientation),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_WGS84AngleValue,
|
||||
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 */
|
||||
"semiMajorRangeOrientation"
|
||||
},
|
||||
{ ATF_POINTER, 1, offsetof(struct AreaEllipse, semiHeight),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SemiRangeLength,
|
||||
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 */
|
||||
"semiHeight"
|
||||
},
|
||||
};
|
||||
static const int asn_MAP_AreaEllipse_oms_1[] = { 0, 4 };
|
||||
static const ber_tlv_tag_t asn_DEF_AreaEllipse_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_AreaEllipse_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nodeCenterPoint */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* semiMinorRangeLength */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* semiMajorRangeLength */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* semiMajorRangeOrientation */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* semiHeight */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_AreaEllipse_specs_1 = {
|
||||
sizeof(struct AreaEllipse),
|
||||
offsetof(struct AreaEllipse, _asn_ctx),
|
||||
asn_MAP_AreaEllipse_tag2el_1,
|
||||
5, /* Count of tags in the map */
|
||||
asn_MAP_AreaEllipse_oms_1, /* Optional members */
|
||||
2, 0, /* Root/Additions */
|
||||
-1, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AreaEllipse = {
|
||||
"AreaEllipse",
|
||||
"AreaEllipse",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_AreaEllipse_tags_1,
|
||||
sizeof(asn_DEF_AreaEllipse_tags_1)
|
||||
/sizeof(asn_DEF_AreaEllipse_tags_1[0]), /* 1 */
|
||||
asn_DEF_AreaEllipse_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AreaEllipse_tags_1)
|
||||
/sizeof(asn_DEF_AreaEllipse_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_AreaEllipse_1,
|
||||
5, /* Elements count */
|
||||
&asn_SPC_AreaEllipse_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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 _AreaEllipse_H_
|
||||
#define _AreaEllipse_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "SemiRangeLength.h"
|
||||
#include "WGS84AngleValue.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct OffsetPoint;
|
||||
|
||||
/* AreaEllipse */
|
||||
typedef struct AreaEllipse {
|
||||
struct OffsetPoint *nodeCenterPoint; /* OPTIONAL */
|
||||
SemiRangeLength_t semiMinorRangeLength;
|
||||
SemiRangeLength_t semiMajorRangeLength;
|
||||
WGS84AngleValue_t semiMajorRangeOrientation;
|
||||
SemiRangeLength_t *semiHeight; /* OPTIONAL */
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AreaEllipse_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AreaEllipse;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_AreaEllipse_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AreaEllipse_1[5];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "OffsetPoint.h"
|
||||
|
||||
#endif /* _AreaEllipse_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "CPM-PDU-Descriptions"
|
||||
* found in "TR103562v211-CPM.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AreaPolygon.h"
|
||||
|
||||
asn_TYPE_member_t asn_MBR_AreaPolygon_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AreaPolygon, polyPointList),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_PolyPointList,
|
||||
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 */
|
||||
"polyPointList"
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_AreaPolygon_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_AreaPolygon_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* polyPointList */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_AreaPolygon_specs_1 = {
|
||||
sizeof(struct AreaPolygon),
|
||||
offsetof(struct AreaPolygon, _asn_ctx),
|
||||
asn_MAP_AreaPolygon_tag2el_1,
|
||||
1, /* Count of tags in the map */
|
||||
0, 0, 0, /* Optional elements (not needed) */
|
||||
-1, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AreaPolygon = {
|
||||
"AreaPolygon",
|
||||
"AreaPolygon",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_AreaPolygon_tags_1,
|
||||
sizeof(asn_DEF_AreaPolygon_tags_1)
|
||||
/sizeof(asn_DEF_AreaPolygon_tags_1[0]), /* 1 */
|
||||
asn_DEF_AreaPolygon_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AreaPolygon_tags_1)
|
||||
/sizeof(asn_DEF_AreaPolygon_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_AreaPolygon_1,
|
||||
1, /* Elements count */
|
||||
&asn_SPC_AreaPolygon_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* 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 _AreaPolygon_H_
|
||||
#define _AreaPolygon_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "PolyPointList.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* AreaPolygon */
|
||||
typedef struct AreaPolygon {
|
||||
PolyPointList_t polyPointList;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AreaPolygon_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AreaPolygon;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_AreaPolygon_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AreaPolygon_1[1];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AreaPolygon_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,200 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "CPM-PDU-Descriptions"
|
||||
* found in "TR103562v211-CPM.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AreaRadial.h"
|
||||
|
||||
asn_TYPE_member_t asn_MBR_AreaRadial_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AreaRadial, range),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Range,
|
||||
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 */
|
||||
"range"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AreaRadial, stationaryHorizontalOpeningAngleStart),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_WGS84AngleValue,
|
||||
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 */
|
||||
"stationaryHorizontalOpeningAngleStart"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AreaRadial, stationaryHorizontalOpeningAngleEnd),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_WGS84AngleValue,
|
||||
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 */
|
||||
"stationaryHorizontalOpeningAngleEnd"
|
||||
},
|
||||
{ ATF_POINTER, 4, offsetof(struct AreaRadial, verticalOpeningAngleStart),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_CartesianAngleValue,
|
||||
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 */
|
||||
"verticalOpeningAngleStart"
|
||||
},
|
||||
{ ATF_POINTER, 3, offsetof(struct AreaRadial, verticalOpeningAngleEnd),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_CartesianAngleValue,
|
||||
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 */
|
||||
"verticalOpeningAngleEnd"
|
||||
},
|
||||
{ ATF_POINTER, 2, offsetof(struct AreaRadial, sensorPositionOffset),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_OffsetPoint,
|
||||
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 */
|
||||
"sensorPositionOffset"
|
||||
},
|
||||
{ ATF_POINTER, 1, offsetof(struct AreaRadial, sensorHeight),
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SensorHeight,
|
||||
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 */
|
||||
"sensorHeight"
|
||||
},
|
||||
};
|
||||
static const int asn_MAP_AreaRadial_oms_1[] = { 3, 4, 5, 6 };
|
||||
static const ber_tlv_tag_t asn_DEF_AreaRadial_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_AreaRadial_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* range */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* stationaryHorizontalOpeningAngleStart */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* stationaryHorizontalOpeningAngleEnd */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* verticalOpeningAngleStart */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* verticalOpeningAngleEnd */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* sensorPositionOffset */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* sensorHeight */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_AreaRadial_specs_1 = {
|
||||
sizeof(struct AreaRadial),
|
||||
offsetof(struct AreaRadial, _asn_ctx),
|
||||
asn_MAP_AreaRadial_tag2el_1,
|
||||
7, /* Count of tags in the map */
|
||||
asn_MAP_AreaRadial_oms_1, /* Optional members */
|
||||
4, 0, /* Root/Additions */
|
||||
7, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AreaRadial = {
|
||||
"AreaRadial",
|
||||
"AreaRadial",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_AreaRadial_tags_1,
|
||||
sizeof(asn_DEF_AreaRadial_tags_1)
|
||||
/sizeof(asn_DEF_AreaRadial_tags_1[0]), /* 1 */
|
||||
asn_DEF_AreaRadial_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AreaRadial_tags_1)
|
||||
/sizeof(asn_DEF_AreaRadial_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_AreaRadial_1,
|
||||
7, /* Elements count */
|
||||
&asn_SPC_AreaRadial_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* 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 _AreaRadial_H_
|
||||
#define _AreaRadial_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "Range.h"
|
||||
#include "WGS84AngleValue.h"
|
||||
#include "CartesianAngleValue.h"
|
||||
#include "SensorHeight.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct OffsetPoint;
|
||||
|
||||
/* AreaRadial */
|
||||
typedef struct AreaRadial {
|
||||
Range_t range;
|
||||
WGS84AngleValue_t stationaryHorizontalOpeningAngleStart;
|
||||
WGS84AngleValue_t stationaryHorizontalOpeningAngleEnd;
|
||||
CartesianAngleValue_t *verticalOpeningAngleStart; /* OPTIONAL */
|
||||
CartesianAngleValue_t *verticalOpeningAngleEnd; /* OPTIONAL */
|
||||
struct OffsetPoint *sensorPositionOffset; /* OPTIONAL */
|
||||
SensorHeight_t *sensorHeight; /* OPTIONAL */
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AreaRadial_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AreaRadial;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_AreaRadial_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AreaRadial_1[7];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "OffsetPoint.h"
|
||||
|
||||
#endif /* _AreaRadial_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,158 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "CPM-PDU-Descriptions"
|
||||
* found in "TR103562v211-CPM.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AreaRectangle.h"
|
||||
|
||||
asn_TYPE_member_t asn_MBR_AreaRectangle_1[] = {
|
||||
{ ATF_POINTER, 1, offsetof(struct AreaRectangle, nodeCenterPoint),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_OffsetPoint,
|
||||
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 */
|
||||
"nodeCenterPoint"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AreaRectangle, semiMajorRangeLength),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SemiRangeLength,
|
||||
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 */
|
||||
"semiMajorRangeLength"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AreaRectangle, semiMinorRangeLength),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SemiRangeLength,
|
||||
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 */
|
||||
"semiMinorRangeLength"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AreaRectangle, semiMajorRangeOrientation),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_WGS84AngleValue,
|
||||
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 */
|
||||
"semiMajorRangeOrientation"
|
||||
},
|
||||
{ ATF_POINTER, 1, offsetof(struct AreaRectangle, semiHeight),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SemiRangeLength,
|
||||
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 */
|
||||
"semiHeight"
|
||||
},
|
||||
};
|
||||
static const int asn_MAP_AreaRectangle_oms_1[] = { 0, 4 };
|
||||
static const ber_tlv_tag_t asn_DEF_AreaRectangle_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_AreaRectangle_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nodeCenterPoint */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* semiMajorRangeLength */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* semiMinorRangeLength */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* semiMajorRangeOrientation */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* semiHeight */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_AreaRectangle_specs_1 = {
|
||||
sizeof(struct AreaRectangle),
|
||||
offsetof(struct AreaRectangle, _asn_ctx),
|
||||
asn_MAP_AreaRectangle_tag2el_1,
|
||||
5, /* Count of tags in the map */
|
||||
asn_MAP_AreaRectangle_oms_1, /* Optional members */
|
||||
2, 0, /* Root/Additions */
|
||||
-1, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AreaRectangle = {
|
||||
"AreaRectangle",
|
||||
"AreaRectangle",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_AreaRectangle_tags_1,
|
||||
sizeof(asn_DEF_AreaRectangle_tags_1)
|
||||
/sizeof(asn_DEF_AreaRectangle_tags_1[0]), /* 1 */
|
||||
asn_DEF_AreaRectangle_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AreaRectangle_tags_1)
|
||||
/sizeof(asn_DEF_AreaRectangle_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_AreaRectangle_1,
|
||||
5, /* Elements count */
|
||||
&asn_SPC_AreaRectangle_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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 _AreaRectangle_H_
|
||||
#define _AreaRectangle_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "SemiRangeLength.h"
|
||||
#include "WGS84AngleValue.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct OffsetPoint;
|
||||
|
||||
/* AreaRectangle */
|
||||
typedef struct AreaRectangle {
|
||||
struct OffsetPoint *nodeCenterPoint; /* OPTIONAL */
|
||||
SemiRangeLength_t semiMajorRangeLength;
|
||||
SemiRangeLength_t semiMinorRangeLength;
|
||||
WGS84AngleValue_t semiMajorRangeOrientation;
|
||||
SemiRangeLength_t *semiHeight; /* OPTIONAL */
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AreaRectangle_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AreaRectangle;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_AreaRectangle_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AreaRectangle_1[5];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "OffsetPoint.h"
|
||||
|
||||
#endif /* _AreaRectangle_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "EfcDsrcGeneric"
|
||||
* found in "ISO14906-1-7.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AttributeIdList.h"
|
||||
|
||||
static int
|
||||
memb_NativeInteger_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= 0L && value <= 127L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
static asn_oer_constraints_t asn_OER_memb_Member_constr_2 CC_NOTUSED = {
|
||||
{ 0, 0 },
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
static asn_per_constraints_t asn_PER_memb_Member_constr_2 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED | APC_EXTENSIBLE, 7, 7, 0, 127 } /* (0..127,...) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_AttributeIdList_constr_1 CC_NOTUSED = {
|
||||
{ 0, 0 },
|
||||
-1 /* (SIZE(0..MAX)) */};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_AttributeIdList_constr_1 CC_NOTUSED = {
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
{ APC_CONSTRAINED | APC_EXTENSIBLE, 7, 7, 0, 127 } /* (SIZE(0..127,...)) */,
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
asn_TYPE_member_t asn_MBR_AttributeIdList_1[] = {
|
||||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
|
||||
0,
|
||||
&asn_DEF_NativeInteger,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_memb_Member_constr_2,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_memb_Member_constr_2,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
memb_NativeInteger_constraint_1
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
""
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_AttributeIdList_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
asn_SET_OF_specifics_t asn_SPC_AttributeIdList_specs_1 = {
|
||||
sizeof(struct AttributeIdList),
|
||||
offsetof(struct AttributeIdList, _asn_ctx),
|
||||
0, /* XER encoding is XMLDelimitedItemList */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AttributeIdList = {
|
||||
"AttributeIdList",
|
||||
"AttributeIdList",
|
||||
&asn_OP_SEQUENCE_OF,
|
||||
asn_DEF_AttributeIdList_tags_1,
|
||||
sizeof(asn_DEF_AttributeIdList_tags_1)
|
||||
/sizeof(asn_DEF_AttributeIdList_tags_1[0]), /* 1 */
|
||||
asn_DEF_AttributeIdList_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AttributeIdList_tags_1)
|
||||
/sizeof(asn_DEF_AttributeIdList_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AttributeIdList_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AttributeIdList_constr_1,
|
||||
#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_OF_constraint
|
||||
},
|
||||
asn_MBR_AttributeIdList_1,
|
||||
1, /* Single element */
|
||||
&asn_SPC_AttributeIdList_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "EfcDsrcGeneric"
|
||||
* found in "ISO14906-1-7.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AttributeIdList_H_
|
||||
#define _AttributeIdList_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeInteger.h"
|
||||
#include "asn_SEQUENCE_OF.h"
|
||||
#include "constr_SEQUENCE_OF.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* AttributeIdList */
|
||||
typedef struct AttributeIdList {
|
||||
A_SEQUENCE_OF(long) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AttributeIdList_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AttributeIdList;
|
||||
extern asn_SET_OF_specifics_t asn_SPC_AttributeIdList_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AttributeIdList_1[1];
|
||||
extern asn_oer_constraints_t asn_OER_type_AttributeIdList_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_AttributeIdList_constr_1;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AttributeIdList_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "EfcDsrcGeneric"
|
||||
* found in "ISO14906-1-7.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AttributeList.h"
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "EfcDsrcGeneric"
|
||||
* found in "ISO14906-1-7.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AttributeList_H_
|
||||
#define _AttributeList_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AttributeList_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "EfcDsrcGeneric"
|
||||
* found in "ISO14906-1-7.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "Attributes.h"
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "EfcDsrcGeneric"
|
||||
* found in "ISO14906-1-7.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _Attributes_H_
|
||||
#define _Attributes_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _Attributes_H_ */
|
||||
#include "asn_internal.h"
|
||||
+78
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AutomatedVehicleContainer.h"
|
||||
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_AutomatedVehicleContainer_constr_1 CC_NOTUSED = {
|
||||
{ 0, 0 },
|
||||
-1 /* (SIZE(0..MAX)) */};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_AutomatedVehicleContainer_constr_1 CC_NOTUSED = {
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
{ APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 1, 16 } /* (SIZE(1..16,...)) */,
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
asn_TYPE_member_t asn_MBR_AutomatedVehicleContainer_1[] = {
|
||||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_AvcPart,
|
||||
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 */
|
||||
""
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_AutomatedVehicleContainer_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
asn_SET_OF_specifics_t asn_SPC_AutomatedVehicleContainer_specs_1 = {
|
||||
sizeof(struct AutomatedVehicleContainer),
|
||||
offsetof(struct AutomatedVehicleContainer, _asn_ctx),
|
||||
0, /* XER encoding is XMLDelimitedItemList */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AutomatedVehicleContainer = {
|
||||
"AutomatedVehicleContainer",
|
||||
"AutomatedVehicleContainer",
|
||||
&asn_OP_SEQUENCE_OF,
|
||||
asn_DEF_AutomatedVehicleContainer_tags_1,
|
||||
sizeof(asn_DEF_AutomatedVehicleContainer_tags_1)
|
||||
/sizeof(asn_DEF_AutomatedVehicleContainer_tags_1[0]), /* 1 */
|
||||
asn_DEF_AutomatedVehicleContainer_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AutomatedVehicleContainer_tags_1)
|
||||
/sizeof(asn_DEF_AutomatedVehicleContainer_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AutomatedVehicleContainer_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AutomatedVehicleContainer_constr_1,
|
||||
#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_OF_constraint
|
||||
},
|
||||
asn_MBR_AutomatedVehicleContainer_1,
|
||||
1, /* Single element */
|
||||
&asn_SPC_AutomatedVehicleContainer_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AutomatedVehicleContainer_H_
|
||||
#define _AutomatedVehicleContainer_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "asn_SEQUENCE_OF.h"
|
||||
#include "constr_SEQUENCE_OF.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct AvcPart;
|
||||
|
||||
/* AutomatedVehicleContainer */
|
||||
typedef struct AutomatedVehicleContainer {
|
||||
A_SEQUENCE_OF(struct AvcPart) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AutomatedVehicleContainer_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AutomatedVehicleContainer;
|
||||
extern asn_SET_OF_specifics_t asn_SPC_AutomatedVehicleContainer_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AutomatedVehicleContainer_1[1];
|
||||
extern asn_oer_constraints_t asn_OER_type_AutomatedVehicleContainer_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_AutomatedVehicleContainer_constr_1;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "AvcPart.h"
|
||||
|
||||
#endif /* _AutomatedVehicleContainer_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,242 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AutomatedVehicleRule.h"
|
||||
|
||||
asn_TYPE_member_t asn_MBR_AutomatedVehicleRule_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AutomatedVehicleRule, priority),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_PriorityLevel,
|
||||
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 */
|
||||
"priority"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AutomatedVehicleRule, allowedSaeAutomationLevels),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SaeAutomationLevels,
|
||||
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 */
|
||||
"allowedSaeAutomationLevels"
|
||||
},
|
||||
{ ATF_POINTER, 7, offsetof(struct AutomatedVehicleRule, minGapBetweenVehicles),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GapBetweenVehicles,
|
||||
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 */
|
||||
"minGapBetweenVehicles"
|
||||
},
|
||||
{ ATF_POINTER, 6, offsetof(struct AutomatedVehicleRule, recGapBetweenVehicles),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GapBetweenVehicles,
|
||||
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 */
|
||||
"recGapBetweenVehicles"
|
||||
},
|
||||
{ ATF_POINTER, 5, offsetof(struct AutomatedVehicleRule, automatedVehicleMaxSpeedLimit),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SpeedValue,
|
||||
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 */
|
||||
"automatedVehicleMaxSpeedLimit"
|
||||
},
|
||||
{ ATF_POINTER, 4, offsetof(struct AutomatedVehicleRule, automatedVehicleMinSpeedLimit),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SpeedValue,
|
||||
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 */
|
||||
"automatedVehicleMinSpeedLimit"
|
||||
},
|
||||
{ ATF_POINTER, 3, offsetof(struct AutomatedVehicleRule, automatedVehicleSpeedRecommendation),
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SpeedValue,
|
||||
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 */
|
||||
"automatedVehicleSpeedRecommendation"
|
||||
},
|
||||
{ ATF_POINTER, 2, offsetof(struct AutomatedVehicleRule, roadSignCodes),
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_RoadSignCodes,
|
||||
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 */
|
||||
"roadSignCodes"
|
||||
},
|
||||
{ ATF_POINTER, 1, offsetof(struct AutomatedVehicleRule, extraText),
|
||||
(ASN_TAG_CLASS_CONTEXT | (8 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ConstraintTextLines2,
|
||||
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 */
|
||||
"extraText"
|
||||
},
|
||||
};
|
||||
static const int asn_MAP_AutomatedVehicleRule_oms_1[] = { 2, 3, 4, 5, 6, 7, 8 };
|
||||
static const ber_tlv_tag_t asn_DEF_AutomatedVehicleRule_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_AutomatedVehicleRule_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* priority */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* allowedSaeAutomationLevels */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* minGapBetweenVehicles */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* recGapBetweenVehicles */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* automatedVehicleMaxSpeedLimit */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* automatedVehicleMinSpeedLimit */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* automatedVehicleSpeedRecommendation */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* roadSignCodes */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 } /* extraText */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_AutomatedVehicleRule_specs_1 = {
|
||||
sizeof(struct AutomatedVehicleRule),
|
||||
offsetof(struct AutomatedVehicleRule, _asn_ctx),
|
||||
asn_MAP_AutomatedVehicleRule_tag2el_1,
|
||||
9, /* Count of tags in the map */
|
||||
asn_MAP_AutomatedVehicleRule_oms_1, /* Optional members */
|
||||
7, 0, /* Root/Additions */
|
||||
9, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AutomatedVehicleRule = {
|
||||
"AutomatedVehicleRule",
|
||||
"AutomatedVehicleRule",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_AutomatedVehicleRule_tags_1,
|
||||
sizeof(asn_DEF_AutomatedVehicleRule_tags_1)
|
||||
/sizeof(asn_DEF_AutomatedVehicleRule_tags_1[0]), /* 1 */
|
||||
asn_DEF_AutomatedVehicleRule_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AutomatedVehicleRule_tags_1)
|
||||
/sizeof(asn_DEF_AutomatedVehicleRule_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_AutomatedVehicleRule_1,
|
||||
9, /* Elements count */
|
||||
&asn_SPC_AutomatedVehicleRule_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AutomatedVehicleRule_H_
|
||||
#define _AutomatedVehicleRule_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "PriorityLevel.h"
|
||||
#include "SaeAutomationLevels.h"
|
||||
#include "GapBetweenVehicles.h"
|
||||
#include "SpeedValue.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct RoadSignCodes;
|
||||
struct ConstraintTextLines2;
|
||||
|
||||
/* AutomatedVehicleRule */
|
||||
typedef struct AutomatedVehicleRule {
|
||||
PriorityLevel_t priority;
|
||||
SaeAutomationLevels_t allowedSaeAutomationLevels;
|
||||
GapBetweenVehicles_t *minGapBetweenVehicles; /* OPTIONAL */
|
||||
GapBetweenVehicles_t *recGapBetweenVehicles; /* OPTIONAL */
|
||||
SpeedValue_t *automatedVehicleMaxSpeedLimit; /* OPTIONAL */
|
||||
SpeedValue_t *automatedVehicleMinSpeedLimit; /* OPTIONAL */
|
||||
SpeedValue_t *automatedVehicleSpeedRecommendation; /* OPTIONAL */
|
||||
struct RoadSignCodes *roadSignCodes; /* OPTIONAL */
|
||||
struct ConstraintTextLines2 *extraText; /* OPTIONAL */
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AutomatedVehicleRule_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AutomatedVehicleRule;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_AutomatedVehicleRule_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AutomatedVehicleRule_1[9];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "RoadSignCodes.h"
|
||||
#include "ConstraintTextLines2.h"
|
||||
|
||||
#endif /* _AutomatedVehicleRule_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AutomatedVehicleRules.h"
|
||||
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_AutomatedVehicleRules_constr_1 CC_NOTUSED = {
|
||||
{ 0, 0 },
|
||||
-1 /* (SIZE(1..5)) */};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_AutomatedVehicleRules_constr_1 CC_NOTUSED = {
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
{ APC_CONSTRAINED, 3, 3, 1, 5 } /* (SIZE(1..5)) */,
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
asn_TYPE_member_t asn_MBR_AutomatedVehicleRules_1[] = {
|
||||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_AutomatedVehicleRule,
|
||||
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 */
|
||||
""
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_AutomatedVehicleRules_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
asn_SET_OF_specifics_t asn_SPC_AutomatedVehicleRules_specs_1 = {
|
||||
sizeof(struct AutomatedVehicleRules),
|
||||
offsetof(struct AutomatedVehicleRules, _asn_ctx),
|
||||
0, /* XER encoding is XMLDelimitedItemList */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AutomatedVehicleRules = {
|
||||
"AutomatedVehicleRules",
|
||||
"AutomatedVehicleRules",
|
||||
&asn_OP_SEQUENCE_OF,
|
||||
asn_DEF_AutomatedVehicleRules_tags_1,
|
||||
sizeof(asn_DEF_AutomatedVehicleRules_tags_1)
|
||||
/sizeof(asn_DEF_AutomatedVehicleRules_tags_1[0]), /* 1 */
|
||||
asn_DEF_AutomatedVehicleRules_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AutomatedVehicleRules_tags_1)
|
||||
/sizeof(asn_DEF_AutomatedVehicleRules_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AutomatedVehicleRules_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AutomatedVehicleRules_constr_1,
|
||||
#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_OF_constraint
|
||||
},
|
||||
asn_MBR_AutomatedVehicleRules_1,
|
||||
1, /* Single element */
|
||||
&asn_SPC_AutomatedVehicleRules_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AutomatedVehicleRules_H_
|
||||
#define _AutomatedVehicleRules_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "asn_SEQUENCE_OF.h"
|
||||
#include "constr_SEQUENCE_OF.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct AutomatedVehicleRule;
|
||||
|
||||
/* AutomatedVehicleRules */
|
||||
typedef struct AutomatedVehicleRules {
|
||||
A_SEQUENCE_OF(struct AutomatedVehicleRule) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AutomatedVehicleRules_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AutomatedVehicleRules;
|
||||
extern asn_SET_OF_specifics_t asn_SPC_AutomatedVehicleRules_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AutomatedVehicleRules_1[1];
|
||||
extern asn_oer_constraints_t asn_OER_type_AutomatedVehicleRules_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_AutomatedVehicleRules_constr_1;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "AutomatedVehicleRule.h"
|
||||
|
||||
#endif /* _AutomatedVehicleRules_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,212 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AvcPart.h"
|
||||
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_AvcPart_constr_1 CC_NOTUSED = {
|
||||
{ 0, 0 },
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_AvcPart_constr_1 CC_NOTUSED = {
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
asn_TYPE_member_t asn_MBR_AvcPart_1[] = {
|
||||
{ ATF_POINTER, 1, offsetof(struct AvcPart, 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_NOFLAGS, 0, offsetof(struct AvcPart, 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, 5, offsetof(struct AvcPart, direction),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 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, 4, offsetof(struct AvcPart, applicableLanes),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_LanePositions,
|
||||
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 */
|
||||
"applicableLanes"
|
||||
},
|
||||
{ ATF_POINTER, 3, offsetof(struct AvcPart, vehicleCharacteristics),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_VehicleCharacteristicsList,
|
||||
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 */
|
||||
"vehicleCharacteristics"
|
||||
},
|
||||
{ ATF_POINTER, 2, offsetof(struct AvcPart, automatedVehicleRules),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_AutomatedVehicleRules,
|
||||
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 */
|
||||
"automatedVehicleRules"
|
||||
},
|
||||
{ ATF_POINTER, 1, offsetof(struct AvcPart, platooningRules),
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_PlatooningRules,
|
||||
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 */
|
||||
"platooningRules"
|
||||
},
|
||||
};
|
||||
static const int asn_MAP_AvcPart_oms_1[] = { 0, 2, 3, 4, 5, 6 };
|
||||
static const ber_tlv_tag_t asn_DEF_AvcPart_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_AvcPart_tag2el_1[] = {
|
||||
{ (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 }, /* direction */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* applicableLanes */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* vehicleCharacteristics */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* automatedVehicleRules */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* platooningRules */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_AvcPart_specs_1 = {
|
||||
sizeof(struct AvcPart),
|
||||
offsetof(struct AvcPart, _asn_ctx),
|
||||
asn_MAP_AvcPart_tag2el_1,
|
||||
7, /* Count of tags in the map */
|
||||
asn_MAP_AvcPart_oms_1, /* Optional members */
|
||||
6, 0, /* Root/Additions */
|
||||
7, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AvcPart = {
|
||||
"AvcPart",
|
||||
"AvcPart",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_AvcPart_tags_1,
|
||||
sizeof(asn_DEF_AvcPart_tags_1)
|
||||
/sizeof(asn_DEF_AvcPart_tags_1[0]), /* 1 */
|
||||
asn_DEF_AvcPart_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AvcPart_tags_1)
|
||||
/sizeof(asn_DEF_AvcPart_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AvcPart_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AvcPart_constr_1,
|
||||
#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_AvcPart_1,
|
||||
7, /* Elements count */
|
||||
&asn_SPC_AvcPart_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AvcPart_H_
|
||||
#define _AvcPart_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "ZoneIds.h"
|
||||
#include "Direction.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct ZoneIds;
|
||||
struct LanePositions;
|
||||
struct VehicleCharacteristicsList;
|
||||
struct AutomatedVehicleRules;
|
||||
struct PlatooningRules;
|
||||
|
||||
/* AvcPart */
|
||||
typedef struct AvcPart {
|
||||
struct ZoneIds *detectionZoneIds; /* OPTIONAL */
|
||||
ZoneIds_t relevanceZoneIds;
|
||||
Direction_t *direction; /* OPTIONAL */
|
||||
struct LanePositions *applicableLanes; /* OPTIONAL */
|
||||
struct VehicleCharacteristicsList *vehicleCharacteristics; /* OPTIONAL */
|
||||
struct AutomatedVehicleRules *automatedVehicleRules; /* OPTIONAL */
|
||||
struct PlatooningRules *platooningRules; /* OPTIONAL */
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AvcPart_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AvcPart;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_AvcPart_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AvcPart_1[7];
|
||||
extern asn_oer_constraints_t asn_OER_type_AvcPart_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_AvcPart_constr_1;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "ZoneIds.h"
|
||||
#include "LanePositions.h"
|
||||
#include "VehicleCharacteristicsList.h"
|
||||
#include "AutomatedVehicleRules.h"
|
||||
#include "PlatooningRules.h"
|
||||
|
||||
#endif /* _AvcPart_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "AVIAEINumberingAndDataStructures"
|
||||
* found in "ISO14816.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AviEriDateTime.h"
|
||||
|
||||
int
|
||||
AviEriDateTime_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr;
|
||||
size_t size;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
size = st->size;
|
||||
|
||||
if((size == 10UL)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This type is implemented using OCTET_STRING,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_AviEriDateTime_constr_1 CC_NOTUSED = {
|
||||
{ 0, 0 },
|
||||
10 /* (SIZE(10..10)) */};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_AviEriDateTime_constr_1 CC_NOTUSED = {
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
{ APC_CONSTRAINED, 0, 0, 10, 10 } /* (SIZE(10..10)) */,
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const ber_tlv_tag_t asn_DEF_AviEriDateTime_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AviEriDateTime = {
|
||||
"AviEriDateTime",
|
||||
"AviEriDateTime",
|
||||
&asn_OP_OCTET_STRING,
|
||||
asn_DEF_AviEriDateTime_tags_1,
|
||||
sizeof(asn_DEF_AviEriDateTime_tags_1)
|
||||
/sizeof(asn_DEF_AviEriDateTime_tags_1[0]), /* 1 */
|
||||
asn_DEF_AviEriDateTime_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AviEriDateTime_tags_1)
|
||||
/sizeof(asn_DEF_AviEriDateTime_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_AviEriDateTime_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_AviEriDateTime_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
AviEriDateTime_constraint
|
||||
},
|
||||
0, 0, /* No members */
|
||||
&asn_SPC_OCTET_STRING_specs /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "AVIAEINumberingAndDataStructures"
|
||||
* found in "ISO14816.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AviEriDateTime_H_
|
||||
#define _AviEriDateTime_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "OCTET_STRING.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* AviEriDateTime */
|
||||
typedef OCTET_STRING_t AviEriDateTime_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_oer_constraints_t asn_OER_type_AviEriDateTime_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_AviEriDateTime_constr_1;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AviEriDateTime;
|
||||
asn_struct_free_f AviEriDateTime_free;
|
||||
asn_struct_print_f AviEriDateTime_print;
|
||||
asn_constr_check_f AviEriDateTime_constraint;
|
||||
ber_type_decoder_f AviEriDateTime_decode_ber;
|
||||
der_type_encoder_f AviEriDateTime_encode_der;
|
||||
xer_type_decoder_f AviEriDateTime_decode_xer;
|
||||
xer_type_encoder_f AviEriDateTime_encode_xer;
|
||||
jer_type_encoder_f AviEriDateTime_encode_jer;
|
||||
oer_type_decoder_f AviEriDateTime_decode_oer;
|
||||
oer_type_encoder_f AviEriDateTime_encode_oer;
|
||||
per_type_decoder_f AviEriDateTime_decode_uper;
|
||||
per_type_encoder_f AviEriDateTime_encode_uper;
|
||||
per_type_decoder_f AviEriDateTime_decode_aper;
|
||||
per_type_encoder_f AviEriDateTime_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AviEriDateTime_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,156 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "EfcDsrcApplication"
|
||||
* found in "ISO14906-0-6.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "AxleWeightLimits.h"
|
||||
|
||||
asn_TYPE_member_t asn_MBR_AxleWeightLimits_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AxleWeightLimits, maxLadenweightOnAxle1),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Int2,
|
||||
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 */
|
||||
"maxLadenweightOnAxle1"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AxleWeightLimits, maxLadenweightOnAxle2),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Int2,
|
||||
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 */
|
||||
"maxLadenweightOnAxle2"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AxleWeightLimits, maxLadenweightOnAxle3),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Int2,
|
||||
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 */
|
||||
"maxLadenweightOnAxle3"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AxleWeightLimits, maxLadenweightOnAxle4),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Int2,
|
||||
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 */
|
||||
"maxLadenweightOnAxle4"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct AxleWeightLimits, maxLadenweightOnAxle5),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Int2,
|
||||
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 */
|
||||
"maxLadenweightOnAxle5"
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_AxleWeightLimits_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_AxleWeightLimits_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* maxLadenweightOnAxle1 */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* maxLadenweightOnAxle2 */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* maxLadenweightOnAxle3 */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* maxLadenweightOnAxle4 */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* maxLadenweightOnAxle5 */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_AxleWeightLimits_specs_1 = {
|
||||
sizeof(struct AxleWeightLimits),
|
||||
offsetof(struct AxleWeightLimits, _asn_ctx),
|
||||
asn_MAP_AxleWeightLimits_tag2el_1,
|
||||
5, /* Count of tags in the map */
|
||||
0, 0, 0, /* Optional elements (not needed) */
|
||||
-1, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_AxleWeightLimits = {
|
||||
"AxleWeightLimits",
|
||||
"AxleWeightLimits",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_AxleWeightLimits_tags_1,
|
||||
sizeof(asn_DEF_AxleWeightLimits_tags_1)
|
||||
/sizeof(asn_DEF_AxleWeightLimits_tags_1[0]), /* 1 */
|
||||
asn_DEF_AxleWeightLimits_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AxleWeightLimits_tags_1)
|
||||
/sizeof(asn_DEF_AxleWeightLimits_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_AxleWeightLimits_1,
|
||||
5, /* Elements count */
|
||||
&asn_SPC_AxleWeightLimits_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "EfcDsrcApplication"
|
||||
* found in "ISO14906-0-6.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _AxleWeightLimits_H_
|
||||
#define _AxleWeightLimits_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "Int2.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* AxleWeightLimits */
|
||||
typedef struct AxleWeightLimits {
|
||||
Int2_t maxLadenweightOnAxle1;
|
||||
Int2_t maxLadenweightOnAxle2;
|
||||
Int2_t maxLadenweightOnAxle3;
|
||||
Int2_t maxLadenweightOnAxle4;
|
||||
Int2_t maxLadenweightOnAxle5;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AxleWeightLimits_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AxleWeightLimits;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_AxleWeightLimits_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_AxleWeightLimits_1[5];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AxleWeightLimits_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "BankingAngle.h"
|
||||
|
||||
int
|
||||
BankingAngle_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value >= -20L && value <= 21L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This type is implemented using NativeInteger,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_BankingAngle_constr_1 CC_NOTUSED = {
|
||||
{ 1, 0 } /* (-20..21) */,
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_BankingAngle_constr_1 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 6, 6, -20, 21 } /* (-20..21) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const ber_tlv_tag_t asn_DEF_BankingAngle_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_BankingAngle = {
|
||||
"BankingAngle",
|
||||
"BankingAngle",
|
||||
&asn_OP_NativeInteger,
|
||||
asn_DEF_BankingAngle_tags_1,
|
||||
sizeof(asn_DEF_BankingAngle_tags_1)
|
||||
/sizeof(asn_DEF_BankingAngle_tags_1[0]), /* 1 */
|
||||
asn_DEF_BankingAngle_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_BankingAngle_tags_1)
|
||||
/sizeof(asn_DEF_BankingAngle_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_BankingAngle_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_BankingAngle_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
BankingAngle_constraint
|
||||
},
|
||||
0, 0, /* No members */
|
||||
0 /* No specifics */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "IVI"
|
||||
* found in "ISO19321.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _BankingAngle_H_
|
||||
#define _BankingAngle_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeInteger.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* BankingAngle */
|
||||
typedef long BankingAngle_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_oer_constraints_t asn_OER_type_BankingAngle_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_BankingAngle_constr_1;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_BankingAngle;
|
||||
asn_struct_free_f BankingAngle_free;
|
||||
asn_struct_print_f BankingAngle_print;
|
||||
asn_constr_check_f BankingAngle_constraint;
|
||||
ber_type_decoder_f BankingAngle_decode_ber;
|
||||
der_type_encoder_f BankingAngle_encode_der;
|
||||
xer_type_decoder_f BankingAngle_decode_xer;
|
||||
xer_type_encoder_f BankingAngle_encode_xer;
|
||||
jer_type_encoder_f BankingAngle_encode_jer;
|
||||
oer_type_decoder_f BankingAngle_decode_oer;
|
||||
oer_type_encoder_f BankingAngle_encode_oer;
|
||||
per_type_decoder_f BankingAngle_decode_uper;
|
||||
per_type_encoder_f BankingAngle_encode_uper;
|
||||
per_type_decoder_f BankingAngle_decode_aper;
|
||||
per_type_encoder_f BankingAngle_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _BankingAngle_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "CAM-PDU-Descriptions"
|
||||
* found in "EN302637-2v141-CAM.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "BasicContainer.h"
|
||||
|
||||
asn_TYPE_member_t asn_MBR_BasicContainer_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct BasicContainer, stationType),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_StationType,
|
||||
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 */
|
||||
"stationType"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct BasicContainer, referencePosition),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ReferencePosition,
|
||||
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 */
|
||||
"referencePosition"
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_BasicContainer_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_BasicContainer_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* stationType */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* referencePosition */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_BasicContainer_specs_1 = {
|
||||
sizeof(struct BasicContainer),
|
||||
offsetof(struct BasicContainer, _asn_ctx),
|
||||
asn_MAP_BasicContainer_tag2el_1,
|
||||
2, /* Count of tags in the map */
|
||||
0, 0, 0, /* Optional elements (not needed) */
|
||||
2, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_BasicContainer = {
|
||||
"BasicContainer",
|
||||
"BasicContainer",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_BasicContainer_tags_1,
|
||||
sizeof(asn_DEF_BasicContainer_tags_1)
|
||||
/sizeof(asn_DEF_BasicContainer_tags_1[0]), /* 1 */
|
||||
asn_DEF_BasicContainer_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_BasicContainer_tags_1)
|
||||
/sizeof(asn_DEF_BasicContainer_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_BasicContainer_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_BasicContainer_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "CAM-PDU-Descriptions"
|
||||
* found in "EN302637-2v141-CAM.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _BasicContainer_H_
|
||||
#define _BasicContainer_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "StationType.h"
|
||||
#include "ReferencePosition.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* BasicContainer */
|
||||
typedef struct BasicContainer {
|
||||
StationType_t stationType;
|
||||
ReferencePosition_t referencePosition;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} BasicContainer_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_BasicContainer;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_BasicContainer_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_BasicContainer_1[2];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _BasicContainer_H_ */
|
||||
#include "asn_internal.h"
|
||||
+389
@@ -0,0 +1,389 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "CAM-PDU-Descriptions"
|
||||
* found in "EN302637-2v141-CAM.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "BasicVehicleContainerHighFrequency.h"
|
||||
|
||||
asn_TYPE_member_t asn_MBR_BasicVehicleContainerHighFrequency_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct BasicVehicleContainerHighFrequency, heading),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Heading,
|
||||
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 */
|
||||
"heading"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct BasicVehicleContainerHighFrequency, speed),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Speed,
|
||||
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 */
|
||||
"speed"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct BasicVehicleContainerHighFrequency, driveDirection),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_DriveDirection,
|
||||
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 */
|
||||
"driveDirection"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct BasicVehicleContainerHighFrequency, vehicleLength),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_VehicleLength,
|
||||
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 */
|
||||
"vehicleLength"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct BasicVehicleContainerHighFrequency, vehicleWidth),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_VehicleWidth,
|
||||
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 */
|
||||
"vehicleWidth"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct BasicVehicleContainerHighFrequency, longitudinalAcceleration),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_LongitudinalAcceleration,
|
||||
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 */
|
||||
"longitudinalAcceleration"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct BasicVehicleContainerHighFrequency, curvature),
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Curvature,
|
||||
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 */
|
||||
"curvature"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct BasicVehicleContainerHighFrequency, curvatureCalculationMode),
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_CurvatureCalculationMode,
|
||||
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 */
|
||||
"curvatureCalculationMode"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct BasicVehicleContainerHighFrequency, yawRate),
|
||||
(ASN_TAG_CLASS_CONTEXT | (8 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_YawRate,
|
||||
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 */
|
||||
"yawRate"
|
||||
},
|
||||
{ ATF_POINTER, 7, offsetof(struct BasicVehicleContainerHighFrequency, accelerationControl),
|
||||
(ASN_TAG_CLASS_CONTEXT | (9 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_AccelerationControl,
|
||||
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 */
|
||||
"accelerationControl"
|
||||
},
|
||||
{ ATF_POINTER, 6, offsetof(struct BasicVehicleContainerHighFrequency, lanePosition),
|
||||
(ASN_TAG_CLASS_CONTEXT | (10 << 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 */
|
||||
"lanePosition"
|
||||
},
|
||||
{ ATF_POINTER, 5, offsetof(struct BasicVehicleContainerHighFrequency, steeringWheelAngle),
|
||||
(ASN_TAG_CLASS_CONTEXT | (11 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SteeringWheelAngle,
|
||||
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 */
|
||||
"steeringWheelAngle"
|
||||
},
|
||||
{ ATF_POINTER, 4, offsetof(struct BasicVehicleContainerHighFrequency, lateralAcceleration),
|
||||
(ASN_TAG_CLASS_CONTEXT | (12 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_LateralAcceleration,
|
||||
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 */
|
||||
"lateralAcceleration"
|
||||
},
|
||||
{ ATF_POINTER, 3, offsetof(struct BasicVehicleContainerHighFrequency, verticalAcceleration),
|
||||
(ASN_TAG_CLASS_CONTEXT | (13 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_VerticalAcceleration,
|
||||
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 */
|
||||
"verticalAcceleration"
|
||||
},
|
||||
{ ATF_POINTER, 2, offsetof(struct BasicVehicleContainerHighFrequency, performanceClass),
|
||||
(ASN_TAG_CLASS_CONTEXT | (14 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_PerformanceClass,
|
||||
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 */
|
||||
"performanceClass"
|
||||
},
|
||||
{ ATF_POINTER, 1, offsetof(struct BasicVehicleContainerHighFrequency, cenDsrcTollingZone),
|
||||
(ASN_TAG_CLASS_CONTEXT | (15 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_CenDsrcTollingZone,
|
||||
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 */
|
||||
"cenDsrcTollingZone"
|
||||
},
|
||||
};
|
||||
static const int asn_MAP_BasicVehicleContainerHighFrequency_oms_1[] = { 9, 10, 11, 12, 13, 14, 15 };
|
||||
static const ber_tlv_tag_t asn_DEF_BasicVehicleContainerHighFrequency_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_BasicVehicleContainerHighFrequency_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* heading */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* speed */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* driveDirection */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* vehicleLength */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* vehicleWidth */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* longitudinalAcceleration */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* curvature */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* curvatureCalculationMode */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* yawRate */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* accelerationControl */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* lanePosition */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 }, /* steeringWheelAngle */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (12 << 2)), 12, 0, 0 }, /* lateralAcceleration */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (13 << 2)), 13, 0, 0 }, /* verticalAcceleration */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (14 << 2)), 14, 0, 0 }, /* performanceClass */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (15 << 2)), 15, 0, 0 } /* cenDsrcTollingZone */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_BasicVehicleContainerHighFrequency_specs_1 = {
|
||||
sizeof(struct BasicVehicleContainerHighFrequency),
|
||||
offsetof(struct BasicVehicleContainerHighFrequency, _asn_ctx),
|
||||
asn_MAP_BasicVehicleContainerHighFrequency_tag2el_1,
|
||||
16, /* Count of tags in the map */
|
||||
asn_MAP_BasicVehicleContainerHighFrequency_oms_1, /* Optional members */
|
||||
7, 0, /* Root/Additions */
|
||||
-1, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_BasicVehicleContainerHighFrequency = {
|
||||
"BasicVehicleContainerHighFrequency",
|
||||
"BasicVehicleContainerHighFrequency",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_BasicVehicleContainerHighFrequency_tags_1,
|
||||
sizeof(asn_DEF_BasicVehicleContainerHighFrequency_tags_1)
|
||||
/sizeof(asn_DEF_BasicVehicleContainerHighFrequency_tags_1[0]), /* 1 */
|
||||
asn_DEF_BasicVehicleContainerHighFrequency_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_BasicVehicleContainerHighFrequency_tags_1)
|
||||
/sizeof(asn_DEF_BasicVehicleContainerHighFrequency_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_BasicVehicleContainerHighFrequency_1,
|
||||
16, /* Elements count */
|
||||
&asn_SPC_BasicVehicleContainerHighFrequency_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
+78
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "CAM-PDU-Descriptions"
|
||||
* found in "EN302637-2v141-CAM.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _BasicVehicleContainerHighFrequency_H_
|
||||
#define _BasicVehicleContainerHighFrequency_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "Heading.h"
|
||||
#include "Speed.h"
|
||||
#include "DriveDirection.h"
|
||||
#include "VehicleLength.h"
|
||||
#include "VehicleWidth.h"
|
||||
#include "LongitudinalAcceleration.h"
|
||||
#include "Curvature.h"
|
||||
#include "CurvatureCalculationMode.h"
|
||||
#include "YawRate.h"
|
||||
#include "AccelerationControl.h"
|
||||
#include "LanePosition.h"
|
||||
#include "PerformanceClass.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct SteeringWheelAngle;
|
||||
struct LateralAcceleration;
|
||||
struct VerticalAcceleration;
|
||||
struct CenDsrcTollingZone;
|
||||
|
||||
/* BasicVehicleContainerHighFrequency */
|
||||
typedef struct BasicVehicleContainerHighFrequency {
|
||||
Heading_t heading;
|
||||
Speed_t speed;
|
||||
DriveDirection_t driveDirection;
|
||||
VehicleLength_t vehicleLength;
|
||||
VehicleWidth_t vehicleWidth;
|
||||
LongitudinalAcceleration_t longitudinalAcceleration;
|
||||
Curvature_t curvature;
|
||||
CurvatureCalculationMode_t curvatureCalculationMode;
|
||||
YawRate_t yawRate;
|
||||
AccelerationControl_t *accelerationControl; /* OPTIONAL */
|
||||
LanePosition_t *lanePosition; /* OPTIONAL */
|
||||
struct SteeringWheelAngle *steeringWheelAngle; /* OPTIONAL */
|
||||
struct LateralAcceleration *lateralAcceleration; /* OPTIONAL */
|
||||
struct VerticalAcceleration *verticalAcceleration; /* OPTIONAL */
|
||||
PerformanceClass_t *performanceClass; /* OPTIONAL */
|
||||
struct CenDsrcTollingZone *cenDsrcTollingZone; /* OPTIONAL */
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} BasicVehicleContainerHighFrequency_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_BasicVehicleContainerHighFrequency;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_BasicVehicleContainerHighFrequency_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_BasicVehicleContainerHighFrequency_1[16];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "SteeringWheelAngle.h"
|
||||
#include "LateralAcceleration.h"
|
||||
#include "VerticalAcceleration.h"
|
||||
#include "CenDsrcTollingZone.h"
|
||||
|
||||
#endif /* _BasicVehicleContainerHighFrequency_H_ */
|
||||
#include "asn_internal.h"
|
||||
+114
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "CAM-PDU-Descriptions"
|
||||
* found in "EN302637-2v141-CAM.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "BasicVehicleContainerLowFrequency.h"
|
||||
|
||||
asn_TYPE_member_t asn_MBR_BasicVehicleContainerLowFrequency_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct BasicVehicleContainerLowFrequency, vehicleRole),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_VehicleRole,
|
||||
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 */
|
||||
"vehicleRole"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct BasicVehicleContainerLowFrequency, exteriorLights),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ExteriorLights,
|
||||
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 */
|
||||
"exteriorLights"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct BasicVehicleContainerLowFrequency, pathHistory),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_PathHistory,
|
||||
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 */
|
||||
"pathHistory"
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_BasicVehicleContainerLowFrequency_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_BasicVehicleContainerLowFrequency_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* vehicleRole */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* exteriorLights */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* pathHistory */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_BasicVehicleContainerLowFrequency_specs_1 = {
|
||||
sizeof(struct BasicVehicleContainerLowFrequency),
|
||||
offsetof(struct BasicVehicleContainerLowFrequency, _asn_ctx),
|
||||
asn_MAP_BasicVehicleContainerLowFrequency_tag2el_1,
|
||||
3, /* Count of tags in the map */
|
||||
0, 0, 0, /* Optional elements (not needed) */
|
||||
-1, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_BasicVehicleContainerLowFrequency = {
|
||||
"BasicVehicleContainerLowFrequency",
|
||||
"BasicVehicleContainerLowFrequency",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_BasicVehicleContainerLowFrequency_tags_1,
|
||||
sizeof(asn_DEF_BasicVehicleContainerLowFrequency_tags_1)
|
||||
/sizeof(asn_DEF_BasicVehicleContainerLowFrequency_tags_1[0]), /* 1 */
|
||||
asn_DEF_BasicVehicleContainerLowFrequency_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_BasicVehicleContainerLowFrequency_tags_1)
|
||||
/sizeof(asn_DEF_BasicVehicleContainerLowFrequency_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_BasicVehicleContainerLowFrequency_1,
|
||||
3, /* Elements count */
|
||||
&asn_SPC_BasicVehicleContainerLowFrequency_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "CAM-PDU-Descriptions"
|
||||
* found in "EN302637-2v141-CAM.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _BasicVehicleContainerLowFrequency_H_
|
||||
#define _BasicVehicleContainerLowFrequency_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "VehicleRole.h"
|
||||
#include "ExteriorLights.h"
|
||||
#include "PathHistory.h"
|
||||
#include "constr_SEQUENCE.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* BasicVehicleContainerLowFrequency */
|
||||
typedef struct BasicVehicleContainerLowFrequency {
|
||||
VehicleRole_t vehicleRole;
|
||||
ExteriorLights_t exteriorLights;
|
||||
PathHistory_t pathHistory;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} BasicVehicleContainerLowFrequency_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_BasicVehicleContainerLowFrequency;
|
||||
extern asn_SEQUENCE_specifics_t asn_SPC_BasicVehicleContainerLowFrequency_specs_1;
|
||||
extern asn_TYPE_member_t asn_MBR_BasicVehicleContainerLowFrequency_1[3];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _BasicVehicleContainerLowFrequency_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "DSRC"
|
||||
* found in "ISO19091.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "BasicVehicleRole.h"
|
||||
|
||||
/*
|
||||
* This type is implemented using NativeEnumerated,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_BasicVehicleRole_constr_1 CC_NOTUSED = {
|
||||
{ 0, 0 },
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_BasicVehicleRole_constr_1 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED | APC_EXTENSIBLE, 5, 5, 0, 22 } /* (0..22,...) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const asn_INTEGER_enum_map_t asn_MAP_BasicVehicleRole_value2enum_1[] = {
|
||||
{ 0, 12, "basicVehicle" },
|
||||
{ 1, 15, "publicTransport" },
|
||||
{ 2, 16, "specialTransport" },
|
||||
{ 3, 14, "dangerousGoods" },
|
||||
{ 4, 8, "roadWork" },
|
||||
{ 5, 10, "roadRescue" },
|
||||
{ 6, 9, "emergency" },
|
||||
{ 7, 9, "safetyCar" },
|
||||
{ 8, 12, "none-unknown" },
|
||||
{ 9, 5, "truck" },
|
||||
{ 10, 10, "motorcycle" },
|
||||
{ 11, 14, "roadSideSource" },
|
||||
{ 12, 6, "police" },
|
||||
{ 13, 4, "fire" },
|
||||
{ 14, 9, "ambulance" },
|
||||
{ 15, 3, "dot" },
|
||||
{ 16, 7, "transit" },
|
||||
{ 17, 10, "slowMoving" },
|
||||
{ 18, 7, "stopNgo" },
|
||||
{ 19, 7, "cyclist" },
|
||||
{ 20, 10, "pedestrian" },
|
||||
{ 21, 12, "nonMotorized" },
|
||||
{ 22, 8, "military" }
|
||||
/* This list is extensible */
|
||||
};
|
||||
static const unsigned int asn_MAP_BasicVehicleRole_enum2value_1[] = {
|
||||
14, /* ambulance(14) */
|
||||
0, /* basicVehicle(0) */
|
||||
19, /* cyclist(19) */
|
||||
3, /* dangerousGoods(3) */
|
||||
15, /* dot(15) */
|
||||
6, /* emergency(6) */
|
||||
13, /* fire(13) */
|
||||
22, /* military(22) */
|
||||
10, /* motorcycle(10) */
|
||||
21, /* nonMotorized(21) */
|
||||
8, /* none-unknown(8) */
|
||||
20, /* pedestrian(20) */
|
||||
12, /* police(12) */
|
||||
1, /* publicTransport(1) */
|
||||
5, /* roadRescue(5) */
|
||||
11, /* roadSideSource(11) */
|
||||
4, /* roadWork(4) */
|
||||
7, /* safetyCar(7) */
|
||||
17, /* slowMoving(17) */
|
||||
2, /* specialTransport(2) */
|
||||
18, /* stopNgo(18) */
|
||||
16, /* transit(16) */
|
||||
9 /* truck(9) */
|
||||
/* This list is extensible */
|
||||
};
|
||||
const asn_INTEGER_specifics_t asn_SPC_BasicVehicleRole_specs_1 = {
|
||||
asn_MAP_BasicVehicleRole_value2enum_1, /* "tag" => N; sorted by tag */
|
||||
asn_MAP_BasicVehicleRole_enum2value_1, /* N => "tag"; sorted by N */
|
||||
23, /* Number of elements in the maps */
|
||||
24, /* Extensions before this member */
|
||||
1, /* Strict enumeration */
|
||||
0, /* Native long size */
|
||||
0
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_BasicVehicleRole_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_BasicVehicleRole = {
|
||||
"BasicVehicleRole",
|
||||
"BasicVehicleRole",
|
||||
&asn_OP_NativeEnumerated,
|
||||
asn_DEF_BasicVehicleRole_tags_1,
|
||||
sizeof(asn_DEF_BasicVehicleRole_tags_1)
|
||||
/sizeof(asn_DEF_BasicVehicleRole_tags_1[0]), /* 1 */
|
||||
asn_DEF_BasicVehicleRole_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_BasicVehicleRole_tags_1)
|
||||
/sizeof(asn_DEF_BasicVehicleRole_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_BasicVehicleRole_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_BasicVehicleRole_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
NativeEnumerated_constraint
|
||||
},
|
||||
0, 0, /* Defined elsewhere */
|
||||
&asn_SPC_BasicVehicleRole_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "DSRC"
|
||||
* found in "ISO19091.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _BasicVehicleRole_H_
|
||||
#define _BasicVehicleRole_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeEnumerated.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum BasicVehicleRole {
|
||||
BasicVehicleRole_basicVehicle = 0,
|
||||
BasicVehicleRole_publicTransport = 1,
|
||||
BasicVehicleRole_specialTransport = 2,
|
||||
BasicVehicleRole_dangerousGoods = 3,
|
||||
BasicVehicleRole_roadWork = 4,
|
||||
BasicVehicleRole_roadRescue = 5,
|
||||
BasicVehicleRole_emergency = 6,
|
||||
BasicVehicleRole_safetyCar = 7,
|
||||
BasicVehicleRole_none_unknown = 8,
|
||||
BasicVehicleRole_truck = 9,
|
||||
BasicVehicleRole_motorcycle = 10,
|
||||
BasicVehicleRole_roadSideSource = 11,
|
||||
BasicVehicleRole_police = 12,
|
||||
BasicVehicleRole_fire = 13,
|
||||
BasicVehicleRole_ambulance = 14,
|
||||
BasicVehicleRole_dot = 15,
|
||||
BasicVehicleRole_transit = 16,
|
||||
BasicVehicleRole_slowMoving = 17,
|
||||
BasicVehicleRole_stopNgo = 18,
|
||||
BasicVehicleRole_cyclist = 19,
|
||||
BasicVehicleRole_pedestrian = 20,
|
||||
BasicVehicleRole_nonMotorized = 21,
|
||||
BasicVehicleRole_military = 22
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_BasicVehicleRole;
|
||||
|
||||
/* BasicVehicleRole */
|
||||
typedef long BasicVehicleRole_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_oer_constraints_t asn_OER_type_BasicVehicleRole_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_BasicVehicleRole_constr_1;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_BasicVehicleRole;
|
||||
extern const asn_INTEGER_specifics_t asn_SPC_BasicVehicleRole_specs_1;
|
||||
asn_struct_free_f BasicVehicleRole_free;
|
||||
asn_struct_print_f BasicVehicleRole_print;
|
||||
asn_constr_check_f BasicVehicleRole_constraint;
|
||||
ber_type_decoder_f BasicVehicleRole_decode_ber;
|
||||
der_type_encoder_f BasicVehicleRole_encode_der;
|
||||
xer_type_decoder_f BasicVehicleRole_decode_xer;
|
||||
xer_type_encoder_f BasicVehicleRole_encode_xer;
|
||||
jer_type_encoder_f BasicVehicleRole_encode_jer;
|
||||
oer_type_decoder_f BasicVehicleRole_decode_oer;
|
||||
oer_type_encoder_f BasicVehicleRole_encode_oer;
|
||||
per_type_decoder_f BasicVehicleRole_decode_uper;
|
||||
per_type_encoder_f BasicVehicleRole_encode_uper;
|
||||
per_type_decoder_f BasicVehicleRole_decode_aper;
|
||||
per_type_encoder_f BasicVehicleRole_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _BasicVehicleRole_H_ */
|
||||
#include "asn_internal.h"
|
||||
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "AddGrpC"
|
||||
* found in "ISO19091.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#include "BatteryStatus.h"
|
||||
|
||||
/*
|
||||
* This type is implemented using NativeEnumerated,
|
||||
* so here we adjust the DEF accordingly.
|
||||
*/
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
asn_oer_constraints_t asn_OER_type_BatteryStatus_constr_1 CC_NOTUSED = {
|
||||
{ 0, 0 },
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
asn_per_constraints_t asn_PER_type_BatteryStatus_constr_1 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 3 } /* (0..3,...) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static const asn_INTEGER_enum_map_t asn_MAP_BatteryStatus_value2enum_1[] = {
|
||||
{ 0, 7, "unknown" },
|
||||
{ 1, 8, "critical" },
|
||||
{ 2, 3, "low" },
|
||||
{ 3, 4, "good" }
|
||||
/* This list is extensible */
|
||||
};
|
||||
static const unsigned int asn_MAP_BatteryStatus_enum2value_1[] = {
|
||||
1, /* critical(1) */
|
||||
3, /* good(3) */
|
||||
2, /* low(2) */
|
||||
0 /* unknown(0) */
|
||||
/* This list is extensible */
|
||||
};
|
||||
const asn_INTEGER_specifics_t asn_SPC_BatteryStatus_specs_1 = {
|
||||
asn_MAP_BatteryStatus_value2enum_1, /* "tag" => N; sorted by tag */
|
||||
asn_MAP_BatteryStatus_enum2value_1, /* N => "tag"; sorted by N */
|
||||
4, /* Number of elements in the maps */
|
||||
5, /* Extensions before this member */
|
||||
1, /* Strict enumeration */
|
||||
0, /* Native long size */
|
||||
0
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_BatteryStatus_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_BatteryStatus = {
|
||||
"BatteryStatus",
|
||||
"BatteryStatus",
|
||||
&asn_OP_NativeEnumerated,
|
||||
asn_DEF_BatteryStatus_tags_1,
|
||||
sizeof(asn_DEF_BatteryStatus_tags_1)
|
||||
/sizeof(asn_DEF_BatteryStatus_tags_1[0]), /* 1 */
|
||||
asn_DEF_BatteryStatus_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_BatteryStatus_tags_1)
|
||||
/sizeof(asn_DEF_BatteryStatus_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_type_BatteryStatus_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_type_BatteryStatus_constr_1,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
NativeEnumerated_constraint
|
||||
},
|
||||
0, 0, /* Defined elsewhere */
|
||||
&asn_SPC_BatteryStatus_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "AddGrpC"
|
||||
* found in "ISO19091.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
||||
*/
|
||||
|
||||
#ifndef _BatteryStatus_H_
|
||||
#define _BatteryStatus_H_
|
||||
|
||||
|
||||
#include "asn_application.h"
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NativeEnumerated.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum BatteryStatus {
|
||||
BatteryStatus_unknown = 0,
|
||||
BatteryStatus_critical = 1,
|
||||
BatteryStatus_low = 2,
|
||||
BatteryStatus_good = 3
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_BatteryStatus;
|
||||
|
||||
/* BatteryStatus */
|
||||
typedef long BatteryStatus_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_oer_constraints_t asn_OER_type_BatteryStatus_constr_1;
|
||||
extern asn_per_constraints_t asn_PER_type_BatteryStatus_constr_1;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_BatteryStatus;
|
||||
extern const asn_INTEGER_specifics_t asn_SPC_BatteryStatus_specs_1;
|
||||
asn_struct_free_f BatteryStatus_free;
|
||||
asn_struct_print_f BatteryStatus_print;
|
||||
asn_constr_check_f BatteryStatus_constraint;
|
||||
ber_type_decoder_f BatteryStatus_decode_ber;
|
||||
der_type_encoder_f BatteryStatus_encode_der;
|
||||
xer_type_decoder_f BatteryStatus_decode_xer;
|
||||
xer_type_encoder_f BatteryStatus_encode_xer;
|
||||
jer_type_encoder_f BatteryStatus_encode_jer;
|
||||
oer_type_decoder_f BatteryStatus_decode_oer;
|
||||
oer_type_encoder_f BatteryStatus_encode_oer;
|
||||
per_type_decoder_f BatteryStatus_decode_uper;
|
||||
per_type_encoder_f BatteryStatus_encode_uper;
|
||||
per_type_decoder_f BatteryStatus_decode_aper;
|
||||
per_type_encoder_f BatteryStatus_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _BatteryStatus_H_ */
|
||||
#include "asn_internal.h"
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user