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: src/Helium.h
- Revision:
- 19:be9553194a4e
- Parent:
- 18:c735140666d1
- Child:
- 20:d55e9eb828d4
--- a/src/Helium.h Mon Jul 10 13:22:06 2017 -0700
+++ b/src/Helium.h Mon Jul 10 14:54:06 2017 -0700
@@ -87,6 +87,16 @@
*/
int sleep(struct connection * connection = NULL);
+ /** Checks if the Atom needs resetting.
+ *
+ * Checks if the Atom needs a reset. This is set over the air by
+ * the Helium network when the Helium Atom has a firmware update
+ * ready to apply.
+ *
+ * @returns true if the Atom needs to be reset, false otherwise.
+ */
+ bool needs_reset();
+
/** Resets the Atom.
*
* This resets the Atom. Use this method when `needs_reset`