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:
- 17:c4f0e141bdbd
- Parent:
- 16:a8c6ee37356f
- Child:
- 18:49cfd9b4e060
diff -r a8c6ee37356f -r c4f0e141bdbd Websocket.cpp --- a/Websocket.cpp Thu Apr 07 16:05:52 2016 +0000 +++ b/Websocket.cpp Thu Apr 07 17:02:56 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