mDot AT-Firmware for testing

Dependencies:   MTS-Serial libmDot-mbed5

Fork of Dot-AT-Firmware by MultiTech

Revision:
4:666017851052
Child:
14:f9a77400b622
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CommandTerminal/CmdResetStats.cpp	Tue Aug 18 11:21:43 2015 -0500
@@ -0,0 +1,16 @@
+#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;
+}
+