Unit TapiTerm

Classes

TReadThread -
TTapiTerminal -
TWriteThread -

Functions

Register -

Types

TParity
TReceiveDataEvent
TStopBits

Constants

INPUTBUFFERSIZE
PWM_COMMWRITE
PWM_GOTCOMMDATA
PWM_REQUESTHANGUP
PWM_THREADREADY

Variables

fmStatus
me


Functions


procedure Register;


Types


TParity = (pNone,pOdd,pEven,pMark,pSpace);

TReceiveDataEvent = procedure( Buffer: Pointer; BufferLength: Word ) of object

TStopBits = (sb1_0,sb1_5,sb2_0);

Constants

INPUTBUFFERSIZE = 2048

Default size of the Input Buffer used by this code.

PWM_COMMWRITE = WM_USER+1

This is the message posted to the WriteThread When we have something to write.

PWM_GOTCOMMDATA = WM_USER + 1

messages from read/write threads

PWM_REQUESTHANGUP = WM_USER + 2

PWM_THREADREADY = WM_USER +3


Variables

fmStatus : TfmStatus

me : TComponent