Characteristic Locus
Inheritance System.Object > NeoM8
Namespace Meadow.Foundation.Sensors.Gnss
Assembly NeoM8.dll

Syntax

public class NeoM8 : object

Constructors

NeoM8(IMeadowDevice, SerialPortName, IPin, IPin)

Create a new NEOM8 object

Declaration
public NeoM8(IMeadowDevice device, SerialPortName serialPortName, IPin resetPin, IPin ppsPin = null)

Parameters

Type Name Description
IMeadowDevice device

IMeadowDevice instance

SerialPortName serialPortName

The serial port name to create

IPin resetPin

The reset pin

IPin ppsPin

The pulse per second pin

NeoM8(ISerialMessagePort, IDigitalOutputPort, IDigitalInputPort)

Create a new NEOM8 object

Declaration
protected NeoM8(ISerialMessagePort serialPort, IDigitalOutputPort reset, IDigitalInputPort pps = null)

Parameters

Type Name Description
ISerialMessagePort serialPort
IDigitalOutputPort reset
IDigitalInputPort pps

Properties

PulsePerSecondPort

NeoM8 pulse per second port

Declaration
public IDigitalInputPort PulsePerSecondPort { get; }

Property Value

Type Description
IDigitalInputPort

ResetPort

NeoM8 reset port Initialize high to enable the device

Declaration
protected IDigitalOutputPort ResetPort { get; }

Property Value

Type Description
IDigitalOutputPort

Methods

Reset()

Reset the device

Declaration
public Task Reset()

Returns

Type Description
Task

StartUpdating()

Start updating

Declaration
public void StartUpdating()

Events

GgaReceived

Raised when GGA position data is received

Declaration
public event EventHandler<GnssPositionInfo> GgaReceived

Event Type

Type Description
EventHandler<GnssPositionInfo>

GllReceived

Raised when GLL position data is received

Declaration
public event EventHandler<GnssPositionInfo> GllReceived

Event Type

Type Description
EventHandler<GnssPositionInfo>

GsaReceived

Raised when GSA satellite data is received

Declaration
public event EventHandler<ActiveSatellites> GsaReceived

Event Type

Type Description
EventHandler<ActiveSatellites>

GsvReceived

Raised when GSV satellite data is received

Declaration
public event EventHandler<SatellitesInView> GsvReceived

Event Type

Type Description
EventHandler<SatellitesInView>

RmcReceived

Raised when RMC position data is received

Declaration
public event EventHandler<GnssPositionInfo> RmcReceived

Event Type

Type Description
EventHandler<GnssPositionInfo>

VtgReceived

Raised when VTG course over ground data is received

Declaration
public event EventHandler<CourseOverGround> VtgReceived

Event Type

Type Description
EventHandler<CourseOverGround>