Releases: adafruit/Adafruit_CircuitPython_ESP32SPI
Digital and Analog Read
- #80 Added
set_analog_readandset_digital_readcommand handlers for the digital/analog read functions in Adafruit's fork of nina-fw, v1.5.0. Thanks @anecdata!
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.
Stricter certificate/private key file validation
- Check for correct PEM file header text in
set_certificate/set_private_key.
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.
Expose if certificate/key have been set
Adding set_psk/set_crt to if a user has set a certificate and/or psk prior to establishing an authenticated connection with a server.
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.
Allow user-defined X.509 Certificates for server authentication
Adds set_certificate and set_private_key methods to ESP32SPI to reflect the updated WiFiSSLClient in nina-fw.
- Use
set_certificateandset_private_keyto set your ESP32's certificate and private key. This will be used to authenticate your CircuitPython device to a server.
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.
BSSID Property, scan_network finds network BSSID and Channel
- Exposes property for the network's BSSID, thanks @anecdata
- Adds handlers in
scan_networksfor obtaining network BSSID and channel, thanks @anecdata
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.
Fix Get_Time Error
- Raises an error on invalid
get_time()calls.
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.
Use socket.recv
This release switches from socket.read to socket.recv to match the CircuitPython Socket API and the CPython Socket API.
- Calls to
socket.readwill still work with this release but is deprecated, and will be removed in a future release.
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.
socket.write -> socket.send
Switches socket.write to socket.send to match the CircuitPython Socket API and the CPython Socket API.
- Calls to
socket.writewill still work with this release but is deprecated, and will be removed in a future release.
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.
Adds ESP32 Timestamp
Exposes the getTime function in nina-fw to fetch the latest unix timestamp.
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.
ESP32 Access Point Mode
This release adds the ability to put the ESP32 into AP mode so that devices can connect to its local network. #57
- Adds access point creation methods to
esp32spi.py, thanks @mscosti- Can specify the SSID and an optional password for the network
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.