GPSReceiver.DetectGPS Method (SerialCommPort@, SerialBaudRate@)
Detects the GPS receiver connected to the system and returns as output parameters the communication port and baud rate.
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 | ZylGPSReceiverMobile Namespace | GPSReceiver.DetectGPS Overload List