Printable versions
This Page
All Pages
PDF (0.1 MB)

[Index]

Classes
Simple
L
GateCustomData

Interfaces
IGatePlugIn
IGatePlugInEvents

Settings
ggXML
Registry

Franson GpsGate API Reference Manual
Using GpsGate API you can start GpsGate, send data to and receive data from GpsGate. For OEM licensees this API is also used to activate GpsGate.

Applications can (of course) access or write data to GpsGate using any of the standard options in the GpsGate Settings menu, like serial ports, TCP/IP and UDP. The main advantage of using this API is that you can make sure GpsGate is started and you can access GPS data without knowing anything about how GpsGate (or the GPS) is configured.

To start, send and receive data read more about the Simple class.

For OEM license activation read more about the L class.

GpsGate can be configured and launched by your application without being visible to the end user or needing any end user interaction. To configure GpsGate from you installation program, or application, see ggXML for GpsGate 2.0, Registry for GpsGate 1.10.

New in GpsGate 2.0 is the possibility to write PlugIns. Almost all functionallity is written as PlugIns in GpsGate 2.0. A PlugIn can typically convert protocols, or read and write data to device not yet supported by GpsGate. More info: IGatePlugIn

Samples. You find samples in GpsGate SDK which can be found on the beta download page.

Error handling. The ActiveX component generates standard COM/OLE exceptions. In Visual Basic you typically handle those errors with "On Error Goto ..." and similar statements. The .NET component generates standard .NET exceptions, typically handled with try/catch statments. The C++ library do not generate exceptions, you will need to call GetLastError() to check if an error has occured. Note that this is not the win32 version of GetLastError() rather a method of the used object.

All variables in the ActiveX components are Variants. This is to support all kinds of COM enabled script languages. The type information (e.g. String, Integer, etc.) that are specified in the reference manual are the Variant type and nothing else. For Visual Basic and script language developer this is of no major concern, everything is handled automatically, but it can be good to know. In the .NET and C++ static libraries no variants are used.

Name of component
.NET (Desktop + Compact) ActiveX Windows ActiveX Pocket PC
GateApiNET GateApiXP GateApiCE

Technical support can be found in the user forum. We will constantly monitor and answer questions in the forum. The forum also includes frequently asked question (FAQ).
FAQ for GpsGate

Browse the Technical support forum!
Search the Technical support forum!

© 2010 Franson Technology AB, All rights reserved, Contact | | Affiliate |