Chau Vo / device_configuration

Dependents:   F103-Web-Server

Fork of my_eeprom_funcs by Chau Vo

Revision:
13:7ffbbfe999c5
Parent:
12:613ab276bf37
Child:
14:17a44517b13d
--- a/my_eeprom_funcs.cpp	Sat Jan 10 16:19:18 2015 +0000
+++ b/my_eeprom_funcs.cpp	Thu Jun 16 19:20:49 2016 +0000
@@ -130,6 +130,7 @@
         sprintf(str_ip_addr, "%d.%d.%d.%d", u8ip_addr[0], u8ip_addr[1], u8ip_addr[2], u8ip_addr[3]);
         sprintf(str_ip_subnet, "%d.%d.%d.%d", (uint8_t)u16ip_subnet[0], (uint8_t)u16ip_subnet[1], (uint8_t)u16ip_subnet[2], (uint8_t)u16ip_subnet[3]);
         sprintf(str_ip_gateway, "%d.%d.%d.%d", (uint8_t)u16ip_gateway[0], (uint8_t)u16ip_gateway[1], (uint8_t)u16ip_gateway[2], (uint8_t)u16ip_gateway[3]);
+        sprintf(str_ip_gateway, "%x:%x:%x:%x:%x:%x", (uint8_t)u8mac[0], (uint8_t)u8mac[1], (uint8_t)u8mac[2], (uint8_t)u8mac[3], (uint8_t)u8mac[4], (uint8_t)u8mac[5]);
     }
     // if ip is not configured, use default addresses
     else {