NetTalk Central

Author Topic: GPS Tracking System  (Read 3011 times)

franjava

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Email
GPS Tracking System
« on: May 17, 2016, 08:53:38 AM »
Hi

How do a GPS Tracking System with nettalk?
I need do a vehicle fleet tracking system.
The GPS tracking unit use UDP packet data and SMS

Thanks

Francisco
Nettalk 8.71 & Clarion 9.1
« Last Edit: May 17, 2016, 09:02:58 AM by franjava »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11171
    • View Profile
Re: GPS Tracking System
« Reply #1 on: May 17, 2016, 11:42:28 PM »
Hi Francisco,

NetTalk has UDP support, so that's good.

However to answer your question in more detail, you need to describe it in a bit more detail. From what you've said so far...

So, I'm guessing your GPS device sends a UDP packet to a specific server address at regular intervals. I presume you can control the server (and possibly port?) that it sends to.

If that is the case then you would add a UDP server object (using that port, on that server) to receive the incoming UDP packets. Then parse those packets appropriately (depending on what data the GPS unit is sending.) I think you could add this object to your WebServer procedure if you wanted to (although personally I'd put it on a separate window and start it on another thread, or possibly even a separate Exe).

Cheers
Bruce



franjava

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Email
Re: GPS Tracking System
« Reply #2 on: May 18, 2016, 07:05:04 AM »
Hi Bruce

thanks for your answer.

I will work in this topic

Thanks again