mDot AT-Firmware for testing
Dependencies: MTS-Serial libmDot-mbed5
Fork of Dot-AT-Firmware by
CommandTerminal/CmdPreserveSession.h@9:ff62b20f7000, 2016-04-04 (annotated)
- Committer:
- Mike Fiore
- Date:
- Mon Apr 04 09:00:31 2016 -0500
- Revision:
- 9:ff62b20f7000
- Child:
- 14:f9a77400b622
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 | /* |
Mike Fiore |
9:ff62b20f7000 | 2 | * CmdPreserveSession.h |
Mike Fiore |
9:ff62b20f7000 | 3 | * |
Mike Fiore |
9:ff62b20f7000 | 4 | * Created on: Nov 4, 2015 |
Mike Fiore |
9:ff62b20f7000 | 5 | * Author: jreiss |
Mike Fiore |
9:ff62b20f7000 | 6 | */ |
Mike Fiore |
9:ff62b20f7000 | 7 | |
Mike Fiore |
9:ff62b20f7000 | 8 | #ifndef CMDPRESERVESESSION_H_ |
Mike Fiore |
9:ff62b20f7000 | 9 | #define CMDPRESERVESESSION_H_ |
Mike Fiore |
9:ff62b20f7000 | 10 | |
Mike Fiore |
9:ff62b20f7000 | 11 | #include "Command.h" |
Mike Fiore |
9:ff62b20f7000 | 12 | |
Mike Fiore |
9:ff62b20f7000 | 13 | class CmdPreserveSession : public Command { |
Mike Fiore |
9:ff62b20f7000 | 14 | public: |
Mike Fiore |
9:ff62b20f7000 | 15 | CmdPreserveSession(mDot* mdot, mts::MTSSerial& serial); |
Mike Fiore |
9:ff62b20f7000 | 16 | virtual ~CmdPreserveSession(); |
Mike Fiore |
9:ff62b20f7000 | 17 | virtual uint32_t action(std::vector<std::string> args); |
Mike Fiore |
9:ff62b20f7000 | 18 | virtual bool verify(std::vector<std::string> args); |
Mike Fiore |
9:ff62b20f7000 | 19 | |
Mike Fiore |
9:ff62b20f7000 | 20 | private: |
Mike Fiore |
9:ff62b20f7000 | 21 | mts::MTSSerial& _serial; |
Mike Fiore |
9:ff62b20f7000 | 22 | |
Mike Fiore |
9:ff62b20f7000 | 23 | }; |
Mike Fiore |
9:ff62b20f7000 | 24 | |
Mike Fiore |
9:ff62b20f7000 | 25 | #endif /* CMDPRESERVESESSION_H_ */ |