GpsReceiverDetectGps Method (SerialBaudRate, SerialBaudRate, SerialCommPort, SerialBaudRate)

ZylGpsReceiver.NET Mobile
Detects the GPS receiver connected to the system and returns as output parameters the communication port and baud rate. Only baud rate values between startBaudRate and endBaudRate are checked.

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

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

Parameters

startBaudRate
Type: ZylSoft.Gps.MobileSerialBaudRate
The lower baud rate limit used at the detection process.
endBaudRate
Type: ZylSoft.Gps.MobileSerialBaudRate
The higher baud rate limit used at the detection process.
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