AT terminal for the mDot using the USB debug port instead of the serial port.

Dependencies:   MTS-Serial libmDot-mbed5

Fork of Dot-AT-Firmware by MultiTech

CommandTerminal/CmdRestoreSession.cpp

Committer:
Mike Fiore
Date:
2016-11-04
Revision:
14:f9a77400b622
Parent:
9:ff62b20f7000

File content as of revision 14:f9a77400b622:

#include "CmdRestoreSession.h"

CmdRestoreSession::CmdRestoreSession() :
    Command("Restore Network Session", "AT+RS", "Restore network session info from flash", "NONE")
{
}

uint32_t CmdRestoreSession::action(std::vector<std::string> args)
{
    CommandTerminal::Dot()->restoreNetworkSession();
    return 0;
}