Xample, the makers of Air Navigation Pro seem to have no interest in supporting the open source Stratux ADS-B, AHRS and GPS device. Currently they only support iLevil and FLARM devices as traffic sources.
To make Air Navigation Pro use Stratux as a traffic, AHRS and GPS source we need to make the Stratux behave like one of the supported devices. iLevil actually uses the GDL-90 protocol that also Stratux uses. The only difference is, that iLevil uses a non-standard UDP port and the Air Navigation Pro seems to expect the UDP packages to come from the IP that iLevil devices normally use. iLevil uses the IP 169.254.1.1 and UDP port 43211. So lets go ahead and change the IP and port settings in Stratux. For this tutorial I will be using Stratux 1.4r3.
You first need to SSH into your Stratux. On Windows you can use putty, on a Mac you can simply use your terminal:
ssh -l pi 169.254.1.1
Enter the password "raspberry" and get root by entering
sudo su
Then open the network settings with your favourite editor. I will use nano in this tutorial.
nano /etc/network/interfaces
Now set the IP by changing
iface wlan0 inet static
address 192.168.10.1
netmask 255.255.255.0
post-up /usr/sbin/stratux-wifi.sh
to
iface wlan0 inet static
address 169.254.1.1
netmask 255.255.255.0
post-up /usr/sbin/stratux-wifi.sh
To save and exit nano press Ctrl+X and Y
Then change the DHCP server settings
nano /etc/dhcp/dhcpd.conf
Edit the IP range by changing
subnet 192.168.10.0 netmask 255.255.255.0 {
range 192.168.10.10 192.168.10.50;
option broadcast-address 192.168.10.255;
option routers 192.168.10.1;
default-lease-time 12000;
max-lease-time 12000;
option domain-name "stratux.local";
option domain-name-servers 4.2.2.2;
}
to
subnet 169.254.1.0 netmask 255.255.255.0 {
range 169.254.1.10 169.254.1.50;
option broadcast-address 169.254.1.255;
option routers 169.254.1.1;
default-lease-time 12000;
max-lease-time 12000;
option domain-name "stratux.local";
option domain-name-servers 4.2.2.2;
}
To save and exit nano press Ctrl+X and Y
To change the UDP port open the stratux configuration
nano /etc/stratux.conf
and find "Port":4000 and change it to "Port":43211:
To save and exit nano press Ctrl+X and Y
Finally reboot the Stratux
shutdown -r now
and reconnect to Stratux. The web interface can now be found at: http://169.254.1.1/#/
Open Air Navigation Pro and connect your device to the Stratux WiFi. Then open the Configuration:
Select Sensors:
And change the settings as shown above. The sensors should now turn green and you should have working GPS, AHRS and traffic in Air Navigation Pro.
-
Changing the port to anything but the 4000 default is no longer officially supported by Stratux as companies like Xample should support Stratux / GDL90 instead.
-
So far I did not get the baro to work.