People..

Wayne Sanders6 years ago

Anyone seen this before

POST /?id=265874×tamp=1527831366&lat=-37.9611776&lon=176.9657072&speed=0.0&bearing=0.0&altitude=0.0&accuracy=72.9000015258789&batt=64.0 HTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: Dalvik/2.1.0 (Linux; U; Android 7.0; SM-G920I Build/NRD90M)
Host: 203.86.192.231:5055
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Length: 0

Dont know the port number ? anyone know?

Anton Tananaev6 years ago

It says right there that the port number is 5055.

Wayne Sanders6 years ago

Hi Anton

If I set it to 5055 the Hex comes back

2018-06-02 17:17:04  WARN: [2C451263] error - empty text - IllegalArgumentException (...)
2018-06-02 17:17:04  INFO: [2C451263] disconnected
2018-06-02 17:17:06  INFO: [1ABCC057] connected
2018-06-02 17:17:06 DEBUG: [1ABCC057: 5055 < 49.224.247.164] HEX: 2a48512c3335333530353531313037303938392c56312c2c562c2c4e2c2c452c302e30302c302c2c46464646464646462c3231322c612c202065632c31323733230d0a
2018-06-02 17:17:06  WARN: [1ABCC057] error - empty te
Translated :-
*HQ,353505511070989,V1,,V,,N,,E,0.00,0,,FFFFFFFF,212,a,  ec,1273#
Anton Tananaev6 years ago

You showed messages from two completely different devices. Last one is H02, port 5013.

Wayne Sanders6 years ago

Hi Anton

I set the port to 5099 , so that I know I am dealing with the right device, and get this

2018-06-04 20:50:53 DEBUG: [A1BB60F4: 5099 < 49.224.247.80] HEX: 2a48512c3335333530353531313037313030332c56312c2c562c2c4e2c2c452c302e30302c302c2c46464646464646462c3231322c612c202065632c31323733230d0a
2018-06-04 20:50:53  WARN: [A1BB60F4] error - empty text - IllegalArgumentException (...)
2018-06-04 20:50:53  INFO: [A1BB60F4] disconnected

I then change the port to 5013 and get this

2018-06-04 20:50:55 DEBUG: [74BF04ED: 5013 < 49.224.194.15] HEX: 2a48512c313738333033313034302c56312c3030323335372c412c333830352e363737322c532c31373634322e333431312c452c2c3030302c3034303631382c46464646464246462c3533302c30312c30303233362c373735322300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

I then change the port to 5055 and get this

2018-06-04 20:54:40 DEBUG: [2FC73B7F: 5055 < 49.224.192.109] HEX: 2a48512c3335333530353531313037313030332c56312c2c562c2c4e2c2c452c302e30302c302c2c46464646464646462c3231322c612c202065632c31323733230d0a
2018-06-04 20:54:40  WARN: [2FC73B7F] error - empty text - IllegalArgumentException (...)
2018-06-04 20:54:40  INFO: [2FC73B7F] disconnected

The device only shows in the log , never on the browser. What am I doing wrong?
Thanks in advance

Wayne

Anton Tananaev6 years ago

Port 5013 should be the right one, but your device doesn't seem to send any GPS data.

Wayne Sanders6 years ago

Hio Anton

Does this decoded text indicate the port number?

[SG*9051061579*009C*UD,070618,055613,A,37.960751,S,176.963817,E,0.0000,000,0,09,100,80,0,50,00000000,5,1,530,1,236,4733,150,236,4722,147,236,4721,145,236,7743,126,236,8622,124,,00]
Anton Tananaev6 years ago

It's Watch protocol, port 5093.