![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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/CmdResetStats.h@4:666017851052, 2015-08-18 (annotated)
- Committer:
- Mike Fiore
- Date:
- Tue Aug 18 11:21:43 2015 -0500
- Revision:
- 4:666017851052
- Child:
- 14:f9a77400b622
update mdot-firmware to 0.1.2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Mike Fiore |
4:666017851052 | 1 | #ifndef __CMDRESETSTATS_H__ |
Mike Fiore |
4:666017851052 | 2 | #define __CMDRESETSTATS_H__ |
Mike Fiore |
4:666017851052 | 3 | |
Mike Fiore |
4:666017851052 | 4 | #include "Command.h" |
Mike Fiore |
4:666017851052 | 5 | |
Mike Fiore |
4:666017851052 | 6 | class CmdResetStats : public Command { |
Mike Fiore |
4:666017851052 | 7 | |
Mike Fiore |
4:666017851052 | 8 | public: |
Mike Fiore |
4:666017851052 | 9 | |
Mike Fiore |
4:666017851052 | 10 | CmdResetStats(mDot* dot, mts::MTSSerial& serial); |
Mike Fiore |
4:666017851052 | 11 | virtual uint32_t action(std::vector<std::string> args); |
Mike Fiore |
4:666017851052 | 12 | |
Mike Fiore |
4:666017851052 | 13 | private: |
Mike Fiore |
4:666017851052 | 14 | |
Mike Fiore |
4:666017851052 | 15 | mts::MTSSerial& _serial; |
Mike Fiore |
4:666017851052 | 16 | mDot* _dot; |
Mike Fiore |
4:666017851052 | 17 | |
Mike Fiore |
4:666017851052 | 18 | }; |
Mike Fiore |
4:666017851052 | 19 | |
Mike Fiore |
4:666017851052 | 20 | #endif // __CMDRESETSTATS_H__ |