Welcome to Radarspotting. Please login or sign up.

June 15, 2026, 10:17:43 PM

Login with username, password and session length

New Members

New Members

You should get an activation email when you join.  If not, please use the Contact option.

Possible batch file for connection FlightAware flightfeeder to BaseStation

Started by Keef, October 24, 2015, 09:04:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Keef

In response to mislik's post in the welcome section I thought I'd post this.

Looking at FlightAware's info I see the following outputs are available:

FlightAware ADS-B TSV (TCP Port 10001)
Basic AVR / RAW ADS-B (TCP port 30002)
SBS/Basestation Format (TCP port 30003)

I guess you could use RAW data on port 30002 or SBS format on port 30003 to feed in to modeSmixer.
Using the command outServer sbs10001 will I think allow BaseStation to connect to modeSmixer.

Assuming you wanted to use RAW data in and use it to feed BaseStation a batch file might look like this:

@echo off
cmd /c  modesmixer.exe --inConnect ipaddress_of_flightfeeder:30002 --outServer sbs10001:nnnnn
PAUSE
exit

nnnnn is the number of the output port you choose, it wil also need to to be set (the same number) in Basestation.
I think the default for BaseStation is port 10001 but this is being used by FlightAware so it is probably worth picking another port, 30010 for example.
I think you will need to set the IP address in BaseStation to 127.0.0.1 as well.

ipaddress_of_flightfeeder is I hope self explanatory, it will probably be something like 192.168.0.5

So using those numbers my example would become:

@echo off
cmd /c  modesmixer.exe --inConnect 192.168.0.5:30002 --outServer sbs10001:30010
PAUSE
exit

I haven't actually tried this, but I think it should work!

IanH

I'm wondering if the output on port 10001 is available for use by BaseStation. Not sure if it is the correct format but worth trying?

In Settings/Hardware settings on Basestation software, select Network tab. Enter IP address of Flight feeder and then 10001 in Port.

If that doesn't work and nothing appears on screen, follow Keef's instructions but enter 127.0.0.1 in "Address" and whatever port you chose (30010 as suggested by Keef).

Let us know how you get on.