FrSky telemetry format

Post Reply
Thunderdonkey
Posts: 2
Joined: Sun Jul 11, 2021 3:19 pm
Country: -

FrSky telemetry format

Post by Thunderdonkey »

I am building a GPS sensor using telemetry via S.Port on an Archer R4 receiver.
Everything is working except GPS position.
I can send Time, Date, Altitude, Speed, and Heading and they all display correctly on my Taranis X9 Lite.
Can someone please tell me how to encode the Latitude and Longitude data so that they are displayed correctly?
I know that they are sent on the same physical and logical address and I think that the top bit selects Lat or Lon,
but I can't seem to get the rest of it right.
:?
TD

User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: FrSky telemetry format

Post by kalle123 »

Have a look in that code here.

https://github.com/openXsensor/openXsen ... penXsensor

Specially in the files oXs_gps.cpp and oXs_gps.h

Might help ;)

br KH
Thunderdonkey
Posts: 2
Joined: Sun Jul 11, 2021 3:19 pm
Country: -

Re: FrSky telemetry format

Post by Thunderdonkey »

Thanks for the advice. I had worked out that the top bit selected Lat or Long and the next bit down was polarity, but the thing that eluded me was that the value used by S.Port is in Minutes, not Degrees, times 10000.
All working beautifully now.
TD

Post Reply

Return to “openTx for FrSky radios”