Versão estável sem DMA e FFT. 128 amostras.

Dependencies:   EthernetInterface NTPClient mbed-rtos mbed

Codes/TelnetCommands/telnet_reset.cpp

Committer:
rebonatto
Date:
2016-01-05
Revision:
0:fac116e94d44

File content as of revision 0:fac116e94d44:

#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;
}