Edit

Share via


AisManager.SendShipPositionReport(AisTransceiverClass, Ship) Method

Definition

Sends a ship position report for the given ship to the NMEA stream. Useful for testing or simulation.

public Iot.Device.Nmea0183.Sentences.NmeaSentence SendShipPositionReport (Iot.Device.Nmea0183.Ais.AisTransceiverClass transceiverClass, Iot.Device.Nmea0183.Ais.Ship ship);
member this.SendShipPositionReport : Iot.Device.Nmea0183.Ais.AisTransceiverClass * Iot.Device.Nmea0183.Ais.Ship -> Iot.Device.Nmea0183.Sentences.NmeaSentence
Public Function SendShipPositionReport (transceiverClass As AisTransceiverClass, ship As Ship) As NmeaSentence

Parameters

transceiverClass
AisTransceiverClass

Transceiver class to simulate

ship
Ship

The ship whose position data to send

Returns

Exceptions

An internal inconsistency occurred

This message type is not currently supported for encoding

Applies to