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: lib_Transmission
main.cpp
00001 #include "main.h" 00002 00003 int main(void) 00004 { 00005 while(1) ThisThread::sleep_for(200ms); 00006 } 00007 00008 string transmission_processing(string cmd) 00009 { 00010 ostringstream ssend; 00011 ssend << fixed; 00012 ssend.precision(2); 00013 if(cmd.empty()); 00014 else if(cmd == "*IDN?") 00015 ssend << MBED_PROJECT << ", Mbed OS " << MBED_VERSION << ", Version dated, " << __DATE__ << ", " << __TIME__; 00016 else if(cmd[cmd.size()-1] == '?') 00017 ssend << "incorrect requeste [" << cmd << "]"; 00018 return ssend.str(); 00019 }
Generated on Thu Jul 21 2022 16:04:14 by
1.7.2