Long Range / Mbed 2 deprecated SX1272_LoRaWAN_App_LR

Dependencies:   X_NUCLEO_IKS01A2 driver_mbed_TH02 mbed LoRaWAN-lib-v1_0_1 SX1272Lib

Fork of Training-Aug2018-SX1272-X-NUCLEO-IKS01A2 by Uttam Bhat

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 153 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 164 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 176 of file vt100.h.