Wenkai Gong / libmDot-mbed5-UNSWDot
Revision:
72:b1e07ec1c30d
Parent:
69:e22889c7eaa9
--- a/plans/ChannelPlan_IN865.h	Fri Nov 08 09:34:58 2019 -0600
+++ b/plans/ChannelPlan_IN865.h	Mon Feb 17 14:43:04 2020 -0600
@@ -80,7 +80,7 @@
              * @param window
              * @return RxWindow
              */
-            virtual RxWindow GetRxWindow(uint8_t window);
+            virtual RxWindow GetRxWindow(uint8_t window, int8_t id = 0);
 
             /**
              * Get datarate to use on the join request
@@ -101,18 +101,6 @@
              */
             virtual uint8_t SetTxConfig();
 
-            /**
-             * Set the SxRadio rx config provided window
-             * @param window to be opened
-             * @param continuous keep window open
-             * @param wnd_growth factor to increase the rx window by
-             * @param pad_ms time in milliseconds to add to computed window size
-             * @return LORA_OK
-             */
-            virtual uint8_t SetRxConfig(uint8_t window,
-                                        bool continuous,
-                                        uint16_t wnd_growth,
-                                        uint16_t pad_ms);
 
             /**
              * Set frequency sub band if supported by plan
@@ -122,12 +110,6 @@
             virtual uint8_t SetFrequencySubBand(uint8_t sub_band);
 
             /**
-             * Callback for ACK timeout event
-             * @return LORA_OK
-             */
-            virtual uint8_t HandleAckTimeout();
-
-            /**
              * Callback for Join Accept packet to load optional channels
              * @return LORA_OK
              */
@@ -251,7 +233,7 @@
              * @param [out] data extracted from the beacon if this packet was indeed a beacon
              * @return true if this packet is beacon, false if not
              */
-            virtual bool DecodeBeacon(const uint8_t* payload,
+            virtual uint8_t DecodeBeacon(const uint8_t* payload,
                                       size_t size,
                                       BeaconData_t& data);