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.read
will 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.