MaixPy-v1 icon indicating copy to clipboard operation
MaixPy-v1 copied to clipboard

usocket lack of socket.bind, socket.listen and socket.accept

Open rychong opened this issue 6 years ago • 3 comments

The usocket in Maixpy lack of functions such as socket.bind, socket.listen and socket.accept, thus Maixpy can't work as a server. More over, other package like upip etc. is still absense, we hope maixpy can support and integrate more drivers and package.

rychong avatar Apr 30 '19 13:04 rychong

After 1 year (with the 0.5 firmware version), Maixpy still doesn't have support for socket servers, I think like rychong, that it would be a very good new to have this options. I'm try to create a product using the Maix Dock, and I need to have a small WEB server running in the Maix Dock, this server would show a configuration page, to setup de WIFI SID, password, AND the IP of a server to send data acquired by the MaixPy.

mchuv avatar Jun 09 '20 08:06 mchuv

I also need this functionality. Looking forward to the fix!

alessandro-montanari avatar Dec 26 '20 15:12 alessandro-montanari

MaixPy uses SPI to communicate with ESP32. K210 is SPI master, ESP32 is SPI slave. There is no way for slave ESP32 to interrupt master K210. This is why MaixPy does not implement bind/listen/accept... server functionality.

JohnsonLuo-2019 avatar Mar 30 '21 05:03 JohnsonLuo-2019