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.
Dependencies: EthernetInterface mbed-rtos mbed
telnet_reset.cpp
00001 #include "TelnetServer.h" 00002 00003 extern "C" void mbed_reset(); 00004 00005 char *header_msg_reset = "Resetting..."; 00006 00007 00008 int TelnetServer::ResetCommand(TCPSocketConnection *conn,char** argv,int argc) 00009 { 00010 00011 conn->send(header_msg_reset,strlen(header_msg_reset)); 00012 00013 conn->close(); 00014 00015 delete conn; 00016 00017 mbed_reset(); 00018 00019 return 0; 00020 }
Generated on Fri Jul 15 2022 22:11:24 by
1.7.2