diff --git a/apps/uhd_modes.py b/apps/uhd_modes.py
index 6f271c7..ca911e5 100755
--- a/apps/uhd_modes.py
+++ b/apps/uhd_modes.py
@@ -183,7 +183,7 @@ if __name__ == '__main__':
updates = [] #registry of plugin update functions
if options.raw is True:
- rawport = air_modes.modes_raw_server()
+ rawport = air_modes.modes_raw_server(9988) #port
outputs.append(rawport.output)
outputs.append(printraw)
updates.append(rawport.add_pending_conns)
@@ -194,7 +194,7 @@ if __name__ == '__main__':
outputs.append(kmlgen.output)
if options.sbs1 is True:
- sbs1port = air_modes.modes_output_sbs1(my_position)
+ sbs1port = air_modes.modes_output_sbs1(my_position, 30003)
outputs.append(sbs1port.output)
updates.append(sbs1port.add_pending_conns)
diff --git a/python/modes_raw_server.py b/python/modes_raw_server.py
index cf9f716..b4e414a 100644
--- a/python/modes_raw_server.py
+++ b/python/modes_raw_server.py
@@ -25,9 +25,9 @@ from string import split, join
from datetime import *
class modes_raw_server:
- def __init__(self):
+ def __init__(self, port):
self._s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
- self._s.bind(('', 9988))
+ self._s.bind(('', port))
self._s.listen(1)
self._s.setblocking(0) #nonblocking
self._conns = [] #list of active connections
diff --git a/python/modes_sbs1.py b/python/modes_sbs1.py
index 28e1430..f430357 100644
--- a/python/modes_sbs1.py
+++ b/python/modes_sbs1.py
@@ -27,11 +27,11 @@ from datetime import *
from modes_exceptions import *
class modes_output_sbs1(modes_parse.modes_parse):
- def __init__(self, mypos):
+ def __init__(self, mypos, port):
modes_parse.modes_parse.__init__(self, mypos)
self._s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self._s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
- self._s.bind(('', 30003))
+ self._s.bind(('', port))
self._s.listen(1)
self._s.setblocking(0) #nonblocking
self._conns = [] #list of active connections
diff --git a/res/modes_rx.ui b/res/modes_rx.ui
index cb7d9eb..13ad262 100644
--- a/res/modes_rx.ui
+++ b/res/modes_rx.ui
@@ -7,7 +7,7 @@
0
0
800
- 600
+ 618
@@ -18,7 +18,7 @@
10
- 220
+ 240
91
281
@@ -30,7 +30,7 @@
10
10
221
- 181
+ 191
@@ -62,20 +62,7 @@
Source
-
-
-
- 10
- 90
- 66
- 17
-
-
-
- Gain
-
-
-
+
90
@@ -85,24 +72,11 @@
-
-
-
- 10
- 150
- 66
- 17
-
-
-
- Antenna
-
-
10
- 120
+ 90
66
17
@@ -121,54 +95,21 @@
-
-
-
- 90
- 90
- 71
- 27
-
-
-
90
- 120
+ 90
71
27
-
-
-
- 90
- 150
- 121
- 27
-
-
-
-
-
-
- 160
- 90
- 31
- 17
-
-
-
- dB
-
-
160
- 120
+ 90
31
17
@@ -190,13 +131,112 @@
Msps
+
+
+
+ 0
+ 120
+ 221
+ 71
+
+
+
+ 1
+
+
+
+
+
+ 90
+ 40
+ 121
+ 27
+
+
+
+
+
+
+ 90
+ 10
+ 71
+ 27
+
+
+
+
+
+
+ 10
+ 10
+ 66
+ 17
+
+
+
+ Gain
+
+
+
+
+
+ 10
+ 40
+ 66
+ 17
+
+
+
+ Antenna
+
+
+
+
+
+ 160
+ 10
+ 31
+ 17
+
+
+
+ dB
+
+
+
+
+
+
+
+ 90
+ 10
+ 113
+ 27
+
+
+
+
+
+
+ 10
+ 10
+ 66
+ 17
+
+
+
+ Filename
+
+
+
+
260
10
- 341
+ 281
151
@@ -365,7 +405,7 @@
100
- 220
+ 240
16
281
@@ -378,7 +418,7 @@
130
- 200
+ 220
651
301
@@ -692,7 +732,7 @@
10
- 200
+ 220
101
17
@@ -704,7 +744,7 @@
- 640
+ 670
30
98
27
@@ -718,7 +758,7 @@
10
- 520
+ 540
271
22
@@ -727,6 +767,68 @@
Show ADS-B-equipped aircraft only
+
+
+
+ 570
+ 90
+ 211
+ 111
+
+
+
+ RX position
+
+
+ Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
+
+
+
+
+ 20
+ 60
+ 71
+ 20
+
+
+
+ Longitude
+
+
+
+
+
+ 90
+ 60
+ 113
+ 27
+
+
+
+
+
+
+ 90
+ 30
+ 113
+ 27
+
+
+
+
+
+
+ 30
+ 40
+ 61
+ 20
+
+
+
+ Latitude
+
+
+