MultiTech / Mbed OS Dot-AT-Firmware

Fork of mDot_AT_firmware by MultiTech

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers CmdRestoreSession.cpp Source File

CmdRestoreSession.cpp

00001 #include "CmdRestoreSession.h"
00002 
00003 CmdRestoreSession::CmdRestoreSession() :
00004 #if MTS_CMD_TERM_VERBOSE
00005     Command("Restore Network Session", "AT+RS", "Restore network session info from flash", "NONE")
00006 #else
00007     Command("AT+RS")
00008 #endif
00009 {
00010 }
00011 
00012 uint32_t CmdRestoreSession::action(const std::vector<std::string>& args)
00013 {
00014     CommandTerminal::Dot()->restoreNetworkSession();
00015     return 0;
00016 }
00017