|
GPS ToolKit.NET
Protocol Property
Returns the current communications protocol in use between GPS ToolKit and the GPS.
Syntax
[Visual Basic]
object.Protocol
[C#]
object.Protocol
[C++]
object->Protocol
Parameters
object
An object expression that evaluates to a GPSToolKit object.
Return Value
A Protocol value representing the communciations protocol currently in use
Remarks
- If there is no connection the value is Unknown
- Valid protocol values are as follows:
Example
[Visual Basic]
'Get protocol
Dim CurrentProtocol As Protocol
CurrentProtocol = myGPSToolKit.Protocol
[C#]
// Get protocol
Protocol CurrentProtocol = myGPSToolKit.Protocol;
[C++]
// Get protocol
Protocol CurrentProtocol = myGPSToolKit->Protocol;
See Also
Open method | AutoDetectGPS method
|