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
CommandTerminal/CmdRestoreSession.cpp@18:f5d28d621bb0, 2018-03-02 (annotated)
- Committer:
- pferland
- Date:
- Fri Mar 02 20:01:38 2018 +0000
- Revision:
- 18:f5d28d621bb0
- Parent:
- 14:f9a77400b622
Added ability to force the AT terminal to use the USB debug port
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 |
14:f9a77400b622 | 3 | CmdRestoreSession::CmdRestoreSession() : |
Mike Fiore |
14:f9a77400b622 | 4 | Command("Restore Network Session", "AT+RS", "Restore network session info from flash", "NONE") |
Mike Fiore |
9:ff62b20f7000 | 5 | { |
Mike Fiore |
9:ff62b20f7000 | 6 | } |
Mike Fiore |
9:ff62b20f7000 | 7 | |
Mike Fiore |
9:ff62b20f7000 | 8 | uint32_t CmdRestoreSession::action(std::vector<std::string> args) |
Mike Fiore |
9:ff62b20f7000 | 9 | { |
Mike Fiore |
14:f9a77400b622 | 10 | CommandTerminal::Dot()->restoreNetworkSession(); |
Mike Fiore |
9:ff62b20f7000 | 11 | return 0; |
Mike Fiore |
9:ff62b20f7000 | 12 | } |
Mike Fiore |
9:ff62b20f7000 | 13 |