AT command interface for mdot forced to asia interfaces
Dependencies: MTS-Serial libmDot-mbed5
Fork of Dot-AT-Firmware by
CommandTerminal/CmdResetCpu.cpp
- Committer:
- brettsawyers
- Date:
- 2018-05-01
- Revision:
- 19:79c906b2c53c
- Parent:
- 14:f9a77400b622
File content as of revision 19:79c906b2c53c:
#include "CmdResetCpu.h" CmdResetCpu::CmdResetCpu() : Command("Reset CPU", "ATZ", "Reset the CPU", "NONE") { } uint32_t CmdResetCpu::action(std::vector<std::string> args) { CommandTerminal::Serial()->writef("\r\nOK\r\n"); wait(0.5); CommandTerminal::Dot()->resetCpu(); return 0; }