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: mDot.h
- Revision:
- 182:b642f4d0c95b
- Parent:
- 179:578d8030ba57
diff -r 220e42003ef7 -r b642f4d0c95b mDot.h
--- a/mDot.h Tue Sep 18 12:29:45 2018 -0500
+++ b/mDot.h Fri Oct 12 10:33:08 2018 -0500
@@ -1222,17 +1222,28 @@
bool getAdr();
/**
- * Set forward error correction bytes
- * @param bytes 1 - 4 bytes
- * @returns MDOT_OK if success
+ * Set the ADR ACK Limit
+ * @param limit - ADR ACK limit
*/
- int32_t setFec(const uint8_t& bytes);
+ void setAdrAckLimit(uint16_t limit);
/**
- * Get forward error correction bytes
- * @returns bytes (1 - 4)
+ * Get the ADR ACK Limit
+ * @returns ADR ACK limit
*/
- uint8_t getFec();
+ uint16_t getAdrAckLimit();
+
+ /**
+ * Set the ADR ACK Delay
+ * @param delay - ADR ACK delay
+ */
+ void setAdrAckDelay(uint16_t delay);
+
+ /**
+ * Get the ADR ACK Delay
+ * @returns ADR ACK delay
+ */
+ uint16_t getAdrAckDelay();
/**
* Enable/disable CRC checking of packets
@@ -1583,14 +1594,6 @@
int32_t setRxFrequency(const uint32_t& freq);
uint32_t getRxFrequency();
- // get/set TX/RX inverted
- // true == signal is inverted
- // set function returns MDOT_OK if success
- int32_t setTxInverted(const bool& on);
- bool getTxInverted();
- int32_t setRxInverted(const bool& on);
- bool getRxInverted();
-
// get/set RX output mode
// valid options are HEXADECIMAL and BINARY
// set function returns MDOT_OK if success