Helium / helium
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`