-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from WildernessLabs/jorge-enable-reconnect
Enable auto-reconnect on demo app
- Loading branch information
Showing
3 changed files
with
43 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,49 @@ | ||
Device: | ||
# Acceptable values for true: true, 1, yes | ||
# Acceptable values for false: false, 0, no | ||
|
||
# Main Device Config | ||
Device: | ||
|
||
# Name of the device on the network. | ||
Name: Clima | ||
|
||
# Uncomment if SD card hardware present on this hardware | ||
# (e.g., Core-Compute module with SD add-on)? Optional; default value is `false`. | ||
# SdStorageSupported: true | ||
|
||
# Control how the ESP coprocessor will start and operate. | ||
Coprocessor: | ||
AutomaticallyStartNetwork: false | ||
AutomaticallyReconnect: false | ||
MaximumRetryCount: 0 | ||
|
||
# Should the ESP32 automatically attempt to connect to an access point at startup? | ||
# If set to true, wifi.yaml credentials must be stored in the device. | ||
AutomaticallyStartNetwork: true | ||
|
||
# Should the ESP32 automatically reconnect to the configured access point? | ||
AutomaticallyReconnect: true | ||
|
||
# Maximum number of retry attempts for connections etc. before an error code is returned. | ||
MaximumRetryCount: 99 | ||
|
||
# Network configuration. | ||
Network: | ||
|
||
# Default Interface | ||
DefaultInterface: WiFi | ||
|
||
# Automatically attempt to get the time at startup? | ||
GetNetworkTimeAtStartup: true | ||
NtpRefreshPeriodSeconds: 600 | ||
|
||
# Time synchronization period in seconds. | ||
NtpRefreshPeriod: 600 | ||
|
||
# Name of the NTP servers. | ||
NtpServers: | ||
- 0.pool.ntp.org | ||
- 1.pool.ntp.org | ||
- 2.pool.ntp.org | ||
- 3.pool.ntp.org | ||
|
||
# IP addresses of the DNS servers. | ||
DnsServers: | ||
- 1.1.1.1 | ||
- 8.8.8.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters