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: MTS_SPI libmDot-dev-mbed5-deprecated
Fork of Dot-AT-Firmware by
CommandTerminal/CmdFactoryDefault.cpp
- Committer:
- Mike Fiore
- Date:
- 2016-11-04
- Revision:
- 14:f9a77400b622
- Parent:
- 1:e52ae6584f1c
File content as of revision 14:f9a77400b622:
#include "CmdFactoryDefault.h"
CmdFactoryDefault::CmdFactoryDefault() : Command("Reset Factory Defaults", "AT&F", "Reset current configuration to factory defaults", "NONE")
{
}
uint32_t CmdFactoryDefault::action(std::vector<std::string> args)
{
CommandTerminal::Dot()->resetConfig();
CommandTerminal::Dot()->resetNetworkSession();
return 0;
}
