SimpleSerial Class – Extends SerialPort Class with Built-In Parsing from a Streaming Source
Extends the NETMF SerialPort Class with additional methods, supplementing some of the features that are present in the full .NET Framework but missing in the Micro Framework implementation.
A Deserialize() method has also been added, which enables convenient parsing of sentences that are terminated by a user-specified delimiter (default is ). This allows the user, for example, to easily extract a complete list of sentences from a continuously streaming source. Sentences fragments that are dangling (not yet complete) are stored by the method until fresh data is received, after which it concatenates any partial messages, performs parsing, and extracts any newly complete messages that are present.