254 uint8_t gnss_input_parameters, uint8_t nb_sat );
270 uint8_t gnss_input_parameters, uint8_t nb_sat );
400 uint16_t nb_days_between_epoch_and_corresponding_gps_time_rollover,
401 uint16_t nb_days_since_epoch );
err_t lr1110_gnss_push_dmc_msg(lriot_t *ctx, uint8_t *dmc_msg, uint16_t dmc_msg_len)
Host receives an update from the network or assembles itself the update message and send it to the LR...
err_t lr1110_gnss_read_used_constellations(lriot_t *ctx, lr1110_gnss_constellation_mask_t *constellations_used)
Read constellation used by the GNSS scanner from the almanac update configuration.
err_t lr1110_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_gnss_read_firmware_version(lriot_t *ctx, lr1110_gnss_version_t *version)
Function to read the GNSS firmware version.
err_t lr1110_gnss_read_almanac_update(lriot_t *ctx, lr1110_gnss_constellation_mask_t *constellations_to_update)
Function to read the almanac update configuration.
err_t lr1110_gnss_get_context_status(lriot_t *ctx, lr1110_gnss_context_status_bytestream_t context_status_buffer)
Get the GNSS context status.
err_t lr1110_gnss_get_almanac_age_for_satellite(lriot_t *ctx, lr1110_gnss_satellite_id_t sv_id, uint16_t *almanac_age)
Get almanac age for a satellite.
err_t lr1110_gnss_parse_context_status_buffer(lr1110_gnss_context_status_bytestream_t context_status_bytestream, lr1110_gnss_context_status_t *context_status)
Parse a raw buffer of context status.
err_t lr1110_gnss_push_solver_msg(lriot_t *ctx, uint8_t *payload, uint16_t payload_size)
Push data received from solver to LR1110.
err_t lr1110_gnss_set_constellations_to_use(lriot_t *ctx, lr1110_gnss_constellation_mask_t constellation_mask)
Activate the GNSS scan constellation.
err_t lr1110_gnss_read_almanac(lriot_t *ctx, lr1110_gnss_almanac_full_read_bytestream_t almanac_bytestream)
Read the almanac.
err_t lr1110_gnss_scan_autonomous(lriot_t *ctx, lr1110_gnss_date_t date, lr1110_gnss_search_mode_t effort_mode, uint8_t gnss_input_parameters, uint8_t nb_sat)
Gnss scan with no assisted parameters needed.
err_t lr1110_gnss_scan_assisted(lriot_t *ctx, lr1110_gnss_date_t date, lr1110_gnss_search_mode_t effort_mode, uint8_t gnss_input_parameters, uint8_t nb_sat)
Gnss scan with assisted parameters.
err_t lr1110_gnss_get_timings(lriot_t *ctx, lr1110_gnss_timings_t *timings)
Get the time spent in signal acquisition and signal analysis.
err_t lr1110_gnss_read_supported_constellations(lriot_t *ctx, lr1110_gnss_constellation_mask_t *supported_constellations)
Function to read the supported constellation, GPS or BEIDOU other constellations.
err_t lr1110_gnss_read_assistance_position(lriot_t *ctx, lr1110_gnss_solver_assistance_position_t *assistance_position)
Function to read the assistance position.
err_t lr1110_gnss_get_result_destination(uint8_t *result_buffer, uint16_t result_buffer_size, uint8_t *destination)
Extract the destination from the result returned by a GNSS scan.
err_t lr1110_gnss_almanac_update(lriot_t *ctx, uint8_t *blocks, uint8_t nb_of_blocks)
Update almanacs given as parameter.
err_t lr1110_gnss_set_assistance_position(lriot_t *ctx, lr1110_gnss_solver_assistance_position_t *assistance_position)
Function to set the assistance position.
err_t lr1110_gnss_set_scan_mode(lriot_t *ctx, lr1110_gnss_scan_mode_t scan_mode)
Function to set the GNSS scan mode configuration.
err_t lr1110_gnss_get_detected_satellites(lriot_t *ctx, uint8_t nb_detected_satellites, lr1110_gnss_detected_satellite_t *detected_satellite_id_snr_doppler)
Get the satellites detected on last scan with their IDs, C/N (aka CNR) and doppler.
uint16_t lr1110_gnss_compute_almanac_age(uint16_t almanac_date, uint16_t nb_days_between_epoch_and_corresponding_gps_time_rollover, uint16_t nb_days_since_epoch)
Helper function that computes the age of an almanac.
err_t lr1110_gnss_get_result_size(lriot_t *ctx, uint16_t *result_size)
Get the size of results.
err_t lr1110_gnss_set_almanac_update(lriot_t *ctx, lr1110_gnss_constellation_mask_t constellations_to_update)
Activate the almanac update.
err_t lr1110_gnss_read_results(lriot_t *ctx, uint8_t *result_buffer, uint16_t result_buffer_size)
Read GNSS results.
GNSS scan driver types for LR1110.
lr1110_gnss_search_mode_t
Search mode for GNSS scan.
Definition lr1110_gnss_types.h:154
uint8_t lr1110_gnss_satellite_id_t
Satellite ID type.
Definition lr1110_gnss_types.h:109
uint32_t lr1110_gnss_date_t
Representation of absolute time for GNSS operations.
Definition lr1110_gnss_types.h:239
uint8_t lr1110_gnss_almanac_full_read_bytestream_t[LR1110_GNSS_FULL_ALMANAC_READ_BUFFER_SIZE]
Buffer that holds data for all almanacs full update - when reading.
Definition lr1110_gnss_types.h:244
uint8_t lr1110_gnss_constellation_mask_t
Bit mask of constellation configurations.
Definition lr1110_gnss_types.h:148
uint8_t lr1110_gnss_context_status_bytestream_t[LR1110_GNSS_CONTEXT_STATUS_LENGTH]
Buffer that holds data for context status.
Definition lr1110_gnss_types.h:249
lr1110_gnss_scan_mode_t
GNSS single or double scan mode.
Definition lr1110_gnss_types.h:203
Hardware Abstraction Layer (HAL) interface for LR1110.
Type definitions for LR1110.
Structure for GNSS context status.
Definition lr1110_gnss_types.h:292
Detected SV structure.
Definition lr1110_gnss_types.h:264
Assistance position.
Definition lr1110_gnss_types.h:255
GNSS timings of the LR1110.
Definition lr1110_gnss_types.h:274
Version structure of the LR1110 GNSS firmware.
Definition lr1110_gnss_types.h:283
LR IoT Click context object.
Definition lriot.h:273