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 CmdReceiveOnce.cpp Source File

CmdReceiveOnce.cpp

00001 #include "CmdReceiveOnce.h"
00002 #include "CommandTerminal.h"
00003 
00004 CmdReceiveOnce::CmdReceiveOnce() :
00005 #if MTS_CMD_TERM_VERBOSE
00006     Command("Receive Once", "AT+RECV", "Receive and display one packet.", "(string:242) or (hex:242)")
00007 #else
00008     Command("AT+RECV")
00009 #endif
00010 {}
00011 
00012 uint32_t CmdReceiveOnce::action(const std::vector<std::string>& args) {
00013     printRecvData();
00014     return 0;
00015 }