lriot 2.1.0.0
|
helper functions 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_event_t |
Structure holding event-related data. More... | |
Macros | |
#define | LR1110_MODEM_HELPER_INITAL_GNSS_DATE_SECONDS 315964800 |
Initial GNSS date in second, 6 January 1980. | |
#define | LR1110_MODEM_HELPER_GNSS_LEAP_SECONDS_OFFSET 18 |
GNSS leap seconds offset in second. | |
#define | LR1110_MODEM_HELPER_NB_WEEK_PER_WRAP 1024 |
GPS week number rollover. | |
#define | LR1110_MODEM_HELPER_NB_SEC_PER_HOUR 3600 |
Number of seconds in per hour. | |
#define | LR1110_MODEM_HELPER_NB_HOUR_PER_DAY 24 |
Number of hours per day. | |
#define | LR1110_MODEM_HELPER_NB_DAY_PER_WEEK 7 |
Number of days per week. | |
#define | LR1110_MODEM_HELPER_MAX_DOWNLINK_LENGTH 242 |
Maximum payload size in byte of a downlink. | |
#define | LR1110_MODEM_HELPER_GNSS_MAX_NAV_LENGTH 255 |
Maximum payload size in byte of a nav message. | |
#define | LR1110_MODEM_HELPER_WIFI_MAX_BUFFER_LENGTH 948 |
Maximum payload size in byte of a Wi-Fi result. | |
Enumerations | |
enum | lr1110_modem_helper_status_t { LR1110_MODEM_HELPER_STATUS_OK = 0 , LR1110_MODEM_HELPER_STATUS_ERROR = 3 } |
LR1110 Modem helper status. More... | |
helper functions 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_HELPER_GNSS_LEAP_SECONDS_OFFSET 18 |
GNSS leap seconds offset in second.
#define LR1110_MODEM_HELPER_GNSS_MAX_NAV_LENGTH 255 |
Maximum payload size in byte of a nav message.
#define LR1110_MODEM_HELPER_INITAL_GNSS_DATE_SECONDS 315964800 |
Initial GNSS date in second, 6 January 1980.
#define LR1110_MODEM_HELPER_MAX_DOWNLINK_LENGTH 242 |
Maximum payload size in byte of a downlink.
#define LR1110_MODEM_HELPER_NB_DAY_PER_WEEK 7 |
Number of days per week.
#define LR1110_MODEM_HELPER_NB_HOUR_PER_DAY 24 |
Number of hours per day.
#define LR1110_MODEM_HELPER_NB_SEC_PER_HOUR 3600 |
Number of seconds in per hour.
#define LR1110_MODEM_HELPER_NB_WEEK_PER_WRAP 1024 |
GPS week number rollover.
#define LR1110_MODEM_HELPER_WIFI_MAX_BUFFER_LENGTH 948 |
Maximum payload size in byte of a Wi-Fi result.