remark release date
[Net-Radio-Location-SUPL-Test.git] / asn1 / ReferenceNavModel.c
blobd7c26d0583a33c372247adc38354b672b6d030a8
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 "ReferenceNavModel.h"
10 static int
11 keplerE_7_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
12 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
14 if(!sptr) {
15 _ASN_CTFAIL(app_key, td, sptr,
16 "%s: value not given (%s:%d)",
17 td->name, __FILE__, __LINE__);
18 return -1;
22 /* Constraint check succeeded */
23 return 0;
27 * This type is implemented using NativeInteger,
28 * so here we adjust the DEF accordingly.
30 static void
31 keplerE_7_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
32 td->free_struct = asn_DEF_NativeInteger.free_struct;
33 td->print_struct = asn_DEF_NativeInteger.print_struct;
34 td->ber_decoder = asn_DEF_NativeInteger.ber_decoder;
35 td->der_encoder = asn_DEF_NativeInteger.der_encoder;
36 td->xer_decoder = asn_DEF_NativeInteger.xer_decoder;
37 td->xer_encoder = asn_DEF_NativeInteger.xer_encoder;
38 td->uper_decoder = asn_DEF_NativeInteger.uper_decoder;
39 td->uper_encoder = asn_DEF_NativeInteger.uper_encoder;
40 if(!td->per_constraints)
41 td->per_constraints = asn_DEF_NativeInteger.per_constraints;
42 td->elements = asn_DEF_NativeInteger.elements;
43 td->elements_count = asn_DEF_NativeInteger.elements_count;
44 /* td->specifics = asn_DEF_NativeInteger.specifics; // Defined explicitly */
47 static void
48 keplerE_7_free(asn_TYPE_descriptor_t *td,
49 void *struct_ptr, int contents_only) {
50 keplerE_7_inherit_TYPE_descriptor(td);
51 td->free_struct(td, struct_ptr, contents_only);
54 static int
55 keplerE_7_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
56 int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
57 keplerE_7_inherit_TYPE_descriptor(td);
58 return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
61 static asn_dec_rval_t
62 keplerE_7_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
63 void **structure, const void *bufptr, size_t size, int tag_mode) {
64 keplerE_7_inherit_TYPE_descriptor(td);
65 return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
68 static asn_enc_rval_t
69 keplerE_7_encode_der(asn_TYPE_descriptor_t *td,
70 void *structure, int tag_mode, ber_tlv_tag_t tag,
71 asn_app_consume_bytes_f *cb, void *app_key) {
72 keplerE_7_inherit_TYPE_descriptor(td);
73 return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
76 static asn_dec_rval_t
77 keplerE_7_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
78 void **structure, const char *opt_mname, const void *bufptr, size_t size) {
79 keplerE_7_inherit_TYPE_descriptor(td);
80 return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
83 static asn_enc_rval_t
84 keplerE_7_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
85 int ilevel, enum xer_encoder_flags_e flags,
86 asn_app_consume_bytes_f *cb, void *app_key) {
87 keplerE_7_inherit_TYPE_descriptor(td);
88 return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
91 static asn_dec_rval_t
92 keplerE_7_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
93 asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
94 keplerE_7_inherit_TYPE_descriptor(td);
95 return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
98 static asn_enc_rval_t
99 keplerE_7_encode_uper(asn_TYPE_descriptor_t *td,
100 asn_per_constraints_t *constraints,
101 void *structure, asn_per_outp_t *per_out) {
102 keplerE_7_inherit_TYPE_descriptor(td);
103 return td->uper_encoder(td, constraints, structure, per_out);
106 static int
107 keplerAPowerHalf_9_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
108 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
110 if(!sptr) {
111 _ASN_CTFAIL(app_key, td, sptr,
112 "%s: value not given (%s:%d)",
113 td->name, __FILE__, __LINE__);
114 return -1;
118 /* Constraint check succeeded */
119 return 0;
123 * This type is implemented using NativeInteger,
124 * so here we adjust the DEF accordingly.
126 static void
127 keplerAPowerHalf_9_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
128 td->free_struct = asn_DEF_NativeInteger.free_struct;
129 td->print_struct = asn_DEF_NativeInteger.print_struct;
130 td->ber_decoder = asn_DEF_NativeInteger.ber_decoder;
131 td->der_encoder = asn_DEF_NativeInteger.der_encoder;
132 td->xer_decoder = asn_DEF_NativeInteger.xer_decoder;
133 td->xer_encoder = asn_DEF_NativeInteger.xer_encoder;
134 td->uper_decoder = asn_DEF_NativeInteger.uper_decoder;
135 td->uper_encoder = asn_DEF_NativeInteger.uper_encoder;
136 if(!td->per_constraints)
137 td->per_constraints = asn_DEF_NativeInteger.per_constraints;
138 td->elements = asn_DEF_NativeInteger.elements;
139 td->elements_count = asn_DEF_NativeInteger.elements_count;
140 /* td->specifics = asn_DEF_NativeInteger.specifics; // Defined explicitly */
143 static void
144 keplerAPowerHalf_9_free(asn_TYPE_descriptor_t *td,
145 void *struct_ptr, int contents_only) {
146 keplerAPowerHalf_9_inherit_TYPE_descriptor(td);
147 td->free_struct(td, struct_ptr, contents_only);
150 static int
151 keplerAPowerHalf_9_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
152 int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
153 keplerAPowerHalf_9_inherit_TYPE_descriptor(td);
154 return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
157 static asn_dec_rval_t
158 keplerAPowerHalf_9_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
159 void **structure, const void *bufptr, size_t size, int tag_mode) {
160 keplerAPowerHalf_9_inherit_TYPE_descriptor(td);
161 return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
164 static asn_enc_rval_t
165 keplerAPowerHalf_9_encode_der(asn_TYPE_descriptor_t *td,
166 void *structure, int tag_mode, ber_tlv_tag_t tag,
167 asn_app_consume_bytes_f *cb, void *app_key) {
168 keplerAPowerHalf_9_inherit_TYPE_descriptor(td);
169 return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
172 static asn_dec_rval_t
173 keplerAPowerHalf_9_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
174 void **structure, const char *opt_mname, const void *bufptr, size_t size) {
175 keplerAPowerHalf_9_inherit_TYPE_descriptor(td);
176 return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
179 static asn_enc_rval_t
180 keplerAPowerHalf_9_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
181 int ilevel, enum xer_encoder_flags_e flags,
182 asn_app_consume_bytes_f *cb, void *app_key) {
183 keplerAPowerHalf_9_inherit_TYPE_descriptor(td);
184 return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
187 static asn_dec_rval_t
188 keplerAPowerHalf_9_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
189 asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
190 keplerAPowerHalf_9_inherit_TYPE_descriptor(td);
191 return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
194 static asn_enc_rval_t
195 keplerAPowerHalf_9_encode_uper(asn_TYPE_descriptor_t *td,
196 asn_per_constraints_t *constraints,
197 void *structure, asn_per_outp_t *per_out) {
198 keplerAPowerHalf_9_inherit_TYPE_descriptor(td);
199 return td->uper_encoder(td, constraints, structure, per_out);
202 static int
203 memb_keplerToe_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
204 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
205 long value;
207 if(!sptr) {
208 _ASN_CTFAIL(app_key, td, sptr,
209 "%s: value not given (%s:%d)",
210 td->name, __FILE__, __LINE__);
211 return -1;
214 value = *(const long *)sptr;
216 if((value >= 0 && value <= 37799)) {
217 /* Constraint check succeeded */
218 return 0;
219 } else {
220 _ASN_CTFAIL(app_key, td, sptr,
221 "%s: constraint failed (%s:%d)",
222 td->name, __FILE__, __LINE__);
223 return -1;
227 static int
228 memb_keplerW_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
229 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
230 long value;
232 if(!sptr) {
233 _ASN_CTFAIL(app_key, td, sptr,
234 "%s: value not given (%s:%d)",
235 td->name, __FILE__, __LINE__);
236 return -1;
239 value = *(const long *)sptr;
241 if((value >= (-2147483647L - 1) && value <= 2147483647)) {
242 /* Constraint check succeeded */
243 return 0;
244 } else {
245 _ASN_CTFAIL(app_key, td, sptr,
246 "%s: constraint failed (%s:%d)",
247 td->name, __FILE__, __LINE__);
248 return -1;
252 static int
253 memb_keplerDeltaN_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
254 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
255 long value;
257 if(!sptr) {
258 _ASN_CTFAIL(app_key, td, sptr,
259 "%s: value not given (%s:%d)",
260 td->name, __FILE__, __LINE__);
261 return -1;
264 value = *(const long *)sptr;
266 if((value >= -32768 && value <= 32767)) {
267 /* Constraint check succeeded */
268 return 0;
269 } else {
270 _ASN_CTFAIL(app_key, td, sptr,
271 "%s: constraint failed (%s:%d)",
272 td->name, __FILE__, __LINE__);
273 return -1;
277 static int
278 memb_keplerM0_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
279 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
280 long value;
282 if(!sptr) {
283 _ASN_CTFAIL(app_key, td, sptr,
284 "%s: value not given (%s:%d)",
285 td->name, __FILE__, __LINE__);
286 return -1;
289 value = *(const long *)sptr;
291 if((value >= (-2147483647L - 1) && value <= 2147483647)) {
292 /* Constraint check succeeded */
293 return 0;
294 } else {
295 _ASN_CTFAIL(app_key, td, sptr,
296 "%s: constraint failed (%s:%d)",
297 td->name, __FILE__, __LINE__);
298 return -1;
302 static int
303 memb_keplerOmegaDot_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
304 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
305 long value;
307 if(!sptr) {
308 _ASN_CTFAIL(app_key, td, sptr,
309 "%s: value not given (%s:%d)",
310 td->name, __FILE__, __LINE__);
311 return -1;
314 value = *(const long *)sptr;
316 if((value >= -8388608 && value <= 8388607)) {
317 /* Constraint check succeeded */
318 return 0;
319 } else {
320 _ASN_CTFAIL(app_key, td, sptr,
321 "%s: constraint failed (%s:%d)",
322 td->name, __FILE__, __LINE__);
323 return -1;
327 static int
328 memb_keplerE_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
329 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
331 if(!sptr) {
332 _ASN_CTFAIL(app_key, td, sptr,
333 "%s: value not given (%s:%d)",
334 td->name, __FILE__, __LINE__);
335 return -1;
339 /* Constraint check succeeded */
340 return 0;
343 static int
344 memb_keplerIDot_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
345 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
346 long value;
348 if(!sptr) {
349 _ASN_CTFAIL(app_key, td, sptr,
350 "%s: value not given (%s:%d)",
351 td->name, __FILE__, __LINE__);
352 return -1;
355 value = *(const long *)sptr;
357 if((value >= -8192 && value <= 8191)) {
358 /* Constraint check succeeded */
359 return 0;
360 } else {
361 _ASN_CTFAIL(app_key, td, sptr,
362 "%s: constraint failed (%s:%d)",
363 td->name, __FILE__, __LINE__);
364 return -1;
368 static int
369 memb_keplerAPowerHalf_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
370 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
372 if(!sptr) {
373 _ASN_CTFAIL(app_key, td, sptr,
374 "%s: value not given (%s:%d)",
375 td->name, __FILE__, __LINE__);
376 return -1;
380 /* Constraint check succeeded */
381 return 0;
384 static int
385 memb_keplerI0_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
386 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
387 long value;
389 if(!sptr) {
390 _ASN_CTFAIL(app_key, td, sptr,
391 "%s: value not given (%s:%d)",
392 td->name, __FILE__, __LINE__);
393 return -1;
396 value = *(const long *)sptr;
398 if((value >= (-2147483647L - 1) && value <= 2147483647)) {
399 /* Constraint check succeeded */
400 return 0;
401 } else {
402 _ASN_CTFAIL(app_key, td, sptr,
403 "%s: constraint failed (%s:%d)",
404 td->name, __FILE__, __LINE__);
405 return -1;
409 static int
410 memb_keplerOmega0_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
411 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
412 long value;
414 if(!sptr) {
415 _ASN_CTFAIL(app_key, td, sptr,
416 "%s: value not given (%s:%d)",
417 td->name, __FILE__, __LINE__);
418 return -1;
421 value = *(const long *)sptr;
423 if((value >= (-2147483647L - 1) && value <= 2147483647)) {
424 /* Constraint check succeeded */
425 return 0;
426 } else {
427 _ASN_CTFAIL(app_key, td, sptr,
428 "%s: constraint failed (%s:%d)",
429 td->name, __FILE__, __LINE__);
430 return -1;
434 static int
435 memb_keplerCrs_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
436 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
437 long value;
439 if(!sptr) {
440 _ASN_CTFAIL(app_key, td, sptr,
441 "%s: value not given (%s:%d)",
442 td->name, __FILE__, __LINE__);
443 return -1;
446 value = *(const long *)sptr;
448 if((value >= -32768 && value <= 32767)) {
449 /* Constraint check succeeded */
450 return 0;
451 } else {
452 _ASN_CTFAIL(app_key, td, sptr,
453 "%s: constraint failed (%s:%d)",
454 td->name, __FILE__, __LINE__);
455 return -1;
459 static int
460 memb_keplerCis_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
461 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
462 long value;
464 if(!sptr) {
465 _ASN_CTFAIL(app_key, td, sptr,
466 "%s: value not given (%s:%d)",
467 td->name, __FILE__, __LINE__);
468 return -1;
471 value = *(const long *)sptr;
473 if((value >= -32768 && value <= 32767)) {
474 /* Constraint check succeeded */
475 return 0;
476 } else {
477 _ASN_CTFAIL(app_key, td, sptr,
478 "%s: constraint failed (%s:%d)",
479 td->name, __FILE__, __LINE__);
480 return -1;
484 static int
485 memb_keplerCus_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
486 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
487 long value;
489 if(!sptr) {
490 _ASN_CTFAIL(app_key, td, sptr,
491 "%s: value not given (%s:%d)",
492 td->name, __FILE__, __LINE__);
493 return -1;
496 value = *(const long *)sptr;
498 if((value >= -32768 && value <= 32767)) {
499 /* Constraint check succeeded */
500 return 0;
501 } else {
502 _ASN_CTFAIL(app_key, td, sptr,
503 "%s: constraint failed (%s:%d)",
504 td->name, __FILE__, __LINE__);
505 return -1;
509 static int
510 memb_keplerCrc_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
511 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
512 long value;
514 if(!sptr) {
515 _ASN_CTFAIL(app_key, td, sptr,
516 "%s: value not given (%s:%d)",
517 td->name, __FILE__, __LINE__);
518 return -1;
521 value = *(const long *)sptr;
523 if((value >= -32768 && value <= 32767)) {
524 /* Constraint check succeeded */
525 return 0;
526 } else {
527 _ASN_CTFAIL(app_key, td, sptr,
528 "%s: constraint failed (%s:%d)",
529 td->name, __FILE__, __LINE__);
530 return -1;
534 static int
535 memb_keplerCic_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
536 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
537 long value;
539 if(!sptr) {
540 _ASN_CTFAIL(app_key, td, sptr,
541 "%s: value not given (%s:%d)",
542 td->name, __FILE__, __LINE__);
543 return -1;
546 value = *(const long *)sptr;
548 if((value >= -32768 && value <= 32767)) {
549 /* Constraint check succeeded */
550 return 0;
551 } else {
552 _ASN_CTFAIL(app_key, td, sptr,
553 "%s: constraint failed (%s:%d)",
554 td->name, __FILE__, __LINE__);
555 return -1;
559 static int
560 memb_keplerCuc_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
561 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
562 long value;
564 if(!sptr) {
565 _ASN_CTFAIL(app_key, td, sptr,
566 "%s: value not given (%s:%d)",
567 td->name, __FILE__, __LINE__);
568 return -1;
571 value = *(const long *)sptr;
573 if((value >= -32768 && value <= 32767)) {
574 /* Constraint check succeeded */
575 return 0;
576 } else {
577 _ASN_CTFAIL(app_key, td, sptr,
578 "%s: constraint failed (%s:%d)",
579 td->name, __FILE__, __LINE__);
580 return -1;
584 static asn_per_constraints_t asn_PER_type_keplerE_constr_7 = {
585 { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */,
586 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
587 0, 0 /* No PER value map */
589 static asn_per_constraints_t asn_PER_type_keplerAPowerHalf_constr_9 = {
590 { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */,
591 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
592 0, 0 /* No PER value map */
594 static asn_per_constraints_t asn_PER_memb_keplerToe_constr_2 = {
595 { APC_CONSTRAINED, 16, 16, 0, 37799 } /* (0..37799) */,
596 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
597 0, 0 /* No PER value map */
599 static asn_per_constraints_t asn_PER_memb_keplerW_constr_3 = {
600 { APC_CONSTRAINED, 32, -1, (-2147483647L - 1), 2147483647 } /* (-2147483648..2147483647) */,
601 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
602 0, 0 /* No PER value map */
604 static asn_per_constraints_t asn_PER_memb_keplerDeltaN_constr_4 = {
605 { APC_CONSTRAINED, 16, 16, -32768, 32767 } /* (-32768..32767) */,
606 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
607 0, 0 /* No PER value map */
609 static asn_per_constraints_t asn_PER_memb_keplerM0_constr_5 = {
610 { APC_CONSTRAINED, 32, -1, (-2147483647L - 1), 2147483647 } /* (-2147483648..2147483647) */,
611 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
612 0, 0 /* No PER value map */
614 static asn_per_constraints_t asn_PER_memb_keplerOmegaDot_constr_6 = {
615 { APC_CONSTRAINED, 24, -1, -8388608, 8388607 } /* (-8388608..8388607) */,
616 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
617 0, 0 /* No PER value map */
619 static asn_per_constraints_t asn_PER_memb_keplerE_constr_7 = {
620 { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */,
621 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
622 0, 0 /* No PER value map */
624 static asn_per_constraints_t asn_PER_memb_keplerIDot_constr_8 = {
625 { APC_CONSTRAINED, 14, 14, -8192, 8191 } /* (-8192..8191) */,
626 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
627 0, 0 /* No PER value map */
629 static asn_per_constraints_t asn_PER_memb_keplerAPowerHalf_constr_9 = {
630 { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */,
631 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
632 0, 0 /* No PER value map */
634 static asn_per_constraints_t asn_PER_memb_keplerI0_constr_10 = {
635 { APC_CONSTRAINED, 32, -1, (-2147483647L - 1), 2147483647 } /* (-2147483648..2147483647) */,
636 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
637 0, 0 /* No PER value map */
639 static asn_per_constraints_t asn_PER_memb_keplerOmega0_constr_11 = {
640 { APC_CONSTRAINED, 32, -1, (-2147483647L - 1), 2147483647 } /* (-2147483648..2147483647) */,
641 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
642 0, 0 /* No PER value map */
644 static asn_per_constraints_t asn_PER_memb_keplerCrs_constr_12 = {
645 { APC_CONSTRAINED, 16, 16, -32768, 32767 } /* (-32768..32767) */,
646 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
647 0, 0 /* No PER value map */
649 static asn_per_constraints_t asn_PER_memb_keplerCis_constr_13 = {
650 { APC_CONSTRAINED, 16, 16, -32768, 32767 } /* (-32768..32767) */,
651 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
652 0, 0 /* No PER value map */
654 static asn_per_constraints_t asn_PER_memb_keplerCus_constr_14 = {
655 { APC_CONSTRAINED, 16, 16, -32768, 32767 } /* (-32768..32767) */,
656 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
657 0, 0 /* No PER value map */
659 static asn_per_constraints_t asn_PER_memb_keplerCrc_constr_15 = {
660 { APC_CONSTRAINED, 16, 16, -32768, 32767 } /* (-32768..32767) */,
661 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
662 0, 0 /* No PER value map */
664 static asn_per_constraints_t asn_PER_memb_keplerCic_constr_16 = {
665 { APC_CONSTRAINED, 16, 16, -32768, 32767 } /* (-32768..32767) */,
666 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
667 0, 0 /* No PER value map */
669 static asn_per_constraints_t asn_PER_memb_keplerCuc_constr_17 = {
670 { APC_CONSTRAINED, 16, 16, -32768, 32767 } /* (-32768..32767) */,
671 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
672 0, 0 /* No PER value map */
674 static asn_INTEGER_specifics_t asn_SPC_keplerE_specs_7 = {
675 0, 0, 0, 0, 0,
676 0, /* Native long size */
677 1 /* Unsigned representation */
679 static ber_tlv_tag_t asn_DEF_keplerE_tags_7[] = {
680 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
681 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
683 static /* Use -fall-defs-global to expose */
684 asn_TYPE_descriptor_t asn_DEF_keplerE_7 = {
685 "keplerE",
686 "keplerE",
687 keplerE_7_free,
688 keplerE_7_print,
689 keplerE_7_constraint,
690 keplerE_7_decode_ber,
691 keplerE_7_encode_der,
692 keplerE_7_decode_xer,
693 keplerE_7_encode_xer,
694 keplerE_7_decode_uper,
695 keplerE_7_encode_uper,
696 0, /* Use generic outmost tag fetcher */
697 asn_DEF_keplerE_tags_7,
698 sizeof(asn_DEF_keplerE_tags_7)
699 /sizeof(asn_DEF_keplerE_tags_7[0]) - 1, /* 1 */
700 asn_DEF_keplerE_tags_7, /* Same as above */
701 sizeof(asn_DEF_keplerE_tags_7)
702 /sizeof(asn_DEF_keplerE_tags_7[0]), /* 2 */
703 &asn_PER_type_keplerE_constr_7,
704 0, 0, /* No members */
705 &asn_SPC_keplerE_specs_7 /* Additional specs */
708 static asn_INTEGER_specifics_t asn_SPC_keplerAPowerHalf_specs_9 = {
709 0, 0, 0, 0, 0,
710 0, /* Native long size */
711 1 /* Unsigned representation */
713 static ber_tlv_tag_t asn_DEF_keplerAPowerHalf_tags_9[] = {
714 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
715 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
717 static /* Use -fall-defs-global to expose */
718 asn_TYPE_descriptor_t asn_DEF_keplerAPowerHalf_9 = {
719 "keplerAPowerHalf",
720 "keplerAPowerHalf",
721 keplerAPowerHalf_9_free,
722 keplerAPowerHalf_9_print,
723 keplerAPowerHalf_9_constraint,
724 keplerAPowerHalf_9_decode_ber,
725 keplerAPowerHalf_9_encode_der,
726 keplerAPowerHalf_9_decode_xer,
727 keplerAPowerHalf_9_encode_xer,
728 keplerAPowerHalf_9_decode_uper,
729 keplerAPowerHalf_9_encode_uper,
730 0, /* Use generic outmost tag fetcher */
731 asn_DEF_keplerAPowerHalf_tags_9,
732 sizeof(asn_DEF_keplerAPowerHalf_tags_9)
733 /sizeof(asn_DEF_keplerAPowerHalf_tags_9[0]) - 1, /* 1 */
734 asn_DEF_keplerAPowerHalf_tags_9, /* Same as above */
735 sizeof(asn_DEF_keplerAPowerHalf_tags_9)
736 /sizeof(asn_DEF_keplerAPowerHalf_tags_9[0]), /* 2 */
737 &asn_PER_type_keplerAPowerHalf_constr_9,
738 0, 0, /* No members */
739 &asn_SPC_keplerAPowerHalf_specs_9 /* Additional specs */
742 static asn_TYPE_member_t asn_MBR_ReferenceNavModel_1[] = {
743 { ATF_NOFLAGS, 0, offsetof(struct ReferenceNavModel, keplerToe),
744 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
745 -1, /* IMPLICIT tag at current level */
746 &asn_DEF_NativeInteger,
747 memb_keplerToe_constraint_1,
748 &asn_PER_memb_keplerToe_constr_2,
750 "keplerToe"
752 { ATF_NOFLAGS, 0, offsetof(struct ReferenceNavModel, keplerW),
753 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
754 -1, /* IMPLICIT tag at current level */
755 &asn_DEF_NativeInteger,
756 memb_keplerW_constraint_1,
757 &asn_PER_memb_keplerW_constr_3,
759 "keplerW"
761 { ATF_NOFLAGS, 0, offsetof(struct ReferenceNavModel, keplerDeltaN),
762 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
763 -1, /* IMPLICIT tag at current level */
764 &asn_DEF_NativeInteger,
765 memb_keplerDeltaN_constraint_1,
766 &asn_PER_memb_keplerDeltaN_constr_4,
768 "keplerDeltaN"
770 { ATF_NOFLAGS, 0, offsetof(struct ReferenceNavModel, keplerM0),
771 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
772 -1, /* IMPLICIT tag at current level */
773 &asn_DEF_NativeInteger,
774 memb_keplerM0_constraint_1,
775 &asn_PER_memb_keplerM0_constr_5,
777 "keplerM0"
779 { ATF_NOFLAGS, 0, offsetof(struct ReferenceNavModel, keplerOmegaDot),
780 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
781 -1, /* IMPLICIT tag at current level */
782 &asn_DEF_NativeInteger,
783 memb_keplerOmegaDot_constraint_1,
784 &asn_PER_memb_keplerOmegaDot_constr_6,
786 "keplerOmegaDot"
788 { ATF_NOFLAGS, 0, offsetof(struct ReferenceNavModel, keplerE),
789 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
790 -1, /* IMPLICIT tag at current level */
791 &asn_DEF_keplerE_7,
792 memb_keplerE_constraint_1,
793 &asn_PER_memb_keplerE_constr_7,
795 "keplerE"
797 { ATF_NOFLAGS, 0, offsetof(struct ReferenceNavModel, keplerIDot),
798 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
799 -1, /* IMPLICIT tag at current level */
800 &asn_DEF_NativeInteger,
801 memb_keplerIDot_constraint_1,
802 &asn_PER_memb_keplerIDot_constr_8,
804 "keplerIDot"
806 { ATF_NOFLAGS, 0, offsetof(struct ReferenceNavModel, keplerAPowerHalf),
807 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
808 -1, /* IMPLICIT tag at current level */
809 &asn_DEF_keplerAPowerHalf_9,
810 memb_keplerAPowerHalf_constraint_1,
811 &asn_PER_memb_keplerAPowerHalf_constr_9,
813 "keplerAPowerHalf"
815 { ATF_NOFLAGS, 0, offsetof(struct ReferenceNavModel, keplerI0),
816 (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
817 -1, /* IMPLICIT tag at current level */
818 &asn_DEF_NativeInteger,
819 memb_keplerI0_constraint_1,
820 &asn_PER_memb_keplerI0_constr_10,
822 "keplerI0"
824 { ATF_NOFLAGS, 0, offsetof(struct ReferenceNavModel, keplerOmega0),
825 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
826 -1, /* IMPLICIT tag at current level */
827 &asn_DEF_NativeInteger,
828 memb_keplerOmega0_constraint_1,
829 &asn_PER_memb_keplerOmega0_constr_11,
831 "keplerOmega0"
833 { ATF_NOFLAGS, 0, offsetof(struct ReferenceNavModel, keplerCrs),
834 (ASN_TAG_CLASS_CONTEXT | (10 << 2)),
835 -1, /* IMPLICIT tag at current level */
836 &asn_DEF_NativeInteger,
837 memb_keplerCrs_constraint_1,
838 &asn_PER_memb_keplerCrs_constr_12,
840 "keplerCrs"
842 { ATF_NOFLAGS, 0, offsetof(struct ReferenceNavModel, keplerCis),
843 (ASN_TAG_CLASS_CONTEXT | (11 << 2)),
844 -1, /* IMPLICIT tag at current level */
845 &asn_DEF_NativeInteger,
846 memb_keplerCis_constraint_1,
847 &asn_PER_memb_keplerCis_constr_13,
849 "keplerCis"
851 { ATF_NOFLAGS, 0, offsetof(struct ReferenceNavModel, keplerCus),
852 (ASN_TAG_CLASS_CONTEXT | (12 << 2)),
853 -1, /* IMPLICIT tag at current level */
854 &asn_DEF_NativeInteger,
855 memb_keplerCus_constraint_1,
856 &asn_PER_memb_keplerCus_constr_14,
858 "keplerCus"
860 { ATF_NOFLAGS, 0, offsetof(struct ReferenceNavModel, keplerCrc),
861 (ASN_TAG_CLASS_CONTEXT | (13 << 2)),
862 -1, /* IMPLICIT tag at current level */
863 &asn_DEF_NativeInteger,
864 memb_keplerCrc_constraint_1,
865 &asn_PER_memb_keplerCrc_constr_15,
867 "keplerCrc"
869 { ATF_NOFLAGS, 0, offsetof(struct ReferenceNavModel, keplerCic),
870 (ASN_TAG_CLASS_CONTEXT | (14 << 2)),
871 -1, /* IMPLICIT tag at current level */
872 &asn_DEF_NativeInteger,
873 memb_keplerCic_constraint_1,
874 &asn_PER_memb_keplerCic_constr_16,
876 "keplerCic"
878 { ATF_NOFLAGS, 0, offsetof(struct ReferenceNavModel, keplerCuc),
879 (ASN_TAG_CLASS_CONTEXT | (15 << 2)),
880 -1, /* IMPLICIT tag at current level */
881 &asn_DEF_NativeInteger,
882 memb_keplerCuc_constraint_1,
883 &asn_PER_memb_keplerCuc_constr_17,
885 "keplerCuc"
888 static ber_tlv_tag_t asn_DEF_ReferenceNavModel_tags_1[] = {
889 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
891 static asn_TYPE_tag2member_t asn_MAP_ReferenceNavModel_tag2el_1[] = {
892 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* keplerToe at 1706 */
893 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* keplerW at 1707 */
894 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* keplerDeltaN at 1708 */
895 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* keplerM0 at 1709 */
896 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* keplerOmegaDot at 1710 */
897 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* keplerE at 1711 */
898 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* keplerIDot at 1712 */
899 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* keplerAPowerHalf at 1713 */
900 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* keplerI0 at 1714 */
901 { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* keplerOmega0 at 1715 */
902 { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* keplerCrs at 1716 */
903 { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 }, /* keplerCis at 1717 */
904 { (ASN_TAG_CLASS_CONTEXT | (12 << 2)), 12, 0, 0 }, /* keplerCus at 1718 */
905 { (ASN_TAG_CLASS_CONTEXT | (13 << 2)), 13, 0, 0 }, /* keplerCrc at 1719 */
906 { (ASN_TAG_CLASS_CONTEXT | (14 << 2)), 14, 0, 0 }, /* keplerCic at 1720 */
907 { (ASN_TAG_CLASS_CONTEXT | (15 << 2)), 15, 0, 0 } /* keplerCuc at 1721 */
909 static asn_SEQUENCE_specifics_t asn_SPC_ReferenceNavModel_specs_1 = {
910 sizeof(struct ReferenceNavModel),
911 offsetof(struct ReferenceNavModel, _asn_ctx),
912 asn_MAP_ReferenceNavModel_tag2el_1,
913 16, /* Count of tags in the map */
914 0, 0, 0, /* Optional elements (not needed) */
915 -1, /* Start extensions */
916 -1 /* Stop extensions */
918 asn_TYPE_descriptor_t asn_DEF_ReferenceNavModel = {
919 "ReferenceNavModel",
920 "ReferenceNavModel",
921 SEQUENCE_free,
922 SEQUENCE_print,
923 SEQUENCE_constraint,
924 SEQUENCE_decode_ber,
925 SEQUENCE_encode_der,
926 SEQUENCE_decode_xer,
927 SEQUENCE_encode_xer,
928 SEQUENCE_decode_uper,
929 SEQUENCE_encode_uper,
930 0, /* Use generic outmost tag fetcher */
931 asn_DEF_ReferenceNavModel_tags_1,
932 sizeof(asn_DEF_ReferenceNavModel_tags_1)
933 /sizeof(asn_DEF_ReferenceNavModel_tags_1[0]), /* 1 */
934 asn_DEF_ReferenceNavModel_tags_1, /* Same as above */
935 sizeof(asn_DEF_ReferenceNavModel_tags_1)
936 /sizeof(asn_DEF_ReferenceNavModel_tags_1[0]), /* 1 */
937 0, /* No PER visible constraints */
938 asn_MBR_ReferenceNavModel_1,
939 16, /* Elements count */
940 &asn_SPC_ReferenceNavModel_specs_1 /* Additional specs */