Please provide HEX message sample from log file.
Hi, Thanks for answer me, the original hex from the traccar server log is:
4753722c4754522d3132382c3031333232373030363936333036342c303038302c312c613038302c332c3139303631352c3136333831362c5730373430372e373133342c4e303434302e383630312c323537392c302e30312c3133302c31322c302e372c31313534306d562c302c37372c31342c223733322c3132332c303734342c326663312c34312c3233222c223733322c3132332c303734342c326466652c30352c3238222c223733322c3132332c303734342c323732612c31352c3231222c223733322c3132332c303734342c326630322c32372c3233222a336221
The Alarms dont work.
Im generate many, ignition ON, SOS button, and dont work. Dotn detect when the car is RUN or dont RUN.
Currently Traccar supports decoding only of essential GPS fields and battery info for GlobalSat protocol. Everything else is ignored.
ok, perfect, and how can help to developed this extras??
in GlobalSatProtocolDecoder.java?
Thanks
or how im can put this info ignored in the database?
thanks
Correct, you need to modify GlobalSatProtocolDecoder
class.
Ok, perfect, now im try to compile, im sorry for my insistence.
Download the Source file
Install the Maven plugin in my NetBeans (Im sorry only use netbeans to PHP and AndroidStudio to Android projects)
Next compile proyect in netbeans (Built) F11
Next open console and typemvn package
Next type setup/package.sh
but say me:
root@platon:/tmp/traccer/traccar-master# setup/package.sh
Version number is not provided
To try to begin to test my needs, im edit the GlobalSatprotocoldecoder.java and add:
default:
position.set(Event.KEY_BATTERY, value);
This to try to save all data.
Thanks form help me to compile correct the project
Sincerely,
Carlos Andres Becerra Bohorquez
You don't need to use package.sh
script. It's only needed if you want to generate installer.
Hi Anton, thanks for answer me all.
Im sorry have many questions and like colaborate with the project to have complete support to globalsat initialment, next can help with TK103 and TK102
Today study the code and see:
GlobalSatProtocolDecoder
class the nextThen to begin to see the developed of this have the next questions:
event.java
?Thanks for your help and coperation.
Pda: Thansk for andswer me, but next to compule (F11) and build how can run without generate a installer?
Im sorry this is my first work with JAVA, to Android im only bult, compile and rin the apk, but in JAVA im dont remember fine how work all. Thanks for your patience and support
All additional information is saved in XML format under other
field in the database.
See 1.
You should not add anything to Event
class unless it is shared between several protocols.
Anton, how are yoy, return to this theme.
Im like help to developed all this protocol, any other person doing this development? If so, how could contact her, that fn unify the forces and make a single development faster and more efficient
If no one is doing, we could make a bid announcement stakeholders and work you see the issue?
What would be the guidelines for work? As it would be the methodology?
Pending for help in the complete development
Thanks
I don't think anybody else is working on it. There are no guidelines, just follow the patterns used in existing code. When you are finished, send me a pull request on GitHub to review and merge the changes.
Looks like nobody updated the Globalsat protocol yet. Perhaps it's time?
Hi.
Friends, im test the server with a GLOBALSAT GTR-128.
The GPS send me the command:
The lat and log info is fine, but the battery info 11540mV is dont save into the database. The same problem with alarms.
You have this problem?
Thanks