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-Serial libmDot mbed-rtos mbed-src
Fork of mDot_AT_firmware by
CmdFactoryDefault.cpp
00001 #include "CmdFactoryDefault.h" 00002 00003 CmdFactoryDefault::CmdFactoryDefault(mDot* dot) : Command(dot, "Reset Factory Defaults", "AT&F", "Reset current configuration to factory defaults") 00004 { 00005 _help = std::string(text()) + ": " + std::string(desc()); 00006 } 00007 00008 00009 uint32_t CmdFactoryDefault::action(std::vector<std::string> args) 00010 { 00011 _dot->resetConfig(); 00012 _dot->resetNetworkSession(); 00013 return 0; 00014 } 00015
Generated on Tue Jul 12 2022 21:40:57 by
1.7.2
