AT command firmware for MultiTech Dot devices.

Fork of mDot_AT_firmware by MultiTech

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers CmdResetStats.cpp Source File

CmdResetStats.cpp

00001 #include "CmdResetStats.h"
00002 
00003 CmdResetStats::CmdResetStats() :
00004 #if MTS_CMD_TERM_VERBOSE
00005     Command("Reset Stats", "AT&R", "Reset statistics", "NONE")
00006 #else
00007     Command("AT&R")
00008 #endif
00009 {
00010 }
00011 
00012 uint32_t CmdResetStats::action(const std::vector<std::string>& args) {
00013 
00014     CommandTerminal::Dot()->resetStats();
00015     return 0;
00016 }
00017