Webserver only w/o any other functions, single thread. Running on STM32F013+W5500
Dependencies: NTPClient W5500Interface Watchdog device_configuration eeprom_flash mbed-rpc-nucleo mbed-rtos mbed
Fork of F103-Serial-to-Ethernet by
Revision 44:4e8a9b466695, committed 2016-06-16
- Comitter:
- olympux
- Date:
- Thu Jun 16 21:51:38 2016 +0000
- Parent:
- 43:48ca8c6f6f49
- Child:
- 45:8d18a95fcf8a
- Commit message:
- Enable configured flag with RPC command
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
my_eeprom_funcs.lib | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Jun 16 21:44:22 2016 +0000 +++ b/main.cpp Thu Jun 16 21:51:38 2016 +0000 @@ -123,11 +123,15 @@ DBG("Saving IP address failed"); } } +void set_configuration(Arguments* args, Reply* rep){ + set_conf(); +} void reset_configuration(Arguments* args, Reply* rep){ reset_conf(); } // Attach it to an RPC object RPCFunction rpcSaveIPAddr(&save_ip_addr, "saveipaddr"); +RPCFunction rpcSetConfiguration(&set_configuration, "setconf"); RPCFunction rpcResetConfiguration(&reset_configuration, "resetconf"); // Serial
--- a/my_eeprom_funcs.lib Thu Jun 16 21:44:22 2016 +0000 +++ b/my_eeprom_funcs.lib Thu Jun 16 21:51:38 2016 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/olympux/code/my_eeprom_funcs/#17a44517b13d +http://mbed.org/users/olympux/code/my_eeprom_funcs/#126b1eb74709