Skip to content

Commit 94d8978

Browse files
committed
Reduce transmit power during training
1 parent e621b0c commit 94d8978

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Firmware/LoRaSerial_Firmware/Commands.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,8 +712,9 @@ void displayParameters()
712712
if (printerEndpoint == PRINT_TO_RF)
713713
systemPrint("R"); //If someone is asking for our settings over RF, respond with 'R' style settings
714714
else
715-
systemPrint("S");
715+
systemPrint("A");
716716

717+
systemPrint("TS");
717718
systemPrint(x);
718719
systemPrint(":");
719720

Firmware/LoRaSerial_Firmware/Train.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ void moveToTrainingFreq()
8989
//Disable NetID checking
9090
settings.pointToPoint = false;
9191

92+
//Turn power as low as possible. We assume two units will be near each other.
93+
settings.radioBroadcastPower_dbm = 0;
94+
9295
generateHopTable(); //Generate frequency table based on current settings
9396

9497
configureRadio(); //Setup radio with settings

0 commit comments

Comments
 (0)