Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
gnss_publish.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Trackunit Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_DRIVERS_GNSS_GNSS_H_
8#define ZEPHYR_DRIVERS_GNSS_GNSS_H_
9
10#include <zephyr/drivers/gnss.h>
11
13void gnss_publish_data(const struct device *dev, const struct gnss_data *data);
14
16void gnss_publish_satellites(const struct device *dev, const struct gnss_satellite *satellites,
17 uint16_t size);
18
19#endif /* ZEPHYR_DRIVERS_GNSS_GNSS_H_ */
Public GNSS API.
void gnss_publish_data(const struct device *dev, const struct gnss_data *data)
Internal function used by GNSS drivers to publish GNSS data.
void gnss_publish_satellites(const struct device *dev, const struct gnss_satellite *satellites, uint16_t size)
Internal function used by GNSS drivers to publish GNSS satellites.
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Runtime device structure (in ROM) per driver instance.
Definition device.h:412
GNSS data structure.
Definition gnss.h:178
GNSS satellite structure.
Definition gnss.h:199