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.cpp
- Committer:
- Mike Fiore
- Date:
- 2015-08-18
- Revision:
- 4:666017851052
- Child:
- 14:f9a77400b622
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; }