Heading or Bearing

Andrew 21 days ago

I noticed that after the update, the client no longer sends the device heading. How can I fix this?

Anton Tananaev 21 days ago

You mean it's sending zeroes?

Andrew 20 days ago

I mean it's sending nothing :(

Andrew 20 days ago

I should add that this is on Android. All the other data—coordinates, speed, and altitude—is being sent correctly.

Anton Tananaev 20 days ago

Do you have logs?

Andrew 20 days ago
// Read Traccar body
            String raw = request.content().toString(StandardCharsets.UTF_8);
            System.out.println(raw);
id=61171705&lat=xx.1922092&lon=yy.90328&timestamp=1785168687&accuracy=16.48699951171875&altitude=146.60000610351562&batt=71&charge=false
id=61171705&lat=xx.1921605&lon=yy.9033168&timestamp=1785168702&accuracy=14.57699966430664&altitude=146.50001525878906&batt=71&charge=false
id=61171705&lat=xx.1921605&lon=yy.9033168&timestamp=1785168702&accuracy=14.57699966430664&altitude=146.50001525878906&batt=71&charge=false
Anton Tananaev 19 days ago

If it's missing, it means that the phone doesn't provide this information. Which usually means cell or wifi-based location.

Andrew 19 days ago

this happened after the update, it was before

Anton Tananaev 19 days ago

From what version to what version?

Andrew 19 days ago

I noticed this 2 weeks ago.

Andrew 17 days ago

any solutions?

Anton Tananaev 17 days ago

This simply means your device is not providing GPS location. What accuracy are you using?

Andrew 17 days ago

highest, early was heading :)

Anton Tananaev 17 days ago

Highest usually gives GPS when available. This sounds like a phone issue to me.

Andrew 17 days ago

i have this problem in few phones