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.
Fork of my_eeprom_funcs by
Diff: my_eeprom_funcs.cpp
- Revision:
- 13:7ffbbfe999c5
- Parent:
- 12:613ab276bf37
- Child:
- 14:17a44517b13d
diff -r 613ab276bf37 -r 7ffbbfe999c5 my_eeprom_funcs.cpp
--- 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 {
    