Help with Tracking Device

ralf7 years ago

Hello, I got this tracking device, it uses Air Interface, I'd just like to know if it's supported by traccar server because I cant get it to work. This is my Hex Code and decoded code. thanks !!!

Decoded Hex:
+RESP:GTHBD,010000,013227008544946,DevName,20170314152954,0036$

Hex:

2b524553503a47544842442c3031303030302c3031333232373030383534343934362c4465764e616d652c32303137303331343135323935342c3030333624
Anton Tananaev7 years ago

It looks like GL200 protocol, port 5004 in Traccar.

Note that the message that you provided is not a location report. It's just a heartbeat message.

ralf7 years ago

Hello, so I got my device outdoors and it showed up on the traccar GUI and as Online but what I'm getting it's not coherent, I dont where to go from here. I have my android on port 5055 and the GPS Tracker on 5004. My phone works correctly of course but my tracker doesnt, this is what I'm getting on my "tracker-server.log":

2017-03-14 22:12:22 DEBUG: [9F7CFB6F: 5055 > 184.70.117.106] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2017-03-14 22:12:22  INFO: [9F7CFB6F] id: 355488066195346, time: 2017-03-14 22:12:18, lat: 52.27127, lon: -113.81713, speed: 0.0, course: 0.0
2017-03-14 22:12:28 DEBUG: [C0DA6658: 5004 < 74.198.149.51] HEX: 2b524553503a47544842442c3031303030302c3031333232373030383534343934362c4465764e616d652c32303137303331343232313232362c3032443224
2017-03-14 22:12:28 DEBUG: [9F7CFB6F: 5055 < 184.70.117.106] HEX: 474554202f3f69643d3335353438383036363139353334362674696d657374616d703d31343839353239353434266c61743d35322e3237313236383631266c6f6e3d2d3131332e38313731333134312673706565643d302e302662656172696e673d302e3026616c7469747564653d3834332e3026626174743d38352e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420362e303b204d6f746f4733204275696c642f4d50495332342e36352d33332e312d322d322d36290d0a486f73743a2035322e3232382e33322e3139333a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a0d0a

on my Traccer GUI I have my tracker as online, but the parameters are not correct, the lat and long are 0,0 in fact everything has value zero

there is no INFO shown on the log

ralf7 years ago

This one is more clear;


2017-03-14 23:30:22 DEBUG: [65FC4902: 5055 > 184.70.117.106] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2017-03-14 23:30:22  INFO: [65FC4902] id: 355488066195346, time: 2017-03-14 23:30:15, lat: 52.27134, lon: -113.81715, speed: 1.5, course: 215.1
2017-03-14 23:30:27  INFO: [0C1167F0] connected
2017-03-14 23:30:27 DEBUG: [0C1167F0: 5004 < 74.198.149.51] HEX: 2b41434b3a47545153532c3031303030302c3031333232373030383534343934362c4465764e616d652c303030302c32303137303331343233333032362c3033373824
2017-03-14 23:30:27  INFO: [0C1167F0] id: 013227008544946, time: 1970-01-01 00:00:00, lat: 0.00000, lon: 0.00000, speed: 0.0, course: 0.0, result: Command QSS accepted
2017-03-14 23:30:27  WARN: No SMTP configuration found

Anton Tananaev7 years ago

As I said earlier, it seems like your device doesn't report any location data, so Traccar shows zero values for everything.

ralf7 years ago

so when the device doesnt report location data on the “tracker-server.log”: is this strictly a device problem? or could it be also an issue with the protocol or any other settings rather than hardware or GPS positioning ?

Anton Tananaev7 years ago

It could be anything, but in this case it's definitely a device issue.

ralf7 years ago

on the configuration tool of my device there is a button to read GPS history data and it shows that is sending it, I also noticed that I'm getting a web socket connection error on my Traccar UI, I'm using CentOS and a VM on Azure cloud, I opened all my ports, and my android works on traccar, not sure where to begin to tackle this problem.

Anton Tananaev7 years ago

It means that something blocks the WebSocket connection. Are you on a corporate network? Many companies block WebSockets. If that's the case, you need to contact your IT department. If it's your home network, your ISP might be blocking it.

ralf7 years ago

everything is on Microsoft azure cloud, client side I'm on a corporate network.

Anton Tananaev7 years ago

Check with IT department.

ralf7 years ago

okay device went online on traccar UI now, but still no location data;


2017-03-16 22:15:26  INFO: [4DD26F84] id: 013227008548574, time: 1970-01-01 00:00:00, lat: 0.00000, lon: 0.00000, speed: 0.0, course: 0.0, result: Command QSS accepted
2017-03-16 22:15:26  WARN: No SMTP configuration found
rafael@TrackingSystem:/opt/traccar/logs$
Anton Tananaev7 years ago

I already explained what the problem is. Nothing changed. You can see that your device still doesn't send any location info.

ralf7 years ago

Good day Anton !,

I did more digging into this gps tracker, this is a personal tracker that uses a protocol I believe similar to the GL200, when I put it into Port 5004 it goes online on traccar and shows up on the serverLog but I'm not getting the report data as seen on the previous comments but the device is sending it, I checked it from the device configuration tool. I reviewed the documentation and there are a few differences, does this mean that I have to implement the protocol in the first place ?, how can I go into this?

thanks !

Anton Tananaev7 years ago

It is Gl200 protocol. You don't need to implement anything. The problem is that your device does not send location info.