remark release date
[Net-Radio-Location-SUPL-Test.git] / asn1 / NavModel-NAVKeplerianSet.c
blobaa09896b311ca1935d515ca7d78ad43b2bebd1ff
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 "NavModel-NAVKeplerianSet.h"
10 static int
11 navE_9_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 navE_9_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 navE_9_free(asn_TYPE_descriptor_t *td,
49 void *struct_ptr, int contents_only) {
50 navE_9_inherit_TYPE_descriptor(td);
51 td->free_struct(td, struct_ptr, contents_only);
54 static int
55 navE_9_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
56 int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
57 navE_9_inherit_TYPE_descriptor(td);
58 return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
61 static asn_dec_rval_t
62 navE_9_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 navE_9_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 navE_9_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 navE_9_inherit_TYPE_descriptor(td);
73 return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
76 static asn_dec_rval_t
77 navE_9_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 navE_9_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 navE_9_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 navE_9_inherit_TYPE_descriptor(td);
88 return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
91 static asn_dec_rval_t
92 navE_9_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 navE_9_inherit_TYPE_descriptor(td);
95 return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
98 static asn_enc_rval_t
99 navE_9_encode_uper(asn_TYPE_descriptor_t *td,
100 asn_per_constraints_t *constraints,
101 void *structure, asn_per_outp_t *per_out) {
102 navE_9_inherit_TYPE_descriptor(td);
103 return td->uper_encoder(td, constraints, structure, per_out);
106 static int
107 navAPowerHalf_11_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 navAPowerHalf_11_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 navAPowerHalf_11_free(asn_TYPE_descriptor_t *td,
145 void *struct_ptr, int contents_only) {
146 navAPowerHalf_11_inherit_TYPE_descriptor(td);
147 td->free_struct(td, struct_ptr, contents_only);
150 static int
151 navAPowerHalf_11_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
152 int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
153 navAPowerHalf_11_inherit_TYPE_descriptor(td);
154 return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
157 static asn_dec_rval_t
158 navAPowerHalf_11_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 navAPowerHalf_11_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 navAPowerHalf_11_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 navAPowerHalf_11_inherit_TYPE_descriptor(td);
169 return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
172 static asn_dec_rval_t
173 navAPowerHalf_11_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 navAPowerHalf_11_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 navAPowerHalf_11_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 navAPowerHalf_11_inherit_TYPE_descriptor(td);
184 return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
187 static asn_dec_rval_t
188 navAPowerHalf_11_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 navAPowerHalf_11_inherit_TYPE_descriptor(td);
191 return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
194 static asn_enc_rval_t
195 navAPowerHalf_11_encode_uper(asn_TYPE_descriptor_t *td,
196 asn_per_constraints_t *constraints,
197 void *structure, asn_per_outp_t *per_out) {
198 navAPowerHalf_11_inherit_TYPE_descriptor(td);
199 return td->uper_encoder(td, constraints, structure, per_out);
202 static int
203 memb_navURA_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 <= 15)) {
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_navFitFlag_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 >= 0 && value <= 1)) {
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_navToe_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 >= 0 && value <= 37799)) {
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_navOmega_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_navDeltaN_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 >= -32768 && value <= 32767)) {
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_navM0_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
329 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
330 long value;
332 if(!sptr) {
333 _ASN_CTFAIL(app_key, td, sptr,
334 "%s: value not given (%s:%d)",
335 td->name, __FILE__, __LINE__);
336 return -1;
339 value = *(const long *)sptr;
341 if((value >= (-2147483647L - 1) && value <= 2147483647)) {
342 /* Constraint check succeeded */
343 return 0;
344 } else {
345 _ASN_CTFAIL(app_key, td, sptr,
346 "%s: constraint failed (%s:%d)",
347 td->name, __FILE__, __LINE__);
348 return -1;
352 static int
353 memb_navOmegaADot_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
354 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
355 long value;
357 if(!sptr) {
358 _ASN_CTFAIL(app_key, td, sptr,
359 "%s: value not given (%s:%d)",
360 td->name, __FILE__, __LINE__);
361 return -1;
364 value = *(const long *)sptr;
366 if((value >= -8388608 && value <= 8388607)) {
367 /* Constraint check succeeded */
368 return 0;
369 } else {
370 _ASN_CTFAIL(app_key, td, sptr,
371 "%s: constraint failed (%s:%d)",
372 td->name, __FILE__, __LINE__);
373 return -1;
377 static int
378 memb_navE_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
379 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
381 if(!sptr) {
382 _ASN_CTFAIL(app_key, td, sptr,
383 "%s: value not given (%s:%d)",
384 td->name, __FILE__, __LINE__);
385 return -1;
389 /* Constraint check succeeded */
390 return 0;
393 static int
394 memb_navIDot_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
395 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
396 long value;
398 if(!sptr) {
399 _ASN_CTFAIL(app_key, td, sptr,
400 "%s: value not given (%s:%d)",
401 td->name, __FILE__, __LINE__);
402 return -1;
405 value = *(const long *)sptr;
407 if((value >= -8192 && value <= 8191)) {
408 /* Constraint check succeeded */
409 return 0;
410 } else {
411 _ASN_CTFAIL(app_key, td, sptr,
412 "%s: constraint failed (%s:%d)",
413 td->name, __FILE__, __LINE__);
414 return -1;
418 static int
419 memb_navAPowerHalf_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
420 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
422 if(!sptr) {
423 _ASN_CTFAIL(app_key, td, sptr,
424 "%s: value not given (%s:%d)",
425 td->name, __FILE__, __LINE__);
426 return -1;
430 /* Constraint check succeeded */
431 return 0;
434 static int
435 memb_navI0_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 >= (-2147483647L - 1) && value <= 2147483647)) {
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_navOmegaA0_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 >= (-2147483647L - 1) && value <= 2147483647)) {
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_navCrs_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_navCis_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_navCus_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_navCrc_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 int
585 memb_navCic_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
586 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
587 long value;
589 if(!sptr) {
590 _ASN_CTFAIL(app_key, td, sptr,
591 "%s: value not given (%s:%d)",
592 td->name, __FILE__, __LINE__);
593 return -1;
596 value = *(const long *)sptr;
598 if((value >= -32768 && value <= 32767)) {
599 /* Constraint check succeeded */
600 return 0;
601 } else {
602 _ASN_CTFAIL(app_key, td, sptr,
603 "%s: constraint failed (%s:%d)",
604 td->name, __FILE__, __LINE__);
605 return -1;
609 static int
610 memb_navCuc_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
611 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
612 long value;
614 if(!sptr) {
615 _ASN_CTFAIL(app_key, td, sptr,
616 "%s: value not given (%s:%d)",
617 td->name, __FILE__, __LINE__);
618 return -1;
621 value = *(const long *)sptr;
623 if((value >= -32768 && value <= 32767)) {
624 /* Constraint check succeeded */
625 return 0;
626 } else {
627 _ASN_CTFAIL(app_key, td, sptr,
628 "%s: constraint failed (%s:%d)",
629 td->name, __FILE__, __LINE__);
630 return -1;
634 static asn_per_constraints_t asn_PER_type_navE_constr_9 = {
635 { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */,
636 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
637 0, 0 /* No PER value map */
639 static asn_per_constraints_t asn_PER_type_navAPowerHalf_constr_11 = {
640 { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */,
641 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
642 0, 0 /* No PER value map */
644 static asn_per_constraints_t asn_PER_memb_navURA_constr_2 = {
645 { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */,
646 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
647 0, 0 /* No PER value map */
649 static asn_per_constraints_t asn_PER_memb_navFitFlag_constr_3 = {
650 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
651 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
652 0, 0 /* No PER value map */
654 static asn_per_constraints_t asn_PER_memb_navToe_constr_4 = {
655 { APC_CONSTRAINED, 16, 16, 0, 37799 } /* (0..37799) */,
656 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
657 0, 0 /* No PER value map */
659 static asn_per_constraints_t asn_PER_memb_navOmega_constr_5 = {
660 { APC_CONSTRAINED, 32, -1, (-2147483647L - 1), 2147483647 } /* (-2147483648..2147483647) */,
661 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
662 0, 0 /* No PER value map */
664 static asn_per_constraints_t asn_PER_memb_navDeltaN_constr_6 = {
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_navM0_constr_7 = {
670 { APC_CONSTRAINED, 32, -1, (-2147483647L - 1), 2147483647 } /* (-2147483648..2147483647) */,
671 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
672 0, 0 /* No PER value map */
674 static asn_per_constraints_t asn_PER_memb_navOmegaADot_constr_8 = {
675 { APC_CONSTRAINED, 24, -1, -8388608, 8388607 } /* (-8388608..8388607) */,
676 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
677 0, 0 /* No PER value map */
679 static asn_per_constraints_t asn_PER_memb_navE_constr_9 = {
680 { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */,
681 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
682 0, 0 /* No PER value map */
684 static asn_per_constraints_t asn_PER_memb_navIDot_constr_10 = {
685 { APC_CONSTRAINED, 14, 14, -8192, 8191 } /* (-8192..8191) */,
686 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
687 0, 0 /* No PER value map */
689 static asn_per_constraints_t asn_PER_memb_navAPowerHalf_constr_11 = {
690 { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */,
691 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
692 0, 0 /* No PER value map */
694 static asn_per_constraints_t asn_PER_memb_navI0_constr_12 = {
695 { APC_CONSTRAINED, 32, -1, (-2147483647L - 1), 2147483647 } /* (-2147483648..2147483647) */,
696 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
697 0, 0 /* No PER value map */
699 static asn_per_constraints_t asn_PER_memb_navOmegaA0_constr_13 = {
700 { APC_CONSTRAINED, 32, -1, (-2147483647L - 1), 2147483647 } /* (-2147483648..2147483647) */,
701 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
702 0, 0 /* No PER value map */
704 static asn_per_constraints_t asn_PER_memb_navCrs_constr_14 = {
705 { APC_CONSTRAINED, 16, 16, -32768, 32767 } /* (-32768..32767) */,
706 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
707 0, 0 /* No PER value map */
709 static asn_per_constraints_t asn_PER_memb_navCis_constr_15 = {
710 { APC_CONSTRAINED, 16, 16, -32768, 32767 } /* (-32768..32767) */,
711 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
712 0, 0 /* No PER value map */
714 static asn_per_constraints_t asn_PER_memb_navCus_constr_16 = {
715 { APC_CONSTRAINED, 16, 16, -32768, 32767 } /* (-32768..32767) */,
716 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
717 0, 0 /* No PER value map */
719 static asn_per_constraints_t asn_PER_memb_navCrc_constr_17 = {
720 { APC_CONSTRAINED, 16, 16, -32768, 32767 } /* (-32768..32767) */,
721 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
722 0, 0 /* No PER value map */
724 static asn_per_constraints_t asn_PER_memb_navCic_constr_18 = {
725 { APC_CONSTRAINED, 16, 16, -32768, 32767 } /* (-32768..32767) */,
726 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
727 0, 0 /* No PER value map */
729 static asn_per_constraints_t asn_PER_memb_navCuc_constr_19 = {
730 { APC_CONSTRAINED, 16, 16, -32768, 32767 } /* (-32768..32767) */,
731 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
732 0, 0 /* No PER value map */
734 static asn_INTEGER_specifics_t asn_SPC_navE_specs_9 = {
735 0, 0, 0, 0, 0,
736 0, /* Native long size */
737 1 /* Unsigned representation */
739 static ber_tlv_tag_t asn_DEF_navE_tags_9[] = {
740 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
741 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
743 static /* Use -fall-defs-global to expose */
744 asn_TYPE_descriptor_t asn_DEF_navE_9 = {
745 "navE",
746 "navE",
747 navE_9_free,
748 navE_9_print,
749 navE_9_constraint,
750 navE_9_decode_ber,
751 navE_9_encode_der,
752 navE_9_decode_xer,
753 navE_9_encode_xer,
754 navE_9_decode_uper,
755 navE_9_encode_uper,
756 0, /* Use generic outmost tag fetcher */
757 asn_DEF_navE_tags_9,
758 sizeof(asn_DEF_navE_tags_9)
759 /sizeof(asn_DEF_navE_tags_9[0]) - 1, /* 1 */
760 asn_DEF_navE_tags_9, /* Same as above */
761 sizeof(asn_DEF_navE_tags_9)
762 /sizeof(asn_DEF_navE_tags_9[0]), /* 2 */
763 &asn_PER_type_navE_constr_9,
764 0, 0, /* No members */
765 &asn_SPC_navE_specs_9 /* Additional specs */
768 static asn_INTEGER_specifics_t asn_SPC_navAPowerHalf_specs_11 = {
769 0, 0, 0, 0, 0,
770 0, /* Native long size */
771 1 /* Unsigned representation */
773 static ber_tlv_tag_t asn_DEF_navAPowerHalf_tags_11[] = {
774 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
775 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
777 static /* Use -fall-defs-global to expose */
778 asn_TYPE_descriptor_t asn_DEF_navAPowerHalf_11 = {
779 "navAPowerHalf",
780 "navAPowerHalf",
781 navAPowerHalf_11_free,
782 navAPowerHalf_11_print,
783 navAPowerHalf_11_constraint,
784 navAPowerHalf_11_decode_ber,
785 navAPowerHalf_11_encode_der,
786 navAPowerHalf_11_decode_xer,
787 navAPowerHalf_11_encode_xer,
788 navAPowerHalf_11_decode_uper,
789 navAPowerHalf_11_encode_uper,
790 0, /* Use generic outmost tag fetcher */
791 asn_DEF_navAPowerHalf_tags_11,
792 sizeof(asn_DEF_navAPowerHalf_tags_11)
793 /sizeof(asn_DEF_navAPowerHalf_tags_11[0]) - 1, /* 1 */
794 asn_DEF_navAPowerHalf_tags_11, /* Same as above */
795 sizeof(asn_DEF_navAPowerHalf_tags_11)
796 /sizeof(asn_DEF_navAPowerHalf_tags_11[0]), /* 2 */
797 &asn_PER_type_navAPowerHalf_constr_11,
798 0, 0, /* No members */
799 &asn_SPC_navAPowerHalf_specs_11 /* Additional specs */
802 static asn_TYPE_member_t asn_MBR_NavModel_NAVKeplerianSet_1[] = {
803 { ATF_NOFLAGS, 0, offsetof(struct NavModel_NAVKeplerianSet, navURA),
804 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
805 -1, /* IMPLICIT tag at current level */
806 &asn_DEF_NativeInteger,
807 memb_navURA_constraint_1,
808 &asn_PER_memb_navURA_constr_2,
810 "navURA"
812 { ATF_NOFLAGS, 0, offsetof(struct NavModel_NAVKeplerianSet, navFitFlag),
813 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
814 -1, /* IMPLICIT tag at current level */
815 &asn_DEF_NativeInteger,
816 memb_navFitFlag_constraint_1,
817 &asn_PER_memb_navFitFlag_constr_3,
819 "navFitFlag"
821 { ATF_NOFLAGS, 0, offsetof(struct NavModel_NAVKeplerianSet, navToe),
822 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
823 -1, /* IMPLICIT tag at current level */
824 &asn_DEF_NativeInteger,
825 memb_navToe_constraint_1,
826 &asn_PER_memb_navToe_constr_4,
828 "navToe"
830 { ATF_NOFLAGS, 0, offsetof(struct NavModel_NAVKeplerianSet, navOmega),
831 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
832 -1, /* IMPLICIT tag at current level */
833 &asn_DEF_NativeInteger,
834 memb_navOmega_constraint_1,
835 &asn_PER_memb_navOmega_constr_5,
837 "navOmega"
839 { ATF_NOFLAGS, 0, offsetof(struct NavModel_NAVKeplerianSet, navDeltaN),
840 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
841 -1, /* IMPLICIT tag at current level */
842 &asn_DEF_NativeInteger,
843 memb_navDeltaN_constraint_1,
844 &asn_PER_memb_navDeltaN_constr_6,
846 "navDeltaN"
848 { ATF_NOFLAGS, 0, offsetof(struct NavModel_NAVKeplerianSet, navM0),
849 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
850 -1, /* IMPLICIT tag at current level */
851 &asn_DEF_NativeInteger,
852 memb_navM0_constraint_1,
853 &asn_PER_memb_navM0_constr_7,
855 "navM0"
857 { ATF_NOFLAGS, 0, offsetof(struct NavModel_NAVKeplerianSet, navOmegaADot),
858 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
859 -1, /* IMPLICIT tag at current level */
860 &asn_DEF_NativeInteger,
861 memb_navOmegaADot_constraint_1,
862 &asn_PER_memb_navOmegaADot_constr_8,
864 "navOmegaADot"
866 { ATF_NOFLAGS, 0, offsetof(struct NavModel_NAVKeplerianSet, navE),
867 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
868 -1, /* IMPLICIT tag at current level */
869 &asn_DEF_navE_9,
870 memb_navE_constraint_1,
871 &asn_PER_memb_navE_constr_9,
873 "navE"
875 { ATF_NOFLAGS, 0, offsetof(struct NavModel_NAVKeplerianSet, navIDot),
876 (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
877 -1, /* IMPLICIT tag at current level */
878 &asn_DEF_NativeInteger,
879 memb_navIDot_constraint_1,
880 &asn_PER_memb_navIDot_constr_10,
882 "navIDot"
884 { ATF_NOFLAGS, 0, offsetof(struct NavModel_NAVKeplerianSet, navAPowerHalf),
885 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
886 -1, /* IMPLICIT tag at current level */
887 &asn_DEF_navAPowerHalf_11,
888 memb_navAPowerHalf_constraint_1,
889 &asn_PER_memb_navAPowerHalf_constr_11,
891 "navAPowerHalf"
893 { ATF_NOFLAGS, 0, offsetof(struct NavModel_NAVKeplerianSet, navI0),
894 (ASN_TAG_CLASS_CONTEXT | (10 << 2)),
895 -1, /* IMPLICIT tag at current level */
896 &asn_DEF_NativeInteger,
897 memb_navI0_constraint_1,
898 &asn_PER_memb_navI0_constr_12,
900 "navI0"
902 { ATF_NOFLAGS, 0, offsetof(struct NavModel_NAVKeplerianSet, navOmegaA0),
903 (ASN_TAG_CLASS_CONTEXT | (11 << 2)),
904 -1, /* IMPLICIT tag at current level */
905 &asn_DEF_NativeInteger,
906 memb_navOmegaA0_constraint_1,
907 &asn_PER_memb_navOmegaA0_constr_13,
909 "navOmegaA0"
911 { ATF_NOFLAGS, 0, offsetof(struct NavModel_NAVKeplerianSet, navCrs),
912 (ASN_TAG_CLASS_CONTEXT | (12 << 2)),
913 -1, /* IMPLICIT tag at current level */
914 &asn_DEF_NativeInteger,
915 memb_navCrs_constraint_1,
916 &asn_PER_memb_navCrs_constr_14,
918 "navCrs"
920 { ATF_NOFLAGS, 0, offsetof(struct NavModel_NAVKeplerianSet, navCis),
921 (ASN_TAG_CLASS_CONTEXT | (13 << 2)),
922 -1, /* IMPLICIT tag at current level */
923 &asn_DEF_NativeInteger,
924 memb_navCis_constraint_1,
925 &asn_PER_memb_navCis_constr_15,
927 "navCis"
929 { ATF_NOFLAGS, 0, offsetof(struct NavModel_NAVKeplerianSet, navCus),
930 (ASN_TAG_CLASS_CONTEXT | (14 << 2)),
931 -1, /* IMPLICIT tag at current level */
932 &asn_DEF_NativeInteger,
933 memb_navCus_constraint_1,
934 &asn_PER_memb_navCus_constr_16,
936 "navCus"
938 { ATF_NOFLAGS, 0, offsetof(struct NavModel_NAVKeplerianSet, navCrc),
939 (ASN_TAG_CLASS_CONTEXT | (15 << 2)),
940 -1, /* IMPLICIT tag at current level */
941 &asn_DEF_NativeInteger,
942 memb_navCrc_constraint_1,
943 &asn_PER_memb_navCrc_constr_17,
945 "navCrc"
947 { ATF_NOFLAGS, 0, offsetof(struct NavModel_NAVKeplerianSet, navCic),
948 (ASN_TAG_CLASS_CONTEXT | (16 << 2)),
949 -1, /* IMPLICIT tag at current level */
950 &asn_DEF_NativeInteger,
951 memb_navCic_constraint_1,
952 &asn_PER_memb_navCic_constr_18,
954 "navCic"
956 { ATF_NOFLAGS, 0, offsetof(struct NavModel_NAVKeplerianSet, navCuc),
957 (ASN_TAG_CLASS_CONTEXT | (17 << 2)),
958 -1, /* IMPLICIT tag at current level */
959 &asn_DEF_NativeInteger,
960 memb_navCuc_constraint_1,
961 &asn_PER_memb_navCuc_constr_19,
963 "navCuc"
966 static ber_tlv_tag_t asn_DEF_NavModel_NAVKeplerianSet_tags_1[] = {
967 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
969 static asn_TYPE_tag2member_t asn_MAP_NavModel_NAVKeplerianSet_tag2el_1[] = {
970 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* navURA at 1335 */
971 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* navFitFlag at 1336 */
972 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* navToe at 1337 */
973 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* navOmega at 1338 */
974 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* navDeltaN at 1339 */
975 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* navM0 at 1340 */
976 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* navOmegaADot at 1341 */
977 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* navE at 1342 */
978 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* navIDot at 1343 */
979 { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* navAPowerHalf at 1344 */
980 { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* navI0 at 1345 */
981 { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 }, /* navOmegaA0 at 1346 */
982 { (ASN_TAG_CLASS_CONTEXT | (12 << 2)), 12, 0, 0 }, /* navCrs at 1347 */
983 { (ASN_TAG_CLASS_CONTEXT | (13 << 2)), 13, 0, 0 }, /* navCis at 1348 */
984 { (ASN_TAG_CLASS_CONTEXT | (14 << 2)), 14, 0, 0 }, /* navCus at 1349 */
985 { (ASN_TAG_CLASS_CONTEXT | (15 << 2)), 15, 0, 0 }, /* navCrc at 1350 */
986 { (ASN_TAG_CLASS_CONTEXT | (16 << 2)), 16, 0, 0 }, /* navCic at 1351 */
987 { (ASN_TAG_CLASS_CONTEXT | (17 << 2)), 17, 0, 0 } /* navCuc at 1352 */
989 static asn_SEQUENCE_specifics_t asn_SPC_NavModel_NAVKeplerianSet_specs_1 = {
990 sizeof(struct NavModel_NAVKeplerianSet),
991 offsetof(struct NavModel_NAVKeplerianSet, _asn_ctx),
992 asn_MAP_NavModel_NAVKeplerianSet_tag2el_1,
993 18, /* Count of tags in the map */
994 0, 0, 0, /* Optional elements (not needed) */
995 -1, /* Start extensions */
996 -1 /* Stop extensions */
998 asn_TYPE_descriptor_t asn_DEF_NavModel_NAVKeplerianSet = {
999 "NavModel-NAVKeplerianSet",
1000 "NavModel-NAVKeplerianSet",
1001 SEQUENCE_free,
1002 SEQUENCE_print,
1003 SEQUENCE_constraint,
1004 SEQUENCE_decode_ber,
1005 SEQUENCE_encode_der,
1006 SEQUENCE_decode_xer,
1007 SEQUENCE_encode_xer,
1008 SEQUENCE_decode_uper,
1009 SEQUENCE_encode_uper,
1010 0, /* Use generic outmost tag fetcher */
1011 asn_DEF_NavModel_NAVKeplerianSet_tags_1,
1012 sizeof(asn_DEF_NavModel_NAVKeplerianSet_tags_1)
1013 /sizeof(asn_DEF_NavModel_NAVKeplerianSet_tags_1[0]), /* 1 */
1014 asn_DEF_NavModel_NAVKeplerianSet_tags_1, /* Same as above */
1015 sizeof(asn_DEF_NavModel_NAVKeplerianSet_tags_1)
1016 /sizeof(asn_DEF_NavModel_NAVKeplerianSet_tags_1[0]), /* 1 */
1017 0, /* No PER visible constraints */
1018 asn_MBR_NavModel_NAVKeplerianSet_1,
1019 18, /* Elements count */
1020 &asn_SPC_NavModel_NAVKeplerianSet_specs_1 /* Additional specs */