CSA edition of LoRaWAN open stack
Dependents: mDot_Semtech_LoRaWAN_Stack
Fork of LoRaWAN-lib by
Revision 7:d0d80f31651f, committed 2016-06-09
- Comitter:
- Mehrad
- Date:
- Thu Jun 09 23:38:45 2016 +0000
- Parent:
- 6:d7a34ded7c87
- Commit message:
- Changed to LoRaWAN to operate at 915 Hybrid
Changed in this revision
LoRaMac.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/LoRaMac.cpp Wed May 18 11:19:24 2016 +0000 +++ b/LoRaMac.cpp Thu Jun 09 23:38:45 2016 +0000 @@ -2882,14 +2882,16 @@ // 125 kHz channels for( uint8_t i = 0; i < LORA_MAX_NB_CHANNELS - 8; i++ ) { - Channels[i].Frequency = 902.3e6 + i * 200e3; + //Channels[i].Frequency = 902.3e6 + i * 200e3; + Channels[i].Frequency = 915.2e6 + i * 200e3; Channels[i].DrRange.Value = ( DR_3 << 4 ) | DR_0; Channels[i].Band = 0; } // 500 kHz channels for( uint8_t i = LORA_MAX_NB_CHANNELS - 8; i < LORA_MAX_NB_CHANNELS; i++ ) { - Channels[i].Frequency = 903.0e6 + ( i - ( LORA_MAX_NB_CHANNELS - 8 ) ) * 1.6e6; + //Channels[i].Frequency = 903.0e6 + ( i - ( LORA_MAX_NB_CHANNELS - 8 ) ) * 1.6e6; + Channels[i].Frequency = 915.9e6 + ( i - ( LORA_MAX_NB_CHANNELS - 8 ) ) * 1.6e6; Channels[i].DrRange.Value = ( DR_4 << 4 ) | DR_4; Channels[i].Band = 0; }