Skip to content

Commit 5d30c53

Browse files
committed
wip: Update state machine after storage
1 parent 608e133 commit 5d30c53

File tree

3 files changed

+203
-158
lines changed

3 files changed

+203
-158
lines changed

app/src/Kconfig.main

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,22 @@
66
menu "App"
77

88
config APP_MODULE_TRIGGER_TIMEOUT_SECONDS
9-
int "Trigger timer timeout"
9+
int "Sample timer interval"
1010
default 600
1111
help
12-
Timeout for the trigger timer. On timeout, the module will send triggers for
13-
sensor sampling, location search and polling of shadow and FOTA status from cloud.
12+
Interval for the sampling trigger timer. On timeout, the module will send triggers for
13+
sensor sampling and location search.
14+
15+
config APP_CLOUD_SEND_INTERVAL_SECONDS
16+
int "Cloud send interval"
17+
default 600
18+
help
19+
Interval for the cloud send timer.
20+
* If the interval is between 0 and APP_MODULE_TRIGGER_TIMEOUT_SECONDS, the data will be
21+
sent immediately after the sampling is complete.
22+
* If the interval is greater than APP_MODULE_TRIGGER_TIMEOUT_SECONDS, the data will be
23+
sent after the interval has elapsed.
24+
* If the interval is -1 (or any other negative value), the timer is disabled.
1425

1526
config APP_REQUEST_NETWORK_QUALITY
1627
bool "Request network quality"

0 commit comments

Comments
 (0)