few changes for RTS/CTS control
Dependencies: MTS-Serial libmDot mbed-rtos mbed
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 16:01:22 by 1.7.2