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
Diff: CommandTerminal/CmdRestoreSession.cpp
- Revision:
- 14:f9a77400b622
- Parent:
- 9:ff62b20f7000
diff -r b0f5ae12dc05 -r f9a77400b622 CommandTerminal/CmdRestoreSession.cpp
--- a/CommandTerminal/CmdRestoreSession.cpp Fri Nov 04 19:10:24 2016 +0000
+++ b/CommandTerminal/CmdRestoreSession.cpp Fri Nov 04 14:25:43 2016 -0500
@@ -1,14 +1,13 @@
#include "CmdRestoreSession.h"
-CmdRestoreSession::CmdRestoreSession(mDot* dot, mts::MTSSerial& serial) :
- Command(dot, "Restore Network Session", "AT+RS", "Restore network session info from flash"), _serial(serial)
+CmdRestoreSession::CmdRestoreSession() :
+ Command("Restore Network Session", "AT+RS", "Restore network session info from flash", "NONE")
{
- _help = std::string(text()) + ": " + std::string(desc());
}
uint32_t CmdRestoreSession::action(std::vector<std::string> args)
{
- _dot->restoreNetworkSession();
+ CommandTerminal::Dot()->restoreNetworkSession();
return 0;
}
