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.
SerialTerm.h
00001 class SerialTerm; 00002 00003 struct SerialTerm_Command 00004 { 00005 char *cmd; 00006 void (*func)(int argc, char **argv, Serial *s); 00007 SerialTerm_Command *next; 00008 }; 00009 00010 class SerialTerm 00011 { 00012 public: 00013 SerialTerm(Serial *s); 00014 00015 void Tick(void); 00016 void HandleCommand(void); 00017 void Add_Command(char *cmd, void (*func)(int argc, char **argv, Serial *s)); 00018 00019 SerialTerm_Command *First_Command; 00020 00021 Serial *serial; 00022 bool New_Row; 00023 char Command_Buffer[256]; 00024 int Command_Len; 00025 };
Generated on Tue Jul 19 2022 10:01:11 by
1.7.2