Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Emulated GNSS APIs

Emulated GNSS APIs. More...

Data Structures

struct  gnss_pvt_emul_location
 Emulated GNSS parameters, matching the UBX NAV-PVT field scaling. 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.
void emul_gnss_nrf9x_event_raise (int event)
 Raise an event on the emulated nRF9x GNSS event handler.

Detailed Description

Emulated GNSS APIs.

Function Documentation

◆ emul_gnss_nrf9x_event_raise()

void emul_gnss_nrf9x_event_raise ( int event)

#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/drivers/gnss/gnss_emul.h>

Raise an event on the emulated nRF9x GNSS event handler.

Parameters
eventEvent to raise (NRF_MODEM_GNSS_EVT_*)

◆ emul_gnss_pvt_configure()

void emul_gnss_pvt_configure ( const struct device * dev,
struct gnss_pvt_emul_location * emul_location )

#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/drivers/gnss/gnss_emul.h>

Configure the currently output PVT message.

Parameters
devEmulated GNSS device
emul_locationEmulated location

◆ emul_gnss_ubx_dev_ptrs()

void emul_gnss_ubx_dev_ptrs ( const struct device * dev,
int ** pm_rc,
int ** comms_reset_cnt )

#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/drivers/gnss/gnss_emul.h>

Get pointers to emulated GNSS device state.

Parameters
devEmulated GNSS device
pm_rcValue that is returned on next PM call
comms_reset_cntNumber of times ubx_modem_comms_reset has been called