Am trying to get Basestation back up and running after my SBS-1 died.
Have downloaded and installed RTL1090 and Zadig tested and running..
Uncompressed modesmixer2 to the same directory (Tools)
I am struggling with the Windows batch file syntax for modesmixer2.
Can anyone supply a copy of a working Windows Batch file, the more help files I read, the more confused I get.
Colin Erith
Welcome.
Here is my ModeSMixer2 BAT file.
It's getting data from a Raspberry Pi with IP address 192.168.1.136. If you have decoded output available on the same PC you can replace the IP address with the Local Host one of 127.0.0.1 and the port number which has decoded data. I have two entries as I'm running PiAware and want to see MLAT data as well as ADS-B.
@echo off
CMD /c I:\MSM2\modesmixer2.exe --inConnect 192.168.1.136:30005 --inConnect 192.168.1.136:30105 --filter-nocountry --outServer sbs10001:10002
exit
Post back if you need more help.
Thanks for your prompt reply, I am only feeding Basestation only on the same laptop with no MLAT data si I presume I can delete
--inConnect 192.168.1.136:30105 --filter-nocountry?
Colin Erith
Maybe this will work? But the port might be wrong for you? And the directory path for modesmixer2.exe will need amending.
@echo off
CMD /c I:\MSM2\modesmixer2.exe --inConnect 127.0.0.1:30005 --outServer sbs10001:10002
exit
@echo off
CMD /c C:\Tools\modesmixer2.exe --inConnect 127.0.0.1:30003 --outServer sbs10001:10002
exit
RTL1090 settings-
IP/URL 127.0.0.1
Port:31022
30003 Basestation Type TCP Port
The bat file starts but does not populate any help would be appreciated
When you start the bat file you should see a Command window, similar to the attached. What do you see?
2023-12-07 18:01:26.474 INFO ModeSMixer2 v.20190413
2023-12-07 18:01:26.474 INFO outServer(sbs10001:10002) started
2023-12-07 18:01:26.490 INFO inConnect(127.0.0.1:30003) connecting 127.0.0.1:30003
2023-12-07 18:01:26.490 INFO inConnect(127.0.0.1:30003) connected
2023-12-07 18:01:31.125 INFO Coverage area was determined
2023-12-07 18:01:31.125 INFO Magnetic declination calculated
I cannot get it past this point I do not know if my syntax is wrong?
When trying to open Basestation I get the message
"unable to connect to SBS-1 socket"
Colin
Have you changed Basestation Settings -> Data Source to:
"Use Network"
And Settings -> Hardware Settings -> Network to:
IP Address:
127.0.0.1
Port:
10002
Quote from: Colin Erith on December 07, 2023, 06:05:03 PM2023-12-07 18:01:26.474 INFO ModeSMixer2 v.20190413
2023-12-07 18:01:26.474 INFO outServer(sbs10001:10002) started
2023-12-07 18:01:26.490 INFO inConnect(127.0.0.1:30003) connecting 127.0.0.1:30003
2023-12-07 18:01:26.490 INFO inConnect(127.0.0.1:30003) connected
2023-12-07 18:01:31.125 INFO Coverage area was determined
2023-12-07 18:01:31.125 INFO Magnetic declination calculated
I cannot get it past this point I do not know if my syntax is wrong?
This says MSM2 is working but not getting data from your receiver.
Do you have a receiver getting ModeS data? Can you describe you setup?
Thanks all who replied: The issue laid with a corrupt setting Basestation, had to delete it three times, as there is a settings file, that is kept when you delete the program, that was causing issues.
@echo off
CMD /c C:\Tools\modesmixer2.exe --inConnect 127.0.0.1:30003 --outServer sbs10001:10002
exit
RTL1090: 127.0.0.1 port 10001 /30003 Basestation Type TCP Port
Basestation Hardware Settings: 127.0.0.1 Port 10002
Colin Erith
Hi Colin
Did you get this sorted?
Oops, looks like we posted at the same time.
Thanks for the update.
I guess the Basestation.ini file was till left in the Virtual Store?