带ARM mbed设备的WebSocket



该视频演示了如何将Websocket与ARM mbed设备一起使用。 首先,您在python中设置了一个龙卷风websocket服务器,然后使用带有javascript websockets的网页来验证服务器是否正常运行,最后使用支持ARM mbed的设备通过websockets连接到服务器。 websocket服务器是一个简单的反向回显服务器,您发送给它的任何内容都会发送回给您。 默认端口为8888。由于websockets基于http连接,因此服务器在地址ws://-serverIP-/ ws上接受websocket连接。 可以在以下视频中找到此视频中引用的网页:https://developer.mbed.org/cookbook/Websockets-Server。

1 comments
  1. It is a nice work, but I have a question, where is the web server socket ? does it run on PC or LPC device ? I mean can an embed enable device such as LPC1768 be the server ?

Comments are closed.