ZylGPSReceiver.NET

GPSReceiver.DetectGPS Method (SerialCommPort@, SerialBaudRate@)

Detects the GPS receiver connected to the system and returns as output parameters the communication port and baud rate.

[Visual Basic]
Overloads Public Function DetectGPS( _
   ByRef SerialCommPort& As SerialCommPort@, _
   ByRef SerialBaudRate& As SerialBaudRate@ _
) As Boolean
[C#]
public bool DetectGPS(
   out SerialCommPort& port,
   out SerialBaudRate& baudRate
);

Parameters

SerialCommPort&
The serial port where the GPS receiver is connected to.
SerialBaudRate&
Baud rate of the communication.

Return Value

Returns true, if a GPS receiver was detected, otherwise false.

See Also

GPSReceiver Class | ZylGPSReceiver Namespace | GPSReceiver.DetectGPS Overload List