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.h
- Revision:
- 14:17a44517b13d
- Parent:
- 13:7ffbbfe999c5
- Child:
- 15:126b1eb74709
--- a/my_eeprom_funcs.h Thu Jun 16 19:20:49 2016 +0000 +++ b/my_eeprom_funcs.h Thu Jun 16 21:43:32 2016 +0000 @@ -47,7 +47,7 @@ // Device configuration extern uint16_t u16ip_addr[], u16ip_subnet[], u16ip_gateway[], u16mac_addr[]; // 16-bits, directly loaded from eeprom -extern char str_ip_addr[], str_ip_subnet[], str_ip_gateway[], str_mac[]; // for printf and RPC, converted from 16-bits u16ip_xxx +extern char str_ip_addr[], str_ip_subnet[], str_ip_gateway[], str_mac_addr[]; // for printf and RPC, converted from 16-bits u16ip_xxx extern uint8_t u8ip_addr[];// keep ip address in 8-bits extern uint16_t configured_ip; // flag indicates a static ip has been configured 0xA5A5 extern uint8_t u8mac[]; // mac in 8-bits @@ -71,4 +71,7 @@ void write_eeprom_tcpserver(char* buf); void load_eeprom_tcpserver(void); +void save_ip_addr(char* buf); +void reset_conf(); + #endif
