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.
Diff: UipEthernet.cpp
- Revision:
- 13:95c00132cd98
- Parent:
- 11:647d53d146f1
- Child:
- 14:7648334eb41b
diff -r 1dd995402b99 -r 95c00132cd98 UipEthernet.cpp
--- a/UipEthernet.cpp Fri Aug 30 19:15:42 2019 +0000
+++ b/UipEthernet.cpp Sat Aug 31 20:34:52 2019 +0000
@@ -151,6 +151,17 @@
* @param
* @retval
*/
+void UipEthernet::disconnect()
+{
+ ethernet = NULL;
+}
+
+/**
+ * @brief
+ * @note
+ * @param
+ * @retval
+ */
void UipEthernet::set_network(const char *ip_address, const char *netmask, const char *gateway)
{
_ip = IpAddress(ip_address, strlen(ip_address));