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.cpp
- Revision:
- 26:eaaedb036df1
- Parent:
- 23:cb8522185c56
diff -r 36b2d76ca8d9 -r eaaedb036df1 Socket/TCPSocketConnection.cpp
--- a/Socket/TCPSocketConnection.cpp Thu Mar 31 16:22:37 2016 +0000
+++ b/Socket/TCPSocketConnection.cpp Fri Apr 01 00:55:36 2016 +0000
@@ -30,6 +30,13 @@
return 0;
}
+void TCPSocketConnection::setBaud(int baudrate)
+{
+ wifi->setBaud(baudrate);
+ wifi->exit();
+ return;
+}
+
bool TCPSocketConnection::is_connected(void)
{
return wifi->is_connected();
