link to image here: https://ibb.co/pWKs1HF
Your manual decoding doesn't really explain how you decoded those coordinates.
By the way, for the sample you provided Traccar returns the correct values. Seems like you're not looking at the right place.
Thanks for the prompt response.
Re: manually decoding I followed the protocol document and created a Google sheet sample tester to check samples.
Protocol document: https://filebin.net/o14d4xpnol7d1ha8/Smart_GPS_Tracker_Communication_Protocol_Rev.1.2_.pdf
Google sheet Sample Tester: https://docs.google.com/spreadsheets/d/1lsiQKJgG0okUbZRFvYGKwa61XUnCqChhIeulFcbV2_Q
When you say Traccar is returning correct values, did you get Lat: 24.895818, Lon: 67.119018? I am getting incorrect ones on the map on Traccar. (Traccar screenshot attached)
https://filebin.net/3nr9enqcpptmeohd/Screenshot_Traccar_incorrect_positon.png
Thanks once again for the help.
Thanks once again.
I get a different result from the latest source code.
Let me rebuild again, as I am currently using the latest which was updated 5 days ago.
Do you mind sharing what co-ordinates are you getting? Thanks
Longitude 67...
Thanks, rebuilding now
I rebuild both Traccar and Web but it didn't help. I will test using the official build to see if there that helps. Keep you posted but thanks a ton for looking into it.
Just to update for anyone else having the same issue in future. The issue was with the build, once I installed the official build its all good. Thanks Anton.
Hi Team,
I am currently using a device from Castel 160 device however it won't work on Castel port 5086, going through the protocol identification and setting to 5015 (Huabao) it shows online and all parameters are working except the Position. The position is showing somewhere in China whereas when I query the position using SMS or other platforms such as Flespi I get the correct position I.e. in Pakistan.
Below is a sample from log.
Using Port 5015:
I get the following incorrect position:
Latitude 22.556330°
Longitude 113.942433°
However, when manually decoded the string I get the correct position:
Lat: 24.895818
Lon: 67.119018
https://ibb.co/pWKs1HF
Would appreciate any guide or help to get this fixed. Thanks in advance.