This mDot firmware will allow USB to directly utilize AT command without the need the use of RS232 DB9 port.

Dependencies:   MTS-Serial libmDot mbed-rtos mbed

Fork of mDot_USB_AT_firmware by Hadi Ho

Committer:
ahario
Date:
Wed Oct 19 10:26:54 2016 +0000
Revision:
14:eecf7851d6ff
Parent:
9:ff62b20f7000
Update from libmDot has overwritten the orginal main.cpp; ; Main.cpp has been updated again to allow AT command to be accessed via USB

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Mike Fiore 9:ff62b20f7000 1 #include "CmdSaveSession.h"
Mike Fiore 9:ff62b20f7000 2
Mike Fiore 9:ff62b20f7000 3 CmdSaveSession::CmdSaveSession(mDot* dot, mts::MTSSerial& serial) :
Mike Fiore 9:ff62b20f7000 4 Command(dot, "Save Network Session", "AT+SS", "Save network session info to flash"), _serial(serial)
Mike Fiore 9:ff62b20f7000 5 {
Mike Fiore 9:ff62b20f7000 6 _help = std::string(text()) + ": " + std::string(desc());
Mike Fiore 9:ff62b20f7000 7 }
Mike Fiore 9:ff62b20f7000 8
Mike Fiore 9:ff62b20f7000 9 uint32_t CmdSaveSession::action(std::vector<std::string> args)
Mike Fiore 9:ff62b20f7000 10 {
Mike Fiore 9:ff62b20f7000 11 _dot->saveNetworkSession();
Mike Fiore 9:ff62b20f7000 12 return 0;
Mike Fiore 9:ff62b20f7000 13 }
Mike Fiore 9:ff62b20f7000 14