Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
GpsNavigationMessage Struct Reference
#include <
gps.h
>
Legacy struct to represents a GPS navigation message (or a fragment of it). Deprecated, to be removed in the next Android release. Use
GnssNavigationMessage
instead.
Definition at line
2014
of file
gps.h
.
set to sizeof(GpsNavigationMessage)
Definition at line
2016
of file
gps.h
.
The documentation for this struct was generated from the following file:
-
hardware/libhardware/include/hardware/
gps.h
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-10-02 UTC."],[],[],null,["# Android Hardware Abstraction Layer: GpsNavigationMessage Struct Reference\n\nGpsNavigationMessage Struct Reference\n=====================================\n\n[Data Fields](#pub-attribs) \nGpsNavigationMessage Struct Reference \n\n`\n#include \u003c\n`[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)`\n\u003e\n`\n\n|----------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| size_t | [size](/reference/hal/struct_gps_navigation_message#a854352f53b148adc24983a58a1866d66) |\n| ||\n| int8_t | [prn](/reference/hal/struct_gps_navigation_message#a3ffcc691f30833f5242fbcd5361f02a0) |\n| ||\n| [GpsNavigationMessageType](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) | [type](/reference/hal/struct_gps_navigation_message#af19a32895b89fa1df99eeff0fee64041) |\n| ||\n| [NavigationMessageStatus](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) | [status](/reference/hal/struct_gps_navigation_message#a8e3b7677cbc7162abe1d1624c8fecc49) |\n| ||\n| int16_t | [message_id](/reference/hal/struct_gps_navigation_message#a73c0dbf15262619a62617280bcef653b) |\n| ||\n| int16_t | [submessage_id](/reference/hal/struct_gps_navigation_message#ad7288f28c8c5aa93cda8e6b1c23d06b3) |\n| ||\n| size_t | [data_length](/reference/hal/struct_gps_navigation_message#ac710ca74549e34346fcf7c3a81c63ea3) |\n| ||\n| uint8_t \\* | [data](/reference/hal/struct_gps_navigation_message#abe222f6d3581e7920dcad5306cc906a8) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nLegacy struct to represents a GPS navigation message (or a fragment of it). Deprecated, to be removed in the next Android release. Use\n[GnssNavigationMessage](/reference/hal/struct_gnss_navigation_message)\ninstead.\n\n\nDefinition at line\n[2014](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\nField Documentation\n-------------------\n\n\n|----------------|\n| uint8_t\\* data |\n\n\nDefinition at line\n[2023](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n|--------------------|\n| size_t data_length |\n\n\nDefinition at line\n[2022](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n|--------------------|\n| int16_t message_id |\n\n\nDefinition at line\n[2020](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n|------------|\n| int8_t prn |\n\n\nDefinition at line\n[2017](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n|-------------|\n| size_t size |\n\n\nset to sizeof(GpsNavigationMessage)\n\n\nDefinition at line\n[2016](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n|----------------------------------------------------------------------------------------------------------------------------------|\n| [NavigationMessageStatus](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) status |\n\n\nDefinition at line\n[2019](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n|-----------------------|\n| int16_t submessage_id |\n\n\nDefinition at line\n[2021](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n|---------------------------------------------------------------------------------------------------------------------------------|\n| [GpsNavigationMessageType](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) type |\n\n\nDefinition at line\n[2018](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)"]]