
This mDot firmware will allow USB to directly utilize AT command without the need the use of RS232 DB9 port.
Dependencies: MTS-Serial libmDot mbed-rtos mbed
Fork of mDot_USB_AT_firmware by
CommandTerminal/CmdResetStats.cpp
- Committer:
- ahario
- Date:
- 2016-10-19
- Revision:
- 14:eecf7851d6ff
- Parent:
- 4:666017851052
File content as of revision 14:eecf7851d6ff:
#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; }