Simple websocket client based on the original with a few added features such as: - setBaud() - set the baud rate for the communication - Initialize() - mimics the constructor - chaged read() to readmsg() to avoid confusion with other functions
Dependents: IoT_Ex BatteryModelTester BatteryModelTester
Fork of WebSocketClient by
Diff: Websocket.cpp
- Revision:
- 10:fc40c56e8a3c
- Parent:
- 9:da7c2b9480c5
- Child:
- 11:85bff70bab45
diff -r da7c2b9480c5 -r fc40c56e8a3c Websocket.cpp --- a/Websocket.cpp Fri Mar 25 12:36:05 2016 +0000 +++ b/Websocket.cpp Wed Mar 30 09:05:44 2016 +0000 @@ -338,7 +338,7 @@ if (idx == len) return len; } - + WARN("Websocket::write.idx on exit: %d", idx); return (idx == 0) ? -1 : idx; }