GenX (Sierra Wireless) GNX-x Protocol

mtimmons7 years ago

I have a GNX-6 from GenX (purchased by SierraWireless).
Is the "gnx" TCP protocol on port 5106 intended to support this gnx line of devices?

If so I can hit port 5106 on my server from the device as evidenced by tcpdump, but I don't see a sign of hitting that port in the logfile.

for reference, I am successful with CalAmp devices hitting UDP port 5082, and even when I hit that port with any UDP data the log file at least reveals

2017-06-22 20:48:27 DEBUG: [5E08C211: 5082 < 217.163.63.65] HEX: 4d4f44454d2847534d2f31322f30290a524547495354455245442c554d545...

I wondering why, if my traccar.xml specifies

<entry key='gnx.port'>5106</entry>

I don't at least see an indication of having hit the port in the logfile when my client sends TCP data to the port.

  1. I have not tried a traccar TCP protocol as I;ve only used the CalAmp UDP protocol in the past (to good end...thanks for this great server!)

-Am I missing a detail to get the gnx protocol to work?
-Does, "gnx" imply this family of devices I am using from GenX?

Anton Tananaev7 years ago

GNX protocol is for GNX-2 GPS device developed by National Meter, India.

If you don't see HEX for TCP port, it's either because your device doesn't send anything or you have some network issue.

As for your SierraWireless, I need to see protocol documentation to see if it's supported. Message sample from port 5082 doesn't seem to be supported.

mtimmons7 years ago

Thanks for the quick clarification on what, "gnx" implies within traccar.

Indeed, I was just hitting port 5082 via a UDP command I issued via serial port on my device, to confirm I could at least hit my CalAmp port so I don't expect it to parse.

I understand that the GenX GNX- devices aren't supported...I'll look for the protocol documents and see if I can't do something locally with traccar, and share it back with you if it works out.

Thanks again. You have done amazing work with this platform.

Anton Tananaev7 years ago

GenX GNX devices might be supported if they use some standard protocol (e.g. TAIP).

mtimmons7 years ago

It looks like I can have it send ASCII csv OR binary....here's what the csv looks like. I don't suppose you have a parser for such a format. There's a binary equivalent option too...I searched for TAIP reference or other reference to a, "standard" but didn't find one.

SerialNumber,UniqueID,LocalTime(GMT),Latitude,Longitude,LocAge(mins),Reason,Speed(km/h),VehHdg,Odometer(km),CRC16_CCITT
000003100007,215,09/26/2008 14:59:00,42.27606,-71.23393,0,PERIODIC,0,0,305.14,154D000003100007,216,09/26/2008 14:59:11,42.27606,-71.23393,0,
PERIODIC,0,0,305.14,0C2F
Anton Tananaev7 years ago

There is no support for such format at the moment, but we can add it. Send us an email if you are interested.