gt06 timezone

Abbas coctel Molotov 3 years ago

hi there,
I have a device with gt06 protocol, but I have encountered problems in receiving information from the device.
The problem is that the device time is not recognized correctly.
At first, I thought the problem was from the timezone, but after seeing the program log, I felt that the problem is from somewhere else.
I use version 5.3 of the program.

Look at the times in items 2 to 6!!!

1.
2022-08-03 03:40:38  INFO: [Tb4627668: gt06 < 5.119.245.54] 78781f12160803032824cf02d98bff05ca2c0800140001b035000000000000055f320d0a
2022-08-03 03:40:38  INFO: [Tb4627668: gt06 > 5.119.245.54] 787805120005f5090d0a
2022-08-03 03:40:38  INFO: [Tb4627668] id: 862016050495509, time: 2022-08-03 03:40:36

2.
2022-08-03 03:41:08  INFO: [Tb4627668: gt06 < 5.119.245.54] 78781f12160803032906cf02d98c0c05ca2c0600140001b03500000000000006c0350d0a
2022-08-03 03:41:08  INFO: [Tb4627668: gt06 > 5.119.245.54] 787805120006c7920d0a
2022-08-03 03:41:08  INFO: [Tb4627668] id: 862016050495509, time: 2022-08-03 03:41:06

3.
2022-08-03 03:41:38  INFO: [Tb4627668: gt06 < 5.119.245.54] 78781f12160803000b25cf02d98c0e05ca2c0800140001b0350000000000000761380d0a
2022-08-03 03:41:38  INFO: [Tb4627668: gt06 > 5.119.245.54] 787805120007d61b0d0a
2022-08-03 03:41:38  INFO: [Tb4627668] id: 862016050495509, time: 2022-08-03 00:11:37

4.
2022-08-03 03:42:08  INFO: [Tb4627668: gt06 < 5.119.245.54] 78781f12160803000c08cf02d98c0e05ca2c0800140001b0350000000000000871e00d0a
2022-08-03 03:42:08  INFO: [Tb4627668: gt06 > 5.119.245.54] 7878051200082eec0d0a
2022-08-03 03:42:08  INFO: [Tb4627668] id: 862016050495509, time: 2022-08-03 00:12:08

5.
2022-08-03 03:42:21  INFO: [Tb4627668: gt06 < 5.119.245.54] 78782516160803000c14cf02d98c0e05ca2c080014000901b035000000000040050200010009f4cf0d0a
2022-08-03 03:42:21  INFO: [Tb4627668: gt06 > 5.119.245.54] 7878051600095c040d0a
2022-08-03 03:42:21  INFO: [Tb4627668] id: 862016050495509, time: 2022-08-03 00:12:20

6.
2022-08-03 03:42:29  INFO: [Tb4627668: gt06 < 5.119.245.54] 78780a134005020001000ab4f00d0a
2022-08-03 03:42:29  INFO: [Tb4627668: gt06 > 5.119.245.54] 78780513000a57220d0a
2022-08-03 03:42:29  INFO: [Tb4627668] id: 862016050495509, time: 2022-08-03 03:41:06
Abbas coctel Molotov 3 years ago

Finally, this causes me to have device jumping from one point to another point in my map.

Anton Tananaev 3 years ago

There is no version 5.3 yet.

Have you figured out which messages are not decoded correctly or contain invalid data?

Abbas coctel Molotov 3 years ago

Sorry, I meant version 5.2
These six pieces of data have been sent in the order of the number I put. In cases 1 and 2, the obtained time is the same as the time of the application server, but in cases 3, 4 and 5, the obtained time is different from the application server time. And in the case of 6 the obtained time is again the same as the server time.
I think the problem is in cases 3, 4, and 5.

Anton Tananaev 3 years ago

Well, you can check those samples against the protocol documentation to see if there is a problem with decoding.