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 NMEA client.
The NMEA machine instance (created with createNmeaMachine).
Optionaloptions: NmeaClientOptions<TData>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 managing NMEA connections. Abstracts away XState details while still exposing the machine for advanced use.