Thanh Nguyen / libmDot-dev-mbed5
Revision:
172:7ec44396a51b
Parent:
157:8e9b1e84ffac
Child:
173:88c20655ca6f
--- a/mDot.h	Wed Aug 08 09:33:35 2018 -0500
+++ b/mDot.h	Thu Aug 30 09:05:16 2018 -0500
@@ -1194,6 +1194,21 @@
         uint8_t getMinTxPower();
 
         /**
+         * Set ping slot periodicity
+         * Specify the the number of ping slots in a given beacon interval
+         * Note: Must switch back to class A for the change to take effect
+         * @param exp - number_of_pings = 2^(7 - exp) where 0 <= exp <= 7
+         * @returns MDOT_OK if success
+         */
+        uint32_t setPingPeriodicity(uint8_t exp);
+
+        /**
+         * Get ping slot periodicity
+         * @returns exp = 7 - log2(number_of_pings)
+         */
+        uint8_t getPingPeriodicity();
+
+        /**
          *
          * get/set adaptive data rate
          * configure data rates and power levels based on signal to noise of packets received at gateway