websocket client for mbed
Dependencies: C12832_lcd EthernetInterface WebSocketClient mbed-rtos mbed
Diff: main.cpp
- Revision:
- 1:c15b0540e252
- Parent:
- 0:f36d489a4172
--- a/main.cpp Wed Mar 07 09:06:58 2018 +0000 +++ b/main.cpp Mon Aug 27 07:52:10 2018 +0000 @@ -17,6 +17,8 @@ eth.connect(); printf("IP Address is %s\n", eth.getIPAddress()); // display at terminal lcd.printf("IP address: %s \n",eth.getIPAddress()); // display LCD screen + + // websocket Websocket ws("ws://192.168.1.109:8000/ws"); bool c = ws.connect();