few changes for RTS/CTS control
Dependencies: MTS-Serial libmDot mbed-rtos mbed
Fork of mDot_AT_firmware by
CommandTerminal/CmdRestoreSession.cpp@11:77b7911263da, 2016-10-25 (annotated)
- Committer:
- serg838
- Date:
- Tue Oct 25 05:39:39 2016 +0000
- Revision:
- 11:77b7911263da
- Parent:
- 9:ff62b20f7000
RTS/CTS changes
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 |