- Added messages

Fork of WiflyInterface by Damien Frost

Revision:
26:eaaedb036df1
Parent:
1:fb4494783863
--- a/Socket/TCPSocketConnection.h	Thu Mar 31 16:22:37 2016 +0000
+++ b/Socket/TCPSocketConnection.h	Fri Apr 01 00:55:36 2016 +0000
@@ -39,6 +39,11 @@
     */
     int connect(const char* host, const int port);
     
+    /** Sets the baudrate of the serial port used to communicate with the ethernet/wifi adapter
+    \param baudrate The baudrate that the connection should be set to. Valid values are: 2400, 4800, 9600, 19200, 38400, 115200, 230400, 460800, 921600 do NOT go above 230400
+    */
+    void setBaud(int baudrate);
+    
     /** Check if the socket is connected
     \return true if connected, false otherwise.
     */