Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
gnss_emul API More...
Data Structures | |
struct | gnss_pvt_emul_location |
Emulated GNSS parameters. More... | |
Functions | |
void | emul_gnss_ubx_dev_ptrs (const struct device *dev, int **pm_rc, int **comms_reset_cnt) |
Get pointers to emulated GNSS device state. | |
void | emul_gnss_pvt_configure (const struct device *dev, struct gnss_pvt_emul_location *emul_location) |
Configure the currently output PVT message. | |
gnss_emul API
void emul_gnss_pvt_configure | ( | const struct device * | dev, |
struct gnss_pvt_emul_location * | emul_location ) |
#include <infuse/drivers/gnss/gnss_emul.h>
Configure the currently output PVT message.
dev | Emulated GNSS device |
emul_location | Emulated location |
void emul_gnss_ubx_dev_ptrs | ( | const struct device * | dev, |
int ** | pm_rc, | ||
int ** | comms_reset_cnt ) |
#include <infuse/drivers/gnss/gnss_emul.h>
Get pointers to emulated GNSS device state.
dev | Emulated GNSS device |
pm_rc | Value that is returned on next PM call |
comms_reset_cnt | Number of times ubx_modem_comms_reset has been called |