cpm_ts_ClusterLeaveReason.c
Go to the documentation of this file.
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "ETSI-ITS-CDD"
4  * found in "/input/ETSI-ITS-CDD.asn"
5  * `asn1c -fcompound-names -fprefix=cpm_ts_ -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-example -gen-UPER -gen-JER`
6  */
7 
9 
10 /*
11  * This type is implemented using NativeEnumerated,
12  * so here we adjust the DEF accordingly.
13  */
14 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
16  { APC_CONSTRAINED, 4, 4, 0, 9 } /* (0..9) */,
17  { APC_UNCONSTRAINED, -1, -1, 0, 0 },
18  0, 0 /* No PER value map */
19 };
20 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
22  { 0, 11, "notProvided" },
23  { 1, 17, "clusterLeaderLost" },
24  { 2, 24, "clusterDisbandedByLeader" },
25  { 3, 23, "outOfClusterBoundingBox" },
26  { 4, 22, "outOfClusterSpeedRange" },
27  { 5, 21, "joiningAnotherCluster" },
28  { 6, 13, "cancelledJoin" },
29  { 7, 10, "failedJoin" },
30  { 8, 15, "safetyCondition" },
31  { 15, 3, "max" }
32 };
33 static const unsigned int asn_MAP_cpm_ts_ClusterLeaveReason_enum2value_1[] = {
34  6, /* cancelledJoin(6) */
35  2, /* clusterDisbandedByLeader(2) */
36  1, /* clusterLeaderLost(1) */
37  7, /* failedJoin(7) */
38  5, /* joiningAnotherCluster(5) */
39  9, /* max(15) */
40  0, /* notProvided(0) */
41  3, /* outOfClusterBoundingBox(3) */
42  4, /* outOfClusterSpeedRange(4) */
43  8 /* safetyCondition(8) */
44 };
46  asn_MAP_cpm_ts_ClusterLeaveReason_value2enum_1, /* "tag" => N; sorted by tag */
47  asn_MAP_cpm_ts_ClusterLeaveReason_enum2value_1, /* N => "tag"; sorted by N */
48  10, /* Number of elements in the maps */
49  0, /* Enumeration is not extensible */
50  1, /* Strict enumeration */
51  0, /* Native long size */
52  0
53 };
55  (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
56 };
58  "ClusterLeaveReason",
59  "ClusterLeaveReason",
63  /sizeof(asn_DEF_cpm_ts_ClusterLeaveReason_tags_1[0]), /* 1 */
64  asn_DEF_cpm_ts_ClusterLeaveReason_tags_1, /* Same as above */
66  /sizeof(asn_DEF_cpm_ts_ClusterLeaveReason_tags_1[0]), /* 1 */
67  {
68 #if !defined(ASN_DISABLE_OER_SUPPORT)
69  0,
70 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
71 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
73 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
74 #if !defined(ASN_DISABLE_JER_SUPPORT)
75  0,
76 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
78  },
79  0, 0, /* Defined elsewhere */
80  &asn_SPC_cpm_ts_ClusterLeaveReason_specs_1 /* Additional specs */
81 };
82 
asn_MAP_cpm_ts_ClusterLeaveReason_enum2value_1
static const unsigned int asn_MAP_cpm_ts_ClusterLeaveReason_enum2value_1[]
Definition: cpm_ts_ClusterLeaveReason.c:33
ber_tlv_tag_t
unsigned ber_tlv_tag_t
Definition: ber_tlv_tag.h:18
ASN_TAG_CLASS_UNIVERSAL
@ ASN_TAG_CLASS_UNIVERSAL
Definition: ber_tlv_tag.h:13
NativeEnumerated_constraint
#define NativeEnumerated_constraint
Definition: NativeEnumerated.h:34
CC_NOTUSED
asn_per_constraints_t asn_PER_type_cpm_ts_ClusterLeaveReason_constr_1 CC_NOTUSED
Definition: cpm_ts_ClusterLeaveReason.c:15
asn_TYPE_descriptor_s
Definition: constr_TYPE.h:224
asn_OP_NativeEnumerated
asn_TYPE_operation_t asn_OP_NativeEnumerated
Definition: NativeEnumerated.c:21
asn_SPC_cpm_ts_ClusterLeaveReason_specs_1
const asn_INTEGER_specifics_t asn_SPC_cpm_ts_ClusterLeaveReason_specs_1
Definition: cpm_ts_ClusterLeaveReason.c:45
asn_MAP_cpm_ts_ClusterLeaveReason_value2enum_1
static const asn_INTEGER_enum_map_t asn_MAP_cpm_ts_ClusterLeaveReason_value2enum_1[]
Definition: cpm_ts_ClusterLeaveReason.c:21
asn_INTEGER_specifics_s
Definition: INTEGER.h:28
asn_DEF_cpm_ts_ClusterLeaveReason
asn_TYPE_descriptor_t asn_DEF_cpm_ts_ClusterLeaveReason
Definition: cpm_ts_ClusterLeaveReason.c:57
cpm_ts_ClusterLeaveReason.h
asn_per_constraints_s
Definition: per_support.h:30
asn_DEF_cpm_ts_ClusterLeaveReason_tags_1
static const ber_tlv_tag_t asn_DEF_cpm_ts_ClusterLeaveReason_tags_1[]
Definition: cpm_ts_ClusterLeaveReason.c:54
asn_PER_type_cpm_ts_ClusterLeaveReason_constr_1
asn_per_constraints_t asn_PER_type_cpm_ts_ClusterLeaveReason_constr_1
asn_INTEGER_enum_map_s
Definition: INTEGER.h:21


etsi_its_cpm_ts_coding
Author(s): Jean-Pierre Busch , Guido Küppers , Lennart Reiher
autogenerated on Sun May 18 2025 02:22:37