with 36errors

Dependencies:   MTS-Serial libxDot-dev-mbed5-deprecated

Fork of Dot-AT-Firmware by MultiTech

Revision:
14:f9a77400b622
Parent:
9:ff62b20f7000
--- 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;
 }