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