T55 from Sierra Wireless GX440 / GX450

jmiller1216 years ago

Using Traccar Server 4.5 with Microsoft SqlServer

Having problems getting to recognize GPS feed for Sierra Wireless GX450 device using port 5005 (support for GX440 and GX450 (and possibly others) was added per this commit... https://github.com/traccar/traccar/commit/6fd9d34b4eaf60289462a87096fdda587ea74482 )

Hex:

2444455649442c3078303130313436423639394644373730302a34410d0a2447504747412c3135303733312e302c333935372e3338303033352c4e2c30383234342e3935393138312c572c312c30392c312e302c3331392e392c4d2c2d33312e302c4d2c2c2a36380d0a244750524d432c3135303733312e302c412c333935372e3338303033352c4e2c30383234342e3935393138312c572c34362e342c38382e362c3130303531392c302e302c452c412a31380d0a2447505654472c38382e362c542c38382e362c4d2c34362e342c4e2c38352e382c4b2c412a32300d0a

Decoded:

$DEVID,0x010146B699FD7700*4A
$GPGGA,150731.0,3957.380035,N,08244.959181,W,1,09,1.0,319.9,M,-31.0,M,,*68
$GPRMC,150731.0,A,3957.380035,N,08244.959181,W,46.4,88.6,100519,0.0,E,A*18
$GPVTG,88.6,T,88.6,M,46.4,N,85.8,K,A*20

I've tried setting the Device ID to all of the following:

0x010146B699FD7700*4A
010146B699FD7700*4A
0x010146B699FD7700*
0x010146B699FD7700

But still get warning in log file:

2019-05-10 11:07:32  WARN: Unknown device - 0x010146B699FD7700*4A
$GPGGA,150731.0,3957.380035,N,08244.959181,W,1,09,1.0,319.9,M,-31.0,M,,*68
$GPRMC,150731.0,A,3957.380035,N,08244.959181,W,46.4,88.6,100519,0.0,E,A*18
$GPVTG,88.6,T,88.6,M,46.4,N,85.8,K,A (166.246.96.9)

When I set Automatic Device Registration to true, I get the following error:

WARN: Automatic device registration error - String or binary data would be truncated. - SQLServerException (... < QueryBuilder:480 < DataManager:458 < BaseObjectManager:90 < ...)

Is it possible that it's trying to identify the entire string (4 lines) as the device id, instead of just 0x010146B699FD7700*4A ?

Anton Tananaev6 years ago

Are you using UDP or TCP protocol? If UDP, then it won't work.

jmiller1216 years ago

Yes, it appears that it is sending the data via UDP... I cannot find any settings within the GX450 interface to change from UDP to TCP... I will investigate further and post an update if I find a way to change it....

As a side note for users with the Sierra Wireless GX440 and GX450 devices... I am able to send data to the Traccar server on port 5031 via the TAIP format... not the most ideal since the TAIP id is limited to 4 characters, but it does work...

Anton, would it be accurate to say that anything sent on port 5005 (T55 protocol) needs to be TCP?

Anton Tananaev6 years ago

No, it's not accurate, but if it's UDP messages should be separated.