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-mbed5
Fork of Dot-AT-Firmware by
CmdSaveConfig.cpp
00001 #include "CmdSaveConfig.h" 00002 00003 CmdSaveConfig::CmdSaveConfig() : Command("Save Configuration", "AT&W", "Save configuration to flash memory", "NONE") 00004 { 00005 } 00006 00007 00008 uint32_t CmdSaveConfig::action(std::vector<std::string> args) 00009 { 00010 if (!CommandTerminal::Dot()->saveConfig()) { 00011 CommandTerminal::setErrorMessage("Failed to save to flash"); 00012 return 1; 00013 } 00014 00015 return 0; 00016 }
Generated on Tue Jul 12 2022 20:40:04 by
