few changes for RTS/CTS control

Dependencies:   MTS-Serial libmDot mbed-rtos mbed

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(mDot* dot, mts::MTSSerial& serial) :
00004     Command(dot, "Restore Network Session", "AT+RS", "Restore network session info from flash"), _serial(serial)
00005 {
00006     _help = std::string(text()) + ": " + std::string(desc());
00007 }
00008 
00009 uint32_t CmdRestoreSession::action(std::vector<std::string> args)
00010 {
00011     _dot->restoreNetworkSession();
00012     return 0;
00013 }
00014