Data structures relating to PHY layer. More...
#include "system/lorawan_data_structures.h"
Go to the source code of this file.
Data Structures | |
struct | tx_config_params_t |
TX configuration parameters. More... | |
struct | adr_req_params_t |
This structure contains parameters for ADR request coming from network server. More... | |
struct | link_adr_params_s |
Structure containing data for local ADR settings. More... | |
struct | verify_adr_params_s |
Structure used to store ADR values received from network for verification (legality) purposes. More... | |
struct | rx_param_setup_req_s |
Contains rx parameter setup request coming from network server. More... | |
struct | channel_selection_params_s |
The parameter structure for the function RegionNextChannel. More... | |
struct | continuous_wave_mode_params_s |
struct | loraphy_table_t |
struct | loraphy_channels_t |
struct | loraphy_params_t |
Macros | |
#define | MIN(a, b) ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) ) |
Returns the minimum value between a and b. More... | |
#define | MAX(a, b) ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) ) |
Returns the maximum value between a and b. More... | |
#define | LORA_MAX_NB_CHANNELS 16 |
LoRaMac maximum number of channels. More... | |
#define | LC(channelIndex) ( uint16_t )( 1 << ( channelIndex - 1 ) ) |
#define | TX_POWER_0 0 |
#define | TX_POWER_1 1 |
#define | TX_POWER_2 2 |
#define | TX_POWER_3 3 |
#define | TX_POWER_4 4 |
#define | TX_POWER_5 5 |
#define | TX_POWER_6 6 |
#define | TX_POWER_7 7 |
#define | TX_POWER_8 8 |
#define | TX_POWER_9 9 |
#define | TX_POWER_10 10 |
#define | TX_POWER_11 11 |
#define | TX_POWER_12 12 |
#define | TX_POWER_13 13 |
#define | TX_POWER_14 14 |
#define | TX_POWER_15 15 |
Typedefs | |
typedef struct link_adr_params_s | link_adr_params_t |
Structure containing data for local ADR settings. More... | |
typedef struct verify_adr_params_s | verify_adr_params_t |
Structure used to store ADR values received from network for verification (legality) purposes. More... | |
typedef struct rx_param_setup_req_s | rx_param_setup_req_t |
Contains rx parameter setup request coming from network server. More... | |
typedef struct channel_selection_params_s | channel_selection_params_t |
The parameter structure for the function RegionNextChannel. More... | |
typedef struct continuous_wave_mode_params_s | cw_mode_params_t |
Data structures relating to PHY layer.
License: Revised BSD License, see LICENSE.TXT file include in the project
Maintainer: Miguel Luis ( Semtech ), Gregory Cristian ( Semtech ) and Daniel Jaeckle ( STACKFORCE )
Copyright (c) 2017, Arm Limited and affiliates. SPDX-License-Identifier: BSD-3-Clause
Definition in file lora_phy_ds.h.
#define LC | ( | channelIndex | ) | ( uint16_t )( 1 << ( channelIndex - 1 ) ) |
Macro to compute bit of a channel index.
Definition at line 66 of file lora_phy_ds.h.
#define LORA_MAX_NB_CHANNELS 16 |
LoRaMac maximum number of channels.
Definition at line 61 of file lora_phy_ds.h.
#define MAX | ( | a, | |
b | |||
) | ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) ) |
Returns the maximum value between a and b.
[in] | a | The first value. |
[in] | b | The second value. |
maxValue | The maximum value. |
Definition at line 55 of file lora_phy_ds.h.
#define MIN | ( | a, | |
b | |||
) | ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) ) |
Returns the minimum value between a and b.
[in] | a | The first value. |
[in] | b | The second value. |
minValue | The minimum value. |
Definition at line 44 of file lora_phy_ds.h.
#define TX_POWER_0 0 |
Region | dBM |
---|---|
AS923 | Max EIRP |
AU915 | Max EIRP |
CN470 | Max EIRP |
CN779 | Max EIRP |
EU433 | Max EIRP |
EU868 | Max EIRP |
IN865 | Max EIRP |
KR920 | Max EIRP |
US915 | Max ERP |
US915_HYBRID | Max ERP |
Definition at line 85 of file lora_phy_ds.h.
#define TX_POWER_1 1 |
Region | dBM |
---|---|
AS923 | Max EIRP - 2 |
AU915 | Max EIRP - 2 |
CN470 | Max EIRP - 2 |
CN779 | Max EIRP - 2 |
EU433 | Max EIRP - 2 |
EU868 | Max EIRP - 2 |
IN865 | Max EIRP - 2 |
KR920 | Max EIRP - 2 |
US915 | Max ERP - 2 |
US915_HYBRID | Max ERP - 2 |
Definition at line 101 of file lora_phy_ds.h.
#define TX_POWER_10 10 |
Region | dBM |
---|---|
AS923 | - |
AU915 | Max EIRP - 20 |
CN470 | - |
CN779 | - |
EU433 | - |
EU868 | - |
IN865 | Max EIRP - 20 |
KR920 | - |
US915 | Max ERP - 10 |
US915_HYBRID | Max ERP - 10 |
Definition at line 245 of file lora_phy_ds.h.
#define TX_POWER_11 11 |
RFU
Definition at line 250 of file lora_phy_ds.h.
#define TX_POWER_12 12 |
RFU
Definition at line 255 of file lora_phy_ds.h.
#define TX_POWER_13 13 |
RFU
Definition at line 260 of file lora_phy_ds.h.
#define TX_POWER_14 14 |
RFU
Definition at line 265 of file lora_phy_ds.h.
#define TX_POWER_15 15 |
RFU
Definition at line 270 of file lora_phy_ds.h.
#define TX_POWER_2 2 |
Region | dBM |
---|---|
AS923 | Max EIRP - 4 |
AU915 | Max EIRP - 4 |
CN470 | Max EIRP - 4 |
CN779 | Max EIRP - 4 |
EU433 | Max EIRP - 4 |
EU868 | Max EIRP - 4 |
IN865 | Max EIRP - 4 |
KR920 | Max EIRP - 4 |
US915 | Max ERP - 4 |
US915_HYBRID | Max ERP - 4 |
Definition at line 117 of file lora_phy_ds.h.
#define TX_POWER_3 3 |
Region | dBM |
---|---|
AS923 | Max EIRP - 6 |
AU915 | Max EIRP - 6 |
CN470 | Max EIRP - 6 |
CN779 | Max EIRP - 6 |
EU433 | Max EIRP - 6 |
EU868 | Max EIRP - 6 |
IN865 | Max EIRP - 6 |
KR920 | Max EIRP - 6 |
US915 | Max ERP - 6 |
US915_HYBRID | Max ERP - 6 |
Definition at line 133 of file lora_phy_ds.h.
#define TX_POWER_4 4 |
Region | dBM |
---|---|
AS923 | Max EIRP - 8 |
AU915 | Max EIRP - 8 |
CN470 | Max EIRP - 8 |
CN779 | Max EIRP - 8 |
EU433 | Max EIRP - 8 |
EU868 | Max EIRP - 8 |
IN865 | Max EIRP - 8 |
KR920 | Max EIRP - 8 |
US915 | Max ERP - 8 |
US915_HYBRID | Max ERP - 8 |
Definition at line 149 of file lora_phy_ds.h.
#define TX_POWER_5 5 |
Region | dBM |
---|---|
AS923 | Max EIRP - 10 |
AU915 | Max EIRP - 10 |
CN470 | Max EIRP - 10 |
CN779 | Max EIRP - 10 |
EU433 | Max EIRP - 10 |
EU868 | Max EIRP - 10 |
IN865 | Max EIRP - 10 |
KR920 | Max EIRP - 10 |
US915 | Max ERP - 10 |
US915_HYBRID | Max ERP - 10 |
Definition at line 165 of file lora_phy_ds.h.
#define TX_POWER_6 6 |
Region | dBM |
---|---|
AS923 | Max EIRP - 12 |
AU915 | Max EIRP - 12 |
CN470 | Max EIRP - 12 |
CN779 | - |
EU433 | - |
EU868 | Max EIRP - 12 |
IN865 | Max EIRP - 12 |
KR920 | Max EIRP - 12 |
US915 | Max ERP - 12 |
US915_HYBRID | Max ERP - 12 |
Definition at line 181 of file lora_phy_ds.h.
#define TX_POWER_7 7 |
Region | dBM |
---|---|
AS923 | Max EIRP - 14 |
AU915 | Max EIRP - 14 |
CN470 | Max EIRP - 14 |
CN779 | - |
EU433 | - |
EU868 | Max EIRP - 14 |
IN865 | Max EIRP - 14 |
KR920 | Max EIRP - 14 |
US915 | Max ERP - 14 |
US915_HYBRID | Max ERP - 14 |
Definition at line 197 of file lora_phy_ds.h.
#define TX_POWER_8 8 |
Region | dBM |
---|---|
AS923 | - |
AU915 | Max EIRP - 16 |
CN470 | - |
CN779 | - |
EU433 | - |
EU868 | - |
IN865 | Max EIRP - 16 |
KR920 | - |
US915 | Max ERP - 16 |
US915_HYBRID | Max ERP -16 |
Definition at line 213 of file lora_phy_ds.h.
#define TX_POWER_9 9 |
Region | dBM |
---|---|
AS923 | - |
AU915 | Max EIRP - 18 |
CN470 | - |
CN779 | - |
EU433 | - |
EU868 | - |
IN865 | Max EIRP - 18 |
KR920 | - |
US915 | Max ERP - 16 |
US915_HYBRID | Max ERP - 16 |
Definition at line 229 of file lora_phy_ds.h.
typedef struct channel_selection_params_s channel_selection_params_t |
The parameter structure for the function RegionNextChannel.
typedef struct continuous_wave_mode_params_s cw_mode_params_t |
The parameter structure for the function RegionContinuousWave.
typedef struct link_adr_params_s link_adr_params_t |
Structure containing data for local ADR settings.
typedef struct rx_param_setup_req_s rx_param_setup_req_t |
Contains rx parameter setup request coming from network server.
typedef struct verify_adr_params_s verify_adr_params_t |
Structure used to store ADR values received from network for verification (legality) purposes.