Files
MicrOBU/obu-firmware/external/vanetza-idf/vanetza/asn1/its/SensorInformation.c
T

138 lines
4.3 KiB
C
Raw Normal View History

/*
* 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 "SensorInformation.h"
asn_TYPE_member_t asn_MBR_SensorInformation_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct SensorInformation, sensorID),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_Identifier,
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 */
"sensorID"
},
{ ATF_NOFLAGS, 0, offsetof(struct SensorInformation, type),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_SensorType,
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_NOFLAGS, 0, offsetof(struct SensorInformation, detectionArea),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
+1, /* EXPLICIT tag at current level */
&asn_DEF_DetectionArea,
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 */
"detectionArea"
},
{ ATF_POINTER, 1, offsetof(struct SensorInformation, freeSpaceConfidence),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_FreeSpaceConfidence,
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 */
"freeSpaceConfidence"
},
};
static const int asn_MAP_SensorInformation_oms_1[] = { 3 };
static const ber_tlv_tag_t asn_DEF_SensorInformation_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_SensorInformation_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sensorID */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* type */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* detectionArea */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* freeSpaceConfidence */
};
asn_SEQUENCE_specifics_t asn_SPC_SensorInformation_specs_1 = {
sizeof(struct SensorInformation),
offsetof(struct SensorInformation, _asn_ctx),
asn_MAP_SensorInformation_tag2el_1,
4, /* Count of tags in the map */
asn_MAP_SensorInformation_oms_1, /* Optional members */
1, 0, /* Root/Additions */
4, /* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_SensorInformation = {
"SensorInformation",
"SensorInformation",
&asn_OP_SEQUENCE,
asn_DEF_SensorInformation_tags_1,
sizeof(asn_DEF_SensorInformation_tags_1)
/sizeof(asn_DEF_SensorInformation_tags_1[0]), /* 1 */
asn_DEF_SensorInformation_tags_1, /* Same as above */
sizeof(asn_DEF_SensorInformation_tags_1)
/sizeof(asn_DEF_SensorInformation_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_SensorInformation_1,
4, /* Elements count */
&asn_SPC_SensorInformation_specs_1 /* Additional specs */
};