Closed rvt closed 11 months ago
Hi rvt, Thanks for the pull-request. At the moment, I'm working on the ground-station. Also, it is summer-time (holiday, flying, ....) So please, don't worry, when it takes a little bit longer, to answer your pull-request. Also, I thought I will let you some time, because you did some more changes.
Hey,
thanks for the quick heads-up. Have a nice time flying..
This is the code that @VirusPilot mentioned here https://github.com/gereic/GXAirCom/issues/131
What does this code do:
$PGXCF
$PGXCF,<version>,<eMode>,<eOutputVario>,<output Fanet>,<output GPS>,<output FLARM>,<customGPSConfig>,<Aircraft Type>,<Address>,<Pilot Name>
$PGXCF,1,0,1,0,1,1,1,5,123456,GXAirCom*4C
The reason behind
$PGXCF
is that the stratux community expect that Stratux to manage an attached GPS pug, SoftRF or GxAirCom device so it's configured over serial to something Stratux can use.All changes in the source are done such that the default behaviour is the same when in non customGPS mode. However, if we 'just' make a setting to change between 1Hz and 5Hz and still apply the settings for SBAS, Galileo etc then I would think this can work for other devices, but this is hard for me to judge or test, I am open to discussion to see how both system can benefit from the changes. To clarify, when customGPS is set to false, a reset is done and the same configurations are done as before to configure the GPS. The only small difference to make the code a bit clear is that GPS is always set to 56800 baud.
There are a few things I need to test still so consider this WIP, but last week I made 2 45 minute flights to test and it works fine and my own OGN station (that will receive flarm) did detect the plane fine.