to be used with the DSPLoRa module (minor changes wrt transmit power)
Fork of LoRaWAN-lib by
Revision 8:9fb3a3050f8e, committed 2017-01-04
- Comitter:
- akshaymishra
- Date:
- Wed Jan 04 16:01:16 2017 +0000
- Parent:
- 7:8d84e1ef9e34
- Commit message:
- no change from default - for DSPLoRa Module
Changed in this revision
LoRaMac-board.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 8d84e1ef9e34 -r 9fb3a3050f8e LoRaMac-board.h --- a/LoRaMac-board.h Tue Apr 12 05:20:32 2016 +0000 +++ b/LoRaMac-board.h Wed Jan 04 16:01:16 2017 +0000 @@ -245,9 +245,9 @@ * LoRaMac TxPower definition */ //#define TC_POWER_27_DBM 0 //SP:Added support for 27dBM channel(Power = 500mW) -#define TX_POWER_20_DBM 0 -#define TX_POWER_14_DBM 1 -#define TX_POWER_11_DBM 2 +//#define TX_POWER_20_DBM 0 +//#define TX_POWER_14_DBM 1 +//#define TX_POWER_11_DBM 2 //Dropped by Akshay for DSPLoRa Module #define TX_POWER_08_DBM 3 #define TX_POWER_05_DBM 4 #define TX_POWER_02_DBM 5 @@ -260,13 +260,14 @@ /*! * Minimal Tx output power that can be used by the node */ -#define LORAMAC_MAX_TX_POWER TX_POWER_20_DBM +//#define LORAMAC_MAX_TX_POWER TX_POWER_20_DBM +#define LORAMAC_MAX_TX_POWER TX_POWER_08_DBM /*! * Default Tx output power used by the node */ -#define LORAMAC_DEFAULT_TX_POWER TX_POWER_20_DBM - +//#define LORAMAC_DEFAULT_TX_POWER TX_POWER_20_DBM +#define LORAMAC_DEFAULT_TX_POWER TX_POWER_08_DBM /*! * LoRaMac datarates definition @@ -292,7 +293,8 @@ #define LORA_MAX_NB_BANDS 1 //5 // Band = { DutyCycle, TxMaxPower, LastTxDoneTime, TimeOff } -#define BAND0 { 100 , TX_POWER_20_DBM, 0, 0 } // 1.0 % +//#define BAND0 { 100 , TX_POWER_20_DBM, 0, 0 } // 1.0 % +#define BAND0 { 100 , TX_POWER_08_DBM, 0, 0 } // 1.0 % /*! * LoRaMac default channels