Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: libmDot-Custom MTS-Serial
Fork of mDot_AT_firmware_CUSTOM by
To change channel plans replace AS923 with AU915, EU868, KR920 or US915 on line 15
#define CHANNEL_PLAN CP_AS923
CommandTerminal/CmdResetStats.cpp@14:e80ace5a6834, 2016-08-29 (annotated)
- Committer:
- Jason Reiss
- Date:
- Mon Aug 29 10:05:41 2016 -0500
- Revision:
- 14:e80ace5a6834
- Parent:
- 4:666017851052
Update commands
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Mike Fiore |
4:666017851052 | 1 | #include "CmdResetStats.h" |
| Mike Fiore |
4:666017851052 | 2 | |
| Jason Reiss |
14:e80ace5a6834 | 3 | CmdResetStats::CmdResetStats() |
| Mike Fiore |
4:666017851052 | 4 | : |
| Jason Reiss |
14:e80ace5a6834 | 5 | Command("Reset Stats", "AT&R", "Reset statistics", "NONE") { |
| Mike Fiore |
4:666017851052 | 6 | } |
| Mike Fiore |
4:666017851052 | 7 | |
| Mike Fiore |
4:666017851052 | 8 | uint32_t CmdResetStats::action(std::vector<std::string> args) { |
| Mike Fiore |
4:666017851052 | 9 | |
| Jason Reiss |
14:e80ace5a6834 | 10 | CommandTerminal::Dot()->resetStats(); |
| Mike Fiore |
4:666017851052 | 11 | return 0; |
| Mike Fiore |
4:666017851052 | 12 | } |
| Mike Fiore |
4:666017851052 | 13 |
