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:
- 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