Gets the current data.
Gets whether the connection is currently active.
Gets whether the connection is in progress.
Gets the current error message, if any.
Gets the underlying XState actor (for advanced users). Allows access to full XState functionality.
Creates a new navigation NMEA client.
Optionaloptions: NmeaClientOptions<NavigationData>Optional configuration and callbacks.
Connects to the serial port.
Disconnects from the serial port.
Sets logging enabled/disabled.
Sets the baud rate (requires reconnection to take effect).
Disposes of the client and cleans up resources.
Simple client for navigation NMEA data. Creates a machine and manages connection state automatically.
Example