lriot 2.1.0.0
|
GNSS scan driver types definition for LR1110 modem. More...
#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | lr1110_modem_gnss_solver_assistance_position_t |
Assistance position. More... | |
struct | lr1110_modem_gnss_detected_satellite_t |
Detected satellite structure. More... | |
struct | lr1110_modem_gnss_timings_t |
GNSS timings of the LR1110 modem. More... | |
struct | lr1110_modem_gnss_version_t |
Version structure of the LR1110 GNSS firmware. More... | |
struct | lr1110_modem_gnss_context_t |
Status message struct in case of operation code = 0x18 (Status Message) More... | |
Macros | |
#define | LR1110_MODEM_GNSS_FULL_UPDATE_N_ALMANACS ( 128 ) |
Number of almanacs in full update payload. | |
#define | LR1110_MODEM_GNSS_SINGLE_ALMANAC_READ_SIZE ( 22 ) |
Size of the almanac of a single satellite when reading. | |
#define | LR1110_MODEM_GNSS_SINGLE_ALMANAC_WRITE_SIZE ( 20 ) |
Size of the almanac of a single satellite when writing. | |
#define | LR1110_MODEM_GNSS_FULL_ALMANAC_WRITE_BUFFER_SIZE ( ( LR1110_MODEM_GNSS_FULL_UPDATE_N_ALMANACS * LR1110_MODEM_GNSS_SINGLE_ALMANAC_WRITE_SIZE ) + 20 ) |
Size of the almanac for all satellites when writing. | |
#define | LR1110_MODEM_GNSS_SCAN_RESULT_DESTINATION_INDEX ( 0 ) |
Position of the destination ID in the scan result buffer. | |
#define | LR1110_MODEM_GNSS_SCAN_RESULT_EVENT_TYPE_INDEX ( 1 ) |
Position of the scan done event type in the scan result buffer,. | |
Typedefs | |
typedef uint8_t | lr1110_modem_gnss_satellite_id_t |
Satellite ID type. | |
typedef uint8_t | lr1110_modem_gnss_constellation_mask_t |
Bit mask of constellation configurations. | |
typedef uint8_t | lr1110_modem_gnss_frequency_search_space_mask_t |
Bit mask of frequency search space configurations. | |
typedef 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. | |
typedef 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. | |
GNSS scan driver types definition for LR1110 modem.
Revised BSD License Copyright Semtech Corporation 2020. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SEMTECH CORPORATION BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define LR1110_MODEM_GNSS_FULL_ALMANAC_WRITE_BUFFER_SIZE ( ( LR1110_MODEM_GNSS_FULL_UPDATE_N_ALMANACS * LR1110_MODEM_GNSS_SINGLE_ALMANAC_WRITE_SIZE ) + 20 ) |
Size of the almanac for all satellites when writing.
#define LR1110_MODEM_GNSS_FULL_UPDATE_N_ALMANACS ( 128 ) |
Number of almanacs in full update payload.
#define LR1110_MODEM_GNSS_SCAN_RESULT_DESTINATION_INDEX ( 0 ) |
Position of the destination ID in the scan result buffer.
#define LR1110_MODEM_GNSS_SCAN_RESULT_EVENT_TYPE_INDEX ( 1 ) |
Position of the scan done event type in the scan result buffer,.
#define LR1110_MODEM_GNSS_SINGLE_ALMANAC_READ_SIZE ( 22 ) |
Size of the almanac of a single satellite when reading.
#define LR1110_MODEM_GNSS_SINGLE_ALMANAC_WRITE_SIZE ( 20 ) |
Size of the almanac of a single satellite when writing.
typedef 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.
typedef 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.
typedef uint8_t lr1110_modem_gnss_constellation_mask_t |
Bit mask of constellation configurations.
typedef uint8_t lr1110_modem_gnss_frequency_search_space_mask_t |
Bit mask of frequency search space configurations.
typedef uint8_t lr1110_modem_gnss_satellite_id_t |
Satellite ID type.
Context status error code.
GNSS Event value for Host destinated message.
These values are the meaning of the second byte of a message destinated to host obtained when reading LR1110_MODEM_LORAWAN_EVENT_GNSS_SCAN_DONE buffer