Adding support for India ISM Band.
Fork of LoRaWAN-lib by
Revision 7:8d84e1ef9e34, committed 2016-04-12
- Comitter:
- spcores
- Date:
- Tue Apr 12 05:20:32 2016 +0000
- Parent:
- 6:090cec5a0d5f
- Commit message:
- Updated on 12-Apr-2016
Changed in this revision
LoRaMac-board.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 090cec5a0d5f -r 8d84e1ef9e34 LoRaMac-board.h --- a/LoRaMac-board.h Fri Apr 01 06:09:21 2016 +0000 +++ b/LoRaMac-board.h Tue Apr 12 05:20:32 2016 +0000 @@ -229,7 +229,7 @@ /*! * Default datarate used by the node */ -#define LORAMAC_DEFAULT_DATARATE DR_4 //DR_0 +#define LORAMAC_DEFAULT_DATARATE DR_0 /*! * Minimal Rx1 receive datarate offset @@ -265,7 +265,7 @@ /*! * Default Tx output power used by the node */ -#define LORAMAC_DEFAULT_TX_POWER TX_POWER_14_DBM +#define LORAMAC_DEFAULT_TX_POWER TX_POWER_20_DBM /*! @@ -298,9 +298,9 @@ * LoRaMac default channels */ // Channel = { Frequency [Hz], { ( ( DrMax << 4 ) | DrMin ) }, Band } -#define LC1 { 865062500, { ( ( DR_5 << 4 ) | DR_0 ) }, 1 } -#define LC2 { 865402500, { ( ( DR_5 << 4 ) | DR_0 ) }, 1 } -#define LC3 { 865985000, { ( ( DR_5 << 4 ) | DR_0 ) }, 1 } +#define LC1 { 865062500, { ( ( DR_5 << 4 ) | DR_0 ) }, 0 } +#define LC2 { 865402500, { ( ( DR_5 << 4 ) | DR_0 ) }, 0 } +#define LC3 { 865985000, { ( ( DR_5 << 4 ) | DR_0 ) }, 0 } /************************************************************************************/ /******** India Frequency Declaration End **********/ /************************************************************************************/