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.
Dependents: IoT_Ex BatteryModelTester BatteryModelTester
Fork of WiflyInterface by
Diff: Socket/TCPSocketConnection.h
- 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.
*/
