Skip to content

Commit

Permalink
[FANET] 15 dBm of max. LoRa Tx power is allowed in NA, AU, IL and KR
Browse files Browse the repository at this point in the history
  • Loading branch information
lyusupov committed Sep 23, 2024
1 parent 95b59da commit 5c8ae96
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions software/firmware/source/libraries/OGN/freqplan.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,28 +51,38 @@ class FreqPlan
{ BaseFreq= 978000000; ChanSepar=2000000; Channels= 1; MaxTxPower = -10; }
break;
case RF_PROTOCOL_FANET:
{ ChanSepar=400000; Channels= 1; MaxTxPower = 14; }
{ ChanSepar=400000; Channels= 1; }
switch (Plan)
{
case RF_BAND_US:
case RF_BAND_AU:
case RF_BAND_CN: /* ? */
{ BaseFreq=920800000; Bandwidth = RF_RX_BANDWIDTH_SS_250KHZ; } // BW500
BaseFreq = 920800000;
MaxTxPower = 15;
Bandwidth = RF_RX_BANDWIDTH_SS_250KHZ; // BW500
break;
case RF_BAND_IN:
{ BaseFreq=866200000; Bandwidth = RF_RX_BANDWIDTH_SS_125KHZ; } // BW250
BaseFreq = 866200000;
Bandwidth = RF_RX_BANDWIDTH_SS_125KHZ; // BW250
MaxTxPower = 14;
break;
case RF_BAND_IL:
{ BaseFreq=918500000; Bandwidth = RF_RX_BANDWIDTH_SS_62KHZ; } // BW125
BaseFreq = 918500000;
Bandwidth = RF_RX_BANDWIDTH_SS_62KHZ; // BW125
MaxTxPower = 15;
break;
case RF_BAND_KR:
{ BaseFreq=923200000; Bandwidth = RF_RX_BANDWIDTH_SS_62KHZ; } // BW125
BaseFreq = 923200000;
Bandwidth = RF_RX_BANDWIDTH_SS_62KHZ; // BW125
MaxTxPower = 15;
break;
case RF_BAND_EU:
case RF_BAND_RU:
case RF_BAND_NZ: /* ? */
default:
{ BaseFreq=868200000; Bandwidth = RF_RX_BANDWIDTH_SS_125KHZ; } // BW250
BaseFreq = 868200000;
Bandwidth = RF_RX_BANDWIDTH_SS_125KHZ; // BW250
MaxTxPower = 14;
break;
}
break;
Expand Down

0 comments on commit 5c8ae96

Please sign in to comment.