Location:
c32comm.h
struct TCommServerConfigV01;
Used by the package TCommServerConfig to configure the comm port.
Holds the buffer configuration settings for the comms server.
The comms server copies data between the descriptors provided by the client and the buffers used by the serial port drivers, for each read and write request. There are two methods by which this can be accomplished. Full buffering means that the comms server will always attempt to allocate enough memory to satisfy any reads or writes in a single copy, while partial buffering means that the comms server will allocate a static buffer and use partial copies to transfer data to the serial driver. When a port is opened, the default is full buffering.
Defined in TCommServerConfigV01
:
iBufFlags
, iBufSize
TUint iBufFlags;
contains buffer flags e.g for partial read/write
Buffering option: either KCommBufferFull or KCommBufferPartial
TUint iBufSize;
size of the Tx/Rx buffer
Size of server buffer if partial buffering is being used