Source code for the SX126xDVK1xAS Dev Kit. This example code has only been tested on the Nucleo L476RG

Dependencies:   mbed DmTftLibrary SX126xLib

Revision:
2:8e1b4210df6b
Parent:
1:b96176a4ccb8
diff -r b96176a4ccb8 -r 8e1b4210df6b Demo/DemoApplication.cpp
--- a/Demo/DemoApplication.cpp	Fri Mar 09 13:28:34 2018 +0000
+++ b/Demo/DemoApplication.cpp	Wed Jul 18 13:34:10 2018 +0000
@@ -984,7 +984,7 @@
                     }
                     else
                     {
-                        Radio.SetRxBoosted( ( ( Eeprom.EepromData.DemoSettings.InterPacketDelay << 1 ) + RX_TIMEOUT_MARGIN) << 6 );
+                        Radio.SetRxBoosted( ( ( Eeprom.EepromData.DemoSettings.InterPacketDelay << 1 ) + RX_TIMEOUT_MARGIN ) << 6 );
                     }
                     refreshDisplay = 1;
                 }
@@ -1037,11 +1037,11 @@
                 Radio.SetDioIrqParams( IrqMask, IrqMask, IRQ_RADIO_NONE, IRQ_RADIO_NONE );
                 if( Eeprom.EepromData.DemoSettings.BoostedRx == false )
                 {
-                    Radio.SetRx( ( Eeprom.EepromData.DemoSettings.InterPacketDelay ) << 6 );
+                    Radio.SetRx( ( ( Eeprom.EepromData.DemoSettings.InterPacketDelay << 1 ) + RX_TIMEOUT_MARGIN ) << 6 );
                 }
                 else
                 {
-                    Radio.SetRxBoosted( ( Eeprom.EepromData.DemoSettings.InterPacketDelay ) << 6 );
+                    Radio.SetRxBoosted( ( ( Eeprom.EepromData.DemoSettings.InterPacketDelay << 1 ) + RX_TIMEOUT_MARGIN ) << 6 );
                 }
                 refreshDisplay = 1;
                 break;