How to add Protocol so Traccar pick up devices

W Kruger6 years ago

Hi Anton,

I'm so new to this and please excuse my ignorance.

I installed Traccar on Ubuntu and wit works great testing on my iPhone with the client. How do I add the actual gps devices Protocols so that traccar connect with them when I enter their IMEI ID to it? I'm obviously missing something here that might be obvious to everyone else.

Vendor sent me this when I asked for the protocols.

ISO 9141-2(5baud init,10.4kbaud)
ISO 14230-4 KWP(5baud init,10.4kbaud)
ISO 14230-4 KWP(fast init,10.4kbaud)
ISO 15765-4 CAN(11bit ID,500kaud)
ISO 15765-4 CAN(29bit ID,500kaud)
ISO 15765-4 CAN(11bit ID,250kaud)
ISO 15765-4 CAN(29bit ID,250kaud)
SAE J1939 CAN(29bit ID,250kaud)
SAE J1850 PWM(41.6kbaud)
SAE J1850 VPW(10.4kbaud)

I don't even know where to start, where to make a change so that Traccar connect to the tracker

CCTR-830 trackers from Carscop.

Thanks in advance. :j

Anton Tananaev6 years ago

Those are not server communication protocols. For you device most likely you should use Carscop protocol (port 5040). Server doesn't connect to the device; it's the other way around. You should configure device to connect to the server. Check device manual or contact device vendor for more information on how to configure device.

W Kruger6 years ago

Great Thanks

W Kruger6 years ago

Hi Anton,

I found how to change the Server IP:port on the device.

I changed the IP:port to myip:8082. But still no active device. I changed it back to their server 58.64.155.133 and port 8011. It is now active ont heir server again. Im still not sure where I should make it 5040? I'm looking in /opt/traccar/logs, but there is only one wrapper.log and this only show info form 02/12/2017, nothing from yesterday or today all though I did test with my phone and client to make sure the platform works.

Thanks
Willem

W Kruger6 years ago

NVM about the logs, I found them, but if you please can still look at the rest of my question.

thanks, :j

W Kruger6 years ago

Do you want to see the logs? There's alot about 5060 and 5055

Do you need to see the logs? Below is some HEX decodes:

GET / HTTP/1.1
Host: 58.179.213.234:5060
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Charset: GBK,utf-8;q=0.7,;q=0.3
Accept: application/json, text/plain, /*
POST /?id=820560×tamp=1512360222&lat=-32.000844&lon=115.929831&speed=0&bearing=0&altitude=16.24766482174402&batt=64 HTTP/1.1
Accept: /
User-Agent: TraccarClient/48 CFNetwork/889.9 Darwin/17.2.0
Accept-Language: en-au
Accept-Encoding: gzip, deflate
Via: http/1.1 tms-tracking
X-Forwarded-For: 1.127.111.194
X-Forwarded-Proto: http
X-Forwarded-Host: 58.179.213.234:8082
X-Forwarded-Server: 192.168.1.2
Host: localhost:5055
Content-Length: 0

---------- LoL NICK? Test Wuz here

USER test +iw test :Test Wuz Here
NICK vldbrezyt

W Kruger6 years ago
2017-12-04 01:26:15  INFO: [16ED624A] connected
2017-12-04 01:26:15 DEBUG: [16ED624A: 5106 < 5.101.40.34] HEX: 0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d696e697374720d0a0100080003000000
2017-12-04 02:39:03  WARN: [16ED624A] error - Connection reset by peer - IOException (...)
2017-12-04 02:39:03  INFO: [16ED624A] disconnected
2017-12-04 09:30:07  INFO: [AC084223] connected
2017-12-04 09:30:07 DEBUG: [AC084223: 5050 < 77.72.83.193] HEX: 0300002b26e00000000000436f6f6b69653a206d737473686173683d68656c6c6f0d0a0100080003000000
2017-12-04 09:30:22  WARN: [AC084223] error - Connection reset by peer - IOException (...)
2017-12-04 09:30:22  INFO: [AC084223] disconnected
2017-12-04 10:09:45  INFO: [9F3EB1B7] connected
2017-12-04 10:09:45 DEBUG: [9F3EB1B7: 5005 < 77.72.83.193] HEX: 0300002b26e00000000000436f6f6b69653a206d737473686173683d68656c6c6f0d0a0100080003000000
2017-12-04 10:10:00  WARN: [9F3EB1B7] error - Connection reset by peer - IOException (...)
2017-12-04 10:10:00  INFO: [9F3EB1B7] disconnected
2017-12-04 12:06:10  INFO: [500BB568] connected
2017-12-04 12:06:10 DEBUG: [500BB568: 5055 < 127.0.0.1] HEX: 504f5354202f3f69643d3832303536302674696d657374616d703d31353132333036363430266c61743d2d33312e373534323631266c6f6e3d3131352e3736313331382673706565643d302662656172696e673d3026616c7469747564653d34322e353037373430313737313338333326626174743d383520485454502f312e310d0a4163636570743a202a2f2a0d0a557365722d4167656e743a2054726163636172436c69656e742f34382043464e6574776f726b2f3838392e392044617277696e2f31372e322e300d0a4163636570742d4c616e67756167653a20656e2d61750d0a4163636570742d456e636f64696e673a20677a69702c206465666c6174650d0a5669613a20687474702f312e3120746d732d747261636b696e670d0a582d466f727761726465642d466f723a20312e3132372e3131312e3139340d0a582d466f727761726465642d50726f746f3a20687474700d0a582d466f727761726465642d486f73743a2035382e3137392e3231332e3233343a383038320d0a582d466f727761726465642d5365727665723a203139322e3136382e312e320d0a486f73743a206c6f63616c686f73743a353035350d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2017-12-04 12:06:10 DEBUG: [500BB568: 5055 > 127.0.0.1] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2017-12-04 12:06:10 DEBUG: [500BB568: 5055 < 127.0.0.1] HEX: 504f5354202f3f69643d3832303536302674696d657374616d703d31353132333630323232266c61743d2d33322e303030383434266c6f6e3d3131352e3932393833312673706565643d302662656172696e673d3026616c7469747564653d31362e323437363634383231373434303226626174743d363420485454502f312e310d0a4163636570743a202a2f2a0d0a557365722d4167656e743a2054726163636172436c69656e742f34382043464e6574776f726b2f3838392e392044617277696e2f31372e322e300d0a4163636570742d4c616e67756167653a20656e2d61750d0a4163636570742d456e636f64696e673a20677a69702c206465666c6174650d0a5669613a20687474702f312e3120746d732d747261636b696e670d0a582d466f727761726465642d466f723a20312e3132372e3131312e3139340d0a582d466f727761726465642d50726f746f3a20687474700d0a582d466f727761726465642d486f73743a2035382e3137392e3231332e3233343a383038320d0a582d466f727761726465642d5365727665723a203139322e3136382e312e320d0a486f73743a206c6f63616c686f73743a353035350d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2017-12-04 12:06:10 DEBUG: [500BB568: 5055 > 127.0.0.1] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2017-12-04 12:06:10  INFO: [500BB568] id: 820560, time: 2017-12-03 21:10:40, lat: -31.75426, lon: 115.76132, speed: 0.0, course: 0.0
2017-12-04 12:06:10  INFO: [500BB568] id: 820560, time: 2017-12-04 12:03:42, lat: -32.00084, lon: 115.92983, speed: 0.0, course: 0.0
2017-12-04 12:06:15  WARN: 535 Incorrect authentication data
 - AuthenticationFailedException (... < NotificationMail:117 < *:131 < ...)
2017-12-04 12:06:40  INFO: [500BB568] disconnected
2017-12-04 13:18:34  INFO: [9C3A1A87] connected
2017-12-04 13:18:44  INFO: [9C3A1A87] disconnected
2017-12-04 16:02:54  INFO: [E5D5A179] connected
2017-12-04 16:02:54 DEBUG: [E5D5A179: 5060 < 118.193.31.181] HEX: 16030101220100011e03038cfec78e6f4b9b798923c7d8c4f7f488f7346a7ffb738db0508a37c3176a9a39000088c030c02cc028c024c014c00a00a3009f006b006a0039003800880087c032c02ec02ac026c00fc005009d003d00350084c012c00800160013c00dc003000ac02fc02bc027c023c013c00900a2009e0067004000330032009a009900450044c031c02dc029c025c00ec004009c003c002f00960041c011c007c00cc0020005000400150012000900ff0100006d000b000403000102000a00340032000e000d0019000b000c00180009000a00160017000800060007001400150004000500120013000100020003000f0010001100230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101
2017-12-04 16:02:57  INFO: [E5D5A179] disconnected
2017-12-04 16:02:57  INFO: [3E82A3F2] connected
2017-12-04 16:03:00  WARN: [3E82A3F2] error - Connection reset by peer - IOException (...)
2017-12-04 16:03:00  INFO: [3E82A3F2] disconnected
2017-12-04 16:03:01  INFO: [4D663C88] connected
2017-12-04 16:03:01 DEBUG: [4D663C88: 5060 < 118.193.31.181] HEX: 474554202f20485454502f312e310d0a486f73743a2035382e3137392e3231332e3233343a353036300d0a557365722d4167656e743a204d6f7a696c6c612f352e30202857696e646f7773204e5420362e313b20574f5736343b2072763a35322e3029204765636b6f2f32303130303130312046697265666f782f35322e300d0a4163636570742d456e636f64696e673a20677a69702c206465666c6174652c2062720d0a4163636570742d4c616e67756167653a207a682d434e2c7a683b713d302e382c656e2d55533b713d302e352c656e3b713d302e330d0a4163636570742d436861727365743a2047424b2c7574662d383b713d302e372c2a3b713d302e330d0a4163636570743a206170706c69636174696f6e2f6a736f6e2c20746578742f706c61696e2c202a2f2a0d0a0d0a
2017-12-04 16:03:04  WARN: [4D663C88] error - Connection reset by peer - IOException (...)
2017-12-04 16:03:04  INFO: [4D663C88] disconnected
2017-12-04 16:03:04  INFO: [2B948DAC] connected
2017-12-04 16:03:04 DEBUG: [2B948DAC: 5060 < 118.193.31.181] HEX: 037072696e7465720a
2017-12-04 16:03:07  WARN: [2B948DAC] error - Connection reset by peer - IOException (...)
2017-12-04 16:03:07  INFO: [2B948DAC] disconnected
2017-12-04 16:03:07  INFO: [5DEACDD0] connected
2017-12-04 16:03:07 DEBUG: [5DEACDD0: 5060 < 118.193.31.181] HEX: c00101008ffd55a90000001775eb533c2040424289ac7497012261386ffd4d53d8e2ad
2017-12-04 16:03:10  WARN: [5DEACDD0] error - Connection reset by peer - IOException (...)
2017-12-04 16:03:10  INFO: [5DEACDD0] disconnected
2017-12-04 16:03:10  INFO: [27D27EA3] connected
2017-12-04 16:03:10 DEBUG: [27D27EA3: 5060 < 118.193.31.181] HEX: 4f5054494f4e53202a20525453502f312e300d0a435365713a20310d0a0d0a
2017-12-04 16:03:13  WARN: [27D27EA3] error - Connection reset by peer - IOException (...)
2017-12-04 16:03:13  INFO: [27D27EA3] disconnected
2017-12-04 16:03:14  INFO: [79B072B8] connected
2017-12-04 16:03:14 DEBUG: [79B072B8: 5060 < 118.193.31.181] HEX: a400000000000000080000000000000000000000000000000000000000000000
2017-12-04 16:03:17  WARN: [79B072B8] error - Connection reset by peer - IOException (...)
2017-12-04 16:03:17  INFO: [79B072B8] disconnected
2017-12-04 16:03:17  INFO: [F330EF86] connected
2017-12-04 16:03:17 DEBUG: [F330EF86: 5060 < 118.193.31.181] HEX: 005a0000010000000136012c000008007fff7f08000000010020003a0000000000000000000000000000000034e600000001000000000000000028434f4e4e4543545f444154413d28434f4d4d414e443d76657273696f6e2929
2017-12-04 16:03:20  WARN: [F330EF86] error - Connection reset by peer - IOException (...)
2017-12-04 16:03:20  INFO: [F330EF86] disconnected
2017-12-04 16:03:20  INFO: [8581262F] connected
2017-12-04 16:03:20 DEBUG: [8581262F: 5060 < 118.193.31.181] HEX: 3c3f786d6c2076657273696f6e3d27312e30273f3e3c73747265616d3a73747265616d20786d6c6e733a73747265616d3d27687474703a2f2f6574686572782e6a61626265722e6f72672f73747265616d732720786d6c6e733d276a61626265723a636c69656e742720786d6c3a6c616e673d2772752d52552720746f3d272e272076657273696f6e3d27312e30273e
2017-12-04 16:03:23  WARN: [8581262F] error - Connection reset by peer - IOException (...)
2017-12-04 16:03:23  INFO: [8581262F] disconnected
2017-12-04 16:03:24  INFO: [0A8C5C5F] connected
2017-12-04 16:03:27 DEBUG: [0A8C5C5F: 5060 < 118.193.31.181] HEX: 4a524d4900024b
2017-12-04 16:03:30  WARN: [0A8C5C5F] error - Connection reset by peer - IOException (...)
2017-12-04 16:03:30  INFO: [0A8C5C5F] disconnected
2017-12-04 16:03:30  INFO: [6A96A4EA] connected
2017-12-04 16:03:30 DEBUG: [6A96A4EA: 5060 < 118.193.31.181] HEX: 0000005b00030000757365720074657374006461746162617365007465737400636c69656e745f656e636f64696e6700554e49434f444500446174655374796c650049534f0054696d655a6f6e650055532f506163696669630000
2017-12-04 16:03:33  WARN: [6A96A4EA] error - Connection reset by peer - IOException (...)
2017-12-04 16:03:33  INFO: [6A96A4EA] disconnected
2017-12-04 16:03:33  INFO: [B2FFB6DC] connected
2017-12-04 16:03:33 DEBUG: [B2FFB6DC: 5060 < 118.193.31.181] HEX: 494e464f20414c4c0d0a
2017-12-04 16:03:36  WARN: [B2FFB6DC] error - Connection reset by peer - IOException (...)
2017-12-04 16:03:36  INFO: [B2FFB6DC] disconnected
2017-12-04 16:03:36  INFO: [FA404942] connected
2017-12-04 16:03:36 DEBUG: [FA404942: 5060 < 118.193.31.181] HEX: 405253594e43443a2032390a
2017-12-04 16:03:39  WARN: [FA404942] error - Connection reset by peer - IOException (...)
2017-12-04 16:03:39  INFO: [FA404942] disconnected
2017-12-04 16:03:40  INFO: [46BC218F] connected
2017-12-04 16:03:40 DEBUG: [46BC218F: 5060 < 118.193.31.181] HEX: 00000031ff534d4272000000001845600000000000000000000000000000533000000100000e00024e54204c4d20302e3132000200
2017-12-04 16:03:43  WARN: [46BC218F] error - Connection reset by peer - IOException (...)
2017-12-04 16:03:43  INFO: [46BC218F] disconnected
2017-12-04 16:03:43  INFO: [94FD156B] connected
2017-12-04 16:03:43 DEBUG: [94FD156B: 5060 < 118.193.31.181] HEX: bbbb0100000001
2017-12-04 16:03:46  WARN: [94FD156B] error - Connection reset by peer - IOException (...)
2017-12-04 16:03:46  INFO: [94FD156B] disconnected
2017-12-04 16:03:46  INFO: [0CA129A7] connected
2017-12-04 16:03:46 DEBUG: [0CA129A7: 5060 < 118.193.31.181] HEX: 300c020101600702010304008000
2017-12-04 16:03:49  WARN: [0CA129A7] error - Connection reset by peer - IOException (...)
2017-12-04 16:03:49  INFO: [0CA129A7] disconnected
2017-12-04 16:03:50  INFO: [D86BE6E0] connected
2017-12-04 16:03:50 DEBUG: [D86BE6E0: 5060 < 118.193.31.181] HEX: 000000000005002b0e0100
2017-12-04 16:03:53  WARN: [D86BE6E0] error - Connection reset by peer - IOException (...)
2017-12-04 16:03:53  INFO: [D86BE6E0] disconnected
2017-12-04 16:03:53  INFO: [D099C3F3] connected
2017-12-04 16:03:53 DEBUG: [D099C3F3: 5060 < 118.193.31.181] HEX: 056405c900000000364c056405c901000000de8e056405c9020000009f84056405c9030000007746056405c9040000001d90056405c905000000f552056405c906000000b458056405c9070000005c9a056405c90800000019b9056405c909000000f17b056405c90a000000b071056405c90b00000058b3056405c90c0000003265056405c90d000000daa7056405c90e0000009bad056405c90f000000736f056405c91000000011eb056405c911000000f929056405c912000000b823056405c91300000050e1056405c9140000003a37056405c915000000d2f5056405c91600000093ff056405c9170000007b3d056405c9180000003e1e056405c919000000d6dc056405c91a00000097d6056405c91b0000007f14056405c91c00000015c2056405c91d000000fd00056405c91e000000bc0a056405c91f00000054c8056405c920000000014f056405c921000000e98d056405c922000000a887056405c9230000004045056405c9240000002a93056405c925000000c251056405c926000000835b056405c9270000006b99056405c9280000002eba056405c929000000c678056405c92a0000008772056405c92b0000006fb0056405c92c0000000566056405c92d000000eda4056405c92e000000acae056405c92f000000446c056405c93000000026e8056405c931000000ce2a056405c9320000008f20056405c93300000067e2056405c9340000000d34056405c935000000e5f6056405c936000000a4fc056405c9370000004c3e056405c938000000091d056405c939000000e1df056405c93a000000a0d5056405c93b0000004817056405c93c00000022c1056405c93d000000ca03056405c93e0000008b09056405c93f00000063cb056405c940000000584a056405c941000000b088056405c942000000f182056405c9430000001940056405c9440000007396056405c9450000009b54056405c946000000da5e056405c947000000329c056405c94800000077bf056405c9490000009f7d056405c94a000000de77056405c94b00000036b5056405c94c0000005c63056405c94d000000b4a1056405c94e000000f5ab056405c94f0000001d69056405c9500000007fed056405c951000000972f056405c952000000d625056405c9530000003ee7056405c9540000005431056405c955000000bcf3056405c956000000fdf9056405c957000000153b056405c9580000005018056405c959000000b8da056405c95a000000f9d0056405c95b0000001112056405c95c0000007bc4056405c95d0000009306056405c95e000000d20c056405c95f0000003ace056405c9600000006f49056405c961000000878b056405c962000000c681056405c9630000002e43056405c9640000004495
2017-12-04 16:03:56  WARN: [D099C3F3] error - Connection reset by peer - IOException (...)
2017-12-04 16:03:56  INFO: [D099C3F3] disconnected
2017-12-04 16:03:56  INFO: [020ECC2E] connected
2017-12-04 16:03:56 DEBUG: [020ECC2E: 5060 < 118.193.31.181] HEX: 666f7820612031202d3120666f782068656c6c6f0a7b0a666f782e76657273696f6e3d733a312e300a69643d693a320a7d3b3b0a
2017-12-04 16:03:59  WARN: [020ECC2E] error - Connection reset by peer - IOException (...)
2017-12-04 16:03:59  INFO: [020ECC2E] disconnected
2017-12-04 16:03:59  INFO: [FA2E132A] connected
2017-12-04 16:03:59 DEBUG: [FA2E132A: 5060 < 118.193.31.181] HEX: cc01000b4002000047ee
2017-12-04 16:04:02  WARN: [FA2E132A] error - Connection reset by peer - IOException (...)
2017-12-04 16:04:02  INFO: [FA2E132A] disconnected
2017-12-04 16:04:03  INFO: [D45F3E8F] connected
2017-12-04 16:04:03 DEBUG: [D45F3E8F: 5060 < 118.193.31.181] HEX: 73746174730d0a
2017-12-04 16:04:06  WARN: [D45F3E8F] error - Connection reset by peer - IOException (...)
2017-12-04 16:04:06  INFO: [D45F3E8F] disconnected
2017-12-04 16:04:06  INFO: [1778C0D5] connected
2017-12-04 16:04:06 DEBUG: [1778C0D5: 5060 < 118.193.31.181] HEX: 00726f6f7400726f6f740076743130302f3936303000
2017-12-04 16:04:09  WARN: [1778C0D5] error - Connection reset by peer - IOException (...)
2017-12-04 16:04:09  INFO: [1778C0D5] disconnected
2017-12-04 16:04:09  INFO: [D755A2F0] connected
2017-12-04 16:04:09 DEBUG: [D755A2F0: 5060 < 118.193.31.181] HEX: 63000000000000000000000000000000c1debed100000000
2017-12-04 16:04:12  WARN: [D755A2F0] error - Connection reset by peer - IOException (...)
2017-12-04 16:04:12  INFO: [D755A2F0] disconnected
2017-12-04 16:04:13  INFO: [C48D4746] connected
2017-12-04 16:04:13 DEBUG: [C48D4746: 5060 < 118.193.31.181] HEX: 030000221de00000000000436f6f6b69653a206d737473686173683d413730300d0a
2017-12-04 16:04:16  WARN: [C48D4746] error - Connection reset by peer - IOException (...)
2017-12-04 16:04:16  INFO: [C48D4746] disconnected
2017-12-04 16:04:16  INFO: [DA63824D] connected
2017-12-04 16:04:16 DEBUG: [DA63824D: 5060 < 118.193.31.181] HEX: 0300001611e00000000400c1020102c2020100c0010a
2017-12-04 16:04:19  INFO: [DA63824D] disconnected
2017-12-04 16:04:19  INFO: [B57C4281] connected
2017-12-04 16:04:19 DEBUG: [B57C4281: 5060 < 118.193.31.181] HEX: 0300001611e00000000400c1020200c2020100c0010a
2017-12-04 16:04:22  INFO: [B57C4281] disconnected
2017-12-04 16:04:22  INFO: [1F046F9C] connected
2017-12-04 16:04:22 DEBUG: [1F046F9C: 5060 < 118.193.31.181] HEX: 0300001611e00000000400c1020201c2020100c0010a
2017-12-04 16:04:25  INFO: [1F046F9C] disconnected
2017-12-04 16:04:26  INFO: [B94D870B] connected
2017-12-04 16:04:26 DEBUG: [B94D870B: 5060 < 118.193.31.181] HEX: 0300001611e00000000400c1020102c2020200c0010a
2017-12-04 16:04:29  INFO: [B94D870B] disconnected
2017-12-04 16:04:29  INFO: [5043218D] connected
2017-12-04 16:04:29 DEBUG: [5043218D: 5060 < 118.193.31.181] HEX: 0300001611e00000000400c1020200c2020200c0010a
2017-12-04 16:04:32  INFO: [5043218D] disconnected
2017-12-04 16:04:32  INFO: [5063A8F3] connected
2017-12-04 16:04:32 DEBUG: [5063A8F3: 5060 < 118.193.31.181] HEX: 0300001611e00000000400c1020201c2020200c0010a
2017-12-04 16:04:35  WARN: [5063A8F3] error - Connection reset by peer - IOException (...)
2017-12-04 16:04:35  INFO: [5063A8F3] disconnected
2017-12-04 16:04:36  INFO: [5FCEF0EF] connected
2017-12-04 16:04:39 DEBUG: [5FCEF0EF: 5060 < 118.193.31.181] HEX: 555345522074657374202b69772074657374203a546573742057757a20486572650a4e49434b20766c646272657a79740a
2017-12-04 16:04:42  WARN: [5FCEF0EF] error - Connection reset by peer - IOException (...)
2017-12-04 16:04:42  INFO: [5FCEF0EF] disconnected
2017-12-04 16:04:42  INFO: [2F609A92] connected
2017-12-04 16:04:42 DEBUG: [2F609A92: 5060 < 118.193.31.181] HEX: 0101001a0000000078800003000c494245544830314e305f4d00
2017-12-04 16:04:45  WARN: [2F609A92] error - Connection reset by peer - IOException (...)
2017-12-04 16:04:45  INFO: [2F609A92] disconnected
2017-12-04 16:04:45  INFO: [D998407F] connected
2017-12-04 16:04:45 DEBUG: [D998407F: 5060 < 118.193.31.181] HEX: 57000000001111070000ffff030000fe03000014001c080a0800000000000000040101010000000001
2017-12-04 16:04:48  WARN: [D998407F] error - Connection reset by peer - IOException (...)
2017-12-04 16:04:48  INFO: [D998407F] disconnected
2017-12-04 16:04:48  INFO: [98CA69D2] connected
2017-12-04 16:04:51  WARN: [98CA69D2] error - Connection reset by peer - IOException (...)
2017-12-04 16:04:51  INFO: [98CA69D2] disconnected
2017-12-04 16:04:52  INFO: [BB41615F] connected
2017-12-04 16:04:52 DEBUG: [BB41615F: 5060 < 118.193.31.181] HEX: 01010000000000000000000000040005000000000000000000000000
2017-12-04 16:04:55  WARN: [BB41615F] error - Connection reset by peer - IOException (...)
2017-12-04 16:04:55  INFO: [BB41615F] disconnected
2017-12-04 16:04:55  INFO: [428DB409] connected
2017-12-04 16:04:55 DEBUG: [428DB409: 5060 < 118.193.31.181] HEX: 0004012b1b00
2017-12-04 16:04:58  WARN: [428DB409] error - Connection reset by peer - IOException (...)
2017-12-04 16:04:58  INFO: [428DB409] disconnected
2017-12-04 16:04:58  INFO: [9AF4DF94] connected
2017-12-04 16:04:58 DEBUG: [9AF4DF94: 5060 < 118.193.31.181] HEX: f9beb4d976657273696f6e00000000005500000064f0860d60ea00000100000000000000a701255a00000000010000000000000000000000000000000000ffff7f000001208d010000000000000000000000000000000000ffff3ab3d5ea13c4e9814eb0522e46110000000000
2017-12-04 16:05:01  WARN: [9AF4DF94] error - Connection reset by peer - IOException (...)
2017-12-04 16:05:01  INFO: [9AF4DF94] disconnected
2017-12-04 16:05:01  INFO: [DB717B9D] connected
2017-12-04 16:05:01 DEBUG: [DB717B9D: 5060 < 118.193.31.181] HEX: 680443000000
2017-12-04 16:05:04  WARN: [DB717B9D] error - Connection reset by peer - IOException (...)
2017-12-04 16:05:04  INFO: [DB717B9D] disconnected
2017-12-04 16:05:05  INFO: [AC43D438] connected
2017-12-04 16:05:05 DEBUG: [AC43D438: 5060 < 118.193.31.181] HEX: 446d645400000017000000010000000011110000000000
2017-12-04 16:05:08  WARN: [AC43D438] error - Connection reset by peer - IOException (...)
2017-12-04 16:05:08  INFO: [AC43D438] disconnected
2017-12-04 16:05:08  INFO: [0C3E700E] connected
2017-12-04 16:05:08 DEBUG: [0C3E700E: 5060 < 118.193.31.181] HEX: 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2017-12-04 16:05:11  WARN: [0C3E700E] error - Connection reset by peer - IOException (...)
2017-12-04 16:05:11  INFO: [0C3E700E] disconnected
2017-12-04 16:05:11  INFO: [BCE77741] connected
2017-12-04 16:05:11 DEBUG: [BCE77741: 5060 < 118.193.31.181] HEX: 46494e530000000c000000000000000000000000
2017-12-04 16:05:14  WARN: [BCE77741] error - Connection reset by peer - IOException (...)
2017-12-04 16:05:14  INFO: [BCE77741] disconnected
2017-12-04 16:05:15  INFO: [7ED7C023] connected
2017-12-04 16:05:15 DEBUG: [7ED7C023: 5060 < 118.193.31.181] HEX: 4300000003000000ffffffffd40700000000000061646d696e2e24636d640000000000ffffffff1c000000016c69737444617461626173657300000000000000f03f00
2017-12-04 16:05:18  WARN: [7ED7C023] error - Connection reset by peer - IOException (...)
2017-12-04 16:05:18  INFO: [7ED7C023] disconnected
2017-12-04 18:47:58  INFO: [2B93C108] connected
2017-12-04 18:47:58  INFO: [2B93C108] disconnected
2017-12-04 18:47:59  INFO: [96AB0741] connected
2017-12-04 18:47:59 DEBUG: [96AB0741: 5050 < 31.207.47.94] HEX: 0300002a25e00000000000436f6f6b69653a206d737473686173683d546573740d0a0100080003000000
2017-12-04 18:48:14 DEBUG: [96AB0741: 5050 < 31.207.47.94] HEX: 0300002502f08064000003eb70801616001700e9030000000000010800240000000100ea03
2017-12-04 18:48:14 DEBUG: [96AB0741: 5050 < 31.207.47.94] HEX: 0300000902f0802003
2017-12-04 18:48:14  INFO: [96AB0741] disconnected
2017-12-04 18:48:14  INFO: [B6C70C02] connected
2017-12-04 18:48:14 DEBUG: [B6C70C02: 5050 < 31.207.47.94] HEX: 0300002a25e00000000000436f6f6b69653a206d737473686173683d546573740d0a0100080003000000
2017-12-04 18:48:29 DEBUG: [B6C70C02: 5050 < 31.207.47.94] HEX: 0300002502f08064000003eb70801616001700e9030000000000010800240000000100ea03
2017-12-04 18:48:29 DEBUG: [B6C70C02: 5050 < 31.207.47.94] HEX: 0300000902f0802003
2017-12-04 18:48:29  INFO: [B6C70C02] disconnected
Anton Tananaev6 years ago

You should configure device to send to port 5040. I'm not sure why you are talking about port 8082. There is also no point in sending logs if you haven't even configured your device yet.

W Kruger6 years ago

Hi Anton,

That's the thing, I changed the details yesterday and today from their carscop_ip:8011 to my_ip:5040, it didn't work and I tried my_ip:8082 thinking that is what I had to set the server too on my iphone before it worked with the mobile client.

I made it my_ip:5040 just few minutes ago again :

2017-12-04 20:10:07 DEBUG: [A7C0613D: 5040 < 120.18.58.63] HEX: 2a48512c313730303039343130332c56312c3132313030352c412c333134352e323538362c532c31313534352e363737322c452c3030302e312c3335332e39302c3034313231372c464646464642464623
2017-12-04 20:10:37 DEBUG: [A7C0613D: 5040 < 120.18.58.63] HEX: 2a48512c313730303039343130332c56312c3132313033352c412c333134352e323538362c532c31313534352e363737352c452c3030302e302c3030382e36322c3034313231372c464646464642464623
2017-12-04 20:11:07 DEBUG: [A7C0613D: 5040 < 120.18.58.63] HEX: 2a48512c313730303039343130332c56312c3132313130352c412c333134352e323538362c532c31313534352e363737342c452c3030302e312c3238322e31332c3034313231372c464646464642464623

every line is the same decoded to

*HQ,1700094103,V1,121105,A,3145.2586,S,11545.6774,E,000.1,282.13,041217,FFFFFBFF#
W Kruger6 years ago

Does this mean the protocol is h02? port 5013?

W Kruger6 years ago

YAY!! port 5013 worked!!

W Kruger6 years ago

For future noobs like me:

In the device manual Find the Vendors IP and PORT and how to change this in the device.
In mine it was a text to the device - "IP*{password}server_ip,port" in my case it looked like this: "IP654321*000.000.000.000,5013" (000.000.000.000 = my server ip
You will receive a reply to advice the IP:server_ip, port:portnumber Battery 100%

At first I had it on port 5040 then used the HEX decoder https://www.traccar.org/hex-decoder/ and copied the HEX from the traccar-server.log file from "/opt/traccar/logs" (Ubuntu server)

I go the above code I compared it to the codes in here: https://raw.githubusercontent.com/tananaev/traccar/master/tools/test-integration.py

I then saw that mine was the same as HO2 and the port wiht it 5013.. BooooOm changfed the ip and port to my server IP and port5013 and GREEN for go on my own traccar installation

THANKS ANTON!!! for the patience