help to identify protocol

wahia6 years ago

hi i have a gps tracker clone , TK103-B2 ; with this Hex:

5025 < 102.78.60.20] HEX: 2a48512c3836353230353033313437343438382c56312c3135303132372c412c323934302e35333737312c4e2c30303934322e38323934372c572c302e30302c302c3235303532302c4646464646424646230d0a

decoded it give this:

*HQ,865205031474488,V1,150127,A,2940.53771,N,00942.82947,W,0.00,0,250520,FFFFFBFF#

thank's for help.
to detect port i test : 5001 5002 5006 5013 5023 5036 5093 . but no way to connect with server.
please help.

Anton Tananaev6 years ago

You should be able to do it yourself:

https://www.traccar.org/clones/

wahia6 years ago

i test : 5001 5002 5006 5013 5023 5036 5093 . but no way to connect with server.
please help.

Anton Tananaev6 years ago

I guess you haven't tested it well enough. One of those posts should work.

wahia6 years ago

i have one other gps 103b work nice no problem with first port 5001 , this TK103-B2 not work.
give me what protocol it use , i think H02 protocol???

Anton Tananaev6 years ago

I think it's H02 protocol.

wahia6 years ago

ok thank's i will test

wahia6 years ago

i use traccar 3.16 version , possible this is problem???

Anton Tananaev6 years ago

Yes, of course it's possible. That's why we always recommend to use the latest version.

wahia6 years ago

HI AFTER INSTALLING 4.6

2020-05-25 22:31:52  INFO: [f7da9973] connected
2020-05-25 22:31:53  INFO: [f7da9973: gps103 < 102.78.195.164] HEX: 2a48512c3836353230353033313437343438382c56312c3232333135322c412c323934302e35323639322c4e2c30303934322e38323232372c572c302e30302c302c3235303532302c4646464646424646230d0a
2020-05-25 22:31:53  WARN: [f7da9973] error - begin 21, end 23, length 1 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-05-25 22:31:53  INFO: [f7da9973] disconnected
Anton Tananaev6 years ago

I don't really understand why you are using GPS103 port when we established that it's an H02 protocol.

wahia6 years ago

thank's all is ok the protocol is h02 and port is 5013
thank's for help.