few changes for RTS/CTS control
Dependencies: MTS-Serial libmDot mbed-rtos mbed
Fork of mDot_AT_firmware by
CommandTerminal/CmdSerialClearOnError.h@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 | #ifndef __CMDSERIALCLEARONERROR_H__ |
Mike Fiore |
9:ff62b20f7000 | 2 | #define __CMDSERIALCLEARONERROR_H__ |
Mike Fiore |
9:ff62b20f7000 | 3 | |
Mike Fiore |
9:ff62b20f7000 | 4 | #include "Command.h" |
Mike Fiore |
9:ff62b20f7000 | 5 | |
Mike Fiore |
9:ff62b20f7000 | 6 | class CmdSerialClearOnError : public Command { |
Mike Fiore |
9:ff62b20f7000 | 7 | |
Mike Fiore |
9:ff62b20f7000 | 8 | public: |
Mike Fiore |
9:ff62b20f7000 | 9 | |
Mike Fiore |
9:ff62b20f7000 | 10 | CmdSerialClearOnError(mDot* dot, mts::MTSSerial& serial); |
Mike Fiore |
9:ff62b20f7000 | 11 | virtual uint32_t action(std::vector<std::string> args); |
Mike Fiore |
9:ff62b20f7000 | 12 | virtual bool verify(std::vector<std::string> args); |
Mike Fiore |
9:ff62b20f7000 | 13 | |
Mike Fiore |
9:ff62b20f7000 | 14 | private: |
Mike Fiore |
9:ff62b20f7000 | 15 | mts::MTSSerial& _serial; |
Mike Fiore |
9:ff62b20f7000 | 16 | }; |
Mike Fiore |
9:ff62b20f7000 | 17 | |
Mike Fiore |
9:ff62b20f7000 | 18 | #endif // __CMDSERIALCLEARONERROR_H__ |