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
CmdIdentification.cpp
00001 #include "CmdIdentification.h" 00002 #include "at_version.h" 00003 00004 CmdIdentification::CmdIdentification() : Command("Request Id", "ATI", "Request Identification", "NONE") 00005 { 00006 } 00007 00008 uint32_t CmdIdentification::action(std::vector<std::string> args) 00009 { 00010 std::string version = AT_APPLICATION_VERSION; 00011 #ifdef DEBUG_MAC 00012 version += "-debug"; 00013 #endif 00014 #if defined(TARGET_MTS_MDOT_F411RE) 00015 CommandTerminal::Serial()->writef("MultiTech mDot\r\n"); 00016 #else 00017 CommandTerminal::Serial()->writef("MultiTech xDot\r\n"); 00018 #endif /* TARGET_MTS_MDOT_F411RE */ 00019 CommandTerminal::Serial()->writef("Firmware: %s\r\n", version.c_str()); 00020 CommandTerminal::Serial()->writef("Library : %s\r\n", CommandTerminal::Dot()->getId().c_str()); 00021 00022 return 0; 00023 }
Generated on Tue Jul 12 2022 20:42:47 by
1.7.2
