NetworkSocketAPI
Dependents: HelloWizFi250Interface
Fork of NetworkSocketAPI by
Diff: SocketAddress.h
- Revision:
- 114:964eba6394bc
- Parent:
- 105:2fd212f8da61
--- a/SocketAddress.h Wed Apr 20 11:04:24 2016 -0500 +++ b/SocketAddress.h Wed Apr 20 11:07:19 2016 -0500 @@ -28,6 +28,14 @@ */ #define NSAPI_IP_BYTES NSAPI_IPv6_BYTES +/** Maximum size of MAC address representation + */ +#define NSAPI_MAC_SIZE 18 + +/** Maximum number of bytes for MAC address + */ +#define NSAPI_MAC_BYTES 6 + /** Enum of IP address versions * * The IP version specifies the type of an IP address.