Show / Hide Table of Contents

Class NmeaDevice

A generic abstract NMEA device

Inheritance
object
NmeaDevice
BluetoothDevice
BluetoothDevice
BufferedStreamDevice
BufferedStreamDevice
BufferedStreamDevice
BufferedStreamDevice
BufferedStreamDevice
BufferedStreamDevice
EAAccessoryDevice
SerialPortDevice
SerialPortDevice
StreamDevice
StreamDevice
StreamDevice
StreamDevice
StreamDevice
StreamDevice
SystemNmeaDevice
WinRTSerialDevice
Implements
IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NmeaParser
Assembly: NmeaParser.dll
Syntax
public abstract class NmeaDevice : IDisposable

Constructors

Name Description
NmeaDevice()

Initializes a new instance of the NmeaDevice class.

Properties

Name Description
CanWrite

Gets a value indicating whether this device supports writing

IsOpen

Gets a value indicating whether this device is open.

Methods

Name Description
CloseAsync()

Closes the device.

CloseStreamAsync(Stream)

Closes the stream the NmeaDevice is working on top off.

Dispose()

Releases unmanaged and - optionally - managed resources.

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

OpenAsync()

Creates and opens the stream the NmeaDevice will be working on top off.

OpenStreamAsync()

Creates and opens the stream the NmeaDevice is working on top off.

ReadAsync(byte[], int, int, CancellationToken)

Performs a read operation of the stream

WriteAsync(byte[], int, int)

Writes to the device stream. Useful for transmitting RTCM corrections to the device Check the CanWrite property before calling this method.

Events

Name Description
DeviceDisconnected

Raised when a device raises the same error multiple times and can't recover.

MessageReceived

Occurs when an NMEA message is received.

Applies

TargetVersions
.NET Standard 2.0main, v3.0, v2.2, v2.1, v2.0
.NETmain, v3.0
.NET Windowsmain, v3.0
.NET Androidmain, v3.0
.NET iOSmain, v3.0
.NET Frameworkmain, v3.0, v2.2, v2.1, v2.0
UWPmain, v3.0, v2.2, v2.1, v2.0
Xamarin.Androidv2.2, v2.1, v2.0
Xamarin.iOSv2.2, v2.1, v2.0
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX