problems when using the hex decoder

Ronaldo4 years ago

Since the page https://www.traccar.org/hex-decoder/ added the hex encoder, I can no longer decode the data in the logs.

In the decoding field it says: Binary Hex can't be converted to Text

Is this related to the version I'm using (4.8)?

Thank you!

Anton Tananaev4 years ago

Examples?

Ronaldo4 years ago
53413230305545583b3135323038333b31303136443b32303230313032343b31393a34313a33363b30373635393b2d32322e383932303536353b2d34372e323037393832313b3030302e3031333b3030302e30303b393b313b3533363136393b31322e32353b3130303030303b32333b534742547c367c317c307c313930313034387c317c0a3b35453b3030333039343b302e303b31

if your sample request is the log ...

Anton Tananaev4 years ago

Please try again now. It should be working.

Ronaldo4 years ago

It worked...

Perfect!

Thank you!

Javier Gonzalez4 years ago

Hi I am getting this error again... with this data

242400765470010004236299553135353531312e3030302c412c333433302e30383031352c532c30353833382e31313937392c572c302e302c302e302c3131313132302c2c2a32427c302e38367c31352e347c303030307c303243352c303832427c3030303030303238367c3030393235354e3d0d0a
Anton Tananaev4 years ago

That's because it has some binary data.

Manny2 years ago

Does anyone know how to understand/decode these "mixed" strings sent by the trackers?
ie_1:

2022-10-06 03:14:42  INFO: [Te5eb4fae: gps103 < 27.124.32.157] ff03ff00ff66ff22ff00ff40ff05f16bff1f48a05f35ff22f1bc6ce5faad038ace225c0503c14a41176d3f19336439fb51b3de870f6ae71966eea11b68e49c444cfa179041536d5001d08347afc1dc260852dab657981005310fa54c30337603ae99749b7f466ca9037ea7b170b08ef2db5f1671b88153bcb42bf80e60b442d4e92cd569dddda399cbe013cc1c70c93af88c58db51aa540cf92028e73f9f23cab37186fe5501ad3cd44d0282d1005a62029bc0214be2a973a265296f69c05bec75c6c800b3d6dcb73dd8cdb19181e0c3fd748b2dd2f8068414e6145cd1d30b5b4847cc0ec277651e28522a5d2d361c3dbf33af7f763468dcc8fb7ec6796463bf73fa2c51f6424a790073374295de4556ff047cda4bfb673a80f7e8875adc2acf4578e199597d9c2c222948c224ea39dd7dd88a5fa80d13550ca7067e67db72c385fd7d8cccb7c0fe4f85cfb62b0e6dbfe2842932be0f0562ad55a8d96d87548761a53f680ef7f66acf4e504ef138aca79bdbbd7baffdb26a599616891212522708790616533790b897bdfdb62ba0c925edb1458e9bc4e6fd34c2212db9827a6ed8af33d1fb7ee081a2fe0212bb5232331c227ca9e7237afdc26fb71a02f28437f42f45509ab424cee2ca7d519efd127ac2be9797b200ddcca46475ecea136aac38675581d49a78f12a387c5dca00fac37d291dcb82128fdc78976d0dce25879b4792d34baadd4ce7d3c26ecd2233b75c806b190c774b39362e638c582c40b76e22ed6b0c14c7b78be0bb932a8f315e2af81d266e435cd0cfa3e63f14ed986face86004366317060735c50c8aa354f1d9f8020b95a2522c04d73cf37d56275f3713110fb01267b4815404607734521c8c3cf834273fdb977389e200511d59e90fcb9652a5c908119db2e5850d29aa3c2416f87bd78b8ce94d8fb0f387d64de53f8173ce8ce19b6fa60e2b09cca1e20f7b984023532b4c122d69c0d26ba872562e778f1254ef62b6bf8c792ea02280e46a29e81f1b74d8d15412f85423f690433cfbf2011a471b5fba78b33cb4cf4a001008563efa1263b3c42a4dbf7869534f1288eab61bace5352be29677e16ebdf9ec08d5bd64f0953ab168b4f8fac4ee8a4b77ba587958edf1c1450fa38e7fd60cd03bf878bb7ea32ab867bae17d6960a503a46abbec3a8d6d648727901f22cd8b081a35997594df3ba8dc1829ad3df0a35325b6557a6f580426aeb6c0c52c773eef45e126518432c8880a5db9b876fdc6fa9e9db08dcd94b479032d4a2e0d34b822a5368d59f04a5bf60d46ba7870ca7cd69d89fe2310bccc30f3886760fa00f26664012ca76f283d22962211e2450b5a4bee36cf037d9116b36de2700d3c27f65fbd3b277cdd295b9577674b0441cf58a664603b8c75f89ca448f97a84433854415b4ef2920f16a7df1e973ed201ee45be8923cd6d91d5cf1206029704b8feb8b4b17a424b77a2dece2961ad1274ed88290fa5466723f14ca5f179d96b8a3c3ecbda4cf82d5d215d82c8f78db27e93eb5c6d1df2fa862c59b5c50ab2acaa9df1a261a46b0ee2cb0e0c908cfff724a7e3c07f752c9068e4d6c22901e107901c7b3b53d9b8fa5f3da716420414ed604a523cdd6916df1592b400038e5c7d54c26037626e445383efb2fc7ebc1bf6b10f8f0318d402e5ab26d4c9035be956dcb966e08b62bd403002c2560ce3d15a5c3323d98c469f5e06faf4aaa71b67730085afeb1034020e8066c4d1b6d7fa3ab1f1fbec905880de06a09fa90b161e175c1f6fd4e266c9d1a328427395abf3f5249862890b8f7f83f10c6f7285702196a697bc4e61a67b789e1235db599acf19aab2349ca731c44e842343e20bb374a0b18089acbee9d3f2d4cf81826d93a9f127de4a2156963055025fc054e712d820c4de61a126f7ceaf4707f08b614211e2aea6255362cbb9274d0ab6cd7b967cfb3deb3e0512b39d1df9434043465d064998cd5536f0029cd505b8b92c94d3b9fc596623e4e6188a1cee92797382efddcd35227bb761f0069efed791b0138149122e93ad18673da619a02eaaa0f07d6966b7f3ee9500db4ffaf2e7371aa6080c50816e8a5ebaae3023bb6a948bbc11964ed9b2f913134107554a9261751d073a1228c1ecd9782899c7a4de092d63c70866b54b831cf4bd15c0ae88feb6317a0ac8d43f37b09abc0212ba5319bfc5a7288c3c5ad8b57956731b96c654019ff5501d48e83e1fef5be2498903cf891c4c4d0cc4278a45c8149a1e12a5d325d13324ca19eb1595e31b62e18506b4fd6da4e28e1767afdd22f08940ba9ca8d24eb5c3792d5592a71cb62c72eb869c0808c3787e58bf28c8fb56e31e869011163fe36a7511cf2f0be05de5defe53c3da8f35c253c3043b95d54db608d2d6bf13b5f68ba0f99844ba77a2baf32527cfb119b948994977f1b4ca424a42dc31758612c5312d6782c22f0860b2f7f6524911f184be08efc5a8d4fee2733ae0e81ad00cd31338545802df845163e31bb0da3842b0b9fa40fd9c8cd93dcd7eedb665b7e06889a7200deb0a0c1a7ff13f8273308e0cf7aaadb5a33ff6be09a4eda3e10c9aa2b26d2d7c2463ecedbeca26e4e1c04fe8c4bb8663cee3248dc8745f4e77f784163bef628c05d181728f3e4a20dc7dc88c42e14cfe635afcb7cc5031fa54dc6040e3bb8083bc86628342570fededea9e6579d79b2779b7be80c9889d222e1cdef65f1eb6d3d11f668a67a7c06b21fc1dbb9b902669b98eb4dd96fff945af49cc7649981ae30afe954e87fa57d47b62d4510aecf4d1a28a5b6d65cbd78a7895250c653ff1ff211e904fd2b610cfe5809110b99a1cd7190880f262d847496873c41f301136e5fdadf00ad16d9007571f7c7b2e4fb3b8d746

ie_2:

2022-10-06 03:14:22  INFO: [Td43d626d: gps103 < 27.124.32.157] 2d69be06c897f7dc7933b6cd60d4f222b17125d8dd625ab885cbaa639b66dc61839e52fa0145c4aa126e744a6fbc22f7b617b330e57e88ae3159d076d5dd9877c0ad95d192e52399e5e9eed8cbba19b6e677d89fe053a515d441cef4

Also, I suppose the string right after the [ and starting with the "T" is a date and time string. Right? How can I tranlate this?
In the examples above, they are: 1 = Te5eb4fae and 2 = Td43d626d.

Thank you.

Anton Tananaev2 years ago

T -> TCP
8 digit HEX value after that -> connection id

You samples are binary data, so without protocol documentation it's not possible to decode.

Manny2 years ago

@Anton, thank you.
I've not been able to get any documentation from the seller (Aliexpress), unfortunately. Almost two years since I purchased, so giving up on that front.
If I do find anything, I will update it here.