Page 1 of 1

FrSky telemetry format

Posted: Sun Jul 11, 2021 3:38 pm
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.
:?

Re: FrSky telemetry format

Posted: Mon Jul 12, 2021 5:58 am
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

Re: FrSky telemetry format

Posted: Sun Jul 18, 2021 7:33 am
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.