Giter Club home page Giter Club logo

Comments (6)

tananaev avatar tananaev commented on June 1, 2024

if you give me protocol specification or at least message examples with different states I would love to support it in my server

from traccar.

hackerunet avatar hackerunet commented on June 1, 2024

Yes, sure, I'm seding you the protocol specification link:
http://www.ubicatugps.com/manual/GPRS-Data-Protocol.xls
So, basically pay attention to the part that says "tracker", in that segment of the GPRS data frame, the GPS103 sends alerts like "help me", "stockade", "acc alarm", "door alarm".
the full protocol and the commands to send to the GPS are inside the document.
Thanks a lot.

from traccar.

tananaev avatar tananaev commented on June 1, 2024

You can access alarm message from mysql like this:

ExtractValue(:extended_info, '/alarm')

from traccar.

hackerunet avatar hackerunet commented on June 1, 2024

Hello, can you please explain this part better ?
How can I access to additional fields that are not prepared in several gps models, I really don't understand this at all, as long as I know, Im forcing the program to insert the gps data into a table using:

START TRANSACTION;
INSERT INTO avl_database.positions(course,device_id,latitude,longitude,power,speed,time,valid)
VALUES (:course,:device_id,:latitude,:longitude,0,:speed,:time,:valid);
COMMIT;

So, please explain again to me this part, where do i have to put what, to be able to also insert into the database the sim phone number and the alarm message ?
Thanks-.

from traccar.

hackerunet avatar hackerunet commented on June 1, 2024

Opps sorry my bad, I understand now.. thanks a lot.

from traccar.

Jeferex avatar Jeferex commented on June 1, 2024

Is this working in the version 2.1? I am using gps 103 protocol in version 2.0 and there is no column named Extended info, but I've seen that in version 2.1, that column is there.

from traccar.

Related Issues (20)

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.