This mDot firmware will allow USB to directly utilize AT command without the need the use of RS232 DB9 port.
Dependencies: MTS-Serial libmDot mbed-rtos mbed
Fork of mDot_USB_AT_firmware by
CommandTerminal/CmdFactoryDefault.cpp
- Committer:
- ahario
- Date:
- 2016-10-19
- Revision:
- 14:eecf7851d6ff
- Parent:
- 1:e52ae6584f1c
File content as of revision 14:eecf7851d6ff:
#include "CmdFactoryDefault.h" CmdFactoryDefault::CmdFactoryDefault(mDot* dot) : Command(dot, "Reset Factory Defaults", "AT&F", "Reset current configuration to factory defaults") { _help = std::string(text()) + ": " + std::string(desc()); } uint32_t CmdFactoryDefault::action(std::vector<std::string> args) { _dot->resetConfig(); _dot->resetNetworkSession(); return 0; }