Dependencies:   MTS-Serial libmDot-mbed5

Fork of Dot-AT-Firmware by MultiTech

CommandTerminal/CmdSaveSession.cpp

Committer:
brettsawyers
Date:
2018-05-01
Revision:
19:79c906b2c53c
Parent:
14:f9a77400b622

File content as of revision 19:79c906b2c53c:

#include "CmdSaveSession.h"

CmdSaveSession::CmdSaveSession() :
    Command("Save Network Session", "AT+SS", "Save network session info to flash", "NONE")
{
}

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