Header file of GNSS Interface.
More...
#include <stdint.h>
#include <stdbool.h>
Header file of GNSS Interface.
- Author
- Radu Etz (radu..nosp@m.etz@.nosp@m.analo.nosp@m.g.co.nosp@m.m)
Copyright 2025(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
◆ no_os_gnss_get_position_data()
Get GPS position and fix quality data.
- Parameters
-
| desc | - The GNSS descriptor. |
| position_data | - Pointer to store position data. |
- Returns
- 0 on success, negative error code otherwise.
◆ no_os_gnss_get_unified_timing()
Get unified timing information with best available precision.
- Parameters
-
| desc | - The GNSS descriptor. |
| timing | - Pointer to structure to store timing information. |
- Returns
- 0 in case of success, negative error code otherwise.
◆ no_os_gnss_get_unix_epoch_unified()
| int32_t no_os_gnss_get_unix_epoch_unified |
( |
struct no_os_gnss_desc * | desc, |
|
|
uint32_t * | epoch, |
|
|
uint32_t * | fractional_seconds ) |
Get Unix epoch timestamp with unified precision.
- Parameters
-
| desc | - The GNSS descriptor. |
| epoch | - Pointer to store Unix epoch timestamp in seconds. |
| fractional_seconds | - Pointer to store fractional seconds (microseconds). |
- Returns
- 0 in case of success, negative error code otherwise.
◆ no_os_gnss_init()
Initialize the GNSS communication peripheral.
- Parameters
-
| desc | - The GNSS descriptor. |
| param | - The structure that contains the GNSS parameters. |
- Returns
- 0 in case of success, negative error code otherwise.
◆ no_os_gnss_is_timing_valid()
Check if timing data is valid.
- Parameters
-
| desc | - The GNSS descriptor. |
| valid | - Pointer to store timing validity status. |
- Returns
- 0 in case of success, negative error code otherwise.
◆ no_os_gnss_refresh_timing_data()
Refresh timing data from GNSS device.
- Parameters
-
| desc | - The GNSS descriptor. |
- Returns
- 0 in case of success, negative error code otherwise.
◆ no_os_gnss_remove()
Free the resources allocated by no_os_gnss_init().
- Parameters
-
| desc | - The GNSS descriptor. |
- Returns
- 0 in case of success, negative error code otherwise.
◆ nmea_ubx_gnss_ops
Platform operations structure for NMEA/UBX GNSS devices.