Closed smoczyna closed 1 year ago
The adafruit_httpserver library is designed to work with CPython-compatible circuitpython-native sockets (espressif and raspberrypi / Pico W). The sockets exposed by the ESP32SPI NINA firmware are based on Arduino and have a different API (no bind, listen, or accept).
There are examples of HTTP servers for Airlift, for example: https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI/tree/main/examples/server
We would like to redo the ESP32SPI library to be API compatible, but haven't done that yet. Maybe it would be a new library, since it would obsolete so much code.
all right, that example mentioned above work fine, thanks
Following assignment causes http sever to fail on start. Is the socket incompatible here ? The same issue happens in circuit python v7 and v8
error message: