Updating wifi_simpletest to 9.0 with Connection Manager
Added
uses f-strings for formatting
pretty serial hierarchy view with emojis (for IDE's that support them)
general code cleanup and improvements
shouty constants to make Pylint happy.
imports sorted
uses settings.toml by default
using Connection Manager by default
Serial output example:
Connecting to WiFi...
Signal Strength: -58
✅ Wifi!
| GET Text Test: http://wifitest.adafruit.com/testwifi/index.html
| ✅ GET Response: This is a test of Adafruit WiFi!
If you can read this, its working :)
| ✂️ Disconnected from http://wifitest.adafruit.com/testwifi/index.html
--------------------------------------------------------------------------------
| GET Full Response Test: https://httpbin.org/get
| ✅ Unparsed Full JSON Response: {'url': 'https://httpbin.org/get', 'headers': {'User-Agent': 'Adafruit CircuitPython', 'Host': 'httpbin.org', 'X-Amzn-Trace-Id': 'Root=1-62613a2a-1106178859bf4e2318675309'}, 'args': {}, 'origin': 'xxx.xxx.xxx.xxx'}
| ✂️ Disconnected from https://httpbin.org/get
--------------------------------------------------------------------------------
| ✅ JSON 'value' POST Test: https://httpbin.org/post This is an example of a JSON value
| ✅ JSON 'value' Response: This is an example of a JSON value
| ✂️ Disconnected from https://httpbin.org/post
--------------------------------------------------------------------------------
| ✅ JSON 'key':'value' POST Test: https://httpbin.org/post {'Date': 'January 1, 1970'}
| ✅ JSON 'Key':'Value' Response: {'Date': 'January 1, 1970'}
| ✂️ Disconnected from https://httpbin.org/post
--------------------------------------------------------------------------------
Finished!
Updating wifi_simpletest to 9.0 with Connection Manager
Added
Serial output example: