-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Net reorg #2
Merged
Merged
Net reorg #2
Conversation
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
… created as on-board controls.
Reorganizing the network into a cpython and circuitpython branch to work around adafruit_minimqtt issues. Reworking discovery and message generation to be smoother and more reliable.
* Fix meminfo publication on linux * Fix cleanup when terminating * Propogate log level when setting up network. * Update displays to have both id and name parameters.
…heck for the Linux class.
…y as part of connect() method, Create stud for _connect_wifi() method, generally reorganize methods.
…dd method overrides with propert MiniMQTT syntax.
…yloads. This *should* be fixed upstream, really, but I don't have a better fix. README - Found the source of connect failures on my Metro M4 Circuitpython testing, which is actually pystack exhaustion. Added note about increasing that for the M4. Circuitpython - Add auto-logging of MQTT client object when set to debug. Commented out for now due to chattiness. This should probably be its own config option when I refactor all of this. Wifi - Add retry limit and time options to allow some connection errors to be retries. This is to specifically cover the case where a specific SSID isn't found on the first scan, as someitmes happens during my testing. code.py - Cleaned up instantiation for Circuitpy briefly.
Linux - Catch exceptions for cannot connect, mark those as recoverable and ensure the system retries.
CircuitPython - Implement memory use reporting. Linux - Add some Todo notes.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Reorganized network communications into a base class, with platform-specific subclasses for cpython (linux) and CircuitPython.