Suntech, RFID or I-Button.

Tracker CWB5 years ago

Master Anton, I use traccar 4.6 with suntech device, protocol 200 and 300, performing RFID and I-Button test, information sent in the string but does not appear in the status field.

Protocol 200.
Hex (I-Button)

5341323030414c543b3734363435303b482d3730363b32303139303932363b31363a33363a33363b62653134303b2d32352e3339383235383b2d3034392e3239393831383b3030302e3033303b3030302e30303b383b313b3238353b31322e31343b3130303030303b36303b3131383937393b302e303b313b303b30313532453932423039303030303b310d
SA200ALT;746450;H-706;20190926;16:36:36;be140;-25.398258;-049.299818;000.030;000.00;8;1;285;12.14;100000;60;118979;0.0;1;0;0152E92B090000;1

Protocol 300.
Hex (RFID)

53543330305545583b3230353734363435303b30343b3730363b32303139303932363b31373a31313a32313b62653134303b2d32352e3339383234383b2d3034392e3239393735353b3030302e3031313b3030302e30303b373b313b3239353b31322e31343b3130303031303b32343b4754534c7c367c317c307c31343739373633307c317c0d0a3b41363b3131393030343b302e303b310d
ST300UEX;205746450;04;706;20190926;17:11:21;be140;-25.398248;-049.299755;000.011;000.00;7;1;295;12.14;100010;24;GTSL|6|1|0|14797630|1|
;A6;119004;0.0;1

It is supported ?

Ronaldo5 years ago

hello CWB Tracker,

managed to solve? I have the same problem...

tambiu4 years ago

I there, any news about this ? I have the same problem.

Anton Tananaev4 years ago

At least the second one will be support in the next release:

https://github.com/traccar/traccar/blob/master/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java#L359-L360

First one is also probably supported, but someone needs to test it to confirm.

tambiu4 years ago

I have 4.10 traccar version, and in the log shows

ST300ALT;511311670;45;311;20110101;00:25:38;529712;-23.303117;-051.151558;001.778;034.90;0;0;0;12.50;100000;59;000846;0.0;1;018A70FA1B0000;0;35001;724;4;-70;21143;1

but the ID 018A70FA1B0000 does not show in status field.

Anton Tananaev4 years ago
eueduardo3a year ago

but the issue is not resolved in this thread, suntech ST340UR devices still do not display the driver in the status.

tambiua year ago

need to change the suntech protocol and compile the traccar

if (protocol.equals("ST300") || protocol.equals("ST500") || protocol.equals("ST600")) {
#só acrescentar a linha abaixo
    position.set(Position.KEY_DRIVER_UNIQUE_ID, values[values.length - 2]);
    
index += 1; // model
}