LoRA production board

Dependencies:   mbed LoRaWAN-lib SX1272Liby

Fork of frdm_LoRa_Connect_Woodstream_Demo_tjm by Timothy Mulrooney

Embed: (wiki syntax)

« Back to documentation index

VT100 Class Reference

VT100 Class Reference

Implements VT100 terminal commands support. More...

#include <vt100.h>

Public Member Functions

int getc ()
 Read a char from the serial port.
int putc (int c)
 Write a char to the serial port.
int puts (const char *str)
 Write a string to the serial port.

Detailed Description

Implements VT100 terminal commands support.

Implments also the same behaviour has RawSerial class. The only difference is located in putc fucntion where writeable check is made befor sending the character.

Definition at line 27 of file vt100.h.


Member Function Documentation

int getc (  )

Read a char from the serial port.

Returns:
The char read from the serial port

Definition at line 154 of file vt100.h.

int putc ( int  c )

Write a char to the serial port.

Parameters:
cThe char to write
Returns:
The written char or -1 if an error occured

Definition at line 165 of file vt100.h.

int puts ( const char *  str )

Write a string to the serial port.

Parameters:
strThe string to write
Returns:
0 if the write succeeds, EOF for error

Definition at line 177 of file vt100.h.