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: DnsQuery
Dependents: WizFi310_TCP_Echo_Server_Example
Fork of NetworkSocketAPI by
Diff: NetworkInterface.h
- Revision:
- 94:644df37bb05b
- Parent:
- 93:65a9f84862f0
- Child:
- 95:b3c679f20d13
diff -r 65a9f84862f0 -r 644df37bb05b NetworkInterface.h
--- a/NetworkInterface.h Tue Apr 19 18:23:42 2016 -0500
+++ b/NetworkInterface.h Tue Apr 19 18:23:58 2016 -0500
@@ -20,6 +20,7 @@
#include "mbed.h"
#include "SocketAddress.h"
+
/** Enum of standardized error codes
* @enum ns_error_t
*/
@@ -50,6 +51,15 @@
NSAPI_UDP, /*!< Socket is of UDP type */
};
+/** Maximum size of MAC address representation
+ */
+#define NSAPI_MAC_SIZE 18
+
+/** Maximum number of bytes for MAC address
+ */
+#define NSAPI_MAC_BYTES 6
+
+
/** NetworkInterface class
* Common interface that is shared between all hardware that
* can connect to a network over IP.
