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: mbed-rtos VodafoneUSBModem mbed
Console Class Reference
Console interface with line editing and command history. More...
#include <Console.h>
Inherited by ATConsole.
Public Member Functions | |
Console (Serial *terminal, int lineLength, int numLines, bool characterBased) | |
Construct an interface to a serial terminal. | |
virtual void | update () |
This is called by the instantiating program to update the console. | |
Protected Attributes | |
bool | _characterBased |
Whether or not this console is character based (true) or line based (false). |
Detailed Description
Console interface with line editing and command history.
Definition at line 27 of file Console.h.
Constructor & Destructor Documentation
Console | ( | Serial * | terminal, |
int | lineLength, | ||
int | numLines, | ||
bool | characterBased | ||
) |
Construct an interface to a serial terminal.
- Parameters:
-
terminal The serial device to interface to. lineLength The maximum line-length to process. numLines The number of lines to hold in the command-history. characterBased true for character based serial devices, false for line based.
Definition at line 4 of file Console.cpp.
Member Function Documentation
void update | ( | ) | [virtual] |
This is called by the instantiating program to update the console.
Reimplemented in ATConsole.
Definition at line 307 of file Console.cpp.
Field Documentation
bool _characterBased [protected] |
Generated on Sun Jul 31 2022 23:17:06 by
