Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NodeManager_GasSensor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SmartHome
NodeManager_GasSensor
Commits
1d24f1f1
Commit
1d24f1f1
authored
8 years ago
by
user2684
Browse files
Options
Downloads
Patches
Plain Diff
Documentation about setBatteryReportCycles() is incorrect #32
parent
7b7deb9f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NodeManagerTemplate/NodeManager.h
+1
-1
1 addition, 1 deletion
NodeManagerTemplate/NodeManager.h
README.md
+1
-1
1 addition, 1 deletion
README.md
with
2 additions
and
2 deletions
NodeManagerTemplate/NodeManager.h
+
1
−
1
View file @
1d24f1f1
...
...
@@ -593,7 +593,7 @@ class NodeManager {
void
setBatteryMin
(
float
value
);
// the expected vcc when the batter is fully charged, used to calculate the percentage (default: 3.3)
void
setBatteryMax
(
float
value
);
//
how frequently (in hours) to
report the battery level to the controller. When reset the battery is always reported (default: 1)
//
after how many sleeping cycles
report the battery level to the controller. When reset the battery is always reported (default: 1
0
)
void
setBatteryReportCycles
(
int
value
);
#endif
#if SLEEP_MANAGER == 1
...
...
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
1d24f1f1
...
...
@@ -124,7 +124,7 @@ Node Manager comes with a reasonable default configuration. If you want/need to
void
setBatteryMin
(
float
value
);
// the expected vcc when the batter is fully charged, used to calculate the percentage (default: 3.3)
void
setBatteryMax
(
float
value
);
//
how frequently (in hours) to
report the battery level to the controller. When reset the battery is always reported (default: 1)
//
after how many sleeping cycles
report the battery level to the controller. When reset the battery is always reported (default: 1
0
)
void
setBatteryReportCycles
(
int
value
);
#endif
#if SLEEP_MANAGER == 1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment