Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Macros | Typedefs
lora_phy_ds.h File Reference

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
 

Detailed Description

Data structures relating to PHY layer.

______ _
/ _____) _ | |
( (____ _____ ____ _| |_ _____ ____| |__
\____ \| ___ | (_ _) ___ |/ ___) _ \
_____) ) ____| | | || |_| ____( (___| | | |
(______/|_____)_|_|_| \__)_____)\____)_| |_|
(C)2013 Semtech
___ _____ _ ___ _ _____ ___ ___ ___ ___
/ __|_ _/_\ / __| |/ / __/ _ \| _ \/ __| __|
\__ \ | |/ _ \ (__| ' <| _| (_) | / (__| _|
|___/ |_/_/ \_\___|_|\_\_| \___/|_|_\\___|___|
embedded.connectivity.solutions===============

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.

Macro Definition Documentation

#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,
 
)    ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) )

Returns the maximum value between a and b.

Parameters
[in]aThe first value.
[in]bThe second value.
Return values
maxValueThe maximum value.

Definition at line 55 of file lora_phy_ds.h.

#define MIN (   a,
 
)    ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) )

Returns the minimum value between a and b.

Parameters
[in]aThe first value.
[in]bThe second value.
Return values
minValueThe 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 Documentation

The parameter structure for the function RegionNextChannel.

The parameter structure for the function RegionContinuousWave.

Structure containing data for local ADR settings.

Contains rx parameter setup request coming from network server.

Structure used to store ADR values received from network for verification (legality) purposes.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.