Click or drag to resize

DefaultSerialProtocol Properties

The DefaultSerialProtocol type exposes the following members.

Properties
  NameDescription
Public propertyDataAvailable
Whether there is data available, returns 0 for no data and 1 more 1 or more characters
Public propertyEncoding
The character encoding used to send and receive data, default UTF-8, should be a highly compatible option for text based communication protocols including full compatibility with ASCII
Public propertyStream
Set the stream which the protocol data is written and read from
(Inherited from Protocol.)
Public propertyTerminatingCharacters
The character or sequence of characters that define the end of a data transmission, this will be automatically added to the end of sent data and stripped fromcheer the end of a received data The default terminating-character is \n New Line (Linux Standard Line Ending) Note Default Windows line ending is \r\n Carriage Return New Line, which will still work with this default, For better results with Windows line endings change this value to '\r\n'
Top
See Also