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.
Dependencies: Socket lwip-eth lwip-sys lwip
Dependents: Internet_LCD_Clock
Fork of EthernetInterface by
Diff: EthernetInterface.h
- Revision:
- 35:cba86db5ab96
- Parent:
- 30:4d7d7dc8485f
- Child:
- 37:926eb6517318
--- a/EthernetInterface.h Tue Oct 01 11:29:54 2013 +0000
+++ b/EthernetInterface.h Wed Oct 09 12:00:18 2013 +0100
@@ -69,6 +69,16 @@
* \return a pointer to a string containing the IP address
*/
static char* getIPAddress();
+
+ /** Get the Gateway address of your Ethernet interface
+ * \return a pointer to a string containing the Gateway address
+ */
+ static char* getGateway();
+
+ /** Get the Network mask of your Ethernet interface
+ * \return a pointer to a string containing the Network mask
+ */
+ static char* getNetworkMask();
};
#include "TCPSocketConnection.h"
