Snapdragon® Telematics Application Framework (TelAF) Interface Specification
taf_locPos_messages.h
Go to the documentation of this file.
1 /*
2  * ====================== WARNING ======================
3  *
4  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
5  * DO NOT MODIFY IN ANY WAY.
6  *
7  * ====================== WARNING ======================
8  */
9 
10 
11 #ifndef TAF_LOCPOS_MESSAGES_H_INCLUDE_GUARD
12 #define TAF_LOCPOS_MESSAGES_H_INCLUDE_GUARD
13 
14 
15 #include "taf_locPos_common.h"
16 
17 #define _MAX_MSG_SIZE IFGEN_TAF_LOCPOS_MSG_SIZE
18 
19 // Define the message type for communicating between client and server
20 typedef struct __attribute__((packed))
21 {
22  uint32_t id;
23  uint8_t buffer[_MAX_MSG_SIZE];
24 }
26 
27 #define _MSGID_taf_locPos_AddMovementHandler 0
28 #define _MSGID_taf_locPos_RemoveMovementHandler 1
29 #define _MSGID_taf_locPos_Get2DLocation 2
30 #define _MSGID_taf_locPos_GetDate 3
31 #define _MSGID_taf_locPos_GetFixState 4
32 #define _MSGID_taf_locPos_GetMotion 5
33 #define _MSGID_taf_locPos_GetDirection 6
34 #define _MSGID_taf_locPos_GetTime 7
35 #define _MSGID_taf_locPos_SetAcquisitionRate 8
36 #define _MSGID_taf_locPos_GetAcquisitionRate 9
37 #define _MSGID_taf_locPos_sample_Release 10
38 #define _MSGID_taf_locPos_Get3DLocation 11
39 #define _MSGID_taf_locPos_sample_Get2DLocation 12
40 #define _MSGID_taf_locPos_sample_GetAltitude 13
41 #define _MSGID_taf_locPos_sample_GetTime 14
42 #define _MSGID_taf_locPos_sample_GetHorizontalSpeed 15
43 #define _MSGID_taf_locPos_sample_GetDirection 16
44 #define _MSGID_taf_locPos_sample_GetVerticalSpeed 17
45 #define _MSGID_taf_locPos_SetDistanceResolution 18
46 #define _MSGID_taf_locPos_sample_GetFixState 19
47 #define _MSGID_taf_locPos_sample_GetDate 20
48 
49 
50 // Define type-safe pack/unpack functions for all enums, including included types
51 
52 static inline bool taf_locPos_PackResolution
53 (
54  uint8_t **bufferPtr,
56 )
57 {
58  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
59 }
60 
61 static inline bool taf_locPos_UnpackResolution
62 (
63  uint8_t **bufferPtr,
64  taf_locPos_Resolution_t* valuePtr
65 )
66 {
67  bool result;
68  uint32_t value = 0;
69  result = le_pack_UnpackUint32(bufferPtr, &value);
70  if (result)
71  {
72  *valuePtr = (taf_locPos_Resolution_t)value;
73  }
74  return result;
75 }
76 
77 static inline bool taf_locGnss_PackState
78 (
79  uint8_t **bufferPtr,
81 )
82 {
83  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
84 }
85 
86 static inline bool taf_locGnss_UnpackState
87 (
88  uint8_t **bufferPtr,
89  taf_locGnss_State_t* valuePtr
90 )
91 {
92  bool result;
93  uint32_t value = 0;
94  result = le_pack_UnpackUint32(bufferPtr, &value);
95  if (result)
96  {
97  *valuePtr = (taf_locGnss_State_t)value;
98  }
99  return result;
100 }
101 
102 static inline bool taf_locGnss_PackConstellation
103 (
104  uint8_t **bufferPtr,
106 )
107 {
108  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
109 }
110 
111 static inline bool taf_locGnss_UnpackConstellation
112 (
113  uint8_t **bufferPtr,
115 )
116 {
117  bool result;
118  uint32_t value = 0;
119  result = le_pack_UnpackUint32(bufferPtr, &value);
120  if (result)
121  {
122  *valuePtr = (taf_locGnss_Constellation_t)value;
123  }
124  return result;
125 }
126 
127 static inline bool taf_locGnss_PackSBConstellation
128 (
129  uint8_t **bufferPtr,
131 )
132 {
133  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
134 }
135 
136 static inline bool taf_locGnss_UnpackSBConstellation
137 (
138  uint8_t **bufferPtr,
140 )
141 {
142  bool result;
143  uint32_t value = 0;
144  result = le_pack_UnpackUint32(bufferPtr, &value);
145  if (result)
146  {
147  *valuePtr = (taf_locGnss_SBConstellation_t)value;
148  }
149  return result;
150 }
151 
152 static inline bool taf_locGnss_PackFixState
153 (
154  uint8_t **bufferPtr,
156 )
157 {
158  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
159 }
160 
161 static inline bool taf_locGnss_UnpackFixState
162 (
163  uint8_t **bufferPtr,
164  taf_locGnss_FixState_t* valuePtr
165 )
166 {
167  bool result;
168  uint32_t value = 0;
169  result = le_pack_UnpackUint32(bufferPtr, &value);
170  if (result)
171  {
172  *valuePtr = (taf_locGnss_FixState_t)value;
173  }
174  return result;
175 }
176 
177 static inline bool taf_locGnss_PackAltType
178 (
179  uint8_t **bufferPtr,
181 )
182 {
183  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
184 }
185 
186 static inline bool taf_locGnss_UnpackAltType
187 (
188  uint8_t **bufferPtr,
189  taf_locGnss_AltType_t* valuePtr
190 )
191 {
192  bool result;
193  uint32_t value = 0;
194  result = le_pack_UnpackUint32(bufferPtr, &value);
195  if (result)
196  {
197  *valuePtr = (taf_locGnss_AltType_t)value;
198  }
199  return result;
200 }
201 
202 static inline bool taf_locGnss_PackLocCapabilityType
203 (
204  uint8_t **bufferPtr,
206 )
207 {
208  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
209 }
210 
211 static inline bool taf_locGnss_UnpackLocCapabilityType
212 (
213  uint8_t **bufferPtr,
215 )
216 {
217  bool result;
218  uint32_t value = 0;
219  result = le_pack_UnpackUint32(bufferPtr, &value);
220  if (result)
221  {
222  *valuePtr = (taf_locGnss_LocCapabilityType_t)value;
223  }
224  return result;
225 }
226 
227 static inline bool taf_locGnss_PackLocEngineType
228 (
229  uint8_t **bufferPtr,
231 )
232 {
233  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
234 }
235 
236 static inline bool taf_locGnss_UnpackLocEngineType
237 (
238  uint8_t **bufferPtr,
240 )
241 {
242  bool result;
243  uint32_t value = 0;
244  result = le_pack_UnpackUint32(bufferPtr, &value);
245  if (result)
246  {
247  *valuePtr = (taf_locGnss_LocEngineType_t)value;
248  }
249  return result;
250 }
251 
252 static inline bool taf_locGnss_PackResolution
253 (
254  uint8_t **bufferPtr,
256 )
257 {
258  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
259 }
260 
261 static inline bool taf_locGnss_UnpackResolution
262 (
263  uint8_t **bufferPtr,
264  taf_locGnss_Resolution_t* valuePtr
265 )
266 {
267  bool result;
268  uint32_t value = 0;
269  result = le_pack_UnpackUint32(bufferPtr, &value);
270  if (result)
271  {
272  *valuePtr = (taf_locGnss_Resolution_t)value;
273  }
274  return result;
275 }
276 
277 static inline bool taf_locGnss_PackConstellationBitMask
278 (
279  uint8_t **bufferPtr,
281 )
282 {
283  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
284 }
285 
287 (
288  uint8_t **bufferPtr,
290 )
291 {
292  bool result;
293  uint32_t value = 0;
294  result = le_pack_UnpackUint32(bufferPtr, &value);
295  if (result)
296  {
297  *valuePtr = (taf_locGnss_ConstellationBitMask_t)value;
298  }
299  return result;
300 }
301 
302 static inline bool taf_locGnss_PackDopType
303 (
304  uint8_t **bufferPtr,
306 )
307 {
308  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
309 }
310 
311 static inline bool taf_locGnss_UnpackDopType
312 (
313  uint8_t **bufferPtr,
314  taf_locGnss_DopType_t* valuePtr
315 )
316 {
317  bool result;
318  uint32_t value = 0;
319  result = le_pack_UnpackUint32(bufferPtr, &value);
320  if (result)
321  {
322  *valuePtr = (taf_locGnss_DopType_t)value;
323  }
324  return result;
325 }
326 
327 static inline bool taf_locGnss_PackConstellationArea
328 (
329  uint8_t **bufferPtr,
331 )
332 {
333  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
334 }
335 
336 static inline bool taf_locGnss_UnpackConstellationArea
337 (
338  uint8_t **bufferPtr,
340 )
341 {
342  bool result;
343  uint32_t value = 0;
344  result = le_pack_UnpackUint32(bufferPtr, &value);
345  if (result)
346  {
347  *valuePtr = (taf_locGnss_ConstellationArea_t)value;
348  }
349  return result;
350 }
351 
352 static inline bool taf_locGnss_PackEngineState
353 (
354  uint8_t **bufferPtr,
356 )
357 {
358  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
359 }
360 
361 static inline bool taf_locGnss_UnpackEngineState
362 (
363  uint8_t **bufferPtr,
364  taf_locGnss_EngineState_t* valuePtr
365 )
366 {
367  bool result;
368  uint32_t value = 0;
369  result = le_pack_UnpackUint32(bufferPtr, &value);
370  if (result)
371  {
372  *valuePtr = (taf_locGnss_EngineState_t)value;
373  }
374  return result;
375 }
376 
377 static inline bool taf_locGnss_PackEngineType
378 (
379  uint8_t **bufferPtr,
381 )
382 {
383  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
384 }
385 
386 static inline bool taf_locGnss_UnpackEngineType
387 (
388  uint8_t **bufferPtr,
389  taf_locGnss_EngineType_t* valuePtr
390 )
391 {
392  bool result;
393  uint32_t value = 0;
394  result = le_pack_UnpackUint32(bufferPtr, &value);
395  if (result)
396  {
397  *valuePtr = (taf_locGnss_EngineType_t)value;
398  }
399  return result;
400 }
401 
402 static inline bool taf_locGnss_PackNmeaBitMask
403 (
404  uint8_t **bufferPtr,
406 )
407 {
408  return le_pack_PackUint64(bufferPtr, (uint64_t)value);
409 }
410 
411 static inline bool taf_locGnss_UnpackNmeaBitMask
412 (
413  uint8_t **bufferPtr,
414  taf_locGnss_NmeaBitMask_t* valuePtr
415 )
416 {
417  bool result;
418  uint64_t value = 0;
419  result = le_pack_UnpackUint64(bufferPtr, &value);
420  if (result)
421  {
422  *valuePtr = (taf_locGnss_NmeaBitMask_t)value;
423  }
424  return result;
425 }
426 
427 static inline bool taf_locGnss_PackGeodeticDatumType
428 (
429  uint8_t **bufferPtr,
431 )
432 {
433  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
434 }
435 
436 static inline bool taf_locGnss_UnpackGeodeticDatumType
437 (
438  uint8_t **bufferPtr,
440 )
441 {
442  bool result;
443  uint32_t value = 0;
444  result = le_pack_UnpackUint32(bufferPtr, &value);
445  if (result)
446  {
447  *valuePtr = (taf_locGnss_GeodeticDatumType_t)value;
448  }
449  return result;
450 }
451 
452 static inline bool taf_locGnss_PackStartMode
453 (
454  uint8_t **bufferPtr,
456 )
457 {
458  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
459 }
460 
461 static inline bool taf_locGnss_UnpackStartMode
462 (
463  uint8_t **bufferPtr,
464  taf_locGnss_StartMode_t* valuePtr
465 )
466 {
467  bool result;
468  uint32_t value = 0;
469  result = le_pack_UnpackUint32(bufferPtr, &value);
470  if (result)
471  {
472  *valuePtr = (taf_locGnss_StartMode_t)value;
473  }
474  return result;
475 }
476 
477 static inline bool taf_locGnss_PackLeverArmType
478 (
479  uint8_t **bufferPtr,
481 )
482 {
483  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
484 }
485 
486 static inline bool taf_locGnss_UnpackLeverArmType
487 (
488  uint8_t **bufferPtr,
490 )
491 {
492  bool result;
493  uint32_t value = 0;
494  result = le_pack_UnpackUint32(bufferPtr, &value);
495  if (result)
496  {
497  *valuePtr = (taf_locGnss_LeverArmType_t)value;
498  }
499  return result;
500 }
501 
502 static inline bool taf_locGnss_PackEngineReportsType
503 (
504  uint8_t **bufferPtr,
506 )
507 {
508  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
509 }
510 
511 static inline bool taf_locGnss_UnpackEngineReportsType
512 (
513  uint8_t **bufferPtr,
515 )
516 {
517  bool result;
518  uint32_t value = 0;
519  result = le_pack_UnpackUint32(bufferPtr, &value);
520  if (result)
521  {
522  *valuePtr = (taf_locGnss_EngineReportsType_t)value;
523  }
524  return result;
525 }
526 
527 static inline bool taf_locGnss_PackCalibrationType
528 (
529  uint8_t **bufferPtr,
531 )
532 {
533  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
534 }
535 
536 static inline bool taf_locGnss_UnpackCalibrationType
537 (
538  uint8_t **bufferPtr,
540 )
541 {
542  bool result;
543  uint32_t value = 0;
544  result = le_pack_UnpackUint32(bufferPtr, &value);
545  if (result)
546  {
547  *valuePtr = (taf_locGnss_CalibrationType_t)value;
548  }
549  return result;
550 }
551 
553 (
554  uint8_t **bufferPtr,
556 )
557 {
558  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
559 }
560 
562 (
563  uint8_t **bufferPtr,
565 )
566 {
567  bool result;
568  uint32_t value = 0;
569  result = le_pack_UnpackUint32(bufferPtr, &value);
570  if (result)
571  {
572  *valuePtr = (taf_locGnss_KinematicsDataValidityType_t)value;
573  }
574  return result;
575 }
576 
577 static inline bool taf_locGnss_PackSbasBitMask
578 (
579  uint8_t **bufferPtr,
581 )
582 {
583  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
584 }
585 
586 static inline bool taf_locGnss_UnpackSbasBitMask
587 (
588  uint8_t **bufferPtr,
589  taf_locGnss_SbasBitMask_t* valuePtr
590 )
591 {
592  bool result;
593  uint32_t value = 0;
594  result = le_pack_UnpackUint32(bufferPtr, &value);
595  if (result)
596  {
597  *valuePtr = (taf_locGnss_SbasBitMask_t)value;
598  }
599  return result;
600 }
601 
602 static inline bool taf_locGnss_PackLocationInfoValidity
603 (
604  uint8_t **bufferPtr,
606 )
607 {
608  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
609 }
610 
612 (
613  uint8_t **bufferPtr,
615 )
616 {
617  bool result;
618  uint32_t value = 0;
619  result = le_pack_UnpackUint32(bufferPtr, &value);
620  if (result)
621  {
622  *valuePtr = (taf_locGnss_LocationInfoValidity_t)value;
623  }
624  return result;
625 }
626 
628 (
629  uint8_t **bufferPtr,
631 )
632 {
633  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
634 }
635 
637 (
638  uint8_t **bufferPtr,
640 )
641 {
642  bool result;
643  uint32_t value = 0;
644  result = le_pack_UnpackUint32(bufferPtr, &value);
645  if (result)
646  {
647  *valuePtr = (taf_locGnss_LocationInfoExValidity_t)value;
648  }
649  return result;
650 }
651 
652 static inline bool taf_locGnss_PackEngineMask
653 (
654  uint8_t **bufferPtr,
656 )
657 {
658  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
659 }
660 
661 static inline bool taf_locGnss_UnpackEngineMask
662 (
663  uint8_t **bufferPtr,
664  taf_locGnss_EngineMask_t* valuePtr
665 )
666 {
667  bool result;
668  uint32_t value = 0;
669  result = le_pack_UnpackUint32(bufferPtr, &value);
670  if (result)
671  {
672  *valuePtr = (taf_locGnss_EngineMask_t)value;
673  }
674  return result;
675 }
676 
678 (
679  uint8_t **bufferPtr,
681 )
682 {
683  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
684 }
685 
687 (
688  uint8_t **bufferPtr,
690 )
691 {
692  bool result;
693  uint32_t value = 0;
694  result = le_pack_UnpackUint32(bufferPtr, &value);
695  if (result)
696  {
697  *valuePtr = (taf_locGnss_LocationAggregationType_t)value;
698  }
699  return result;
700 }
701 
702 static inline bool taf_locGnss_PackLocationReliability
703 (
704  uint8_t **bufferPtr,
706 )
707 {
708  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
709 }
710 
711 static inline bool taf_locGnss_UnpackLocationReliability
712 (
713  uint8_t **bufferPtr,
715 )
716 {
717  bool result;
718  uint32_t value = 0;
719  result = le_pack_UnpackUint32(bufferPtr, &value);
720  if (result)
721  {
722  *valuePtr = (taf_locGnss_LocationReliability_t)value;
723  }
724  return result;
725 }
726 
728 (
729  uint8_t **bufferPtr,
731 )
732 {
733  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
734 }
735 
737 (
738  uint8_t **bufferPtr,
740 )
741 {
742  bool result;
743  uint32_t value = 0;
744  result = le_pack_UnpackUint32(bufferPtr, &value);
745  if (result)
746  {
747  *valuePtr = (taf_locGnss_LocationTechnologyType_t)value;
748  }
749  return result;
750 }
751 
752 static inline bool taf_locGnss_PackGnssDataValidityType
753 (
754  uint8_t **bufferPtr,
756 )
757 {
758  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
759 }
760 
762 (
763  uint8_t **bufferPtr,
765 )
766 {
767  bool result;
768  uint32_t value = 0;
769  result = le_pack_UnpackUint32(bufferPtr, &value);
770  if (result)
771  {
772  *valuePtr = (taf_locGnss_GnssDataValidityType_t)value;
773  }
774  return result;
775 }
776 
777 static inline bool taf_locGnss_PackGnssSystem
778 (
779  uint8_t **bufferPtr,
781 )
782 {
783  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
784 }
785 
786 static inline bool taf_locGnss_UnpackGnssSystem
787 (
788  uint8_t **bufferPtr,
789  taf_locGnss_GnssSystem_t* valuePtr
790 )
791 {
792  bool result;
793  uint32_t value = 0;
794  result = le_pack_UnpackUint32(bufferPtr, &value);
795  if (result)
796  {
797  *valuePtr = (taf_locGnss_GnssSystem_t)value;
798  }
799  return result;
800 }
801 
802 static inline bool taf_locGnss_PackGnssSignalType
803 (
804  uint8_t **bufferPtr,
806 )
807 {
808  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
809 }
810 
811 static inline bool taf_locGnss_UnpackGnssSignalType
812 (
813  uint8_t **bufferPtr,
815 )
816 {
817  bool result;
818  uint32_t value = 0;
819  result = le_pack_UnpackUint32(bufferPtr, &value);
820  if (result)
821  {
822  *valuePtr = (taf_locGnss_GnssSignalType_t)value;
823  }
824  return result;
825 }
826 
827 static inline bool taf_locGnss_PackReportStatus
828 (
829  uint8_t **bufferPtr,
831 )
832 {
833  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
834 }
835 
836 static inline bool taf_locGnss_UnpackReportStatus
837 (
838  uint8_t **bufferPtr,
840 )
841 {
842  bool result;
843  uint32_t value = 0;
844  result = le_pack_UnpackUint32(bufferPtr, &value);
845  if (result)
846  {
847  *valuePtr = (taf_locGnss_ReportStatus_t)value;
848  }
849  return result;
850 }
851 
852 static inline bool taf_locGnss_PackXtraDataStatus
853 (
854  uint8_t **bufferPtr,
856 )
857 {
858  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
859 }
860 
861 static inline bool taf_locGnss_UnpackXtraDataStatus
862 (
863  uint8_t **bufferPtr,
865 )
866 {
867  bool result;
868  uint32_t value = 0;
869  result = le_pack_UnpackUint32(bufferPtr, &value);
870  if (result)
871  {
872  *valuePtr = (taf_locGnss_XtraDataStatus_t)value;
873  }
874  return result;
875 }
876 
877 static inline bool taf_locGnss_PackDRConfigValidityType
878 (
879  uint8_t **bufferPtr,
881 )
882 {
883  return le_pack_PackUint32(bufferPtr, (uint32_t)value);
884 }
885 
887 (
888  uint8_t **bufferPtr,
890 )
891 {
892  bool result;
893  uint32_t value = 0;
894  result = le_pack_UnpackUint32(bufferPtr, &value);
895  if (result)
896  {
897  *valuePtr = (taf_locGnss_DRConfigValidityType_t)value;
898  }
899  return result;
900 }
901 
902 // Define pack/unpack functions for all structures, including included types
903 
904 
905 static inline bool taf_locGnss_PackSvInfo
906 (
907  uint8_t **bufferPtr,
908  const taf_locGnss_SvInfo_t *valuePtr
909 )
910 {
911  __attribute__((unused))
912  bool subResult, result = true;
913 
914  LE_ASSERT(valuePtr);
915  subResult = taf_locGnss_PackConstellation( bufferPtr,
916  valuePtr->satConst );
917  result = result && subResult;
918  subResult = le_pack_PackBool( bufferPtr,
919  valuePtr->satUsed );
920  result = result && subResult;
921  subResult = le_pack_PackBool( bufferPtr,
922  valuePtr->satTracked );
923  result = result && subResult;
924  subResult = le_pack_PackUint8( bufferPtr,
925  valuePtr->satSnr );
926  result = result && subResult;
927  subResult = le_pack_PackUint8( bufferPtr,
928  valuePtr->satElev );
929  result = result && subResult;
930  subResult = le_pack_PackUint16( bufferPtr,
931  valuePtr->satId );
932  result = result && subResult;
933  subResult = le_pack_PackUint16( bufferPtr,
934  valuePtr->satAzim );
935  result = result && subResult;
936  subResult = le_pack_PackUint32( bufferPtr,
937  valuePtr->signalType );
938  result = result && subResult;
939  subResult = le_pack_PackUint16( bufferPtr,
940  valuePtr->glonassFcn );
941  result = result && subResult;
942  subResult = le_pack_PackDouble( bufferPtr,
943  valuePtr->baseBandCnr );
944  result = result && subResult;
945 
946  return result;
947 }
948 
949 static inline bool taf_locGnss_UnpackSvInfo
950 (
951  uint8_t **bufferPtr,
952  taf_locGnss_SvInfo_t *valuePtr
953 )
954 {
955  bool result = true;
956  if (result)
957  {
958  result = taf_locGnss_UnpackConstellation(bufferPtr,
959  &valuePtr->satConst );
960  }
961  if (result)
962  {
963  result = le_pack_UnpackBool(bufferPtr,
964  &valuePtr->satUsed );
965  }
966  if (result)
967  {
968  result = le_pack_UnpackBool(bufferPtr,
969  &valuePtr->satTracked );
970  }
971  if (result)
972  {
973  result = le_pack_UnpackUint8(bufferPtr,
974  &valuePtr->satSnr );
975  }
976  if (result)
977  {
978  result = le_pack_UnpackUint8(bufferPtr,
979  &valuePtr->satElev );
980  }
981  if (result)
982  {
983  result = le_pack_UnpackUint16(bufferPtr,
984  &valuePtr->satId );
985  }
986  if (result)
987  {
988  result = le_pack_UnpackUint16(bufferPtr,
989  &valuePtr->satAzim );
990  }
991  if (result)
992  {
993  result = le_pack_UnpackUint32(bufferPtr,
994  &valuePtr->signalType );
995  }
996  if (result)
997  {
998  result = le_pack_UnpackUint16(bufferPtr,
999  &valuePtr->glonassFcn );
1000  }
1001  if (result)
1002  {
1003  result = le_pack_UnpackDouble(bufferPtr,
1004  &valuePtr->baseBandCnr );
1005  }
1006  return result;
1007 }
1008 
1009 static inline bool taf_locGnss_PackDrParams
1011  uint8_t **bufferPtr,
1012  const taf_locGnss_DrParams_t *valuePtr
1013 )
1014 {
1015  __attribute__((unused))
1016  bool subResult, result = true;
1017 
1018  LE_ASSERT(valuePtr);
1019  subResult = le_pack_PackDouble( bufferPtr,
1020  valuePtr->rollOffset );
1021  result = result && subResult;
1022  subResult = le_pack_PackDouble( bufferPtr,
1023  valuePtr->yawOffset );
1024  result = result && subResult;
1025  subResult = le_pack_PackDouble( bufferPtr,
1026  valuePtr->pitchOffset );
1027  result = result && subResult;
1028  subResult = le_pack_PackDouble( bufferPtr,
1029  valuePtr->offsetUnc );
1030  result = result && subResult;
1031  subResult = le_pack_PackDouble( bufferPtr,
1032  valuePtr->speedFactor );
1033  result = result && subResult;
1034  subResult = le_pack_PackDouble( bufferPtr,
1035  valuePtr->speedFactorUnc );
1036  result = result && subResult;
1037  subResult = le_pack_PackDouble( bufferPtr,
1038  valuePtr->gyroFactor );
1039  result = result && subResult;
1040  subResult = le_pack_PackDouble( bufferPtr,
1041  valuePtr->gyroFactorUnc );
1042  result = result && subResult;
1043 
1044  return result;
1045 }
1046 
1047 static inline bool taf_locGnss_UnpackDrParams
1049  uint8_t **bufferPtr,
1050  taf_locGnss_DrParams_t *valuePtr
1051 )
1052 {
1053  bool result = true;
1054  if (result)
1055  {
1056  result = le_pack_UnpackDouble(bufferPtr,
1057  &valuePtr->rollOffset );
1058  }
1059  if (result)
1060  {
1061  result = le_pack_UnpackDouble(bufferPtr,
1062  &valuePtr->yawOffset );
1063  }
1064  if (result)
1065  {
1066  result = le_pack_UnpackDouble(bufferPtr,
1067  &valuePtr->pitchOffset );
1068  }
1069  if (result)
1070  {
1071  result = le_pack_UnpackDouble(bufferPtr,
1072  &valuePtr->offsetUnc );
1073  }
1074  if (result)
1075  {
1076  result = le_pack_UnpackDouble(bufferPtr,
1077  &valuePtr->speedFactor );
1078  }
1079  if (result)
1080  {
1081  result = le_pack_UnpackDouble(bufferPtr,
1082  &valuePtr->speedFactorUnc );
1083  }
1084  if (result)
1085  {
1086  result = le_pack_UnpackDouble(bufferPtr,
1087  &valuePtr->gyroFactor );
1088  }
1089  if (result)
1090  {
1091  result = le_pack_UnpackDouble(bufferPtr,
1092  &valuePtr->gyroFactorUnc );
1093  }
1094  return result;
1095 }
1096 
1097 static inline bool taf_locGnss_PackLeverArmParams
1099  uint8_t **bufferPtr,
1100  const taf_locGnss_LeverArmParams_t *valuePtr
1101 )
1102 {
1103  __attribute__((unused))
1104  bool subResult, result = true;
1105 
1106  LE_ASSERT(valuePtr);
1107  subResult = le_pack_PackDouble( bufferPtr,
1108  valuePtr->forwardOffsetMeters );
1109  result = result && subResult;
1110  subResult = le_pack_PackDouble( bufferPtr,
1111  valuePtr->sidewaysOffsetMeters );
1112  result = result && subResult;
1113  subResult = le_pack_PackDouble( bufferPtr,
1114  valuePtr->upOffsetMeters );
1115  result = result && subResult;
1116  subResult = le_pack_PackUint8( bufferPtr,
1117  valuePtr->levArmType );
1118  result = result && subResult;
1119 
1120  return result;
1121 }
1122 
1123 static inline bool taf_locGnss_UnpackLeverArmParams
1125  uint8_t **bufferPtr,
1127 )
1128 {
1129  bool result = true;
1130  if (result)
1131  {
1132  result = le_pack_UnpackDouble(bufferPtr,
1133  &valuePtr->forwardOffsetMeters );
1134  }
1135  if (result)
1136  {
1137  result = le_pack_UnpackDouble(bufferPtr,
1138  &valuePtr->sidewaysOffsetMeters );
1139  }
1140  if (result)
1141  {
1142  result = le_pack_UnpackDouble(bufferPtr,
1143  &valuePtr->upOffsetMeters );
1144  }
1145  if (result)
1146  {
1147  result = le_pack_UnpackUint8(bufferPtr,
1148  &valuePtr->levArmType );
1149  }
1150  return result;
1151 }
1152 
1153 static inline bool taf_locGnss_PackKinematicsData
1155  uint8_t **bufferPtr,
1156  const taf_locGnss_KinematicsData_t *valuePtr
1157 )
1158 {
1159  __attribute__((unused))
1160  bool subResult, result = true;
1161 
1162  LE_ASSERT(valuePtr);
1163  subResult = le_pack_PackUint64( bufferPtr,
1164  valuePtr->bodyFrameDataMask );
1165  result = result && subResult;
1166  subResult = le_pack_PackDouble( bufferPtr,
1167  valuePtr->longAccel );
1168  result = result && subResult;
1169  subResult = le_pack_PackDouble( bufferPtr,
1170  valuePtr->latAccel );
1171  result = result && subResult;
1172  subResult = le_pack_PackDouble( bufferPtr,
1173  valuePtr->vertAccel );
1174  result = result && subResult;
1175  subResult = le_pack_PackDouble( bufferPtr,
1176  valuePtr->yawRate );
1177  result = result && subResult;
1178  subResult = le_pack_PackDouble( bufferPtr,
1179  valuePtr->pitch );
1180  result = result && subResult;
1181  subResult = le_pack_PackDouble( bufferPtr,
1182  valuePtr->longAccelUnc );
1183  result = result && subResult;
1184  subResult = le_pack_PackDouble( bufferPtr,
1185  valuePtr->latAccelUnc );
1186  result = result && subResult;
1187  subResult = le_pack_PackDouble( bufferPtr,
1188  valuePtr->vertAccelUnc );
1189  result = result && subResult;
1190  subResult = le_pack_PackDouble( bufferPtr,
1191  valuePtr->yawRateUnc );
1192  result = result && subResult;
1193  subResult = le_pack_PackDouble( bufferPtr,
1194  valuePtr->pitchUnc );
1195  result = result && subResult;
1196  subResult = le_pack_PackDouble( bufferPtr,
1197  valuePtr->pitchRate );
1198  result = result && subResult;
1199  subResult = le_pack_PackDouble( bufferPtr,
1200  valuePtr->pitchRateUnc );
1201  result = result && subResult;
1202  subResult = le_pack_PackDouble( bufferPtr,
1203  valuePtr->roll );
1204  result = result && subResult;
1205  subResult = le_pack_PackDouble( bufferPtr,
1206  valuePtr->rollUnc );
1207  result = result && subResult;
1208  subResult = le_pack_PackDouble( bufferPtr,
1209  valuePtr->rollRate );
1210  result = result && subResult;
1211  subResult = le_pack_PackDouble( bufferPtr,
1212  valuePtr->rollRateUnc );
1213  result = result && subResult;
1214  subResult = le_pack_PackDouble( bufferPtr,
1215  valuePtr->yaw );
1216  result = result && subResult;
1217  subResult = le_pack_PackDouble( bufferPtr,
1218  valuePtr->yawUnc );
1219  result = result && subResult;
1220 
1221  return result;
1222 }
1223 
1224 static inline bool taf_locGnss_UnpackKinematicsData
1226  uint8_t **bufferPtr,
1228 )
1229 {
1230  bool result = true;
1231  if (result)
1232  {
1233  result = le_pack_UnpackUint64(bufferPtr,
1234  &valuePtr->bodyFrameDataMask );
1235  }
1236  if (result)
1237  {
1238  result = le_pack_UnpackDouble(bufferPtr,
1239  &valuePtr->longAccel );
1240  }
1241  if (result)
1242  {
1243  result = le_pack_UnpackDouble(bufferPtr,
1244  &valuePtr->latAccel );
1245  }
1246  if (result)
1247  {
1248  result = le_pack_UnpackDouble(bufferPtr,
1249  &valuePtr->vertAccel );
1250  }
1251  if (result)
1252  {
1253  result = le_pack_UnpackDouble(bufferPtr,
1254  &valuePtr->yawRate );
1255  }
1256  if (result)
1257  {
1258  result = le_pack_UnpackDouble(bufferPtr,
1259  &valuePtr->pitch );
1260  }
1261  if (result)
1262  {
1263  result = le_pack_UnpackDouble(bufferPtr,
1264  &valuePtr->longAccelUnc );
1265  }
1266  if (result)
1267  {
1268  result = le_pack_UnpackDouble(bufferPtr,
1269  &valuePtr->latAccelUnc );
1270  }
1271  if (result)
1272  {
1273  result = le_pack_UnpackDouble(bufferPtr,
1274  &valuePtr->vertAccelUnc );
1275  }
1276  if (result)
1277  {
1278  result = le_pack_UnpackDouble(bufferPtr,
1279  &valuePtr->yawRateUnc );
1280  }
1281  if (result)
1282  {
1283  result = le_pack_UnpackDouble(bufferPtr,
1284  &valuePtr->pitchUnc );
1285  }
1286  if (result)
1287  {
1288  result = le_pack_UnpackDouble(bufferPtr,
1289  &valuePtr->pitchRate );
1290  }
1291  if (result)
1292  {
1293  result = le_pack_UnpackDouble(bufferPtr,
1294  &valuePtr->pitchRateUnc );
1295  }
1296  if (result)
1297  {
1298  result = le_pack_UnpackDouble(bufferPtr,
1299  &valuePtr->roll );
1300  }
1301  if (result)
1302  {
1303  result = le_pack_UnpackDouble(bufferPtr,
1304  &valuePtr->rollUnc );
1305  }
1306  if (result)
1307  {
1308  result = le_pack_UnpackDouble(bufferPtr,
1309  &valuePtr->rollRate );
1310  }
1311  if (result)
1312  {
1313  result = le_pack_UnpackDouble(bufferPtr,
1314  &valuePtr->rollRateUnc );
1315  }
1316  if (result)
1317  {
1318  result = le_pack_UnpackDouble(bufferPtr,
1319  &valuePtr->yaw );
1320  }
1321  if (result)
1322  {
1323  result = le_pack_UnpackDouble(bufferPtr,
1324  &valuePtr->yawUnc );
1325  }
1326  return result;
1327 }
1328 
1329 static inline bool taf_locGnss_PackSvUsedInPosition
1331  uint8_t **bufferPtr,
1332  const taf_locGnss_SvUsedInPosition_t *valuePtr
1333 )
1334 {
1335  __attribute__((unused))
1336  bool subResult, result = true;
1337 
1338  LE_ASSERT(valuePtr);
1339  subResult = le_pack_PackUint64( bufferPtr,
1340  valuePtr->gps );
1341  result = result && subResult;
1342  subResult = le_pack_PackUint64( bufferPtr,
1343  valuePtr->glo );
1344  result = result && subResult;
1345  subResult = le_pack_PackUint64( bufferPtr,
1346  valuePtr->gal );
1347  result = result && subResult;
1348  subResult = le_pack_PackUint64( bufferPtr,
1349  valuePtr->bds );
1350  result = result && subResult;
1351  subResult = le_pack_PackUint64( bufferPtr,
1352  valuePtr->qzss );
1353  result = result && subResult;
1354  subResult = le_pack_PackUint64( bufferPtr,
1355  valuePtr->navic );
1356  result = result && subResult;
1357 
1358  return result;
1359 }
1360 
1361 static inline bool taf_locGnss_UnpackSvUsedInPosition
1363  uint8_t **bufferPtr,
1365 )
1366 {
1367  bool result = true;
1368  if (result)
1369  {
1370  result = le_pack_UnpackUint64(bufferPtr,
1371  &valuePtr->gps );
1372  }
1373  if (result)
1374  {
1375  result = le_pack_UnpackUint64(bufferPtr,
1376  &valuePtr->glo );
1377  }
1378  if (result)
1379  {
1380  result = le_pack_UnpackUint64(bufferPtr,
1381  &valuePtr->gal );
1382  }
1383  if (result)
1384  {
1385  result = le_pack_UnpackUint64(bufferPtr,
1386  &valuePtr->bds );
1387  }
1388  if (result)
1389  {
1390  result = le_pack_UnpackUint64(bufferPtr,
1391  &valuePtr->qzss );
1392  }
1393  if (result)
1394  {
1395  result = le_pack_UnpackUint64(bufferPtr,
1396  &valuePtr->navic );
1397  }
1398  return result;
1399 }
1400 
1401 static inline bool taf_locGnss_PackGnssMeasurementInfo
1403  uint8_t **bufferPtr,
1404  const taf_locGnss_GnssMeasurementInfo_t *valuePtr
1405 )
1406 {
1407  __attribute__((unused))
1408  bool subResult, result = true;
1409 
1410  LE_ASSERT(valuePtr);
1411  subResult = le_pack_PackUint32( bufferPtr,
1412  valuePtr->gnssSignalType );
1413  result = result && subResult;
1414  subResult = taf_locGnss_PackGnssSystem( bufferPtr,
1415  valuePtr->gnssConstellation );
1416  result = result && subResult;
1417  subResult = le_pack_PackUint16( bufferPtr,
1418  valuePtr->gnssSvId );
1419  result = result && subResult;
1420 
1421  return result;
1422 }
1423 
1424 static inline bool taf_locGnss_UnpackGnssMeasurementInfo
1426  uint8_t **bufferPtr,
1428 )
1429 {
1430  bool result = true;
1431  if (result)
1432  {
1433  result = le_pack_UnpackUint32(bufferPtr,
1434  &valuePtr->gnssSignalType );
1435  }
1436  if (result)
1437  {
1438  result = taf_locGnss_UnpackGnssSystem(bufferPtr,
1439  &valuePtr->gnssConstellation );
1440  }
1441  if (result)
1442  {
1443  result = le_pack_UnpackUint16(bufferPtr,
1444  &valuePtr->gnssSvId );
1445  }
1446  return result;
1447 }
1448 
1449 static inline bool taf_locGnss_PackGnssData
1451  uint8_t **bufferPtr,
1452  const taf_locGnss_GnssData_t *valuePtr
1453 )
1454 {
1455  __attribute__((unused))
1456  bool subResult, result = true;
1457 
1458  LE_ASSERT(valuePtr);
1459  subResult = le_pack_PackUint32( bufferPtr,
1460  valuePtr->gnssDataMask );
1461  result = result && subResult;
1462  subResult = le_pack_PackDouble( bufferPtr,
1463  valuePtr->jammerInd );
1464  result = result && subResult;
1465  subResult = le_pack_PackDouble( bufferPtr,
1466  valuePtr->agc );
1467  result = result && subResult;
1468 
1469  return result;
1470 }
1471 
1472 static inline bool taf_locGnss_UnpackGnssData
1474  uint8_t **bufferPtr,
1475  taf_locGnss_GnssData_t *valuePtr
1476 )
1477 {
1478  bool result = true;
1479  if (result)
1480  {
1481  result = le_pack_UnpackUint32(bufferPtr,
1482  &valuePtr->gnssDataMask );
1483  }
1484  if (result)
1485  {
1486  result = le_pack_UnpackDouble(bufferPtr,
1487  &valuePtr->jammerInd );
1488  }
1489  if (result)
1490  {
1491  result = le_pack_UnpackDouble(bufferPtr,
1492  &valuePtr->agc );
1493  }
1494  return result;
1495 }
1496 
1497 static inline bool taf_locGnss_PackXtraStatusParams
1499  uint8_t **bufferPtr,
1500  const taf_locGnss_XtraStatusParams_t *valuePtr
1501 )
1502 {
1503  __attribute__((unused))
1504  bool subResult, result = true;
1505 
1506  LE_ASSERT(valuePtr);
1507  subResult = le_pack_PackUint8( bufferPtr,
1508  valuePtr->featureEnabled );
1509  result = result && subResult;
1510  subResult = le_pack_PackUint32( bufferPtr,
1511  valuePtr->xtraDataStatus );
1512  result = result && subResult;
1513  subResult = le_pack_PackUint32( bufferPtr,
1514  valuePtr->xtraValidForHours );
1515  result = result && subResult;
1516 
1517  return result;
1518 }
1519 
1520 static inline bool taf_locGnss_UnpackXtraStatusParams
1522  uint8_t **bufferPtr,
1524 )
1525 {
1526  bool result = true;
1527  if (result)
1528  {
1529  result = le_pack_UnpackUint8(bufferPtr,
1530  &valuePtr->featureEnabled );
1531  }
1532  if (result)
1533  {
1534  result = le_pack_UnpackUint32(bufferPtr,
1535  &valuePtr->xtraDataStatus );
1536  }
1537  if (result)
1538  {
1539  result = le_pack_UnpackUint32(bufferPtr,
1540  &valuePtr->xtraValidForHours );
1541  }
1542  return result;
1543 }
1544 
1545 #endif // TAF_LOCPOS_MESSAGES_H_INCLUDE_GUARD
taf_locGnss_EngineState_t
Definition: taf_locGnss_common.h:393
uint16_t satAzim
Definition: taf_locGnss_common.h:237
Definition: taf_locGnss_common.h:1004
static bool taf_locGnss_PackGnssDataValidityType(uint8_t **bufferPtr, taf_locGnss_GnssDataValidityType_t value)
Definition: taf_locPos_messages.h:753
taf_locPos_Resolution_t
Definition: taf_locPos_common.h:51
uint64_t bodyFrameDataMask
Definition: taf_locGnss_common.h:1040
static bool taf_locGnss_PackConstellationBitMask(uint8_t **bufferPtr, taf_locGnss_ConstellationBitMask_t value)
Definition: taf_locPos_messages.h:278
uint32_t taf_locGnss_EngineMask_t
Definition: taf_locGnss_common.h:787
static bool taf_locGnss_PackStartMode(uint8_t **bufferPtr, taf_locGnss_StartMode_t value)
Definition: taf_locPos_messages.h:453
taf_locGnss_XtraDataStatus_t
Definition: taf_locGnss_common.h:972
static bool taf_locGnss_UnpackXtraDataStatus(uint8_t **bufferPtr, taf_locGnss_XtraDataStatus_t *valuePtr)
Definition: taf_locPos_messages.h:862
taf_locGnss_GnssSignalType_t
Definition: taf_locGnss_common.h:896
uint32_t taf_locGnss_DRConfigValidityType_t
Definition: taf_locGnss_common.h:996
double rollRateUnc
Definition: taf_locGnss_common.h:1056
static bool taf_locGnss_PackGnssSignalType(uint8_t **bufferPtr, taf_locGnss_GnssSignalType_t value)
Definition: taf_locPos_messages.h:803
LE_DECLARE_INLINE bool le_pack_UnpackUint16(uint8_t **bufferPtr, uint16_t *valuePtr)
Definition: le_pack.h:1183
uint32_t taf_locGnss_LocationInfoValidity_t
Definition: taf_locGnss_common.h:686
static bool taf_locGnss_UnpackLeverArmType(uint8_t **bufferPtr, taf_locGnss_LeverArmType_t *valuePtr)
Definition: taf_locPos_messages.h:487
static bool taf_locGnss_UnpackConstellationArea(uint8_t **bufferPtr, taf_locGnss_ConstellationArea_t *valuePtr)
Definition: taf_locPos_messages.h:337
static bool taf_locGnss_PackSbasBitMask(uint8_t **bufferPtr, taf_locGnss_SbasBitMask_t value)
Definition: taf_locPos_messages.h:578
taf_locGnss_Resolution_t
Definition: taf_locGnss_common.h:315
Definition: taf_locGnss_common.h:1099
taf_locGnss_LeverArmType_t
Definition: taf_locGnss_common.h:514
uint32_t signalType
Definition: taf_locGnss_common.h:238
static bool taf_locGnss_UnpackLocationReliability(uint8_t **bufferPtr, taf_locGnss_LocationReliability_t *valuePtr)
Definition: taf_locPos_messages.h:712
static bool taf_locGnss_UnpackResolution(uint8_t **bufferPtr, taf_locGnss_Resolution_t *valuePtr)
Definition: taf_locPos_messages.h:262
uint16_t satId
Definition: taf_locGnss_common.h:236
uint32_t xtraValidForHours
Definition: taf_locGnss_common.h:1116
static bool taf_locGnss_UnpackGnssData(uint8_t **bufferPtr, taf_locGnss_GnssData_t *valuePtr)
Definition: taf_locPos_messages.h:1473
LE_DECLARE_INLINE bool le_pack_UnpackUint64(uint8_t **bufferPtr, uint64_t *valuePtr)
Definition: le_pack.h:1227
static bool taf_locGnss_PackGnssSystem(uint8_t **bufferPtr, taf_locGnss_GnssSystem_t value)
Definition: taf_locPos_messages.h:778
static bool taf_locGnss_UnpackLocEngineType(uint8_t **bufferPtr, taf_locGnss_LocEngineType_t *valuePtr)
Definition: taf_locPos_messages.h:237
taf_locGnss_SBConstellation_t
Definition: taf_locGnss_common.h:164
static bool taf_locGnss_PackLocationInfoValidity(uint8_t **bufferPtr, taf_locGnss_LocationInfoValidity_t value)
Definition: taf_locPos_messages.h:603
double longAccel
Definition: taf_locGnss_common.h:1041
double yawOffset
Definition: taf_locGnss_common.h:1007
taf_locGnss_AltType_t
Definition: taf_locGnss_common.h:212
taf_locGnss_ConstellationArea_t
Definition: taf_locGnss_common.h:376
taf_locGnss_CalibrationType_t
Definition: taf_locGnss_common.h:550
static bool taf_locGnss_PackLocEngineType(uint8_t **bufferPtr, taf_locGnss_LocEngineType_t value)
Definition: taf_locPos_messages.h:228
static bool taf_locGnss_PackNmeaBitMask(uint8_t **bufferPtr, taf_locGnss_NmeaBitMask_t value)
Definition: taf_locPos_messages.h:403
static bool taf_locGnss_UnpackConstellation(uint8_t **bufferPtr, taf_locGnss_Constellation_t *valuePtr)
Definition: taf_locPos_messages.h:112
struct __attribute__((packed))
Definition: taf_locPos_messages.h:20
static bool taf_locGnss_UnpackLocationTechnologyType(uint8_t **bufferPtr, taf_locGnss_LocationTechnologyType_t *valuePtr)
Definition: taf_locPos_messages.h:737
double vertAccel
Definition: taf_locGnss_common.h:1043
taf_locGnss_GeodeticDatumType_t
Definition: taf_locGnss_common.h:476
double latAccelUnc
Definition: taf_locGnss_common.h:1047
uint32_t taf_locGnss_LocationTechnologyType_t
Definition: taf_locGnss_common.h:849
double sidewaysOffsetMeters
Definition: taf_locGnss_common.h:1026
static bool taf_locGnss_UnpackEngineType(uint8_t **bufferPtr, taf_locGnss_EngineType_t *valuePtr)
Definition: taf_locPos_messages.h:387
static bool taf_locGnss_PackXtraDataStatus(uint8_t **bufferPtr, taf_locGnss_XtraDataStatus_t value)
Definition: taf_locPos_messages.h:853
static bool taf_locGnss_UnpackState(uint8_t **bufferPtr, taf_locGnss_State_t *valuePtr)
Definition: taf_locPos_messages.h:87
static bool taf_locGnss_PackSBConstellation(uint8_t **bufferPtr, taf_locGnss_SBConstellation_t value)
Definition: taf_locPos_messages.h:128
static bool taf_locGnss_PackLocationAggregationType(uint8_t **bufferPtr, taf_locGnss_LocationAggregationType_t value)
Definition: taf_locPos_messages.h:678
static bool taf_locGnss_UnpackLocationAggregationType(uint8_t **bufferPtr, taf_locGnss_LocationAggregationType_t *valuePtr)
Definition: taf_locPos_messages.h:687
static bool taf_locGnss_UnpackKinematicsDataValidityType(uint8_t **bufferPtr, taf_locGnss_KinematicsDataValidityType_t *valuePtr)
Definition: taf_locPos_messages.h:562
double jammerInd
Definition: taf_locGnss_common.h:1102
Definition: taf_locGnss_common.h:1038
double pitchRate
Definition: taf_locGnss_common.h:1051
Definition: taf_locGnss_common.h:229
static bool taf_locGnss_UnpackXtraStatusParams(uint8_t **bufferPtr, taf_locGnss_XtraStatusParams_t *valuePtr)
Definition: taf_locPos_messages.h:1521
#define _MAX_MSG_SIZE
Definition: taf_locPos_messages.h:17
uint64_t gal
Definition: taf_locGnss_common.h:1072
static bool taf_locGnss_UnpackLocationInfoValidity(uint8_t **bufferPtr, taf_locGnss_LocationInfoValidity_t *valuePtr)
Definition: taf_locPos_messages.h:612
uint64_t navic
Definition: taf_locGnss_common.h:1075
double longAccelUnc
Definition: taf_locGnss_common.h:1046
taf_locGnss_FixState_t
Definition: taf_locGnss_common.h:193
static bool taf_locGnss_UnpackSvUsedInPosition(uint8_t **bufferPtr, taf_locGnss_SvUsedInPosition_t *valuePtr)
Definition: taf_locPos_messages.h:1362
static bool taf_locGnss_PackEngineState(uint8_t **bufferPtr, taf_locGnss_EngineState_t value)
Definition: taf_locPos_messages.h:353
double latAccel
Definition: taf_locGnss_common.h:1042
static bool taf_locGnss_UnpackEngineState(uint8_t **bufferPtr, taf_locGnss_EngineState_t *valuePtr)
Definition: taf_locPos_messages.h:362
uint64_t glo
Definition: taf_locGnss_common.h:1071
double yawRate
Definition: taf_locGnss_common.h:1044
taf_locGnss_EngineReportsType_t
Definition: taf_locGnss_common.h:531
static bool taf_locGnss_PackKinematicsDataValidityType(uint8_t **bufferPtr, taf_locGnss_KinematicsDataValidityType_t value)
Definition: taf_locPos_messages.h:553
double gyroFactorUnc
Definition: taf_locGnss_common.h:1013
static bool taf_locGnss_UnpackSvInfo(uint8_t **bufferPtr, taf_locGnss_SvInfo_t *valuePtr)
Definition: taf_locPos_messages.h:950
LE_DECLARE_INLINE bool le_pack_PackUint16(uint8_t **bufferPtr, uint16_t value)
Definition: le_pack.h:159
static bool taf_locGnss_PackDopType(uint8_t **bufferPtr, taf_locGnss_DopType_t value)
Definition: taf_locPos_messages.h:303
static bool taf_locGnss_PackGnssMeasurementInfo(uint8_t **bufferPtr, const taf_locGnss_GnssMeasurementInfo_t *valuePtr)
Definition: taf_locPos_messages.h:1402
Definition: taf_locGnss_common.h:1085
static bool taf_locGnss_UnpackGeodeticDatumType(uint8_t **bufferPtr, taf_locGnss_GeodeticDatumType_t *valuePtr)
Definition: taf_locPos_messages.h:437
static bool taf_locGnss_PackLocationReliability(uint8_t **bufferPtr, taf_locGnss_LocationReliability_t value)
Definition: taf_locPos_messages.h:703
taf_locGnss_Constellation_t satConst
Definition: taf_locGnss_common.h:231
static bool taf_locGnss_UnpackConstellationBitMask(uint8_t **bufferPtr, taf_locGnss_ConstellationBitMask_t *valuePtr)
Definition: taf_locPos_messages.h:287
Definition: taf_locGnss_common.h:1023
double gyroFactor
Definition: taf_locGnss_common.h:1012
taf_locGnss_GnssSystem_t gnssConstellation
Definition: taf_locGnss_common.h:1088
static bool taf_locGnss_PackSvInfo(uint8_t **bufferPtr, const taf_locGnss_SvInfo_t *valuePtr)
Definition: taf_locPos_messages.h:906
static bool taf_locGnss_UnpackGnssSignalType(uint8_t **bufferPtr, taf_locGnss_GnssSignalType_t *valuePtr)
Definition: taf_locPos_messages.h:812
static bool taf_locGnss_UnpackLeverArmParams(uint8_t **bufferPtr, taf_locGnss_LeverArmParams_t *valuePtr)
Definition: taf_locPos_messages.h:1124
static bool taf_locGnss_PackKinematicsData(uint8_t **bufferPtr, const taf_locGnss_KinematicsData_t *valuePtr)
Definition: taf_locPos_messages.h:1154
static bool taf_locGnss_UnpackGnssSystem(uint8_t **bufferPtr, taf_locGnss_GnssSystem_t *valuePtr)
Definition: taf_locPos_messages.h:787
static bool taf_locGnss_UnpackDrParams(uint8_t **bufferPtr, taf_locGnss_DrParams_t *valuePtr)
Definition: taf_locPos_messages.h:1048
static bool taf_locGnss_PackDRConfigValidityType(uint8_t **bufferPtr, taf_locGnss_DRConfigValidityType_t value)
Definition: taf_locPos_messages.h:878
static bool taf_locGnss_PackGeodeticDatumType(uint8_t **bufferPtr, taf_locGnss_GeodeticDatumType_t value)
Definition: taf_locPos_messages.h:428
double offsetUnc
Definition: taf_locGnss_common.h:1009
double yaw
Definition: taf_locGnss_common.h:1057
static bool taf_locGnss_PackState(uint8_t **bufferPtr, taf_locGnss_State_t value)
Definition: taf_locPos_messages.h:78
LE_DECLARE_INLINE bool le_pack_UnpackUint32(uint8_t **bufferPtr, uint32_t *valuePtr)
Definition: le_pack.h:1205
Definition: taf_locGnss_common.h:1112
bool satUsed
Definition: taf_locGnss_common.h:232
taf_locGnss_KinematicsDataValidityType_t
Definition: taf_locGnss_common.h:595
static bool taf_locGnss_PackXtraStatusParams(uint8_t **bufferPtr, const taf_locGnss_XtraStatusParams_t *valuePtr)
Definition: taf_locPos_messages.h:1498
static bool taf_locGnss_UnpackCalibrationType(uint8_t **bufferPtr, taf_locGnss_CalibrationType_t *valuePtr)
Definition: taf_locPos_messages.h:537
uint8_t satElev
Definition: taf_locGnss_common.h:235
Definition: taf_locGnss_common.h:1068
double pitchUnc
Definition: taf_locGnss_common.h:1050
taf_locGnss_GnssSystem_t
Definition: taf_locGnss_common.h:867
double rollUnc
Definition: taf_locGnss_common.h:1054
double speedFactorUnc
Definition: taf_locGnss_common.h:1011
static bool taf_locGnss_PackGnssData(uint8_t **bufferPtr, const taf_locGnss_GnssData_t *valuePtr)
Definition: taf_locPos_messages.h:1450
taf_locGnss_State_t
Definition: taf_locGnss_common.h:114
taf_locGnss_LocationAggregationType_t
Definition: taf_locGnss_common.h:795
static bool taf_locGnss_PackReportStatus(uint8_t **bufferPtr, taf_locGnss_ReportStatus_t value)
Definition: taf_locPos_messages.h:828
LE_DECLARE_INLINE bool le_pack_UnpackUint8(uint8_t **bufferPtr, uint8_t *valuePtr)
Definition: le_pack.h:1164
static bool taf_locGnss_PackLeverArmType(uint8_t **bufferPtr, taf_locGnss_LeverArmType_t value)
Definition: taf_locPos_messages.h:478
LE_DECLARE_INLINE bool le_pack_UnpackDouble(uint8_t **bufferPtr, double *valuePtr)
Definition: le_pack.h:1461
static bool taf_locGnss_UnpackFixState(uint8_t **bufferPtr, taf_locGnss_FixState_t *valuePtr)
Definition: taf_locPos_messages.h:162
uint64_t taf_locGnss_NmeaBitMask_t
Definition: taf_locGnss_common.h:468
#define LE_ASSERT(condition)
Definition: le_log.h:935
taf_locGnss_ReportStatus_t
Definition: taf_locGnss_common.h:953
_Message_t
Definition: taf_locPos_messages.h:25
double baseBandCnr
Definition: taf_locGnss_common.h:240
taf_locGnss_LocationInfoExValidity_t
Definition: taf_locGnss_common.h:694
static bool taf_locGnss_UnpackReportStatus(uint8_t **bufferPtr, taf_locGnss_ReportStatus_t *valuePtr)
Definition: taf_locPos_messages.h:837
uint32_t gnssDataMask
Definition: taf_locGnss_common.h:1101
uint8_t satSnr
Definition: taf_locGnss_common.h:234
static bool taf_locPos_UnpackResolution(uint8_t **bufferPtr, taf_locPos_Resolution_t *valuePtr)
Definition: taf_locPos_messages.h:62
static bool taf_locGnss_PackAltType(uint8_t **bufferPtr, taf_locGnss_AltType_t value)
Definition: taf_locPos_messages.h:178
static bool taf_locGnss_UnpackEngineMask(uint8_t **bufferPtr, taf_locGnss_EngineMask_t *valuePtr)
Definition: taf_locPos_messages.h:662
uint16_t gnssSvId
Definition: taf_locGnss_common.h:1089
static bool taf_locGnss_UnpackGnssDataValidityType(uint8_t **bufferPtr, taf_locGnss_GnssDataValidityType_t *valuePtr)
Definition: taf_locPos_messages.h:762
static bool taf_locGnss_UnpackGnssMeasurementInfo(uint8_t **bufferPtr, taf_locGnss_GnssMeasurementInfo_t *valuePtr)
Definition: taf_locPos_messages.h:1425
static bool taf_locGnss_UnpackSbasBitMask(uint8_t **bufferPtr, taf_locGnss_SbasBitMask_t *valuePtr)
Definition: taf_locPos_messages.h:587
static bool taf_locGnss_PackLeverArmParams(uint8_t **bufferPtr, const taf_locGnss_LeverArmParams_t *valuePtr)
Definition: taf_locPos_messages.h:1098
static bool taf_locGnss_PackSvUsedInPosition(uint8_t **bufferPtr, const taf_locGnss_SvUsedInPosition_t *valuePtr)
Definition: taf_locPos_messages.h:1330
double agc
Definition: taf_locGnss_common.h:1103
static bool taf_locGnss_UnpackSBConstellation(uint8_t **bufferPtr, taf_locGnss_SBConstellation_t *valuePtr)
Definition: taf_locPos_messages.h:137
uint64_t qzss
Definition: taf_locGnss_common.h:1074
LE_DECLARE_INLINE bool le_pack_PackDouble(uint8_t **bufferPtr, double value)
Definition: le_pack.h:681
static bool taf_locPos_PackResolution(uint8_t **bufferPtr, taf_locPos_Resolution_t value)
Definition: taf_locPos_messages.h:53
static bool taf_locGnss_PackLocationInfoExValidity(uint8_t **bufferPtr, taf_locGnss_LocationInfoExValidity_t value)
Definition: taf_locPos_messages.h:628
LE_DECLARE_INLINE bool le_pack_UnpackBool(uint8_t **bufferPtr, bool *valuePtr)
Definition: le_pack.h:1413
static bool taf_locGnss_UnpackLocCapabilityType(uint8_t **bufferPtr, taf_locGnss_LocCapabilityType_t *valuePtr)
Definition: taf_locPos_messages.h:212
static bool taf_locGnss_PackEngineType(uint8_t **bufferPtr, taf_locGnss_EngineType_t value)
Definition: taf_locPos_messages.h:378
LE_DECLARE_INLINE bool le_pack_PackUint64(uint8_t **bufferPtr, uint64_t value)
Definition: le_pack.h:251
double pitchRateUnc
Definition: taf_locGnss_common.h:1052
static bool taf_locGnss_PackEngineReportsType(uint8_t **bufferPtr, taf_locGnss_EngineReportsType_t value)
Definition: taf_locPos_messages.h:503
static bool taf_locGnss_PackConstellationArea(uint8_t **bufferPtr, taf_locGnss_ConstellationArea_t value)
Definition: taf_locPos_messages.h:328
static bool taf_locGnss_UnpackStartMode(uint8_t **bufferPtr, taf_locGnss_StartMode_t *valuePtr)
Definition: taf_locPos_messages.h:462
uint8_t levArmType
Definition: taf_locGnss_common.h:1028
LE_DECLARE_INLINE bool le_pack_PackBool(uint8_t **bufferPtr, bool value)
Definition: le_pack.h:591
double forwardOffsetMeters
Definition: taf_locGnss_common.h:1025
static bool taf_locGnss_UnpackLocationInfoExValidity(uint8_t **bufferPtr, taf_locGnss_LocationInfoExValidity_t *valuePtr)
Definition: taf_locPos_messages.h:637
uint32_t gnssSignalType
Definition: taf_locGnss_common.h:1087
static bool taf_locGnss_PackFixState(uint8_t **bufferPtr, taf_locGnss_FixState_t value)
Definition: taf_locPos_messages.h:153
uint32_t taf_locGnss_GnssDataValidityType_t
Definition: taf_locGnss_common.h:859
double rollOffset
Definition: taf_locGnss_common.h:1006
taf_locGnss_DopType_t
Definition: taf_locGnss_common.h:352
double yawUnc
Definition: taf_locGnss_common.h:1058
static bool taf_locGnss_PackConstellation(uint8_t **bufferPtr, taf_locGnss_Constellation_t value)
Definition: taf_locPos_messages.h:103
bool satTracked
Definition: taf_locGnss_common.h:233
double roll
Definition: taf_locGnss_common.h:1053
taf_locGnss_LocEngineType_t
Definition: taf_locGnss_common.h:278
taf_locGnss_SbasBitMask_t
Definition: taf_locGnss_common.h:642
double rollRate
Definition: taf_locGnss_common.h:1055
uint8_t featureEnabled
Definition: taf_locGnss_common.h:1114
uint64_t bds
Definition: taf_locGnss_common.h:1073
static bool taf_locGnss_PackEngineMask(uint8_t **bufferPtr, taf_locGnss_EngineMask_t value)
Definition: taf_locPos_messages.h:653
static bool taf_locGnss_UnpackKinematicsData(uint8_t **bufferPtr, taf_locGnss_KinematicsData_t *valuePtr)
Definition: taf_locPos_messages.h:1225
static bool taf_locGnss_UnpackAltType(uint8_t **bufferPtr, taf_locGnss_AltType_t *valuePtr)
Definition: taf_locPos_messages.h:187
taf_locGnss_Constellation_t
Definition: taf_locGnss_common.h:135
static bool taf_locGnss_UnpackEngineReportsType(uint8_t **bufferPtr, taf_locGnss_EngineReportsType_t *valuePtr)
Definition: taf_locPos_messages.h:512
double vertAccelUnc
Definition: taf_locGnss_common.h:1048
double yawRateUnc
Definition: taf_locGnss_common.h:1049
double upOffsetMeters
Definition: taf_locGnss_common.h:1027
double pitch
Definition: taf_locGnss_common.h:1045
static bool taf_locGnss_PackLocCapabilityType(uint8_t **bufferPtr, taf_locGnss_LocCapabilityType_t value)
Definition: taf_locPos_messages.h:203
static bool taf_locGnss_UnpackNmeaBitMask(uint8_t **bufferPtr, taf_locGnss_NmeaBitMask_t *valuePtr)
Definition: taf_locPos_messages.h:412
taf_locGnss_LocationReliability_t
Definition: taf_locGnss_common.h:814
static bool taf_locGnss_UnpackDopType(uint8_t **bufferPtr, taf_locGnss_DopType_t *valuePtr)
Definition: taf_locPos_messages.h:312
uint16_t glonassFcn
Definition: taf_locGnss_common.h:239
static bool taf_locGnss_PackCalibrationType(uint8_t **bufferPtr, taf_locGnss_CalibrationType_t value)
Definition: taf_locPos_messages.h:528
LE_DECLARE_INLINE bool le_pack_PackUint32(uint8_t **bufferPtr, uint32_t value)
Definition: le_pack.h:205
uint64_t gps
Definition: taf_locGnss_common.h:1070
static bool taf_locGnss_PackLocationTechnologyType(uint8_t **bufferPtr, taf_locGnss_LocationTechnologyType_t value)
Definition: taf_locPos_messages.h:728
static bool taf_locGnss_PackResolution(uint8_t **bufferPtr, taf_locGnss_Resolution_t value)
Definition: taf_locPos_messages.h:253
double pitchOffset
Definition: taf_locGnss_common.h:1008
uint32_t xtraDataStatus
Definition: taf_locGnss_common.h:1115
double speedFactor
Definition: taf_locGnss_common.h:1010
LE_DECLARE_INLINE bool le_pack_PackUint8(uint8_t **bufferPtr, uint8_t value)
Definition: le_pack.h:118
taf_locGnss_StartMode_t
Definition: taf_locGnss_common.h:493
static bool taf_locGnss_PackDrParams(uint8_t **bufferPtr, const taf_locGnss_DrParams_t *valuePtr)
Definition: taf_locPos_messages.h:1010
taf_locGnss_EngineType_t
Definition: taf_locGnss_common.h:410
uint32_t taf_locGnss_LocCapabilityType_t
Definition: taf_locGnss_common.h:269
static bool taf_locGnss_UnpackDRConfigValidityType(uint8_t **bufferPtr, taf_locGnss_DRConfigValidityType_t *valuePtr)
Definition: taf_locPos_messages.h:887
uint32_t taf_locGnss_ConstellationBitMask_t
Definition: taf_locGnss_common.h:344