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:
- 19:aa3d163e457e
- Parent:
- 18:49cfd9b4e060
- Child:
- 20:ae675d49fa7f
diff -r 49cfd9b4e060 -r aa3d163e457e Websocket.cpp --- a/Websocket.cpp Wed May 04 14:31:32 2016 +0000 +++ b/Websocket.cpp Wed May 04 22:08:35 2016 +0000 @@ -3,7 +3,7 @@ #define MAX_TRY_WRITE 20 #define MAX_TRY_READ 10 -#define DEBUG +// #define DEBUG #define INFOMESSAGES //Debug is disabled by default #ifdef DEBUG