remark release date
[Net-Radio-Location-SUPL-Test.git] / asn1 / GPSTOWAssistElement.c
blob35242bc29209ec467c1c230cf96f9805a62f5a64
1 /*
2 * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
3 * From ASN.1 module "RRLP-Components"
4 * found in "../asn1src/RRLP-Components.asn"
5 * `asn1c -gen-PER -fskeletons-copy -fnative-types`
6 */
8 #include "GPSTOWAssistElement.h"
10 static asn_TYPE_member_t asn_MBR_GPSTOWAssistElement_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct GPSTOWAssistElement, satelliteID),
12 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
13 -1, /* IMPLICIT tag at current level */
14 &asn_DEF_SatelliteID,
15 0, /* Defer constraints checking to the member type */
16 0, /* No PER visible constraints */
18 "satelliteID"
20 { ATF_NOFLAGS, 0, offsetof(struct GPSTOWAssistElement, tlmWord),
21 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
22 -1, /* IMPLICIT tag at current level */
23 &asn_DEF_TLMWord,
24 0, /* Defer constraints checking to the member type */
25 0, /* No PER visible constraints */
27 "tlmWord"
29 { ATF_NOFLAGS, 0, offsetof(struct GPSTOWAssistElement, antiSpoof),
30 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
31 -1, /* IMPLICIT tag at current level */
32 &asn_DEF_AntiSpoofFlag,
33 0, /* Defer constraints checking to the member type */
34 0, /* No PER visible constraints */
36 "antiSpoof"
38 { ATF_NOFLAGS, 0, offsetof(struct GPSTOWAssistElement, alert),
39 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
40 -1, /* IMPLICIT tag at current level */
41 &asn_DEF_AlertFlag,
42 0, /* Defer constraints checking to the member type */
43 0, /* No PER visible constraints */
45 "alert"
47 { ATF_NOFLAGS, 0, offsetof(struct GPSTOWAssistElement, tlmRsvdBits),
48 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
49 -1, /* IMPLICIT tag at current level */
50 &asn_DEF_TLMReservedBits,
51 0, /* Defer constraints checking to the member type */
52 0, /* No PER visible constraints */
54 "tlmRsvdBits"
57 static ber_tlv_tag_t asn_DEF_GPSTOWAssistElement_tags_1[] = {
58 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
60 static asn_TYPE_tag2member_t asn_MAP_GPSTOWAssistElement_tag2el_1[] = {
61 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* satelliteID at 620 */
62 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* tlmWord at 621 */
63 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* antiSpoof at 622 */
64 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* alert at 623 */
65 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* tlmRsvdBits at 625 */
67 static asn_SEQUENCE_specifics_t asn_SPC_GPSTOWAssistElement_specs_1 = {
68 sizeof(struct GPSTOWAssistElement),
69 offsetof(struct GPSTOWAssistElement, _asn_ctx),
70 asn_MAP_GPSTOWAssistElement_tag2el_1,
71 5, /* Count of tags in the map */
72 0, 0, 0, /* Optional elements (not needed) */
73 -1, /* Start extensions */
74 -1 /* Stop extensions */
76 asn_TYPE_descriptor_t asn_DEF_GPSTOWAssistElement = {
77 "GPSTOWAssistElement",
78 "GPSTOWAssistElement",
79 SEQUENCE_free,
80 SEQUENCE_print,
81 SEQUENCE_constraint,
82 SEQUENCE_decode_ber,
83 SEQUENCE_encode_der,
84 SEQUENCE_decode_xer,
85 SEQUENCE_encode_xer,
86 SEQUENCE_decode_uper,
87 SEQUENCE_encode_uper,
88 0, /* Use generic outmost tag fetcher */
89 asn_DEF_GPSTOWAssistElement_tags_1,
90 sizeof(asn_DEF_GPSTOWAssistElement_tags_1)
91 /sizeof(asn_DEF_GPSTOWAssistElement_tags_1[0]), /* 1 */
92 asn_DEF_GPSTOWAssistElement_tags_1, /* Same as above */
93 sizeof(asn_DEF_GPSTOWAssistElement_tags_1)
94 /sizeof(asn_DEF_GPSTOWAssistElement_tags_1[0]), /* 1 */
95 0, /* No PER visible constraints */
96 asn_MBR_GPSTOWAssistElement_1,
97 5, /* Elements count */
98 &asn_SPC_GPSTOWAssistElement_specs_1 /* Additional specs */