503 lines
18 KiB
C
503 lines
18 KiB
C
/*
|
|||
|
|
* Generated by asn1c
|
||
|
|
* From ASN.1 module "ETSI-ITS-CDD"
|
||
|
|
* found in "TS102894-2v241-CDD.asn"
|
||
|
|
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -fprefix=Vanetza_ITS2_ -R`
|
||
|
|
*/
|
||
|
|
|
||
|
|
#include "ETSI-ITS-CDD_ParkingSpaceDetailed.h"
|
||
|
|
|
||
|
|
static int
|
||
|
|
memb_Vanetza_ITS2_accessViaParkingSpaces_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 <= 7UL)) {
|
||
|
|
/* 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;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
static int
|
||
|
|
memb_Vanetza_ITS2_reservationType_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_Vanetza_ITS2_accessViaParkingSpaces_constr_11 CC_NOTUSED = {
|
||
|
|
{ 0, 0 },
|
||
|
|
-1 /* (SIZE(0..7)) */};
|
||
|
|
#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_Vanetza_ITS2_accessViaParkingSpaces_constr_11 CC_NOTUSED = {
|
||
|
|
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||
|
|
{ APC_CONSTRAINED, 3, 3, 0, 7 } /* (SIZE(0..7)) */,
|
||
|
|
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_type_Vanetza_ITS2_reservationType_constr_13 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)
|
||
|
|
static asn_per_constraints_t asn_PER_type_Vanetza_ITS2_reservationType_constr_13 CC_NOTUSED = {
|
||
|
|
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||
|
|
{ APC_CONSTRAINED | APC_EXTENSIBLE, 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_Vanetza_ITS2_accessViaParkingSpaces_constr_11 CC_NOTUSED = {
|
||
|
|
{ 0, 0 },
|
||
|
|
-1 /* (SIZE(0..7)) */};
|
||
|
|
#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_Vanetza_ITS2_accessViaParkingSpaces_constr_11 CC_NOTUSED = {
|
||
|
|
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||
|
|
{ APC_CONSTRAINED, 3, 3, 0, 7 } /* (SIZE(0..7)) */,
|
||
|
|
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_Vanetza_ITS2_reservationType_constr_13 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)
|
||
|
|
static asn_per_constraints_t asn_PER_memb_Vanetza_ITS2_reservationType_constr_13 CC_NOTUSED = {
|
||
|
|
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||
|
|
{ APC_CONSTRAINED | APC_EXTENSIBLE, 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_Vanetza_ITS2_accessViaParkingSpaces_11[] = {
|
||
|
|
{ ATF_POINTER, 0, 0,
|
||
|
|
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
|
||
|
|
0,
|
||
|
|
&asn_DEF_Vanetza_ITS2_Identifier2B,
|
||
|
|
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_Vanetza_ITS2_accessViaParkingSpaces_tags_11[] = {
|
||
|
|
(ASN_TAG_CLASS_CONTEXT | (9 << 2)),
|
||
|
|
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||
|
|
};
|
||
|
|
static asn_SET_OF_specifics_t asn_SPC_Vanetza_ITS2_accessViaParkingSpaces_specs_11 = {
|
||
|
|
sizeof(struct Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed__accessViaParkingSpaces),
|
||
|
|
offsetof(struct Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed__accessViaParkingSpaces, _asn_ctx),
|
||
|
|
0, /* XER encoding is XMLDelimitedItemList */
|
||
|
|
};
|
||
|
|
static /* Use -fall-defs-global to expose */
|
||
|
|
asn_TYPE_descriptor_t asn_DEF_Vanetza_ITS2_accessViaParkingSpaces_11 = {
|
||
|
|
"accessViaParkingSpaces",
|
||
|
|
"accessViaParkingSpaces",
|
||
|
|
&asn_OP_SEQUENCE_OF,
|
||
|
|
asn_DEF_Vanetza_ITS2_accessViaParkingSpaces_tags_11,
|
||
|
|
sizeof(asn_DEF_Vanetza_ITS2_accessViaParkingSpaces_tags_11)
|
||
|
|
/sizeof(asn_DEF_Vanetza_ITS2_accessViaParkingSpaces_tags_11[0]) - 1, /* 1 */
|
||
|
|
asn_DEF_Vanetza_ITS2_accessViaParkingSpaces_tags_11, /* Same as above */
|
||
|
|
sizeof(asn_DEF_Vanetza_ITS2_accessViaParkingSpaces_tags_11)
|
||
|
|
/sizeof(asn_DEF_Vanetza_ITS2_accessViaParkingSpaces_tags_11[0]), /* 2 */
|
||
|
|
{
|
||
|
|
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||
|
|
&asn_OER_type_Vanetza_ITS2_accessViaParkingSpaces_constr_11,
|
||
|
|
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||
|
|
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||
|
|
&asn_PER_type_Vanetza_ITS2_accessViaParkingSpaces_constr_11,
|
||
|
|
#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_Vanetza_ITS2_accessViaParkingSpaces_11,
|
||
|
|
1, /* Single element */
|
||
|
|
&asn_SPC_Vanetza_ITS2_accessViaParkingSpaces_specs_11 /* Additional specs */
|
||
|
|
};
|
||
|
|
|
||
|
|
static asn_TYPE_member_t asn_MBR_Vanetza_ITS2_reservationType_13[] = {
|
||
|
|
{ ATF_POINTER, 0, 0,
|
||
|
|
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
|
||
|
|
0,
|
||
|
|
&asn_DEF_Vanetza_ITS2_ETSI_ITS_CDD_ParkingReservationType,
|
||
|
|
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_Vanetza_ITS2_reservationType_tags_13[] = {
|
||
|
|
(ASN_TAG_CLASS_CONTEXT | (10 << 2)),
|
||
|
|
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||
|
|
};
|
||
|
|
static asn_SET_OF_specifics_t asn_SPC_Vanetza_ITS2_reservationType_specs_13 = {
|
||
|
|
sizeof(struct Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed__reservationType),
|
||
|
|
offsetof(struct Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed__reservationType, _asn_ctx),
|
||
|
|
0, /* XER encoding is XMLDelimitedItemList */
|
||
|
|
};
|
||
|
|
static /* Use -fall-defs-global to expose */
|
||
|
|
asn_TYPE_descriptor_t asn_DEF_Vanetza_ITS2_reservationType_13 = {
|
||
|
|
"reservationType",
|
||
|
|
"reservationType",
|
||
|
|
&asn_OP_SEQUENCE_OF,
|
||
|
|
asn_DEF_Vanetza_ITS2_reservationType_tags_13,
|
||
|
|
sizeof(asn_DEF_Vanetza_ITS2_reservationType_tags_13)
|
||
|
|
/sizeof(asn_DEF_Vanetza_ITS2_reservationType_tags_13[0]) - 1, /* 1 */
|
||
|
|
asn_DEF_Vanetza_ITS2_reservationType_tags_13, /* Same as above */
|
||
|
|
sizeof(asn_DEF_Vanetza_ITS2_reservationType_tags_13)
|
||
|
|
/sizeof(asn_DEF_Vanetza_ITS2_reservationType_tags_13[0]), /* 2 */
|
||
|
|
{
|
||
|
|
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||
|
|
&asn_OER_type_Vanetza_ITS2_reservationType_constr_13,
|
||
|
|
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||
|
|
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||
|
|
&asn_PER_type_Vanetza_ITS2_reservationType_constr_13,
|
||
|
|
#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_Vanetza_ITS2_reservationType_13,
|
||
|
|
1, /* Single element */
|
||
|
|
&asn_SPC_Vanetza_ITS2_reservationType_specs_13 /* Additional specs */
|
||
|
|
};
|
||
|
|
|
||
|
|
static asn_TYPE_member_t asn_MBR_Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed_1[] = {
|
||
|
|
{ ATF_NOFLAGS, 0, offsetof(struct Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed, id),
|
||
|
|
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||
|
|
-1, /* IMPLICIT tag at current level */
|
||
|
|
&asn_DEF_Vanetza_ITS2_Identifier2B,
|
||
|
|
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 */
|
||
|
|
"id"
|
||
|
|
},
|
||
|
|
{ ATF_POINTER, 1, offsetof(struct Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed, location),
|
||
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||
|
|
-1, /* IMPLICIT tag at current level */
|
||
|
|
&asn_DEF_Vanetza_ITS2_DeltaReferencePosition,
|
||
|
|
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 */
|
||
|
|
"location"
|
||
|
|
},
|
||
|
|
{ ATF_NOFLAGS, 0, offsetof(struct Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed, status),
|
||
|
|
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||
|
|
+1, /* EXPLICIT tag at current level */
|
||
|
|
&asn_DEF_Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceStatus,
|
||
|
|
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 */
|
||
|
|
"status"
|
||
|
|
},
|
||
|
|
{ ATF_POINTER, 3, offsetof(struct Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed, arrangementType),
|
||
|
|
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
||
|
|
-1, /* IMPLICIT tag at current level */
|
||
|
|
&asn_DEF_Vanetza_ITS2_ETSI_ITS_CDD_ParkingAreaArrangementType,
|
||
|
|
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 */
|
||
|
|
"arrangementType"
|
||
|
|
},
|
||
|
|
{ ATF_POINTER, 2, offsetof(struct Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed, boundary),
|
||
|
|
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
|
||
|
|
-1, /* IMPLICIT tag at current level */
|
||
|
|
&asn_DEF_Vanetza_ITS2_ETSI_ITS_CDD_DeltaPositions,
|
||
|
|
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 */
|
||
|
|
"boundary"
|
||
|
|
},
|
||
|
|
{ ATF_POINTER, 1, offsetof(struct Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed, orientation),
|
||
|
|
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
|
||
|
|
-1, /* IMPLICIT tag at current level */
|
||
|
|
&asn_DEF_Vanetza_ITS2_Wgs84Angle,
|
||
|
|
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 */
|
||
|
|
"orientation"
|
||
|
|
},
|
||
|
|
{ ATF_NOFLAGS, 0, offsetof(struct Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed, occupancyRule),
|
||
|
|
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
|
||
|
|
+1, /* EXPLICIT tag at current level */
|
||
|
|
&asn_DEF_Vanetza_ITS2_ETSI_ITS_CDD_ParkingOccupancyInfo,
|
||
|
|
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 */
|
||
|
|
"occupancyRule"
|
||
|
|
},
|
||
|
|
{ ATF_POINTER, 4, offsetof(struct Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed, chargingStationId),
|
||
|
|
(ASN_TAG_CLASS_CONTEXT | (7 << 2)),
|
||
|
|
-1, /* IMPLICIT tag at current level */
|
||
|
|
&asn_DEF_Vanetza_ITS2_Identifier2B,
|
||
|
|
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 */
|
||
|
|
"chargingStationId"
|
||
|
|
},
|
||
|
|
{ ATF_POINTER, 3, offsetof(struct Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed, accessViaLane),
|
||
|
|
(ASN_TAG_CLASS_CONTEXT | (8 << 2)),
|
||
|
|
-1, /* IMPLICIT tag at current level */
|
||
|
|
&asn_DEF_Vanetza_ITS2_Identifier2B,
|
||
|
|
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 */
|
||
|
|
"accessViaLane"
|
||
|
|
},
|
||
|
|
{ ATF_POINTER, 2, offsetof(struct Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed, accessViaParkingSpaces),
|
||
|
|
(ASN_TAG_CLASS_CONTEXT | (9 << 2)),
|
||
|
|
0,
|
||
|
|
&asn_DEF_Vanetza_ITS2_accessViaParkingSpaces_11,
|
||
|
|
0,
|
||
|
|
{
|
||
|
|
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||
|
|
&asn_OER_memb_Vanetza_ITS2_accessViaParkingSpaces_constr_11,
|
||
|
|
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||
|
|
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||
|
|
&asn_PER_memb_Vanetza_ITS2_accessViaParkingSpaces_constr_11,
|
||
|
|
#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_Vanetza_ITS2_accessViaParkingSpaces_constraint_1
|
||
|
|
},
|
||
|
|
0, 0, /* No default value */
|
||
|
|
"accessViaParkingSpaces"
|
||
|
|
},
|
||
|
|
{ ATF_POINTER, 1, offsetof(struct Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed, reservationType),
|
||
|
|
(ASN_TAG_CLASS_CONTEXT | (10 << 2)),
|
||
|
|
0,
|
||
|
|
&asn_DEF_Vanetza_ITS2_reservationType_13,
|
||
|
|
0,
|
||
|
|
{
|
||
|
|
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||
|
|
&asn_OER_memb_Vanetza_ITS2_reservationType_constr_13,
|
||
|
|
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||
|
|
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||
|
|
&asn_PER_memb_Vanetza_ITS2_reservationType_constr_13,
|
||
|
|
#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_Vanetza_ITS2_reservationType_constraint_1
|
||
|
|
},
|
||
|
|
0, 0, /* No default value */
|
||
|
|
"reservationType"
|
||
|
|
},
|
||
|
|
};
|
||
|
|
static const int asn_MAP_Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed_oms_1[] = { 1, 3, 4, 5, 7, 8, 9, 10 };
|
||
|
|
static const ber_tlv_tag_t asn_DEF_Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed_tags_1[] = {
|
||
|
|
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||
|
|
};
|
||
|
|
static const asn_TYPE_tag2member_t asn_MAP_Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed_tag2el_1[] = {
|
||
|
|
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */
|
||
|
|
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* location */
|
||
|
|
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* status */
|
||
|
|
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* arrangementType */
|
||
|
|
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* boundary */
|
||
|
|
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* orientation */
|
||
|
|
{ (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* occupancyRule */
|
||
|
|
{ (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* chargingStationId */
|
||
|
|
{ (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* accessViaLane */
|
||
|
|
{ (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* accessViaParkingSpaces */
|
||
|
|
{ (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 } /* reservationType */
|
||
|
|
};
|
||
|
|
static asn_SEQUENCE_specifics_t asn_SPC_Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed_specs_1 = {
|
||
|
|
sizeof(struct Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed),
|
||
|
|
offsetof(struct Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed, _asn_ctx),
|
||
|
|
asn_MAP_Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed_tag2el_1,
|
||
|
|
11, /* Count of tags in the map */
|
||
|
|
asn_MAP_Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed_oms_1, /* Optional members */
|
||
|
|
8, 0, /* Root/Additions */
|
||
|
|
11, /* First extension addition */
|
||
|
|
};
|
||
|
|
asn_TYPE_descriptor_t asn_DEF_Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed = {
|
||
|
|
"ParkingSpaceDetailed",
|
||
|
|
"ParkingSpaceDetailed",
|
||
|
|
&asn_OP_SEQUENCE,
|
||
|
|
asn_DEF_Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed_tags_1,
|
||
|
|
sizeof(asn_DEF_Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed_tags_1)
|
||
|
|
/sizeof(asn_DEF_Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed_tags_1[0]), /* 1 */
|
||
|
|
asn_DEF_Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed_tags_1, /* Same as above */
|
||
|
|
sizeof(asn_DEF_Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed_tags_1)
|
||
|
|
/sizeof(asn_DEF_Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed_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_Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed_1,
|
||
|
|
11, /* Elements count */
|
||
|
|
&asn_SPC_Vanetza_ITS2_ETSI_ITS_CDD_ParkingSpaceDetailed_specs_1 /* Additional specs */
|
||
|
|
};
|
||
|
|
|