New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GL200: GTINF decoding #2402
Comments
Thanks for the comparison table. I will take a look as soon as I have time. |
By the way, do you have message samples for each of those formats? |
GL300 from real device, other from documentation examples GV500_Track_Air_Interface_Protocol_V106.160124626.pdf They are from google. |
I've found GL300 documentation |
GL200 example doesn't seem to match the documentation. There are 4 zeroes between battery and time, but documentation says that there should be 5 values. |
I have simplified the table a little bit to make it easier to write regex for it: GTINF.xlsx I combined reserved fields with some data fields. So, if it's zero, we can ignore it, otherwise use value. |
Adding GL200 documentation here for easy access: |
I did some more investigation and your table doesn't actually help because some fields are missing even though protocol supports it. Here is a new one: From this it's much easier to make a regular expression to match all protocols. |
OK, I think I've implemented as much as possible. Ignored some fields for now, but it should be fairly easy to enable them. Looks like examples for GL200 and GL300W are incorrect, so I ignored them. |
Are they totally missed (count of parameters less then should be) or omitted like ",,"? Thanks for implementing it. I'll test it. |
Both GL200 and GL300W have almost exactly the same example:
In the number of places they don't match documentation. The most obvious one is timezone; it shouldn't be there. |
Nobodies like write documentation. Just copy-pasted. :) https://github.com/tananaev/traccar/blob/master/src/org/traccar/protocol/Gl200ProtocolDecoder.java#L273 looks like debug string. It causes huge writes to logs started from:
|
Removed, thanks. |
Added Prime AT Plus protocol to the mapping: |
Getting log errors / warnings with GV55VC on GTINF messages: |
@onPointTracking, the issue is already fixed. |
Added GL300VC to the document. |
Added CK300: |
Uploaded to Google Docs: |
Adding GL300A documentation here: |
Another document: |
Hello,
I've got an GL300 device for a test and find out that current implementation of
GTINF
message decoder only for GV500 device. This type of message do not contain coordinates but have other valuable info.I've investigated and found documentations for 7 devices that send 'GTINF' messages and they are very different.
Here is comparing table:
GTINF.xlsx
I'm pretty sure they can be identified by protocol version.
I'm still not good in
PatternBuilder
and will appreciate an advice if it is possible to combine in one pattern or it is better to use different?The text was updated successfully, but these errors were encountered: