mDot AT-Firmware for testing
Dependencies: MTS-Serial libmDot-mbed5
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; }