my device sends binary data please help

akwah7 years ago

Hi
I have a tracking device with the following info:
protocol gt06
model B808

and I can confirm that the device does connect to the server from the log file below :

2017-02-26 12:52:07 DEBUG: [2C08FA3C: 5001 < xx.xx.xx.xx] HEX: 78780d0103588110200587620039978c0d0a
2017-02-26 12:52:17 DEBUG: [2C08FA3C: 5001 < xx.xx.xx.xx] HEX: 78781f1211021a11340fc702a7c9d40500e7e41e142401a400003700379b003a0d130d0a
2017-02-26 12:52:17 DEBUG: [2C08FA3C: 5001 < xx.xx.xx.xx] HEX: 78780a134406040002003b230d0d0a
2017-02-26 12:53:17 DEBUG: [2C08FA3C: 5001 < xx.xx.xx.xx] HEX: 78781f1211021a11350fc702a7b8ca0500ce2e11141901a400003700379b003c45bb0d0a
2017-02-26 12:53:38 DEBUG: [2C08FA3C: 5001 < xx.xx.xx.xx] HEX: 78781f1211021a113523c702a7b7530500cd4e00142901a4000132008129003df6430d0a
2017-02-26 12:53:56 DEBUG: [2C08FA3C: 5001 < xx.xx.xx.xx] HEX: 78781f1211021a113537c702a7b7530500cd4e00142901a4000132008129003e2fc60d0a
2017-02-26 12:54:17 DEBUG: [2C08FA3C: 5001 < xx.xx.xx.xx] HEX: 78781f1211021a11360fc702a7b7530500cd4e00142901a4000132008129003fd1b60d0a
2017-02-26 12:54:26 DEBUG: [2C08FA3C: 5001 < xx.xx.xx.xx] HEX: 78781f1211021a113619c702a7b7530500cd4e0514c501a40001320081290040e6290d0a
2017-02-26 12:54:36 DEBUG: [2C08FA3C: 5001 < xx.xx.xx.xx] HEX: 78781f1211021a113623c702a7b7530500cd4e0014d201a400013200812900412cac0d0a
2017-02-26 12:54:56 DEBUG: [2C08FA3C: 5001 < xx.xx.xx.xx] HEX: 78781f1211021a113637c702a79d190500bec90614ce01a4000132008129004289d70d0a
2017-02-26 12:55:17 DEBUG: [2C08FA3C: 5001 < xx.xx.xx.xx] HEX: 78781f1211021a11370fc702a79afa0500bddf0714d201a400013200812900431d070d0a
2017-02-26 12:55:18 DEBUG: [2C08FA3C: 5001 < xx.xx.xx.xx] HEX: 78780a1344060400020044a87d0d0a

I tried decoding the hex but it shows some strange (binary ?!) data, is this device supported by the system? and if so, how to get it to show up on the web page?

data after decod:

xx...

regards,
Akwah

Anton Tananaev7 years ago

It's GT06 protocol. Correct port is 5023.

akwah7 years ago

all ports are open on my server, and I send SMS configuration code to the device in which I set the IP and port number for the server, I choose 5001 .... does this make any difference ? the device is connecting already as we can see in the log file, does changing the port number make it send different data type?

Anton Tananaev7 years ago

Each port is dedicated for particular protocol. You can't use device that sends in one format to work with a port that expects completely different format.