BucketId, that you must create in your Thinger.io console.
thing.sleep(seconds)function, that will sleep the processor and all WiFi transmissions. After the sleep, the device will start again like a normal reboot.
⚠ DEEPSLEEP CONSIDERATIONS:
- To allow the processor to automatically wake up it is mandatory to weld the WKUP connexion of the board bottom as shown in the section "other considerations".
- During the deepSleep mode, it is not possible to flash code. To change the program you will need to make a forced flash mode boot up as described in the Uploading firmware section.
- Note that, when the processor makes a hard reset, all dynamic variables will lost its values.