
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
CommandTerminal/CmdRestoreSession.cpp@9:ff62b20f7000, 2016-04-04 (annotated)
- Committer:
- Mike Fiore
- Date:
- Mon Apr 04 09:00:31 2016 -0500
- Revision:
- 9:ff62b20f7000
update to version 1.0.8 of AT firmware
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Mike Fiore |
9:ff62b20f7000 | 1 | #include "CmdRestoreSession.h" |
Mike Fiore |
9:ff62b20f7000 | 2 | |
Mike Fiore |
9:ff62b20f7000 | 3 | CmdRestoreSession::CmdRestoreSession(mDot* dot, mts::MTSSerial& serial) : |
Mike Fiore |
9:ff62b20f7000 | 4 | Command(dot, "Restore Network Session", "AT+RS", "Restore network session info from 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 CmdRestoreSession::action(std::vector<std::string> args) |
Mike Fiore |
9:ff62b20f7000 | 10 | { |
Mike Fiore |
9:ff62b20f7000 | 11 | _dot->restoreNetworkSession(); |
Mike Fiore |
9:ff62b20f7000 | 12 | return 0; |
Mike Fiore |
9:ff62b20f7000 | 13 | } |
Mike Fiore |
9:ff62b20f7000 | 14 |