aboutsummaryrefslogtreecommitdiffstats
path: root/apps/grgsm_livemon.grc
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2017-08-25 08:19:58 +0000
committerPetter Reinholdtsen <pere@hungry.com>2017-08-25 08:19:58 +0000
commit145d78dcbfccfee5469692b7cde3658cdeb1f4f2 (patch)
treeb370d63f109f14d063831b6c3bf9c58599339c2e /apps/grgsm_livemon.grc
parent19586ab15d69a1883257e6c0a2dd4e12fddb02cd (diff)
Make UDP server port configurable using --serverport parameter.
This make it possible to run several grgsm_livemon processes on the same machine, by giving them unique ports to listen on.
Diffstat (limited to 'apps/grgsm_livemon.grc')
-rw-r--r--apps/grgsm_livemon.grc45
1 files changed, 44 insertions, 1 deletions
diff --git a/apps/grgsm_livemon.grc b/apps/grgsm_livemon.grc
index 40bee70..260e29b 100644
--- a/apps/grgsm_livemon.grc
+++ b/apps/grgsm_livemon.grc
@@ -463,7 +463,7 @@
</param>
<param>
<key>port</key>
- <value>4729</value>
+ <value>serverport</value>
</param>
<param>
<key>tcp_no_delay</key>
@@ -2876,6 +2876,49 @@
<value>400e3</value>
</param>
</block>
+ <block>
+ <key>parameter</key>
+ <param>
+ <key>alias</key>
+ <value></value>
+ </param>
+ <param>
+ <key>comment</key>
+ <value></value>
+ </param>
+ <param>
+ <key>_enabled</key>
+ <value>True</value>
+ </param>
+ <param>
+ <key>_coordinate</key>
+ <value>(784, 112)</value>
+ </param>
+ <param>
+ <key>_rotation</key>
+ <value>0</value>
+ </param>
+ <param>
+ <key>id</key>
+ <value>serverport</value>
+ </param>
+ <param>
+ <key>label</key>
+ <value>UDP server listening port</value>
+ </param>
+ <param>
+ <key>short_id</key>
+ <value></value>
+ </param>
+ <param>
+ <key>type</key>
+ <value>string</value>
+ </param>
+ <param>
+ <key>value</key>
+ <value>4729</value>
+ </param>
+ </block>
<connection>
<source_block_id>blocks_rotator_cc_0</source_block_id>
<sink_block_id>gsm_input_0</sink_block_id>