Gosafe G1C device protocol

Sanjeewa7 years ago

They have introduced new tracker, not compatible with current protocols, but most of other devices are compatible with Traccar
its better if you can add this protocol to next update.

Anton Tananaev7 years ago

What makes you think it's not compatible? Can I see protocol and logs?

Sanjeewa7 years ago

Hi Anton,
Yes, seems like it is not compatible.
Here i have attached the protocol and logs.
Link with title
Link with title

Here is the log

2018-05-22 16:03:06  INFO: [E27FC4EE] connected
2018-05-22 16:03:10 DEBUG: [E27FC4EE: 5078 < 105.234.164.35] HEX: 7e010000210303000002640001002c012f37303131314b4d2d30312020203030303030303001d4c1423838383838277e
2018-05-22 16:03:17 DEBUG: [E27FC4EE: 5078 < 105.234.164.35] HEX: 7e010000210303000002640002002c012f37303131314b4d2d30312020203030303030303001d4c1423838383838247e
2018-05-22 16:03:25 DEBUG: [E27FC4EE: 5078 < 105.234.164.35] HEX: 7e010000210303000002640003002c012f37303131314b4d2d30312020203030303030303001d4c1423838383838257e
2018-05-22 16:03:38 DEBUG: [E27FC4EE: 5078 < 105.234.164.35] HEX: 7e010000210303000002640004002c012f37303131314b4d2d30312020203030303030303001d4c1423838383838227e
2018-05-22 16:03:45 DEBUG: [E27FC4EE: 5078 < 105.234.164.35] HEX: 7e010000210303000002640005002c012f37303131314b4d2d30312020203030303030303001d4c1423838383838237e
2018-05-22 16:03:45 DEBUG: [E27FC4EE: 5078 > 105.234.164.35] HEX: 31323334
2018-05-22 16:04:06 DEBUG: [E27FC4EE: 5078 < 105.234.164.35] HEX: 7e010000210303000002640006002c012f37303131314b4d2d30312020203030303030303001d4c1423838383838207e
2018-05-22 16:04:27 DEBUG: [E27FC4EE: 5078 < 105.234.164.35] HEX: 7e010000210303000002640007002c012f37303131314b4d2d30312020203030303030303001d4c1423838383838217e
2018-05-22 16:07:05 DEBUG: [E27FC4EE: 5078 < 105.234.164.35] HEX: 7e010000210303000002640008002c012f37303131314b4d2d30312020203030303030303001d4c14238383838382e7e
2018-05-22 16:07:34 DEBUG: [E27FC4EE: 5078 < 105.234.164.35] HEX: 7e010000210303000002640009002c012f37303131314b4d2d30312020203030303030303001d4c14238383838382f7e
2018-05-22 16:08:01 DEBUG: [E27FC4EE: 5078 < 105.234.164.35] HEX: 7e00030000030300000264000a6f7e
2018-05-22 16:08:09  INFO: [E27FC4EE] disconnected
Anton Tananaev7 years ago

It's Huabao protocol, port 5015 in Traccar.

Sanjeewa7 years ago

Thanks for the information. it is decoding now.

here is the log now.
i can see some of the data not decoding and replying. is it normal?
Anyway i'm going to install on a vehicle and see the way forward.

2018-05-23 10:00:13  INFO: [0760A852] connected
2018-05-23 10:00:18 DEBUG: [0760A852: 5015 < 105.234.162.38] HEX: 7e010000210303000002640006002c012f37303131314b4d2d30312020203030303030303001d4c1423838383838207e
2018-05-23 10:00:18 DEBUG: [0760A852: 5015 > 105.234.162.38] HEX: 7e81000011030300000264000100060061757468656e7469636174696f6ef17e
2018-05-23 10:00:22 DEBUG: [0760A852: 5015 < 105.234.162.38] HEX: 7e0102000e030300000264000761757468656e7469636174696f6e6c7e
2018-05-23 10:00:22 DEBUG: [0760A852: 5015 > 105.234.162.38] HEX: 7e8001000503030000026400010007010200e77e
2018-05-23 10:00:23 DEBUG: [0760A852: 5015 < 105.234.162.38] HEX: 7e0200003a0303000002640008000000000000000700f127f00216ff500000000000bc180523160022010400000000eb16000c00b28926502970000155259000060089fffffffef57e
2018-05-23 10:00:23  INFO: [0760A852] id: 030300000264, time: 2018-05-23 10:00:22, lat: -15.80440, lon: 35.06158, speed: 0.0, course: 188.0
2018-05-23 10:00:23 DEBUG: [0760A852: 5015 < 105.234.162.38] HEX: 7e0002000003030000026400096d7e
2018-05-23 10:00:32 DEBUG: [0760A852: 5015 < 105.234.162.38] HEX: 7e00020000030300000264000a6e7e
2018-05-23 10:00:54 DEBUG: [0760A852: 5015 < 105.234.162.38] HEX: 7e00020000030300000264000b6f7e
2018-05-23 10:01:13 DEBUG: [0760A852: 5015 < 105.234.162.38] HEX: 7e00020000030300000264000c687e
2018-05-23 10:01:39 DEBUG: [0760A852: 5015 < 105.234.162.38] HEX: 7e00020000030300000264000d697e
2018-05-23 10:01:47  INFO: [0760A852] disconnected
2018-05-23 10:02:16  INFO: [026A545B] connected
2018-05-23 10:02:16 DEBUG: [026A545B: 5015 < 105.234.164.37] HEX: 7e0102000e030300000264000e61757468656e7469636174696f6e657e
2018-05-23 10:02:16 DEBUG: [026A545B: 5015 > 105.234.164.37] HEX: 7e800100050303000002640001000e010200ee7e
2018-05-23 10:02:21 DEBUG: [026A545B: 5015 < 105.234.164.37] HEX: 7e0704012f030300000264000f000501003a000000000000000700f127f00216ff500000000000b7180523160041010400000000eb16000c00b28926502970000155259000060089fffffffe003a000000000000000700f127f00216ff500000000000ba180523160101010400000000eb16000c00b28926502970000155259000060089fffffffe003a000000000000000700f127f00216ff500000000000ba180523160121010400000000eb16000c00b28926502970000155259000060089fffffffe003a000000000000000700f126d40216ff600000000000a1180523160141010400000000eb16000c00b28926502970000155259000060089fffffffe003a000000000000000700f127170216ff3c000000000166180523160201010400000000eb16000c00b28926502970000155259000060089fffffffe8a7e

2018-05-23 10:02:37 DEBUG: [026A545B: 5015 < 105.234.164.37] HEX: 7e0200003a0303000002640010000000000000000700f126f60216ff50000000000098180523160219010400000000eb16000c00b28926502970000155259000060089fffffffef77e
2018-05-23 10:02:37  INFO: [026A545B] id: 030300000264, time: 2018-05-23 10:02:19, lat: -15.80415, lon: 35.06158, speed: 0.0, course: 152.0
2018-05-23 10:03:01 DEBUG: [026A545B: 5015 < 105.234.164.37] HEX: 7e000200000303000002640011757e
2018-05-23 10:03:02 DEBUG: [026A545B: 5015 < 105.234.164.37] HEX: 7e000200000303000002640012767e
2018-05-23 10:03:13 DEBUG: [026A545B: 5015 < 105.234.164.37] HEX: 7e000200000303000002640013777e
2018-05-23 10:03:18 DEBUG: [026A545B: 5015 < 105.234.164.37] HEX: 7e000200000303000002640014707e
2018-05-23 10:03:27 DEBUG: [026A545B: 5015 < 105.234.164.37] HEX: 7e000200000303000002640015717e
2018-05-23 10:03:35  INFO: [026A545B] disconnected
2018-05-23 10:04:12  INFO: [48E56D6F] connected
2018-05-23 10:04:14 DEBUG: [48E56D6F: 5015 < 105.234.162.26] HEX: 7e0102000e030300000264001661757468656e7469636174696f6e7d017e
2018-05-23 10:04:14 DEBUG: [48E56D6F: 5015 > 105.234.162.26] HEX: 7e8001000503030000026400010016010200f67e
2018-05-23 10:04:16 DEBUG: [48E56D6F: 5015 < 105.234.162.26] HEX: 7e0704012f0303000002640017000501003a000000000000000600f126f60216ff50000000000098180523160314010400000000eb16000c00b28926502970000155259000060089fffffffe003a000000000000000700f126f60216ff5000000000009c180523160239010400000000eb16000c00b28926502970000155259000060089fffffffe003a000000000000000700f126f60216ff5000000000009b180523160259010400000000eb16000c00b28926502970000155259000060089fffffffe003a000000000000000600f126f60216ff5000000000009f180523160333010400000000eb16000c00b28926502970000155259000060089fffffffe003a000000000000000600f126f60216ff50000000000098180523160353010400000000eb16000c00b28926502970000155259000060089fffffffed67e
2018-05-23 10:04:21 DEBUG: [48E56D6F: 5015 < 105.234.162.26] HEX: 7e0002000003030000026400187c7e
2018-05-23 10:04:30 DEBUG: [48E56D6F: 5015 < 105.234.162.26] HEX: 7e0002000003030000026400197d017e
2018-05-23 10:04:36 DEBUG: [48E56D6F: 5015 < 105.234.162.26] HEX: 7e00020000030300000264001a7d027e
2018-05-23 10:04:45 DEBUG: [48E56D6F: 5015 < 105.234.162.26] HEX: 7e00020000030300000264001b7f7e
2018-05-23 10:04:52 DEBUG: [48E56D6F: 5015 < 105.234.162.26] HEX: 7e00020000030300000264001c787e
2018-05-23 10:05:12  INFO: [C53D328D] connected
2018-05-23 10:05:14 DEBUG: [C53D328D: 5015 < 105.234.160.39] HEX: 7e0102000e030300000264001d61757468656e7469636174696f6e767e
2018-05-23 10:05:14 DEBUG: [C53D328D: 5015 > 105.234.160.39] HEX: 7e800100050303000002640001001d010200fd7e
2018-05-23 10:05:15 DEBUG: [C53D328D: 5015 < 105.234.160.39] HEX: 7e070400b7030300000264001e000301003a000000000000000600f126f60216ff50000000000097180523160414010400000000eb16000c00b28926502970000155259000060089fffffffe003a000000000000000600f126f60216ff50000000000099180523160433010400000000eb16000c00b28926502970000155259000060089fffffffe003a000000000000000600f126f60216ff5000000000009f180523160453010400000000eb16000c00b28926502970000155259000060089fffffffe2e7e
2018-05-23 10:05:19 DEBUG: [C53D328D: 5015 < 105.234.160.39] HEX: 7e00020000030300000264001f7b7e
2018-05-23 10:05:29 DEBUG: [C53D328D: 5015 < 105.234.160.39] HEX: 7e000200000303000002640020447e
2018-05-23 10:05:35 DEBUG: [C53D328D: 5015 < 105.234.160.39] HEX: 7e000200000303000002640021457e
2018-05-23 10:05:44 DEBUG: [C53D328D: 5015 < 105.234.160.39] HEX: 7e000200000303000002640022467e
2018-05-23 10:05:52 DEBUG: [C53D328D: 5015 < 105.234.160.39] HEX: 7e000200000303000002640023477e
2018-05-23 10:07:07  INFO: [CEBF71CD] connected
2018-05-23 10:07:07 DEBUG: [CEBF71CD: 5015 < 105.234.160.9] HEX: 7e0102000e030300000264000161757468656e7469636174696f6e6a7e
2018-05-23 10:07:07 DEBUG: [CEBF71CD: 5015 > 105.234.160.9] HEX: 7e8001000503030000026400010001010200e17e
2018-05-23 10:07:42 DEBUG: [CEBF71CD: 5015 < 105.234.160.9] HEX: 7e0704007b0303000002640002000201003a000001000000080500f126e40216ff40000000000000180523160605010400000000eb16000c00b28926502970000155259000060089fffffffe003a000001000000080700f127ae0216ff60000000000151180523160659010400000000eb16000c00b28926502970000155259000060089fffffffe7a7e
2018-05-23 10:08:34 DEBUG: [CEBF71CD: 5015 < 105.234.160.9] HEX: 7e000200000303000002640003677e
2018-05-23 10:09:45 DEBUG: [CEBF71CD: 5015 < 105.234.160.9] HEX: 7e000200000303000002640004607e
2018-05-23 10:09:51 DEBUG: [CEBF71CD: 5015 < 105.234.160.9] HEX: 7e000200000303000002640005617e
2018-05-23 10:10:00 DEBUG: [CEBF71CD: 5015 < 105.234.160.9] HEX: 7e000200000303000002640006627e
2018-05-23 10:10:35 DEBUG: [CEBF71CD: 5015 < 105.234.160.9] HEX: 7e000200000303000002640007637e
2018-05-23 10:11:14  INFO: [CEBF71CD] disconnected
2018-05-23 10:13:02  INFO: [BFC5CB72] connected
2018-05-23 10:13:03 DEBUG: [BFC5CB72: 5015 < 105.234.164.27] HEX: 7e0102000e030300000264000861757468656e7469636174696f6e637e
2018-05-23 10:13:03 DEBUG: [BFC5CB72: 5015 > 105.234.164.27] HEX: 7e8001000503030000026400010008010200e87e
2018-05-23 10:13:04 DEBUG: [BFC5CB72: 5015 < 105.234.164.27] HEX: 7e0704016b0303000002640009000601003a000001000000080700f1275a0216ff300000000000b5180523160707010400000000eb16000c00b28926502970000155259000060089fffffffe003a000001000000080700f1275a0216ff300000000000b5180523160727010400000000eb16000c00b28926502970000155259000060089fffffffe003a000001000000080700f1275a0216ff300000000000b5180523160747010400000000eb16000c00b28926502970000155259000060089fffffffe003a000001000000080700f1275a0216ff300000000000b518052316080701
2018-05-23 10:13:04 DEBUG: [BFC5CB72: 5015 < 105.234.164.27] HEX: 0400000000eb16000c00b28926502970000155259000060089fffffffe003a000001000000080700f1275a0216ff300000000000b5180523160827010400000000eb16000c00b28926502970000155259000060089fffffffe003a000001000000080700f1275a0216ff300000000000b5180523160847010400000000eb16000c00b28926502970000155259000060089fffffffe0e7e
2018-05-23 10:14:09 DEBUG: [BFC5CB72: 5015 < 105.234.164.27] HEX: 7e00020000030300000264000a6e7e
2018-05-23 10:14:18 DEBUG: [BFC5CB72: 5015 < 105.234.164.27] HEX: 7e00020000030300000264000b6f7e
2018-05-23 10:14:26 DEBUG: [BFC5CB72: 5015 < 105.234.164.27] HEX: 7e00020000030300000264000c687e
2018-05-23 10:14:34 DEBUG: [BFC5CB72: 5015 < 105.234.164.27] HEX: 7e00020000030300000264000d697e
2018-05-23 10:14:41 DEBUG: [BFC5CB72: 5015 < 105.234.164.27] HEX: 7e00020000030300000264000e6a7e
2018-05-23 10:14:49  INFO: [BFC5CB72] disconnected
2018-05-23 10:16:41  INFO: [44D33EAA] connected
2018-05-23 10:16:53 DEBUG: [44D33EAA: 5015 < 105.234.164.10] HEX: 7e0102000e030300000264000f61757468656e7469636174696f6e647e
2018-05-23 10:16:53 DEBUG: [44D33EAA: 5015 > 105.234.164.10] HEX: 7e800100050303000002640001000f010200ef7e
2018-05-23 10:16:56 DEBUG: [44D33EAA: 5015 < 105.234.164.10] HEX: 7e0704016b0303000002640010000601003a000001000000080700f1275a0216ff300000000000b5180523160907010400000000eb16000c00b28926502970000155259000060089fffffffe003a000001000000080700f1275a0216ff300000000000b5180523160927010400000000eb16000c00b28926502970000155259000060089fffffffe003a000001000000080700f1275a0216ff300000000000b5180523160947010400000000eb16000c00b28926502970000155259000060089fffffffe003a000001000000080700f1275a0216ff300000000000b5180523161007010400000000eb16000c00b28926502970000155259000060089fffffffe003a000001000000080700f1276b0216ff0c0000000000d8180523161027010400000000eb16000c00b28926502970000155259000060089fffffffe003a000001000000080700f1276b0216ff0c000000000156180523161047010400000000eb16000c00b28926502970000155259000060089fffffffe8e7e
2018-05-23 10:17:46 DEBUG: [44D33EAA: 5015 < 105.234.164.10] HEX: 7e000200000303000002640011757e
2018-05-23 10:19:16 DEBUG: [44D33EAA: 5015 < 105.234.164.10] HEX: 7e000200000303000002640012767e
2018-05-23 10:19:30 DEBUG: [44D33EAA: 5015 < 105.234.164.10] HEX: 7e000200000303000002640013777e
2018-05-23 10:19:37 DEBUG: [44D33EAA: 5015 < 105.234.164.10] HEX: 7e000200000303000002640014707e
2018-05-23 10:19:45 DEBUG: [44D33EAA: 5015 < 105.234.164.10] HEX: 7e000200000303000002640015717e
Anton Tananaev7 years ago

It can be normal. Not every message from device contains GPS data.

Sanjeewa7 years ago

Thanks,

Sanjeewa7 years ago

Seems like it is not decoding when it is moving (speed > 0).
i checked the database, there is no any positions with speed over 0.

Log

2018-05-24 09:28:19  INFO: [5A2D8720] connected
2018-05-24 09:28:25 DEBUG: [5A2D8720: 5015 < 105.234.166.33] HEX: 7e0102000e030300000209000161757468656e7469636174696f6e077e
2018-05-24 09:28:25 DEBUG: [5A2D8720: 5015 > 105.234.166.33] HEX: 7e80010005030300000209000100010102008c7e
2018-05-24 09:28:46 DEBUG: [5A2D8720: 5015 < 105.234.166.33] HEX: 7e0200003a0303000002090002000000000000000500f0f0cc02162278000000000000180524152839010400000005eb16000c00b28926502970000155258200060089fffffffe137e
2018-05-24 09:28:46  INFO: [5A2D8720] id: 030300000209, time: 2018-05-24 09:28:39, lat: -15.79028, lon: 35.00505, speed: 0.0, course: 0.0
2018-05-24 09:28:53 DEBUG: [5A2D8720: 5015 < 105.234.166.33] HEX: 7e0002000003030000020900030a7e
2018-05-24 09:29:42 DEBUG: [5A2D8720: 5015 < 105.234.166.33] HEX: 7e0002000003030000020900040d7e
2018-05-24 09:29:49 DEBUG: [5A2D8720: 5015 < 105.234.166.33] HEX: 7e0002000003030000020900050c7e
2018-05-24 09:30:00 DEBUG: [5A2D8720: 5015 < 105.234.166.33] HEX: 7e0002000003030000020900060f7e
2018-05-24 09:30:07 DEBUG: [5A2D8720: 5015 < 105.234.166.33] HEX: 7e0002000003030000020900070e7e
2018-05-24 09:30:13  INFO: [5A2D8720] disconnected
2018-05-24 09:30:41  INFO: [5DD1FDA1] connected
2018-05-24 09:30:41 DEBUG: [5DD1FDA1: 5015 < 105.234.162.30] HEX: 7e0102000e030300000264032f61757468656e7469636174696f6e477e
2018-05-24 09:30:41 DEBUG: [5DD1FDA1: 5015 > 105.234.162.30] HEX: 7e800100050303000002640001032f010200cc7e
2018-05-24 09:30:47  INFO: [C64A5587] connected
2018-05-24 09:30:49 DEBUG: [C64A5587: 5015 < 105.234.162.34] HEX: 7e0102000e030300000209000861757468656e7469636174696f6e0e7e
2018-05-24 09:30:49 DEBUG: [C64A5587: 5015 > 105.234.162.34] HEX: 7e8001000503030000020900010008010200857e
2018-05-24 09:30:50 DEBUG: [C64A5587: 5015 < 105.234.162.34] HEX: 7e0704016b0303000002090009000601003a000000000000000700f0e4e102162e30000000960065180524152943010400000006eb16000c00b28926502970000155258200060089fffffffe003a000000000000000700f0e50302162c30000000c80050180524152934010400000005eb16000c00b28926502970000155258200060089fffffffe003a000000000000000700f0e588021631a8000000820065180524153002010400000007eb16000c00b28926502970000155258200060089fffffffe003a000000000000000700f0e5fd0216356c0000019a005a180524153019010400000008eb16000c00b28926502970000155258200060089fffffffe003a000000000000000700f0e51302163ca4000000c8003e18052415303701040000000aeb16000c00b28926502970000155258200060089fffffffe003a000000000000000700f0e4c002163d8c000000f0006b18052415304101040000000aeb16000c00b28926502970000155258200060089fffffffef57e
2018-05-24 09:30:50 DEBUG: [5DD1FDA1: 5015 < 105.234.162.30] HEX: 7e0704016b0303000002640330000601003a000000000000000700f13ce7021705a0000000000052180524152614010400000184eb16000c00b28926502970000155259000060089fffffffe003a000000000000000700f13ce7021705a0000000000052180524152633010400000184eb16000c00b28926502970000155259000060089fffffffe003a000000000000000700f13ce7021705a0000000000052180524152653010400000184eb16000c00b28926502970000155259000060089fffffffe003a000000000000000700f13ce7021705a0000000000052180524152713010400000184eb16000c00b28926502970000155259000060089fffffffe003a000000000000000700f13ce7021705a0000000000052180524152733010400000184eb16000c00b28926502970000155259000060089fffffffe003a000000000000000700f13ce7021705a0000000000052180524152753010400000184eb16000c00b28926502970000155259000060089fffffffe3d7e
2018-05-24 09:30:50 DEBUG: [C64A5587: 5015 < 105.234.162.34] HEX: 7e0704007b030300000209000a000201003a000000000000000700f0e4e102163dd400000136007b18052415304201040000000aeb16000c00b28926502970000155258200060089fffffffe003a000000000000000700f0e52402163e7c00000186006818052415304401040000000aeb16000c00b28926502970000155258200060089fffffffeb07e
2018-05-24 09:30:51 DEBUG: [C64A5587: 5015 < 105.234.162.34] HEX: 7e00020000030300000209000b027e
2018-05-24 09:31:03 DEBUG: [C64A5587: 5015 < 105.234.162.34] HEX: 7e00020000030300000209000c057e
2018-05-24 09:31:11 DEBUG: [C64A5587: 5015 < 105.234.162.34] HEX: 7e00020000030300000209000d047e
2018-05-24 09:31:51 DEBUG: [C64A5587: 5015 < 105.234.162.34] HEX: 7e00020000030300000209000e077e
2018-05-24 09:31:58 DEBUG: [C64A5587: 5015 < 105.234.162.34] HEX: 7e00020000030300000209000f067e
2018-05-24 09:32:07  INFO: [C64A5587] disconnected
Mohamed3 years ago

Hello,

I'm trying to send engine cut off/on to G1C gosafe device that on Port Huabao protocol, but not working

Immobilized
<SPGS*IMB>

in hex: 3C535047532A494D423E

Demobilize
<SPGS*RLS>
in hex: 3C535047532A524C533E

so could you please tell what is the right command in hex

BR

Haseeb Uddin2 years ago

Does any have the command list handy for SMS commands to program the G1C Mini?