Serial port and GPS

Serial.Filter Property

For filtering lines coming from the serial port

[Visual Basic]
Public Property Filter As String
[C#]
public string Filter {get; set;}

Remarks

Used, if if the read line delegate RdLineCb is set. In both the filter and the delegate are set, then the delegate gets only lines matching starting with the filter string. Unfortunally not all CF implementations support regular expressions und we must be happy with this rudimentary solution. Use for example $GPGGA for interesting GPS strings.

See Also

Serial Class | serial Namespace