adafruit / Adafruit_CircuitPython_ESP32SPI

ESP32 as wifi with SPI interface
MIT License
103 stars 75 forks source link

Add recv_into method #151

Closed tekktrik closed 2 years ago

tekktrik commented 2 years ago

Addresses Issue #55 by adding the recv_into() method. Tested with Adafruit CircuitPython 7.1.0-beta.0 on 2021-11-12; Adafruit Feather M4 Express with samd51j19 with AirLift FeatherWing, with a modified version of the esp32spi_tcp_client.py example!

tekktrik commented 2 years ago

Thanks @anecdata, good catch! Changed the return to the number of bytes read!