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
Diff: main.cpp
- Revision:
- 44:4e8a9b466695
- Parent:
- 43:48ca8c6f6f49
- Child:
- 45:8d18a95fcf8a
--- 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