NetworkSocketAPI
Dependents: HelloWizFi250Interface
Fork of NetworkSocketAPI by
Diff: NetworkInterface.h
- Revision:
- 94:644df37bb05b
- Parent:
- 93:65a9f84862f0
- Child:
- 95:b3c679f20d13
--- 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.