Git Product home page Git Product logo

teltonikaphpdecoder's Introduction

Teltonika GPS PHP Decoder

This is a PHP application to easy decode the GPS information received from Teltonika devices. This project is made to satisfy FMXXXX Protocols of Teltonika explained here: http://bahpav.com/assets/uploadsp/doc/FMXXXX_Protocols_v2.10.pdf

This application provides some tools:

  1. PHP TCP socket server in which you can receive the data sent by the teltonika device.
  2. Data parser to turn binary data received from the device into a view-friendly way.
  3. Database mechanism to save that information into your database.

Dependencies

How to use

  • You need to configure your teltonika device to point to your host/ip with TCP protocol in the GPS settings section.

  • Open TCP port you will use in your network.

  • Fill your config.php with your information (database credentials, host, ip...)

Create new php file (eg: run.php) and paste this code:

/*Initialize the server and it will start getting data from device, 
parsing it and storing it into the database
*/
$server = new SocketServer(Conf::host, Conf::port);
$server->runServer();

Execute that php file:

php run.php

Server will start getting data from device.

To do:

  • Error with longitude (Maybe parsing or related to encoding with bytes?) (FIXED)

teltonikaphpdecoder's People

Contributors

lbarrous avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.