Difference between revisions of "VOTER-Menus"

From AllStarLink Wiki
Jump to navigation Jump to search
(Created page with "= Introduction = Both the VOTER and the RTCM run the same (similar) firmware. The menus are consistent between them both. This page ''should'' be consistent with the curren...")
 
Line 5: Line 5:
  
 
This page ''should'' be consistent with the current options available in the current firmware.
 
This page ''should'' be consistent with the current options available in the current firmware.
 +
 +
 +
'''BE AWARE''' there are some settings that take effect ''immediately'', and others that require you to save settings to EEPROM (99) and reboot (r) for them to take effect. If you are not getting the expected results, this may be the cause. Try a 99 and r to see if that fixes your situation.
  
  
Line 96: Line 99:
 
*17  - ''DSP/BEW Mode'' will show '''NOT SUPPORTED''' for firmware built without DSP/BEW mode. Will allow DSP/BEW to be optionally enabled in firmware built with this option (-BEW firmware files).
 
*17  - ''DSP/BEW Mode'' will show '''NOT SUPPORTED''' for firmware built without DSP/BEW mode. Will allow DSP/BEW to be optionally enabled in firmware built with this option (-BEW firmware files).
  
*18 - ''"Duplex Mode 3"'' setting to anything other than 0 enables this function. Provides "in-cabinet" repeat functionality. Repeat audio loops through the RTCM and has almost zero delay because it does not have to traverse the network.  
+
*18 - ''"Duplex Mode 3"'' setting to anything other than 0 enables this function. Duplex Mode 3 in <code>app_rpt</code> allows for "in-cabinet repeat" (where the '''radio hardware''' provides repeat audio) and <code>app_rpt</code> adds the hang time, courtesy tones, linking - all the things <code>apt_rpt</code> does, except repeat audio. Therefore no repeat audio delay. Cool, eh? This duplex mode has been in the <code>app_rpt</code> for a while. The problem has been how to implement it in the VOTER environment. Duplex Mode 3 support in the VOTER  provides in-cabinet repeat functionality. Repeat audio loops through the VOTER, and has almost zero delay because it does not have to traverse the network. The delay is not quite zero but it's plenty short enough to eliminate all of the above mentioned annoyances. Of course, Duplex Mode 3 support can't be used with voting or simulcast. You also loose DTMF muting, Time Out Timer, and Repeater Disable functions because the repeat path is not through <code>app_rpt</code>.
  
*19 - Simulcast Launch Delay (0) (approx 200 ns, 5 = 1us, > 0 to ENA SC)
+
*19 - ''Simulcast Launch Delay'' set to anything other than 0 to enable. Adds a "launch delay" to transmit audio in simulcast applications. A setting of 1 is approximately 200nS, 5 = 1uS.
  
*97 - RX Level   
+
*97 - ''RX Level'' enters the RX Level tuning display.  
  
*98 - Status   
+
*98 - ''Status'' displays the current status of various parameters.  
  
*99 - Save Values to EEPROM
+
*99 - ''Save Values to EEPROM'' saves all current changes to EEPROM.
  
*i - IP Parameters menu  
+
*i - ''IP Parameters menu'' enters the IP configuration menu.
  
*o - Offline Mode Parameters menu  
+
*o - ''Offline Mode Parameters menu'' enters the Offline Mode configuration menu, used to "softfail" to a basic repeater if the connection to the host is lost.
  
*s - Squelch menu
+
*s - ''Squelch menu'' enters the Squelch tuning menu.
  
*q - Disconnect Remote Console Session  
+
*q - ''Disconnect Remote Console Session'' quits the current TELNET connection, and releases the console back to serial.
  
*r - reboot system  
+
*r - ''reboot system'' should be pretty obvious...
  
 
*d - diagnostics
 
*d - diagnostics
 +
 +
 +
= 97 RX Level Display =
 +
 +
<pre>
 +
RX VOICE DISPLAY:
 +
                                  v -- 3KHz        v -- 5KHz
 +
|>         
 +
</pre>
 +
 +
 +
This displays the Receive Audio Level in "real-time" when setting the Receive Level.
 +
 +
 +
Modulate the receiver with a 1kHz at 3kHz deviation signal, and set the Receive Level potentiometer until the bar graph displays:
 +
 +
<pre>
 +
RX VOICE DISPLAY:
 +
                                  v -- 3KHz        v -- 5KHz
 +
|=================================>         
 +
</pre>
 +
 +
 +
Press any key to exit this display.
 +
 +
 +
= 98 Status Display =
 +
 +
<pre>
 +
S/W Version: 3.00 3/24/2021
 +
System Uptime: 850819.2 Secs
 +
IP Address: 192.168.1.124
 +
Netmask: 255.255.255.0
 +
Gateway: 192.168.1.254
 +
Primary DNS: 192.168.1.254
 +
Secondary DNS: 0.0.0.0
 +
DHCP: 0
 +
VOTER Server IP: 192.168.1.100
 +
VOTER Server UDP Port: 667
 +
OUR UDP Port: 667
 +
GPS Lock: 0
 +
PPS BAD or Wrong Polarity: 0
 +
Connected: 0
 +
COR: 0
 +
EXT CTCSS IN: 1
 +
PTT: 0
 +
RSSI: 3
 +
Current Samples / Sec.: 8000
 +
Current Peak Audio Level: 49776
 +
Squelch Noise Gain Value: 13, Diode Cal. Value: 57, SQL Level 400, Hysteresis 24
 +
Current Time: Sun  Jan 30, 2022  03:11:40.860
 +
Last Ntwk Rx Pkt System time: <System Time Not Set>, diff: -1462339168 msec
 +
Last Ntwk Rx Pkt Timestamp time: <System Time Not Set>, diff: 0 msec
 +
Last Ntwk Rx Pkt index: 0, inbounds: 0
 +
 +
Press The Any Key (Enter) To Continue
 +
</pre>
 +
 +
 +
== Values ==
 +
 +
*''S/W Version'' displays the current firmware version and build date.
 +
 +
*''System Uptime'' shows how long this device has been running, in seconds.
 +
 +
*''IP Address'' is the current static IP, or the IP address received using DHCP.
 +
 +
*''Netmask'' is the current configured netmask, or the netmask received using DHCP.
 +
 +
*''Gateway'' is the current configured gateway, or the gateway received using DHCP.
 +
 +
*''Primary DNS'' is the current configured primary DNS server, or the DNS server received using DHCP.
 +
 +
*''Secondary DNS'' is the current configured primary DNS server, or the DNS server received using DHCP.
 +
 +
*''DHCP'' reports 1 if DHCP is enabled, or 0 if using static IP configuration.
 +
 +
*''VOTER Server IP'' is the IP address that the ''VOTER Server Address'' resolves to.
 +
 +
*''VOTER Server UDP Port'' is the current ''VOTER Server UDP'' port.
 +
 +
*''OUR UDP Port'' is the current incoming UDP port. This would change if ''Local Port (Override)'' is set.
 +
 +
*''GPS Lock'' reports 1 if the GPS is locked and time is good. Reports 0 if the GPS is unlocked (or GPS polarity is incorrect and the VOTER can't decode any GPS data).
 +
 +
*''PPS BAD or Wrong Polarity'' reports 1 if the PPS signal is '''bad''' (check polarity). Reports 0 if the PPS signal is '''good'''.
 +
 +
*''Connected'' reports 1 if the VOTER is has established a connection to it's host. Reports 0 if there is currently no host connection.
 +
 +
*''COR'' reports 1 if the squelch is currently open. Reports 0 if the squelch is closed.
 +
 +
*''EXT CTCSS IN'' reports the status of the ''External CTCSS'' pin. It is normally pulled up, so will report 1. It will report 0 if it is grounded. Logic would depend on your application.
 +
 +
*''PTT'' reports 1 if the transmitter is presently keyed. Reports 0 if the transmitter is unkeyed.
 +
 +
*''RSSI'' reports the currently sampled/decoded RSSI level when the receiver is active.
 +
 +
*''Current Samples / Sec.'' displays the current encoding rate (will always be 8000 or 8001).
 +
 +
*''Current Peak Audio Level'' reports the current audio level (ADC level).
 +
 +
*''Squelch Noise Gain Value'' displays the EEPROM setting written during the "Squelch Calibration" procedure.
 +
 +
*''Diode Cal. Value'' displays the EEPROM setting written during the "Diode Calibration" procedure.
 +
 +
*''SQL Level'' displays the current squelch level (relative value from 0-1023). If configured for squelch pot, this is the value set by the squelch potentiometer. If set for software squelch, this is the value programmed in to the EEPROM. See the Squelch Menu for more details.
 +
 +
*''Hysteresis'' displays the current squelch hysteresis setting (configured on the Squelch Menu).
 +
 +
*''Current Time'' if the GPS is '''locked''', the current time will be displayed.
 +
 +
*''Last Ntwk Rx Pkt System time'' and ''diff'' '''is only applicable in sites where transmit is enabled.''' This displays the timestamp of the last transmit audio packet received from the network (from the host), and the '''diff'''erence between when that packet was received, and the current time (how long ago did we last transmit an audio packet?). On a satellite receiver site this will display ''<System Time Not Set>'' and a wild number for the '''diff'''erence.
 +
 +
*''Last Ntwk Rx Pkt Timestamp time'' and ''diff'' '''is only applicable in sites where transmit is enabled.''' This displays the timestamp of the last transmit audio packet received from the network (from the host), and the '''diff'''erence between when the time stamp of that packet and the VOTER's time. On a satellite receiver site this will display ''<System Time Not Set>, diff: 0 msec''.
 +
 +
*''Last Ntwk Rx Pkt index'' and ''inbounds'' '''is only applicable in sites where transmit is enabled.''' This displays the index of the transmitted audio packet in the transmit buffer that was last transmitted, and a flag if the packet was inbounds (should be 1). On a satellite receiver site, both will be 0.

Revision as of 03:37, 30 January 2022

Introduction

Both the VOTER and the RTCM run the same (similar) firmware. The menus are consistent between them both.


This page should be consistent with the current options available in the current firmware.


BE AWARE there are some settings that take effect immediately, and others that require you to save settings to EEPROM (99) and reboot (r) for them to take effect. If you are not getting the expected results, this may be the cause. Try a 99 and r to see if that fixes your situation.


Console Access

Serial Console access is provided by an RS-232 serial port at 57600 baud, 8 bits, No parity, 1 Stop Bit. It is also made available remotely (off-board) via TELNET. When TELNET-ing the default user is "admin" and the password is "radios".

VOTER System Serial # 1234 Remote Console Access

Login: admin
Password: radios

Logged in successfully, now joining console session...


When done with the console session, please use the 'q' command to disconnect. The local serial port and the TELNET (remote) user share the same (and only) console session.


Main Menu

Select the following values to View/Modify:

1  - Serial # (1694) (which is MAC ADDR 00:04:A3:00:04:D2)
2  - VOTER Server Address (FQDN) (n0call.dyndns.net)
3  - VOTER Server Port (667),  4  - Local Port (Override) (0)
5  - Client Password (madcow1),  6  - Host Password (BLAH)
7  - Tx Buffer Length (640)
8  - GPS Data Protocol (0=NMEA, 1=TSIP) (1)
81 - GPS Type (0=Normal TSIP, 1=Trimble Thunderbolt) (0)
82 - GPS Time Offset (seconds to add for correction) (0)
9  - GPS Serial Polarity (0=Non-Inverted, 1=Inverted) (0)
10 - GPS PPS Polarity (0=Non-Inverted, 1=Inverted, 2=NONE) (1)
11 - GPS Baud Rate (9600)
12 - External CTCSS (0=Ignore, 1=Non-Inverted, 2=Inverted) (0)
13 - COR Type (0=Normal, 1=IGNORE COR, 2=No Receiver) (0)
14 - Debug Level (16)
15  - Alt. VOTER Server Address (FQDN) ()
16  - Alt. VOTER Server Port (Override) (0)
17  - DSP/BEW Mode NOT SUPPORTED
18 - "Duplex Mode 3" (0=DISABLED, 1-255 Hang Time) (1/10 secs) (0)
19 - Simulcast Launch Delay (0) (approx 200 ns, 5 = 1us, > 0 to ENA SC)
97 - RX Level,  98 - Status,  99 - Save Values to EEPROM
i - IP Parameters menu, o - Offline Mode Parameters menu, s - Squelch menu
q - Disconnect Remote Console Session, r - reboot system, d - diagnostics

Enter Selection (1-19,81-82,97-99,i,o,s,r,q,d) :


Options

  • 1 - Serial Number, is an unsigned 16 bit number (0-65535) which defines the last 2 bytes of the MAC address of the ethernet interface. Be sure that the MAC address of the device is unique on the LAN to which it is connected (if you have more than one VOTER on the LAN, they must each have a different serial number/MAC address).
  • 2 - VOTER Server Address is the fully-qualified domain name (FQDN) DNS address, or the IP, of the VOTER (AllStarLink) server you want to connect to. If you use the FQDN here, you must set at least one DNS server on the IP Parameters menu.
  • 3 - VOTER Server Port is the UDP port that the VOTER Server is listening on. Remember to add a forwarding rule in your firewall, if you are connecting from outside your LAN (ie. over the Internet).
  • 4 - Local Port (Override) normally should be 0. This allows the specification of a UDP port number for the device to use locally (incoming traffic). If specified as 0, it uses the same port as the "Voter Server Port". Not tested. Presumably, this should allow incoming traffic to the VOTER to be on a different port than the standard VOTER Server Port, but it is unclear how the server would be configured to do that.
  • 5 - Client Password is the password option in voter.conf that is associated with the DISPLAY_NAME for this VOTER. When this VOTER connects to the host, and the host matches the Client Password to a configured DISPLAY_NAME, that device will be connected to chan_voter.
  • 6 - Host Password is the password of the Asterisk host, and must match the password setting in the [General] context in voter.conf.
  • 7 - Tx Buffer Length sets the transmit buffer length in samples (8000 samples per second, so 8 samples = 1 millisecond), plus overhead, of the Transmit Delay buffer. This should be set to the maximum expected network latency plus a little padding (800 samples is a good amount of padding, so setting the parameter to 3000 is probably a good place to start until you do buffer tuning) between the host and all the clients on the transmit side. It must be set long enough to allow for worst-case delay and jitter in the Internet path between the client and the host. Minimum setting is 800, maximum setting is 6400.
  • 8 - GPS Data Protocol determines whether your GPS speaks NMEA, or Trimble TSIP. The VOTER is looking for NMEA $GPGGA, $GPGSV, and $GPRMC sentences.
  • 81 - GPS Type is normally set to 0, if you are using a Trimble GPS other than a Thunderbolt. Option 1 selects specific firmware hacks to accommodate Thunderbolt quirks.
  • 82 - GPS Time Offset (seconds to add for correction) if you have some oddball situation where you need to add a fixed number of seconds to GPS time, this is where you would specify that. You should not normally need this option.
  • 9 - GPS Serial Polarity depending on if your GPS is TTL or RS-232, you will need to adjust this setting accordingly to get lock. GPS Lock in the 98 - Status menu should be a 1 when this is correct and the GPS is locked.
  • 10 - GPS PPS Polarity depending on if your GPS PPS signal is TTL or RS-232, you will need to adjust this setting accordingly. Option 2 is used if you are using "General-purpose" mode, and not using a GPS. Check the PPS BAD or Wrong Polarity on the 98 - Status menu. If it is a 1, try toggling this setting, because the VOTER can't lock to PPS.
  • 11 - GPS Baud Rate is set according to your GPS. Typically this would be 4800 for most NMEA GPS, and 9600 for most TSIP applications.
  • 12 - External CTCSS is set depending on if you are feeding an external CTCSS signal from your repeater in to the VOTER. If you are using carrier squelch, leave this as 0. If your receiver is decoding CTCSS, and you are feeding a signal in to the radio connector, set the proper polarity for your application. The VOTER is normally expecting the External CTCSS to be pulled to ground.
  • 13 - COR Type is normally set to 0. COR is determined in software (Squelch Calibration procedure). If you have External CTCSS configured, this would be the equivalent of AND squelch when set to 0, needing CTCSS AND COR to qualify the receiver. If set to 1, then you must be feeding an External CTCSS signal in, and have that option correctly optioned, to qualify the receiver on reception of the correct CTCSS tone only (in most situations, you probably don't want to do that). Option 2 applications are un-tested/not known.
  • 14 - Debug Level sets various debug settings in the firmware.
  • 15 - Alt. VOTER Server Address is the alternate VOTER Server Address, when a redundant host system is configured. Not normally used.
  • 16 - Alt. VOTER Server Port (Override) is the UDP port of the redundant host, if it is different than the standard port configured in setting 3. Not normally used.
  • 17 - DSP/BEW Mode will show NOT SUPPORTED for firmware built without DSP/BEW mode. Will allow DSP/BEW to be optionally enabled in firmware built with this option (-BEW firmware files).
  • 18 - "Duplex Mode 3" setting to anything other than 0 enables this function. Duplex Mode 3 in app_rpt allows for "in-cabinet repeat" (where the radio hardware provides repeat audio) and app_rpt adds the hang time, courtesy tones, linking - all the things apt_rpt does, except repeat audio. Therefore no repeat audio delay. Cool, eh? This duplex mode has been in the app_rpt for a while. The problem has been how to implement it in the VOTER environment. Duplex Mode 3 support in the VOTER provides in-cabinet repeat functionality. Repeat audio loops through the VOTER, and has almost zero delay because it does not have to traverse the network. The delay is not quite zero but it's plenty short enough to eliminate all of the above mentioned annoyances. Of course, Duplex Mode 3 support can't be used with voting or simulcast. You also loose DTMF muting, Time Out Timer, and Repeater Disable functions because the repeat path is not through app_rpt.
  • 19 - Simulcast Launch Delay set to anything other than 0 to enable. Adds a "launch delay" to transmit audio in simulcast applications. A setting of 1 is approximately 200nS, 5 = 1uS.
  • 97 - RX Level enters the RX Level tuning display.
  • 98 - Status displays the current status of various parameters.
  • 99 - Save Values to EEPROM saves all current changes to EEPROM.
  • i - IP Parameters menu enters the IP configuration menu.
  • o - Offline Mode Parameters menu enters the Offline Mode configuration menu, used to "softfail" to a basic repeater if the connection to the host is lost.
  • s - Squelch menu enters the Squelch tuning menu.
  • q - Disconnect Remote Console Session quits the current TELNET connection, and releases the console back to serial.
  • r - reboot system should be pretty obvious...
  • d - diagnostics


97 RX Level Display

RX VOICE DISPLAY:
                                  v -- 3KHz        v -- 5KHz
|>           


This displays the Receive Audio Level in "real-time" when setting the Receive Level.


Modulate the receiver with a 1kHz at 3kHz deviation signal, and set the Receive Level potentiometer until the bar graph displays:

RX VOICE DISPLAY:
                                  v -- 3KHz        v -- 5KHz
|=================================>           


Press any key to exit this display.


98 Status Display

S/W Version: 3.00 3/24/2021
System Uptime: 850819.2 Secs
IP Address: 192.168.1.124
Netmask: 255.255.255.0
Gateway: 192.168.1.254
Primary DNS: 192.168.1.254
Secondary DNS: 0.0.0.0
DHCP: 0
VOTER Server IP: 192.168.1.100
VOTER Server UDP Port: 667
OUR UDP Port: 667
GPS Lock: 0
PPS BAD or Wrong Polarity: 0
Connected: 0
COR: 0
EXT CTCSS IN: 1
PTT: 0
RSSI: 3
Current Samples / Sec.: 8000
Current Peak Audio Level: 49776
Squelch Noise Gain Value: 13, Diode Cal. Value: 57, SQL Level 400, Hysteresis 24
Current Time: Sun  Jan 30, 2022  03:11:40.860
Last Ntwk Rx Pkt System time: <System Time Not Set>, diff: -1462339168 msec
Last Ntwk Rx Pkt Timestamp time: <System Time Not Set>, diff: 0 msec
Last Ntwk Rx Pkt index: 0, inbounds: 0

Press The Any Key (Enter) To Continue


Values

  • S/W Version displays the current firmware version and build date.
  • System Uptime shows how long this device has been running, in seconds.
  • IP Address is the current static IP, or the IP address received using DHCP.
  • Netmask is the current configured netmask, or the netmask received using DHCP.
  • Gateway is the current configured gateway, or the gateway received using DHCP.
  • Primary DNS is the current configured primary DNS server, or the DNS server received using DHCP.
  • Secondary DNS is the current configured primary DNS server, or the DNS server received using DHCP.
  • DHCP reports 1 if DHCP is enabled, or 0 if using static IP configuration.
  • VOTER Server IP is the IP address that the VOTER Server Address resolves to.
  • VOTER Server UDP Port is the current VOTER Server UDP port.
  • OUR UDP Port is the current incoming UDP port. This would change if Local Port (Override) is set.
  • GPS Lock reports 1 if the GPS is locked and time is good. Reports 0 if the GPS is unlocked (or GPS polarity is incorrect and the VOTER can't decode any GPS data).
  • PPS BAD or Wrong Polarity reports 1 if the PPS signal is bad (check polarity). Reports 0 if the PPS signal is good.
  • Connected reports 1 if the VOTER is has established a connection to it's host. Reports 0 if there is currently no host connection.
  • COR reports 1 if the squelch is currently open. Reports 0 if the squelch is closed.
  • EXT CTCSS IN reports the status of the External CTCSS pin. It is normally pulled up, so will report 1. It will report 0 if it is grounded. Logic would depend on your application.
  • PTT reports 1 if the transmitter is presently keyed. Reports 0 if the transmitter is unkeyed.
  • RSSI reports the currently sampled/decoded RSSI level when the receiver is active.
  • Current Samples / Sec. displays the current encoding rate (will always be 8000 or 8001).
  • Current Peak Audio Level reports the current audio level (ADC level).
  • Squelch Noise Gain Value displays the EEPROM setting written during the "Squelch Calibration" procedure.
  • Diode Cal. Value displays the EEPROM setting written during the "Diode Calibration" procedure.
  • SQL Level displays the current squelch level (relative value from 0-1023). If configured for squelch pot, this is the value set by the squelch potentiometer. If set for software squelch, this is the value programmed in to the EEPROM. See the Squelch Menu for more details.
  • Hysteresis displays the current squelch hysteresis setting (configured on the Squelch Menu).
  • Current Time if the GPS is locked, the current time will be displayed.
  • Last Ntwk Rx Pkt System time and diff is only applicable in sites where transmit is enabled. This displays the timestamp of the last transmit audio packet received from the network (from the host), and the difference between when that packet was received, and the current time (how long ago did we last transmit an audio packet?). On a satellite receiver site this will display <System Time Not Set> and a wild number for the difference.
  • Last Ntwk Rx Pkt Timestamp time and diff is only applicable in sites where transmit is enabled. This displays the timestamp of the last transmit audio packet received from the network (from the host), and the difference between when the time stamp of that packet and the VOTER's time. On a satellite receiver site this will display <System Time Not Set>, diff: 0 msec.
  • Last Ntwk Rx Pkt index and inbounds is only applicable in sites where transmit is enabled. This displays the index of the transmitted audio packet in the transmit buffer that was last transmitted, and a flag if the packet was inbounds (should be 1). On a satellite receiver site, both will be 0.