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: MTS-Serial libxDot-mbed5
CmdTxNextMs.cpp
00001 #include "CmdTxNextMs.h" 00002 00003 CmdTxNextMs::CmdTxNextMs() 00004 : Command("Tx Next", "AT+TXN", "Get time in ms until next free channel", "(0-2793000)") { 00005 _queryable = true; 00006 } 00007 00008 uint32_t CmdTxNextMs::action(std::vector<std::string> args) { 00009 00010 CommandTerminal::Serial()->writef("%lu\r\n", CommandTerminal::Dot()->getNextTxMs()); 00011 return 0; 00012 } 00013 00014 bool CmdTxNextMs::verify(std::vector<std::string> args) { 00015 00016 if (args.size() > 1) 00017 return false; 00018 00019 return true; 00020 }
Generated on Tue Jul 12 2022 23:49:49 by
