32#ifndef LR1110_MODEM_GNSS_H
33#define LR1110_MODEM_GNSS_H
285 uint8_t* almanac_read, uint8_t buffer_len );
301 uint8_t gnss_result_mask, uint8_t nb_sat );
315 uint8_t gnss_result_mask, uint8_t nb_sat );
modem driver common definition for LR1110
err_t lr1110_modem_gnss_get_detected_satellites(lriot_t *ctx, uint8_t nb_detected_satellites, lr1110_modem_gnss_detected_satellite_t *detected_satellite_id_snr)
Get the satellites detected on last scan with their IDs and C/N (aka. CNR)
err_t lr1110_modem_gnss_set_xtal_error(lriot_t *ctx, float xtal_error_in_ppm)
Function to set the Xtal error.
err_t lr1110_modem_gnss_read_supported_constellations(lriot_t *ctx, lr1110_modem_gnss_constellation_mask_t *supported_constellations)
Function to read the supported constellation, GPS or BEIDOU other constellations.
err_t lr1110_modem_gnss_read_firmware_version(lriot_t *ctx, lr1110_modem_gnss_version_t *version)
Function to read the GNSS firmware version.
err_t lr1110_modem_gnss_set_frequency_search(lriot_t *ctx, lr1110_modem_gnss_frequency_search_space_mask_t frequency_search_space)
Set the GNSS frequency search.
err_t lr1110_modem_gnss_read_assistance_position(lriot_t *ctx, lr1110_modem_gnss_solver_assistance_position_t *assistance_position)
Function to read the assistance position.
err_t lr1110_modem_gnss_read_used_constellations(lriot_t *ctx, lr1110_modem_gnss_constellation_mask_t *constellations_used)
Read constellation used by the GNSS scanner from the almanac update configuration.
err_t lr1110_modem_gnss_almanac_full_update(lriot_t *ctx, lr1110_modem_gnss_almanac_full_update_bytestream_t almanac_bytestream)
Update full almanac for all satellites.
err_t lr1110_modem_gnss_get_context(lriot_t *ctx, lr1110_modem_gnss_context_t *gnss_context)
Function to read context status.
err_t lr1110_modem_gnss_read_frequency_search(lriot_t *ctx, lr1110_modem_gnss_frequency_search_space_mask_t *frequency_search_space)
Read constellation used by the GNSS scanner from the almanac update configuration.
err_t lr1110_modem_gnss_scan_autonomous(lriot_t *ctx, lr1110_modem_gnss_search_mode_t effort_mode, uint8_t gnss_result_mask, uint8_t nb_sat)
GNSS scan with no assisted parameters needed.
err_t lr1110_modem_gnss_read_almanac_update(lriot_t *ctx, lr1110_modem_gnss_constellation_mask_t *constellations_to_update)
Function to read the almanac update configuration.
err_t lr1110_modem_gnss_set_assistance_position(lriot_t *ctx, lr1110_modem_gnss_solver_assistance_position_t *assistance_position)
Function to set the assistance position.
err_t lr1110_modem_gnss_set_constellations_to_use(lriot_t *ctx, lr1110_modem_gnss_constellation_mask_t constellation_to_use)
Activate the GNSS scan constellation.
err_t lr1110_modem_gnss_read_xtal_error(lriot_t *ctx, float *xtal_error_in_ppm)
Function to read the Xtal error.
err_t lr1110_modem_gnss_get_timings(lriot_t *ctx, lr1110_modem_gnss_timings_t *timings)
Get the timings spent in signal acquisition and signal analyzis.
err_t lr1110_modem_gnss_push_solver_msg(lriot_t *ctx, uint8_t *payload, uint16_t payload_size)
Push data received from solver to LR1110 modem.
err_t lr1110_modem_gnss_almanac_read_by_index(lriot_t *ctx, uint8_t sv_id, uint8_t nb_sv, uint8_t *almanac_read, uint8_t buffer_len)
Read at maximum 11 sv’s Almanac, starting from sv id.
err_t lr1110_modem_gnss_get_nb_detected_satellites(lriot_t *ctx, uint8_t *nb_detected_satellites)
Get the number of detected satellites during last scan.
err_t lr1110_modem_gnss_set_almanac_update(lriot_t *ctx, lr1110_modem_gnss_constellation_mask_t constellations_to_update)
Activate the almanac update.
err_t lr1110_modem_gnss_one_chunk_almanac_update(lriot_t *ctx, lr1110_modem_gnss_almanac_one_chunk_bytestream_t almanac_one_chunk_bytestream)
One chunk almanac update.
err_t lr1110_modem_gnss_scan_assisted(lriot_t *ctx, lr1110_modem_gnss_search_mode_t effort_mode, uint8_t gnss_result_mask, uint8_t nb_sat)
GNSS scan with assisted parameters.
GNSS scan driver types definition for LR1110 modem.
lr1110_modem_gnss_search_mode_t
Search mode for GNSS scan.
Definition lr1110_modem_gnss_types.h:126
uint8_t lr1110_modem_gnss_almanac_full_update_bytestream_t[LR1110_MODEM_GNSS_FULL_ALMANAC_WRITE_BUFFER_SIZE]
Buffer that holds data for all almanacs full update.
Definition lr1110_modem_gnss_types.h:206
uint8_t lr1110_modem_gnss_constellation_mask_t
Bit mask of constellation configurations.
Definition lr1110_modem_gnss_types.h:194
uint8_t lr1110_modem_gnss_frequency_search_space_mask_t
Bit mask of frequency search space configurations.
Definition lr1110_modem_gnss_types.h:201
uint8_t lr1110_modem_gnss_almanac_one_chunk_bytestream_t[LR1110_MODEM_GNSS_SINGLE_ALMANAC_WRITE_SIZE]
Buffer that hold one chunk of almanac for update.
Definition lr1110_modem_gnss_types.h:211
This file contains API for LR IoT Click Driver.
Status message struct in case of operation code = 0x18 (Status Message)
Definition lr1110_modem_gnss_types.h:253
Detected satellite structure.
Definition lr1110_modem_gnss_types.h:226
Assistance position.
Definition lr1110_modem_gnss_types.h:217
GNSS timings of the LR1110 modem.
Definition lr1110_modem_gnss_types.h:235
Version structure of the LR1110 GNSS firmware.
Definition lr1110_modem_gnss_types.h:244
LR IoT Click context object.
Definition lriot.h:273