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 - Added SerialCommPort
Fork of WebSocketClient by
Diff: Websocket.cpp
- Revision:
- 13:152b70450615
- Parent:
- 12:0979caf96fa6
- Child:
- 14:bf42271bde6a
--- a/Websocket.cpp Thu Mar 31 12:43:30 2016 +0000 +++ b/Websocket.cpp Thu Mar 31 14:12:33 2016 +0000 @@ -232,7 +232,7 @@ } -bool Websocket::read(char * message) { +bool Websocket::readmsg(char * message) { int i = 0; uint32_t len_msg; char opcode = 0;