Port identification

Niraj Singh 3 years ago

Hi ,

Anybody identify this protocol or port on which this device will work on traccar?

f8060101413ffdcde5e82c08b29f003f190b536d61727420547261636b1556392e33312656312e312e3513006f00000000000000000000000000000000000a031419a00127c3535f3e02010004030411fd0d02400011e12100310041005101a008f8

Thanks

Anton Tananaev 3 years ago

Do you have the protocol documentation?

Niraj Singh 3 years ago

Hi Anton,

so I did some research on device protocol and found out it is gosafe HEX protocol.Traccar doesnt currently support it so I changed the the configuration in device and now getting ASCII data from device which traccar supports on 5078 port but I am getting one errro.

2023-05-30 18:13:42  INFO: [Ta1d10037: gosafe < 119.160.98.61] 2a475330362c3335333231383037333538353132382c3138313235353330303532332c2c5359533a536d61727420547261636b3b56392e33313b56312e312e352c4750533a413b353b4e33312e3535313835363b4537342e3336363932303b303b303b3b322e31353b322e36342c434f543a302c4144433a31302e37383b302e30322c4454543a343030323b45313b303b303b303b31243138313332353330303532332c2c5359533a536d61727420547261636b3b56392e33313b56312e312e352c4750533a413b363b4e33312e3535313835363b4537342e3336363932303b303b303b3b322e30353b322e31332c434f543a302c4144433a31302e37393b302e30322c4454543a343030323b45313b303b303b303b3123
2023-05-30 18:13:42  INFO: [Ta1d10037: gosafe > 119.160.98.61] 31323334
2023-05-30 18:13:42  INFO: error from channel ChannelHandlerContext(MainEventHandler#0, [id: 0xa1d10037, L:/128.199.21.17:5078 - R:/119.160.98.61:54876]) and name is [id: 0xa1d10037, L:/128.199.21.17:5078 - R:/119.160.98.61:54876] with id a1d10037 and cause is {} - For input string: "" - NumberFormatException (... < GoSafeProtocolDecoder:97 < *:202 < *:259 < ExtendedObjectDecoder:72 < ... < WrapperContext:102 < ...)
2023-05-30 18:13:42  INFO: [Ta1d10037] error - For input string: "" - NumberFormatException (... < GoSafeProtocolDecoder:97 < *:202 < *:259 < ExtendedObjectDecoder:72 < ... < WrapperContext:102 < ...)

Can you please check whats the error?

Thanks

Anton Tananaev 3 years ago

Do you have the protocol documentation?

Anton Tananaev 3 years ago
Niraj Singh 3 years ago

ok thanks a lot.

Niraj Singh 3 years ago

Hi Anton,

Gosafe issue got fixed after update given by you.We are facing one more issue in another protocol KHD.It is not generating ignition and power cut alarm.

I am attaching protocol document.

https://file.io/5FHwiKX8AeMa