this is the working code for the xdot to read in serial from the pi and send it over LoRa

Revision:
18:d7332302f5f1
Parent:
16:4a382fe8f51b
Child:
19:aa5b1fcd05be
diff -r 02ac4868b5a2 -r d7332302f5f1 ChannelPlan.h
--- a/ChannelPlan.h	Wed May 01 09:39:29 2019 -0500
+++ b/ChannelPlan.h	Thu Aug 29 08:40:49 2019 -0500
@@ -193,6 +193,12 @@
             virtual uint8_t GetMaxPayloadSize();
 
             /**
+             * Get max payload size for a given datarate
+             * @return size in bytes
+             */
+            virtual uint8_t GetMaxPayloadSize(uint8_t dr);
+
+            /**
              * Get rx window settings for requested window
              * RX_1, RX_2, RX_BEACON, RX_SLOT
              * @param window
@@ -287,11 +293,6 @@
             virtual uint8_t GetFrequencySubBand();
 
             /**
-             * Reset the ack counter used to lower datarate if ACK's are missed
-             */
-            virtual void ResetAckCounter();
-
-            /**
              * Callback for radio to request channel change when frequency hopping
              * @param currentChannel
              */