User avatar
johan
GpsGate
Posts: 15404
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

GUIDE: Native device integration to GpsGate Server

Tue May 05, 2009 3:31 pm

GUIDE: How to write a native device integration to GpsGate Server

Make sure all plugins are up to date under SiteAdmin -> Plugins.

This article is for developers only!

This is a sample on how to make a native device integration to GpsGate Server. A native device integration adds support for a custom tracker protocol to GpsGate Server without the need to change the trackers protocol.

The three ways to make a tracker integration to GpsGate Server are described in this topic.
topic.asp?TOPIC_ID=8651

The sample project including comments can be downloaded here:
http://update.gpsgate.com/PlatformKit/MyDevice.zip

The sample demonstrates how to handle incoming reports from a tracker over SMS and TCP/IP, which includes position and status information (e.g. SOS or fuel level). A native device integration can also implement outgoing commands from server to tracker, and other transports like UDP, HTTP, or ORBCOMM. But this is not covered in this sample.

Make references to the following DLLs from the sample project (you find them in the ZIP file in the "Franson NMEA Service" folder
Franson.dll
GpsGate.Online.dll
Jayrock.Jason.dll
NLog.dll

Make sure your project reference the same version of the DLLs as the GpsGate Server installation uses

Related topics in the forum created by users working with a native integration:
topic.asp?TOPIC_ID=14657
topic.asp?TOPIC_ID=13199
topic.asp?TOPIC_ID=13279
topic.asp?TOPIC_ID=14564

A complete reference manual for .NET can be found here:
http://docs.gpsgate.com/3019/

Here are some guide lines on how to debug your plugin during development:
topic.asp?TOPIC_ID=8105

Include support for outgoing commands. Chat, Jobs and custom commands.

This sample extends the sample project above with support for Chat, Dispatch and an example of a custom outgoing commands
http://update.gpsgate.com/PlatformKit/M ... ommand.zip

You need to reference GpsGate.Chat.dll + GpsGate.Dispatch.dll

Overview of GpsGate Server development here:
topic.asp?TOPIC_ID=8097

Regards,
Johan

GpsGate Support

cesarp
Posts: 1
Joined: Mon Aug 20, 2012 11:11 pm

RE: GUIDE: Native device integration to GpsGate Server

Mon Aug 20, 2012 11:11 pm

Hi Johan, I developed a custom native device integration plugin following this guide. The projects compiles, update server is running, installation of the plugin goes smoothly but when I go to "Devices" is not showing in the dropdown.
I was wondering if you would know what could be happening.

Thanks!
Cesar.-

User avatar
johan
GpsGate
Posts: 15404
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: GUIDE: Native device integration to GpsGate Server

Mon Aug 20, 2012 11:15 pm

Please post new questions as new topics.

Start by taking a look in the topics linked to under "Related topics in the forum created by users working with a native integration:" above.

After that if you still have problems, post new topics, with as specific questions as possible.

Regards,
Johan

GpsGate Support

Return to “GpsGate for Developers”