Configuration

Creation

The Console class is defined in libTEMUConsole.so. The constructor takes no parameters.

Options

config.caretControl can be used to eliminate some VT100 characters that are printed to the console otherwise.

config.recordTraffic can be set to enable data recording in the console model, this data can then be extracted with the API.

@Console Reference

Properties

Name Type Description

Class

*void

Class object

Component

*void

Pointer to component object if part of component

LoggingFlags

uint64_t

Flags for logging info

Name

*char

Object name

TimeSource

*void

Time source object

Commands

Name Description

delete

Dispose instance of @Console

new

Create new instance of Console

Command new Arguments

Name Type Required Description

name

string

yes

Name of object to create

Console Reference

Properties

Name Type Description

Class

*void

Class object

Component

*void

Pointer to component object if part of component

LoggingFlags

uint64_t

Flags for logging info

Name

*char

Object name

TimeSource

*void

Time source object

config.caretControl

uint8_t

config.outFile

*char

File name to write TTY log to.

config.recordTraffic

uint8_t

config.reformatNonPrintable

uint8_t

lastByte

uint8_t

outByte

uint8_t

serial

temu_IfaceRef/ <unknown>

Serial connection.

Interfaces

Name Type Description

LineDataLoggerIface

LineDataLoggerIface

SerialIface

SerialIface

Ports

Prop Iface Description

serial

SerialIface

serial port

Commands

Name Description

delete

Dispose instance of Console