W5500 driver for mbed OS 5
Dependents: http-webserver-example mbed-os-example-sockets
Fork of W5500Interface by
Diff: W5500Interface.h
- Revision:
- 10:925201b1603f
- Parent:
- 8:c71c66d43703
- Child:
- 11:5118c2bff025
diff -r 351e20cf7d05 -r 925201b1603f W5500Interface.h --- a/W5500Interface.h Fri Aug 10 08:51:31 2018 +0000 +++ b/W5500Interface.h Mon Aug 13 02:30:22 2018 +0000 @@ -84,6 +84,9 @@ * @return IP address of the interface or null if not yet connected */ virtual const char *get_ip_address(); + virtual const char *get_netmask(); + virtual const char *get_gateway(); + /** Get MAC address and fill mac with it. */ @@ -266,8 +269,8 @@ WIZnet_Chip _w5500; char ip_string[20]; - char mask_string[20]; - char gw_string[20]; + char netmask_string[20]; + char gateway_string[20]; char mac_string[20]; bool ip_set;