Topin protocol not decoding longitude

solucionescol2 years ago

Hi, i have a Topin device reporting to port 5199, i have these logs

2023-06-29 08:12:33  INFO: [T32c9ec7b: topin < 191.156.40.203] 7878151017061d0d0c209f005e90c100000000071ca503ca000d0a
2023-06-29 08:12:33  INFO: [T32c9ec7b] id: 861261023944438, time: 2023-06-29 08:12:32, lat: 3.44302, lon: -0.00000, speed: 3.8, course: 165.0
2023-06-29 08:12:33  INFO: [T32c9ec7b: topin > 191.156.40.203] 7878151017061d0d0c200d0a

can you tell me where and how to fix it?

thanks a lot

Anton Tananaev2 years ago

You should probably start by manually checking the raw sample to see if the device is actually sending it.

solucionescol2 years ago

hi:

please guide me in right way to decode o r check it.

it is the raw log:

topin < 191.156.42.81] 7878081a23063002595268ff7b0d889b44e4ab894c8fd04be8910f36f3ab4b4448b966aa304cfe126310a22751f85b3b05084753206a947cc64e55fa5b3b6f7032570302dc010000697e09567164310000697e09567164310000697e0956716431000d0a
Anton Tananaev2 years ago

Read the protocol documentation and analyze the sample based on it.