Forked ethernet interface library

Dependencies:   Socket lwip-eth lwip-sys lwip

Dependents:   CI-data-logger-server

Fork of EthernetInterface by mbed official

Revision:
55:894e18951229
Parent:
52:f81b90d9a441
--- a/EthernetInterface.h	Wed May 11 22:18:04 2016 +0000
+++ b/EthernetInterface.h	Sun Jun 18 03:31:42 2017 +0000
@@ -79,6 +79,20 @@
    * \return a pointer to a string containing the Network mask
    */
   static char* getNetworkMask();
+  
+  /** setName 
+  *
+  * Set the network name for this device. Apply this before
+  * calling 'connect'.
+  *
+  * \param myname is the name to assign for this node. 
+  *        Only the first 32 characters will be used if the 
+  *        name is longer.
+  *        Only '0'-'9', 'A'-'Z', 'a'-'z' are accepted,
+  *        any others are converted to '-'.
+  * \return 0 on success, a negative number on failure.
+  */
+  static int setName(const char * myname);
 };
 
 #include "TCPSocketConnection.h"