pythings / Drivers

Some drivers for MicroPython
Apache License 2.0
63 stars 22 forks source link

WebSockets Support? #10

Open DroneMesh opened 3 years ago

DroneMesh commented 3 years ago

Hi,

First of all great work you have done here.

Would it be possible to use WebSockets with the network interface?

sarusso commented 3 years ago

Hi @DroneMesh,

thank you for your feedback!

What do you exactly mean by using WebSockets in this context? AFAIK WebSockets are for server-browser communication.

However, anything more than standard HTTP(S) which is implemented right now, would require moving to using PPoS first (see PR https://github.com/pythings/Drivers/pull/5), which reduce compatibility across the MicroPython ecosystem.

Maybe we could create an extended version of the driver to support these features as well.

ManishSahu53 commented 2 years ago

I also have similar query. I am trying to establish Webscoker connection using TCP connections. I am unable to do it but. I can get TCP connected but at server side, i am not getting any message. Can you guide how can i do websocket messaging here?