gereic / GXAirCom

Multifunctional, compatible DIY aviation proximity awareness, variometer and messaging system with FANET+, FLARM and OGN support.
125 stars 41 forks source link

LEGACY NMEA sentences timing #75

Closed Martenz closed 2 years ago

Martenz commented 3 years ago

Hi, I was playing a bit with the timing of NMEA sentences and I see from bluetooth transmission that they are sent with a bit of timing inconsistency. Here below a quick log of time differences between consecutive GPRMC sentences:

0:0:1.0 0:0:1.0 0:0:1.0 0:0:1.1 0:0:1.1 0:0:0.8 0:0:1.1 0:0:0.9 0:0:1.0 0:0:1.0 0:0:1.2 0:0:0.8 0:0:1.0 0:0:1.0 0:0:1.0 0:0:1.0 0:0:1.2 0:0:0.8 0:0:1.0 ...

as you can see sometimes the differences is more than 1 second, that as far as I know can produce some errors in positioning, velocity and more important distance or vector alarms.

is there a way to set it to send a bit more frequently the sentences to stay under 1.0 seconds ? Of course this when only FANET or LEGACY are set as single output, with both I guess it will be difficult because the protocols config is switching also.

Thanks,

Martino.