Contains all of the ActivitySense options that can be configured for a WirelessNode. Activity Sense is a power saving feature that allows a Node to be in a low-power state when no activity is suspected, and then immediately jump to its normal sampling state when a certain activity threshold is reached.
Gets whether Activity Sense is enabled or disabled in this options object.
true if Activity Sense is enabled in this options object, false if it is disabled.
void enabled( |
| ) |
Sets whether Activity Sense is enabled or disabled in this options object.
enable bool | Whether to enable (true) or disable (false) Activity Sense mode in this options object. |
Gets the current activity threshold value in this options object. This is the threshold the channel must exceed, for activityTime seconds to begin sampling.
The activity threshold value (in G's) set in this options object.
void activityThreshold( |
| ) |
Sets the activity threshold value in this options object. This is the threshold the channel must exceed, for activityTime seconds to begin sampling.
threshold float | The activity threshold value (in G's) to set in this options object. |
Gets the current inactivity threshold value in this options object. This is the threshold the channel must drop below, for inactivityTimeout seconds to begin sampling.
The inactivity threshold value (in G's) set in this options object.
void inactivityThreshold( |
| ) |
Sets the inactivity threshold value in this options object. This is the threshold the channel must drop below, for inactivityTimeout seconds to begin sampling.
threshold float | The inactivity threshold value (in G's) to set in this options object. |
Gets the amount of time that activity must be seen above activityThreshold before the Node enters its sampling mode, currently set in this options object.
The activity time value set in this options object.
void activityTime( |
| ) |
Sets the amount of time that activity must be seen above activityThreshold before the Node enters its sampling mode, in this options object.
time float | The activity time value to set in this options object. |
Gets the current amount of time that the Activity Sense mode runs without a value over the activityThreshold before it goes back into a low power mode, in this options object.
The inactivity timeout value set in this options object.
void inactivityTimeout( |
| ) |
Sets the current amount of time that the Activity Sense mode runs without a value over the activityThreshold before it goes back into a low power mode, in this options object.
timeout float | The inactivity timeout value to set in this options object. |