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:
pferland
Date:
2018-03-02
Revision:
18:f5d28d621bb0
Parent:
14:f9a77400b622

File content as of revision 18:f5d28d621bb0:

#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;
}