Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: LoRaWAN-SanJose_Bootcamp LoRaWAN-grove-cayenne LoRaWAN-classC-demo LoRaWAN-grove-cayenne ... more
region_us915_private.h
00001 00002 #include "LoRaMacPrivate.h" 00003 00004 #define TX_POWER_30_DBM 0 00005 #define TX_POWER_28_DBM 1 00006 #define TX_POWER_26_DBM 2 00007 #define TX_POWER_24_DBM 3 00008 #define TX_POWER_22_DBM 4 00009 #define TX_POWER_20_DBM 5 00010 #define TX_POWER_18_DBM 6 00011 #define TX_POWER_16_DBM 7 00012 #define TX_POWER_14_DBM 8 00013 #define TX_POWER_12_DBM 9 00014 #define TX_POWER_10_DBM 10 00015 00016 #define LORAMAC_MIN_TX_POWER TX_POWER_10_DBM 00017 #define LORAMAC_MAX_TX_POWER TX_POWER_30_DBM 00018 #define LORAMAC_DEFAULT_TX_POWER TX_POWER_20_DBM 00019 00020 #define LORA_MAX_NB_CHANNELS 72 00021 // 00022 // Enables at least the usage of the 2 datarates. 00023 #define JOIN_TRIAL_LIMIT 2 00024 00025 #define LORAMAC_TX_MIN_DATARATE DR_0 00026 #define LORAMAC_TX_MAX_DATARATE DR_4 00027 #define LORAMAC_DEFAULT_DATARATE DR_1 00028 00029 #define LORAMAC_RX_MIN_DATARATE DR_8 00030 #define LORAMAC_RX_MAX_DATARATE DR_13 00031 #define LORAMAC_MIN_RX1_DR_OFFSET 0 00032 #define LORAMAC_MAX_RX1_DR_OFFSET 3 00033 #define LORAMAC_FIRST_RX1_CHANNEL ( (uint32_t) 923.3e6 ) 00034 #define LORAMAC_LAST_RX1_CHANNEL ( (uint32_t) 927.5e6 ) 00035 #define LORAMAC_STEPWIDTH_RX1_CHANNEL ( (uint32_t) 600e3 ) 00036 00037 #define RX_WND_2_CHANNEL { 923300000, DR_8 } 00038 00039 #define DEFAULT_ADR_ACK_LIMIT 64 00040 #define DEFAULT_ADR_ACK_DELAY 32 00041 00042 #define REGION_LBT_RSSI_THRESHOLD_DBM 0 00043 #define REGION_LBT_CHANNEL_FREE_TIME_us 0 /* no LBT in USA */ 00044 00045 extern uint16_t ChannelsMaskRemaining[]; 00046 00047 uint8_t CountNbEnabled125kHzChannels( uint16_t *channelsMask ); 00048 bool ValidateChannelMask( uint16_t* channelsMask ); 00049
Generated on Mon Jul 18 2022 19:16:49 by
1.7.2