Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of WebSocketClient by
Diff: Websocket.cpp
- Revision:
- 21:420b83755885
- Parent:
- 20:ae675d49fa7f
- Child:
- 22:d2c00e47527c
- Child:
- 23:0d7b33cd11f9
--- a/Websocket.cpp	Tue Jun 28 16:22:40 2016 +0000
+++ b/Websocket.cpp	Fri Aug 05 13:31:48 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
@@ -48,6 +48,7 @@
 
 void Websocket::setBaud(int baudrate){
     socket.setBaud(baudrate);
+    DBG("Baud Rate set to: %d", baudrate);
     return;
 }
 
    