This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
sdk:sleep-mode [2020/10/01 20:41] juraschek |
sdk:sleep-mode [2021/07/20 10:28] (current) fachet |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Using the Sleep Mode of the NB1601 and NB800 (Rev B.) ====== | + | ====== Using the Sleep Mode of the NB1601 and NB800 ====== |
For optimizing the power consumption you can put the NB1601 / NB800 into a deep sleep state over our SDK API. | For optimizing the power consumption you can put the NB1601 / NB800 into a deep sleep state over our SDK API. | ||
- | In the Deep Sleep State the CPU is basicly not running. The only component still wokring is our Power Managment Chip will consum a very low current (<1mA). Please keep in mind you still need to have power supply attached to the router in the deep sleep State. | + | In the Deep Sleep State the CPU is basicly not running. The only component still running is our Power Managment Chip and will consum a very low current (<1mA). Please keep in mind you still need to have power supply attached to the router in the deep sleep State. |
- | ===== Requierments ===== | + | ===== Requierements ===== |
The Feature was introduce with NRSW Version 4.4.0.104 and newer. Please check our [[documentation:releases|NRSW Releases]] Page for the most current download link. | The Feature was introduce with NRSW Version 4.4.0.104 and newer. Please check our [[documentation:releases|NRSW Releases]] Page for the most current download link. | ||
- | You need an NB1601 Router or a NB800 HW Rev. B Router to use this Feautre. | + | You need an NB1601 Router or a NB800 HW Rev. B Router to use this Feature. |
Line 22: | Line 22: | ||
The basic Usage of the API is defined as follows: | The basic Usage of the API is defined as follows: | ||
- | <code> | + | <code c basic-sleep.are> |
nb_syslog("Sleep for 1 hour"); | nb_syslog("Sleep for 1 hour"); | ||
Line 48: | Line 48: | ||
- | <code> | + | <code c sms-control-sleep.are> |
/* DESC: This script will execute commands received by SMS. | /* DESC: This script will execute commands received by SMS. | ||
* Copyright (C) 2012 NetModule AG, Switzerland | * Copyright (C) 2012 NetModule AG, Switzerland | ||
Line 56: | Line 56: | ||
MAXMSG = 5; /* process max. 5 msgs */ | MAXMSG = 5; /* process max. 5 msgs */ | ||
MAXAGE = 300; /* message mustn't be older than 5 mins */ | MAXAGE = 300; /* message mustn't be older than 5 mins */ | ||
- | MAXLINES = 32; /* max. number of lines in msg (incl. header) */ | + | MAXLINES = 32; /* max. number of lines in msg (incl. header) */ |
AUTH = 1; /* perform authentication */ | AUTH = 1; /* perform authentication */ | ||
ADMPWD = ""; /* password used for authentication */ | ADMPWD = ""; /* password used for authentication */ |