EthernetInterface patched with https://github.com/mbedmicro/mbed/commit/8222bde1af2e328e4c58d0f438827f3091e5e0eb
Dependencies: Socket lwip-eth-ansond-patched lwip-sys lwip-ansond-patched
Dependents: df-2013-thermostat-handson df-2013-minihack-thermostat-complete df-2013-minihack-thermostat df-2013-thermostat-remotes
Fork of EthernetInterface by
Diff: EthernetInterface.h
- Revision:
- 35:cba86db5ab96
- Parent:
- 30:4d7d7dc8485f
--- 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"