Expose NINA disconnect
- Expose the NINA disconnect function to the
ESP_SPIcontrolobject, so that a CircuitPython client can explicitly disconnect from the connected AP, e.g.,esp.disconnect(). Re-connect to use Wi-Fi again.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-esp32spi.
Read the docs for info on how to use it.