Skip to content

Commit 57b6e0b

Browse files
authored
feat(upload): auto-upload chunks every hour (#5)
### Summary This commit adds the Kconfig settings to enable auto-upload of chunks. The default interval is 1 hour, but can be changed in the Kconfig `CONFIG_MEMFAULT_HTTP_PERIODIC_UPLOAD_INTERVAL_SECS`. While this application relies on the user configuring the wifi connection through the shell, it is a sane default to assume a connection has been made. ### Test Plan Flashed esp32s3, saw auto-upload after an hour.
1 parent 8336844 commit 57b6e0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

prj.conf

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ CONFIG_MEMFAULT=y
4242
CONFIG_MEMFAULT_LOGGING_ENABLE=y
4343
CONFIG_MEMFAULT_HTTP_ENABLE=y
4444
CONFIG_MEMFAULT_TLS_CERTS_USE_DER=y
45+
CONFIG_MEMFAULT_HTTP_PERIODIC_UPLOAD=y
4546

4647
# Additional network configuration for Memfault features
4748
CONFIG_DNS_RESOLVER=y

0 commit comments

Comments
 (0)