websocket client for mbed
Dependencies: C12832_lcd EthernetInterface WebSocketClient mbed-rtos mbed
Revision 1:c15b0540e252, committed 2018-08-27
- Comitter:
- MohamadNazrin
- Date:
- Mon Aug 27 07:52:10 2018 +0000
- Parent:
- 0:f36d489a4172
- Commit message:
- websocket
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r f36d489a4172 -r c15b0540e252 main.cpp --- 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();