ch32v307 ETH有沒(méi)有websocket方面的例程

物聯(lián)網(wǎng)應用中,遇到websocket的需求,不知道屬于tcp例程方面還是屬于http例程,有沒(méi)有websocket的實(shí)現例程

希望協(xié)助,謝謝

?您好,我司官網(wǎng)例程中有WebServer相關(guān)例程可以參考。
EVT例程鏈接:http://www.fszrt.cn/downloads/CH32V307EVT_ZIP.html
image.png


Webclient的 例程嗎



Hello,


If someone wants to help me port a websocket library to CH32V307 will be very helpful.


I did find the library:

https://github.com/bsapundzhiev/ucwebsocket/tree/master


For now I did compile in Windows using Embarcadero DEV-C++ :

https://www.embarcadero.com/free-tools/dev-cpp/free-download

to compile and use the following client to test (after connect it send once at second a message

to server.?


You also need the WS2_32.Lib:

https://github.com/fmirus/torcs-1.3.7/blob/master/scr_server/WS2_32.Lib


The problem is that I get some errors when using Midori or Firefox. The library works best with Chrome.

I did start to analize the library to see where the errors occurs.?


But help from someone else to also test the library will

come handy. So after we make the library work well to port it to CH32V307 using the wchnet lib.


If someone want's me to send the project to test, just tell me.

Bogdan


@!您好,暫無(wú)webClient例程提供參考。


Hello @BNedelcu.

I will try to port websocket when I have time. I will let you know when it is done.

Can you send the results of your current project to the following email address yhr@wch.cn? I will refer to the contents.



Please check my humble implementation of?WEBSOCKETS, JSON, AJAX with CORS, and MODBUS TCP

in the gold CH32V307VCT6 microcontroller.


The AJAX is only light implemented, only sends an answer packet that obeys CORS rules, no received data parsing :D.


Hope someone will find usefulness in this.

愿財富和健康屬于你


https://github.com/NedelcuBogdanSebastian/CH32V307JSONMODBUSWEBSOCKETAJAX



https://github.com/NedelcuBogdanSebastian/CH32V307JSONMODBUSWEBSOCKETAJAX


看到stm32有例程,通過(guò)websocket.h的形式轉換,不過(guò)我加入后,怎么調都無(wú)法連接,有沒(méi)有也感興趣的朋友幫忙測試下


STM32 WebSocket Server

https://pegasus.blog.csdn.net/article/details/119840329


只有登錄才能回復,可以選擇微信賬號登錄
97精品依人久久久大香线蕉97-亚洲欧美日韩一区二区三区-国产亚洲欧美精品久久久-久久99精品久久久大学生-亚洲成a人片在线不卡一二三区 97精品依人久久久大香线蕉97-亚洲欧美日韩一区二区三区-国产亚洲欧美精品久久久-久久99精品久久久大学生-亚洲成a人片在线不卡一二三区