Improve connecting to WIFI, add UdpLogging, OTA Restart Command and Updates #93
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes issues in develop branch that prevent Meadow connect to wifi and the the cloud.
Enable OTA updates in yaml and provide event handlers to download and apply the update.
Register OTA handler for a Restart command with a single parameter Delay that specifies the seconds to wait before restarting Meadow.
Refactor Sensor and Power Controllers to have
StartUpdating(UpdateInterval)
andStopUpdating()
methods. CallStopUpdating()
when starting an OTA Update.Add UdpLogging to remotely monitor the Clima weather station. (In a future version this could be enabled via an OTA Command to avoid unnecessary CPU and network overhead)
Add sanity check to Anemometer to avoid reporting wind speed as
Infinity
which breaks the Sensor data collection.Change
GetPowerData()
to usereturn Task.FromResult(new PowerData{...})
which appears with testing to improve connecting to the WIFI.