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:
- 7:4567996414a5
- Parent:
- 6:86e89a0369b9
- Child:
- 8:64ebb855005c
--- a/Websocket.cpp Wed Aug 29 15:27:51 2012 +0000 +++ b/Websocket.cpp Fri Feb 08 12:33:04 2013 +0000 @@ -1,7 +1,7 @@ #include "Websocket.h" -#define MAX_TRY_WRITE 50 -#define MAX_TRY_READ 30 +#define MAX_TRY_WRITE 20 +#define MAX_TRY_READ 10 //Debug is disabled by default #if 0