Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: plans/ChannelPlan_AS923.h
- Revision:
- 68:5f787643e7d7
- Parent:
- 65:acc0468b9aec
- Child:
- 69:e22889c7eaa9
diff -r a9d4d7cdeca1 -r 5f787643e7d7 plans/ChannelPlan_AS923.h
--- a/plans/ChannelPlan_AS923.h Wed May 01 09:18:46 2019 -0500
+++ b/plans/ChannelPlan_AS923.h Thu Aug 29 08:32:27 2019 -0500
@@ -140,12 +140,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
*/
@@ -259,6 +253,12 @@
virtual uint8_t GetMaxPayloadSize();
/**
+ * Get max payload size for given datarate
+ * @return size in bytes
+ */
+ virtual uint8_t GetMaxPayloadSize(uint8_t dr) { return ChannelPlan::GetMaxPayloadSize(dr); }
+
+ /**
* Decrements the datarate based on TxDwellTime
*/
virtual void DecrementDatarate();