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 Samuel Mokrani

Revision:
24:6f30d0c4ff7b
Parent:
23:0d7b33cd11f9
Child:
25:4a98a3b83b87
--- a/Websocket.cpp	Tue Oct 04 13:57:18 2016 +0000
+++ b/Websocket.cpp	Tue Oct 04 15:48:42 2016 +0000
@@ -3,7 +3,7 @@
 #define MAX_TRY_WRITE 20
 #define MAX_TRY_READ 10
 
-#define DEBUG
+//#define DEBUG
 #define WARNMESSAGES
 #define ERRMESSAGES
 #define INFOMESSAGES