|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
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. | |
Emulated GNSS APIs.
| 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.
| event | Event to raise (NRF_MODEM_GNSS_EVT_*) |
| 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.
| 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 </__w/infuse-sdk/infuse-sdk/infuse-sdk/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 |