GpsReceiverDetectGps Method (SerialCommPort, SerialBaudRate)

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

Namespace:  ZylSoft.Gps.Mobile
Assembly:  ZylGpsReceiverMobile (in ZylGpsReceiverMobile.dll) Version: 3.14.6846.29005
Syntax

public bool DetectGps(
	out SerialCommPort port,
	out SerialBaudRate baudRate
)

Parameters

port
Type: ZylSoft.Gps.MobileSerialCommPort
The serial port where the GPS receiver is connected to.
baudRate
Type: ZylSoft.Gps.MobileSerialBaudRate
Baud rate of the communication.

Return Value

Type: Boolean
Returns true, if a GPS receiver was detected, otherwise false.
See Also

Reference