RDT_Client.TrsMessage (METH)

METHOD TrsMessage

It handles a complete transmisstion of a message

InOut:

Scope

Name

Type

Comment

Input

psCom

POINTER TO RdtProtStructCommPh

Pointer to command phase header

pDataTrs

__XWORD

Pointer to the data to transmit

psRes

POINTER TO RdtProtStructResPh

Pointer where to write to result phase header

pDataRcv

__XWORD

Pointer where to write data received

diSizeRcv

DINT

Maximum size of the above buffer

Output

xDone

BOOL

Operation done, with or without errors

errorProt

INT

Protocol error