ESP32 websocket with micropython
Posted: Mon Mar 13, 2023 8:53 am
Hi, I've been trying to work with websocket with async [uasyncio ] with websocket in micropython for 2 weeks now. So far no luck.
the one's I'm able to run properly, they have limitations that I cannot do another work concurrently using.
I tried various libraries like MicroWebSrv, MicroWebSrv2, picoweb.
what I was trying to do is:
make a server [access point], which accepts connection of the client, do some calculations like simple sum of 2 numbers, then send it back to client. and one client will be able to talk with another client.
Any idea or suggestions please?
the one's I'm able to run properly, they have limitations that I cannot do another work concurrently using
Code: Select all
asyncio.create_task
I tried various libraries like MicroWebSrv, MicroWebSrv2, picoweb.
what I was trying to do is:
make a server [access point], which accepts connection of the client, do some calculations like simple sum of 2 numbers, then send it back to client. and one client will be able to talk with another client.
Any idea or suggestions please?