Default |
The DefaultSerialProtocol type exposes the following members.
Name | Description | |
---|---|---|
DataAvailable | Whether there is data available, returns 0 for no data and 1 more 1 or more characters | |
Encoding | 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 | |
Stream |
Set the stream which the protocol data is written and read from
(Inherited from Protocol) | |
TerminatingCharacters | 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 from 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' |