few changes for RTS/CTS control
Dependencies: MTS-Serial libmDot mbed-rtos mbed
Fork of mDot_AT_firmware by
CommandTerminal/CmdResetStats.cpp
- Committer:
- Mike Fiore
- Date:
- 2015-08-18
- Revision:
- 4:666017851052
File content as of revision 4:666017851052:
#include "CmdResetStats.h" CmdResetStats::CmdResetStats(mDot* dot, mts::MTSSerial& serial) : Command(dot, "Reset Stats", "AT&R", "Reset statistics"), _serial(serial), _dot(dot) { _help = std::string(text()) + ": " + std::string(desc()); } uint32_t CmdResetStats::action(std::vector<std::string> args) { _dot->resetStats(); return 0; }