Versão estável sem DMA e FFT. 128 amostras.
Dependencies: EthernetInterface NTPClient mbed-rtos mbed
Diff: Codes/TelnetCommands/telnet_reset.cpp
- Revision:
- 0:fac116e94d44
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Codes/TelnetCommands/telnet_reset.cpp Tue Jan 05 11:47:35 2016 +0000 @@ -0,0 +1,19 @@ +#include "TelnetServer.h" +#include "Pmed_reset.h" + +char *header_msg_reset = "Resetting..."; + + +int TelnetServer::ResetCommand(TCPSocketConnection *conn,char** argv,int argc) +{ + + conn->send(header_msg_reset,strlen(header_msg_reset)); + + conn->close(); + + delete conn; + + Pmed_reset(PMEDLOG_RESETTELNET); + + return 0; +} \ No newline at end of file