The SerialGPS object provides an interface to Bluetooth unit global positioning system (GPS) devices manufactured by Pharos and TomTom. The SerialGPS object inherits from the GPS base class.
In addition to the functions listed, this object inherits functions from the NonVisualObject object.
SerialGPS property |
Datatype |
Description |
---|---|---|
ClassDefinition |
PowerObject |
An object of type PowerObject containing information about the class definition of the object or control. |
String |
Customization property that is currently undefined. |
|
DeviceHandle |
UnsignedLong |
Read-only value containing a device-specific handle. |
String |
Read-only, raw, NMEA-formatted data without any parsing for validity. |
|
String |
Specifies the serial port used by the GPS device. For Bluetooth devices, the value of this property is typically COM8. |
|
String |
Customization property that is currently undefined. |
SerialGPS event |
Occurs |
---|---|
When the object is created |
|
When the object is destroyed |
SerialGPS function |
Datatype returned |
Description |
---|---|---|
Integer |
Closes a GPS communications channel if one is open and deactivates the data handlers. |
|
GPSFix |
Populates the GPSFix structure with values from the current fix. |
|
GPSHeading |
Populates the GPSHeading structure with values from the current heading. |
|
GPSSatellitesInView |
Populates the GPSSatellitePosition and GPSSatellitesInView structures with position information from the current satellites in view. |
|
Integer |
Initializes GPS data handlers and opens a communications channel. You can use an optional string argument to force-feed a single set of GPS data without opening a communications channel. If this argument is used, the data acquisition behavior of derived classes (SerialGPS) remains undefined. |
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |