<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.g4slv.info/dokuwiki/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>Make It Tea</title>
        <description></description>
        <link>https://www.g4slv.info/dokuwiki/</link>
        <lastBuildDate>Tue, 14 Jul 2026 07:01:10 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=logo.png</url>
            <title>Make It Tea</title>
            <link>https://www.g4slv.info/dokuwiki/</link>
        </image>
        <item>
            <title>Old stuff but good</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:alpine</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:start&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:start&quot; data-wiki-id=&quot;public:computers:archive:start&quot;&gt;Archive&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;old_stuff_but_good&quot;&gt;Old stuff but good&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Old stuff but good&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;old_stuff_but_good&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-51&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;alpine&quot;&gt;Alpine&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_bbb72ee261cc7a5312d2d82ea0975a3d_1&quot;&gt;.pinerc &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_bbb72ee261cc7a5312d2d82ea0975a3d_1&quot;&gt;&lt;pre class=&quot;code&quot;&gt;#
# Alpine configuration file
#
# This file sets the configuration options used by Alpine and PC-Alpine. These
# options are usually set from within Alpine or PC-Alpine. There may be a
# system-wide configuration file which sets the defaults for some of the
# variables. On Unix, run alpine -conf to see how system defaults have been set.
# For variables that accept multiple values, list elements are separated by
# commas. A line beginning with a space or tab is considered to be a
# continuation of the previous line. For a variable to be unset its value must
# be blank. To set a variable to the empty string its value should be &amp;quot;&amp;quot;.
# You can override system defaults by setting a variable to the empty string.
# Lines beginning with &amp;quot;#&amp;quot; are comments, and ignored by Alpine.

# Over-rides your full name from Unix password file. Required for PC-Alpine.
personal-name=

# Sets domain part of From: and local addresses in outgoing mail.
user-domain=gm4slv.plus.com

# List of SMTP servers for sending mail. If blank: Unix Alpine uses sendmail.
smtp-server=relay.plus.net:587/user=gm4slv@gm4slv.plus.com

# NNTP server for posting news. Also sets news-collections for news reading.
nntp-server=&amp;quot;&amp;quot;

# Path of (local or remote) INBOX, e.g. ={mail.somewhere.edu}inbox
# Normal Unix default is the local INBOX (usually /var/spool/mail/$USER).
inbox-path={imap.plus.net:993/ssl/user=gm4slv@gm4slv.plus.com}inbox

# List of folder pairs; the first indicates a folder to archive, and the
# second indicates the folder read messages in the first should
# be moved to.
incoming-archive-folders=

# List of folders, assumed to be in first folder collection,
# offered for pruning each month.  For example: mumble
pruned-folders=

# Over-rides default path for sent-mail folder, e.g. =old-mail (using first
# folder collection dir) or ={host2}sent-mail or =&amp;quot;&amp;quot; (to suppress saving).
# Default: sent-mail (Unix) or SENTMAIL.MTX (PC) in default folder collection.
default-fcc={imap.plus.net:993/ssl/user=gm4slv@gm4slv.plus.com}Inbox.Sent

# Over-rides default path for saved-msg folder, e.g. =saved-messages (using 1st
# folder collection dir) or ={host2}saved-mail or =&amp;quot;&amp;quot; (to suppress saving).
# Default: saved-messages (Unix) or SAVEMAIL.MTX (PC) in default collection.
default-saved-msg-folder=

# Over-rides default path for postponed messages folder, e.g. =pm (which uses
# first folder collection dir) or ={host4}pm (using home dir on host4).
# Default: postponed-msgs (Unix) or POSTPOND.MTX (PC) in default fldr coltn.
postponed-folder=

# If set, specifies where already-read messages will be moved upon quitting.
read-message-folder=

# If set, specifies where form letters should be stored.
form-letter-folder=

# If set, specifies where trash is moved to in Web Alpine.
trash-folder=

# Contains the actual signature contents as opposed to the signature filename.
# If defined, this overrides the signature-file. Default is undefined.
literal-signature=

# Over-rides default path for signature file. Default is ~/.signature
signature-file=

# List of features; see Alpine&amp;#039;s Setup/options menu for the current set.
# e.g. feature-list= select-without-confirm, signature-at-bottom
# Default condition for all of the features is no-.
feature-list=combined-folder-display,
	expanded-view-of-folders,
	expose-hidden-config,
	no-force-arrow-cursor,
	enable-incoming-folders,
	combined-subdirectory-display,
	enable-incoming-folders-checking,
	preopen-stayopen-folders,
	no-enable-msg-view-forced-arrows,
	enable-full-header-and-text,
	enable-cruise-mode,
	prefer-plain-text,
	enable-mail-check-cue,
	no-show-cursor,
	quell-empty-directories,
	no-separate-folder-and-directory-entries,
	no-enable-dot-folders,
	vertical-folder-list,
	single-column-folder-list,
	expanded-view-of-distribution-lists,
	disable-take-last-comma-first,
	no-assume-slow-link,
	show-plain-text-internally,
	enable-msg-view-addresses,
	no-enable-arrow-navigation-relaxed,
	no-enable-lame-list-mode

# Alpine executes these keys upon startup (e.g. to view msg 13: i,j,1,3,CR,v)
initial-keystroke-list=

# Only show these headers (by default) when composing messages
default-composer-hdrs=

# Add these customized headers (and possible default values) when composing
customized-hdrs=

# When viewing messages, include this list of headers
viewer-hdrs=

# When viewing messages, number of blank spaces between left display edge and text
viewer-margin-left=

# When viewing messages, number of blank spaces between right display edge and text
viewer-margin-right=

# When viewing messages, number of lines of quote displayed before suppressing
quote-suppression-threshold=

# Determines default folder name for Saves...
# Choices: default-folder, by-sender, by-from, by-recipient, last-folder-used.
# Default: &amp;quot;default-folder&amp;quot;, i.e. &amp;quot;saved-messages&amp;quot; (Unix) or &amp;quot;SAVEMAIL&amp;quot; (PC).
saved-msg-name-rule=

# Determines default name for Fcc...
# Choices: default-fcc, by-recipient, last-fcc-used.
# Default: &amp;quot;default-fcc&amp;quot; (see also &amp;quot;default-fcc=&amp;quot; variable.)
fcc-name-rule=

# Sets presentation order of messages in Index. Choices:
# Subject, From, Arrival, Date, Size, To, Cc, OrderedSubj, Score, and Thread.
# Order may be reversed by appending /Reverse. Default: &amp;quot;Arrival&amp;quot;.
sort-key=

# Sets presentation order of address book entries. Choices: dont-sort,
# fullname-with-lists-last, fullname, nickname-with-lists-last, nickname
# Default: &amp;quot;fullname-with-lists-last&amp;quot;.
addrbook-sort-rule=

# Sets presentation order of folder list entries. Choices: alphabetical,
# alpha-with-dirs-last, alpha-with-dirs-first.
# Default: &amp;quot;alpha-with-directories-last&amp;quot;.
folder-sort-rule=

# Sets the default folder and collection offered at the Goto Command&amp;#039;s prompt.
goto-default-rule=

# Sets message which cursor begins on. Choices: first-unseen, first-recent,
# first-important, first-important-or-unseen, first-important-or-recent,
# first, last. Default: &amp;quot;first-unseen&amp;quot;.
incoming-startup-rule=

# Allows a default answer for the prune folder questions. Choices: yes-ask,
# yes-no, no-ask, no-no, ask-ask, ask-no. Default: &amp;quot;ask-ask&amp;quot;.
pruning-rule=

# Controls behavior when reopening an already open folder.
folder-reopen-rule=

# Style that MESSAGE INDEX is displayed in when threading.
threading-display-style=

# Style of THREAD INDEX or default MESSAGE INDEX when threading.
threading-index-style=

# When threading, character used to indicate collapsed messages underneath.
threading-indicator-character=

# When threading, character used to indicate expanded messages underneath.
threading-expanded-character=

# When threading, character used to indicate this is the last reply
# to the parent of this message.
threading-lastreply-character=

# Reflects capabilities of the display you have.
# If unset, the default is taken from your locale. That is usually the right
# thing to use. Typical alternatives include UTF-8, ISO-8859-x, and EUC-JP
# (where x is a number between 1 and 9).
display-character-set=

# Reflects capabilities of the keyboard you have.
# If unset, the default is to use the same value
# used for the display-character-set.
keyboard-character-set=

# Defaults to UTF-8. This is used for outgoing messages.
# It is usually correct to leave this unset.
posting-character-set=

# Defaults to nothing, which is equivalent to US-ASCII. This is used for
# unlabeled incoming messages. It is ok to leave this unset but if you receive
# unlabeled mail that is usually in some known character set, set that here.
unknown-character-set=

# Specifies the program invoked by ^_ in the Composer,
# or the &amp;quot;enable-alternate-editor-implicitly&amp;quot; feature.
editor=

# Specifies the program invoked by ^T in the Composer.
speller=

# Specifies the column of the screen where the composer should wrap.
composer-wrap-column=

# Specifies the string to insert when replying to a message.
reply-indent-string=

# Specifies the introduction to insert when replying to a message.
reply-leadin=

# Specifies the string to replace quotes with when viewing a message.
quote-replace-string=

# When these characters appear in the middle of a word in the composer
# the forward word function will stop at the first text following (as happens
# with SPACE characters by default)
composer-word-separators=

# Specifies the string to use when sending a  message with no to or cc.
empty-header-message=

# Program to view images (e.g. GIF or TIFF attachments).
image-viewer=

# If &amp;quot;user-domain&amp;quot; not set, strips hostname in FROM address. (Unix only)
use-only-domain-name=

# This variable takes a list of programs that message text is piped into
# after MIME decoding, prior to display.
display-filters=

# This defines a program that message text is piped into before MIME
# encoding, prior to sending
sending-filters=

# A list of alternate addresses the user is known by
alt-addresses=

# A list of keywords for use in categorizing messages
keywords=

# Characters which surround keywords in SUBJKEY token.
# Default is &amp;quot;{&amp;quot; &amp;quot;} &amp;quot;
keyword-surrounding-chars=

# Characters between subject and opening text in SUBJECTTEXT token.
# Default is &amp;quot; - &amp;quot;
opening-text-separator-chars=

# This is a list of formats for address books.  Each entry in the list is made
# up of space-delimited tokens telling which fields are displayed and in
# which order.  See help text
addressbook-formats=

# This gives a format for displaying the index.  It is made
# up of space-delimited tokens telling which fields are displayed and in
# which order.  See help text
index-format=

# The number of lines of overlap when scrolling through message text
viewer-overlap=

# Number of lines from top and bottom of screen where single
# line scrolling occurs.
scroll-margin=

# The number of seconds to sleep after writing a status message
status-message-delay=

# Number of times per-second to update busy cue messages
busy-cue-rate=

# The approximate number of seconds between checks for new mail
mail-check-interval=

# The approximate number of seconds between checks for new mail in folders
# other than the current folder and inbox.
# Default is same as mail-check-interval
mail-check-interval-noncurrent=

# The minimum number of seconds between checks for new mail in a Mail Drop.
# This is always effectively at least as large as the mail-check-interval
maildrop-check-minimum=

# For newsgroups accessed using NNTP, only messages numbered in the range
# lastmsg-range+1 to lastmsg will be considered
nntp-range=

# Full path and name of NEWSRC file
newsrc-path=

# Path and filename of news configuration&amp;#039;s active file.
# The default is typically &amp;quot;/usr/lib/news/active&amp;quot;.
news-active-file-path=

# Directory containing system&amp;#039;s news data.
# The default is typically &amp;quot;/var/spool/news&amp;quot;
news-spool-directory=

# Path and filename of the program used to upload text from your terminal
# emulator&amp;#039;s into Alpine&amp;#039;s composer.
upload-command=

# Text sent to terminal emulator prior to invoking the program defined by
# the upload-command variable.
# Note: _FILE_ will be replaced with the temporary file used in the upload.
upload-command-prefix=

# Path and filename of the program used to download text via your terminal
# emulator from Alpine&amp;#039;s export and save commands.
download-command=

# Text sent to terminal emulator prior to invoking the program defined by
# the download-command variable.
# Note: _FILE_ will be replaced with the temporary file used in the download.
download-command-prefix=

# Sets the search path for the mailcap configuration file.
# NOTE: colon delimited under UNIX, semi-colon delimited under DOS/Windows/OS2.
mailcap-search-path=

# Sets the search path for the mimetypes configuration file.
# NOTE: colon delimited under UNIX, semi-colon delimited under DOS/Windows/OS2.
mimetype-search-path=

# Sets the path for the system ssl certificates issued by a trusted
# certificate authority. Note that this could be a list of paths, if the same
# pinerc is used in different systems. Alpine always chooses the first one that
# it finds. Value must be an absolute path.
system-certs-path=

# Sets the path for the system ssl file container of certificates issued by a
# certificate authority. Note that this could be a list of container files,
# if the same pinerc is used in different systems. Alpine always chooses the,
# first one that it finds. Value must be an absolute path.
system-certs-file=

# Sets the path for a file that contains certificates that a user trusts.
Note that this could be a list of container files,
# if the same pinerc is used in different systems. Alpine always chooses the,
# first one that it finds. Value must be an absolute path.
user-certs-path=

# Sets the path for a file that contains certificates that a user trusts.
Note that this could be a list of container files,
# if the same pinerc is used in different systems. Alpine always chooses the,
# first one that it finds. Value must be an absolute path.
user-certs-file=

# List of programs to open Internet URLs (e.g. http or ftp references).
url-viewers=

# List of directories that are preferred locations to save or export attachments.
default-directories=

# The maximum number of non-stayopen remote connections that Alpine will use
max-remote-connections=

# A list of folders that should be left open once opened (INBOX is implicit)
stay-open-folders=&amp;quot;&amp;quot;

# Sets the time in seconds that Alpine will attempt to open a network
# connection when checking for new unseen messages in an incoming folder.
#  The default is 5.
incoming-check-timeout=

# Sets the approximate number of seconds between checks for unseen messages
# in incoming folders. The default is 180.
incoming-check-interval=

# Sets the approximate number of seconds between checks for unseen messages
# for other than local or IMAP folders. The default is 180.
incoming-check-interval-secondary=

# List of incoming folders to check for unseen messages. The default if left
# blank is to check all incoming folders.
incoming-check-list=

# Specifies the number of dead letter files to keep when canceling.
dead-letter-files=

# Sets the filename for the newmail fifo (named pipe). Unix only.
newmail-fifo-path=

# Sets the width for the NewMail screen.
newmail-window-width=

# List of incoming msg folders besides INBOX, e.g. ={host2}inbox, {host3}inbox
# Syntax: optnl-label {optnl-imap-host-name}folder-path
incoming-folders=W2W {imap.123-reg.co.uk:993/ssl/user=john@wire2waves.co.uk}INBOX

# List of directories where saved-message folders may be. First one is
# the default for Saves. Example: Main {host1}mail/[], Desktop mail\[]
# Syntax: optnl-label {optnl-imap-hostname}optnl-directory-path[]
folder-collections=&amp;quot;W2W Folders&amp;quot; {imap.123-reg.co.uk:993/ssl/user=john@wire2waves.co.uk}[],
	PlusNet {imap.plus.net:993/user=gm4slv@gm4slv.plus.com/ssl}INBOX.[]

# List, only needed if nntp-server not set, or news is on a different host
# than used for NNTP posting. Examples: News *[] or News *{host3/nntp}[]
# Syntax: optnl-label *{news-host/protocol}[]
news-collections=

# List of file or path names for personal addressbook(s).
# Default: ~/.addressbook (Unix) or \PINE\ADDRBOOK (PC)
# Syntax: optnl-label path-name
address-book=

# List of file or path names for global/shared addressbook(s).
# Default: none
# Syntax: optnl-label path-name
global-address-book=

# Set by Alpine; controls beginning-of-month sent-mail pruning.
last-time-prune-questioned=122.9

# Set by Alpine; controls display of &amp;quot;new version&amp;quot; message.
last-version-used=6.24

# This names the path to an alternative program, and any necessary arguments,
# to be used in posting mail messages.  Example:
#                    /usr/lib/sendmail -oem -t -oi
# or,
#                    /usr/local/bin/sendit.sh
# The latter a script found in Alpine distribution&amp;#039;s contrib/util directory.
# NOTE: The program MUST read the message to be posted on standard input,
#       AND operate in the style of sendmail&amp;#039;s &amp;quot;-t&amp;quot; option.
sendmail-path=

# This names the root of the tree to which the user is restricted when reading
# and writing folders and files.  For example, on Unix ~/work confines the
# user to the subtree beginning with their work subdirectory.
# (Note: this alone is not sufficient for preventing access.  You will also
# need to restrict shell access and so on, see Alpine Technical Notes.)
# Default: not set (so no restriction)
operating-dir=

# If no user input for this many hours, Alpine will exit if in an idle loop
# waiting for a new command.  If set to zero (the default), then there will
# be no timeout.
user-input-timeout=

# Sets the time in seconds that Alpine will attempt to open a network
# connection.  The default is 30, the minimum is 5, and the maximum is
# system defined (typically 75).
tcp-open-timeout=

# Network read warning timeout. The default is 15, the minimum is 5, and the
# maximum is 1000.
tcp-read-warning-timeout=

# Network write warning timeout. The default is 0 (unset), the minimum
# is 5 (if not 0), and the maximum is 1000.
tcp-write-warning-timeout=

# If this much time has elapsed at the time of a tcp read or write
# timeout, Alpine will ask if you want to break the connection.
# Default is 60 seconds, minimum is 5, maximum is 1000.
tcp-query-timeout=

# If this much time has elapsed at the time of a tcp read or write timeout,
# Alpine will close the connection automatically without user intervention.
# Setting this value to zero (the default) disables this. Setting this variable
# to a smaller value than tcp-query-timeout will close the connection
# automatically, and you will never be asked if you want to wait.
close-connection-timeout=

# Sets the format of the command used to open a UNIX remote
# shell connection.  The default is &amp;quot;%s %s -l %s exec /etc/r%sd&amp;quot;
# NOTE: the 4 (four) &amp;quot;%s&amp;quot; entries MUST exist in the provided command
# where the first is for the command&amp;#039;s path, the second is for the
# host to connect to, the third is for the user to connect as, and the
# fourth is for the connection method (typically &amp;quot;imap&amp;quot;)
rsh-command=

# Sets the name of the command used to open a UNIX remote shell connection.
# The default is typically /usr/ucb/rsh.
rsh-path=

# Sets the time in seconds that Alpine will attempt to open a UNIX remote
# shell connection.  The default is 15, min is 5, and max is unlimited.
# Zero disables rsh altogether.
rsh-open-timeout=

# Sets the format of the command used to open a UNIX secure
# shell connection.  The default is &amp;quot;%s %s -l %s exec /etc/r%sd&amp;quot;
# NOTE: the 4 (four) &amp;quot;%s&amp;quot; entries MUST exist in the provided command
# where the first is for the command&amp;#039;s path, the second is for the
# host to connect to, the third is for the user to connect as, and the
# fourth is for the connection method (typically &amp;quot;imap&amp;quot;)
ssh-command=

# Sets the name of the command used to open a UNIX secure shell connection.
# Typically this is /usr/bin/ssh.
ssh-path=

# Sets the time in seconds that Alpine will attempt to open a UNIX secure
# shell connection.  The default is 15, min is 5, and max is unlimited.
# Zero disables ssh altogether.
ssh-open-timeout=

# Sets the version number Alpine will use as a threshold for offering
# its new version message on startup.
new-version-threshold=

# List of mail drivers to disable.
disable-these-drivers=

# List of SASL authenticators to disable.
disable-these-authenticators=

# A range in the form min,max that sets the minimum amd maximum versions of the
# SSL protocol that Alpine will use when connecting to a secure server.
encryption-protocol-range=

# Set by Alpine; contains data for caching remote address books.
remote-abook-metafile=

# How many extra copies of remote address book should be kept. Default: 3
remote-abook-history=

# Minimum number of minutes between checks for remote address book changes.
# 0 means never check except when opening a remote address book.
# -1 means never check. Default: 5
remote-abook-validity=

# Your default printer selection
printer=

# List of special print commands
personal-print-command=

# Which category default print command is in
personal-print-category=

# Your client-id and client-secret information to authenticate using XOAUTH2
xoauth2-info=

# Patterns and their actions are stored here.
patterns-roles=LIT:pattern=&amp;quot;/NICK=Wire2waves/FLDTYPE=SPEC/FOLDER={imap.123-reg.co.uk:993\/ssl\/user=john@wire2waves.co.uk}Personal,W2W&amp;quot; action=&amp;quot;/ROLE=1/FROM=John Pumford-Green &amp;lt;john@wire2waves.co.uk&amp;gt;/SMTP=smtp.123-reg.co.uk\/ssl\/user=john@wire2waves.co.uk/RTYPE=NC/FTYPE=NC/CTYPE=NC&amp;quot;

# Patterns and their actions are stored here.
patterns-filters2=

# Patterns and their actions are stored here.
patterns-scores2=

# Patterns and their actions are stored here.
patterns-indexcolors=

# Patterns and their actions are stored here.
patterns-other=

# Patterns and their actions are stored here.
patterns-search=

# Controls display of color
color-style=use-termdef

# Controls display of color for current index line
current-indexline-style=flip-colors

# Controls display of color for the titlebar at top of screen
titlebar-color-style=default

# Choose: black, blue, green, cyan, red, magenta, yellow, or white.
normal-foreground-color=255,255,255
normal-background-color=000,000,000
reverse-foreground-color=
reverse-background-color=
title-foreground-color=000,255,255
title-background-color=000,000,174
title-closed-foreground-color=
title-closed-background-color=
folder-foreground-color=
folder-background-color=
directory-foreground-color=
directory-background-color=
folder-list-text-foreground-color=
folder-list-text-background-color=
status-foreground-color=
status-background-color=
keylabel-foreground-color=000,255,255
keylabel-background-color=000,000,174
keyname-foreground-color=255,255,000
keyname-background-color=000,000,174
selectable-item-foreground-color=
selectable-item-background-color=
meta-message-foreground-color=
meta-message-background-color=
quote1-foreground-color=
quote1-background-color=
quote2-foreground-color=
quote2-background-color=
quote3-foreground-color=
quote3-background-color=
incoming-unseen-foreground-color=
incoming-unseen-background-color=
signature-foreground-color=
signature-background-color=
prompt-foreground-color=
prompt-background-color=
header-general-foreground-color=
header-general-background-color=
index-to-me-foreground-color=
index-to-me-background-color=
index-important-foreground-color=
index-important-background-color=
index-deleted-foreground-color=
index-deleted-background-color=
index-answered-foreground-color=255,255,255
index-answered-background-color=000,000,174
index-new-foreground-color=
index-new-background-color=
index-recent-foreground-color=
index-recent-background-color=
index-forward-foreground-color=
index-forward-background-color=
index-unseen-foreground-color=
index-unseen-background-color=
index-highpriority-foreground-color=
index-highpriority-background-color=
index-lowpriority-foreground-color=
index-lowpriority-background-color=
index-arrow-foreground-color=
index-arrow-background-color=
index-subject-foreground-color=
index-subject-background-color=
index-from-foreground-color=
index-from-background-color=
index-opening-foreground-color=
index-opening-background-color=

# Colors in which tokens will be displayed in the index screen
index-token-colors=

# When viewing messages, these are the header colors
viewer-hdr-colors=

# Colors used to display keywords in the index
keyword-colors=

# Public certificates are kept in files in this directory. The files should
# contain certificates in PEM format. The name of each file should look
# like &amp;lt;emailaddress&amp;gt;.crt. The default directory is .alpine-smime/public.
smime-public-cert-directory=

# If this option is set then public certificates are kept in a single container
# &amp;quot;file&amp;quot; similar to a remote configuration file instead of in the
# smime-publiccert-directory. The value can be a remote or local folder
# specification like for a non-standard pinerc value. The default
# is that it is not set.
smime-public-cert-container=

# Private keys are kept in files in this directory. The files are in PEM format.
# The name of a file should look like &amp;lt;emailaddress&amp;gt;.key.
# The default directory is .alpine-smime/private.
smime-private-key-directory=

# If this option is set then private keys are kept in a single container
# &amp;quot;file&amp;quot; similar to a remote configuration file instead of in the
# private-key-directory. The value can be a remote or local folder
# specification like for a non-standard pinerc value. The default
# is that it is not set.
smime-private-key-container=

# Certificate Authority certificates (in addition to the normal CACerts for the
# system) are kept in files in this directory. The files are in PEM format.
# Filenames should end with .crt. The default directory is .alpine-smime/ca.
smime-cacert-directory=

# If this option is set then CAcerts are kept in a single container
# &amp;quot;file&amp;quot; similar to a remote configuration file instead of in the
# ca-cert-directory. The value can be a remote or local folder
# specification like for a non-standard pinerc value. The default
# is that it is not set.
smime-cacert-container=

# LDAP servers for looking up addresses.
ldap-servers=

# RSS News feed
rss-news=

# RSS Weather feed
rss-weather=

# Web Alpine index table row height
wp-indexheight=

# Web Alpine number of index lines in table
wp-indexlines=

# Web Alpine aggregate operations tab state
wp-aggstate=

# Web Alpine various aspects of cross-session state
wp-state=

# Web Alpine preferred width for message display in characters
wp-columns=
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Alpine&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;alpine&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;52-25617&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;telnet&quot;&gt;telnet&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I&amp;#039;ve put telnetd on the shack box and telnet clients on anything that didn&amp;#039;t already have it. 
&lt;/p&gt;

&lt;p&gt;
SSH is great, but sometimes it&amp;#039;s nice to go back to simpler times…..
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;telnet&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;telnet&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;25618-25804&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;ftp&quot;&gt;ftp&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
And the same for ftp….
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;ftp&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;ftp&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;25805-25848&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;section_two&quot;&gt;Section Two&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 30/09/22 18:26&lt;/em&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Section Two&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;section_two&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;25849-25918&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;25919-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>Watchcheck Python code</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:watchcheck</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;watchcheck_python_code&quot;&gt;Watchcheck Python code&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
I wrote a small python2 application to keep track of a watch/clock&amp;#039;s 
daily rate error. It&amp;#039;s a console-only mimic of an Android app that
I use on my phone to track my watch timekeeping.
&lt;/p&gt;

&lt;p&gt;
I wrote it mainly as a &lt;em&gt;thought-experiment&lt;/em&gt; rather than as a fully functional
piece of code.
&lt;/p&gt;

&lt;p&gt;
You put the application in a directory specific to the watch and execute it from that
directory. the data from each measurement is stored in a &lt;strong&gt;json&lt;/strong&gt; file in the same directory.
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt; update 23/01/26 &lt;/strong&gt;  I&amp;#039;ve modified the code to run under Python 3 - using the tool &lt;code&gt;2to3&lt;/code&gt; and a minor manual tweak.
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_0bfab14a76b53f246a8f5e0f71d5e5ed_1&quot;&gt;watchcheck.py in Python 3 &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_0bfab14a76b53f246a8f5e0f71d5e5ed_1&quot;&gt;&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:miscellany:watches:watchcheck&amp;amp;codeblock=0&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_py&quot;&gt;watchcheck.py&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file python&quot;&gt;&lt;span class=&quot;co1&quot;&gt;# a text-terminal version of the WatchCheck app&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;## to track error, daily error rate of timepieces.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# auto update?&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; json
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; write_file&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    filename &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;logfile.txt&amp;quot;&lt;/span&gt;
    f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filename&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;a+&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    timenow &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%d/%m/%Y %H:%M:%S&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;gmtime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    log &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;timenow&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;log&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_delta&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Current Time = %H:%M&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    h &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%H&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    w &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Watch time %s:&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;h&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;w&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    date &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%Y/%m/%d&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; date + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + h +&lt;span class=&quot;st0&quot;&gt;&amp;quot;:&amp;quot;&lt;/span&gt;+ w +&lt;span class=&quot;st0&quot;&gt;&amp;quot;:00&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw2&quot;&gt;input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Press enter when seconds = 0 &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    watchtime &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mktime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strptime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;s&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%Y/%m/%d %H:%M:%S&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;timetuple&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    record_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%Y/%m/%d %H:%M:%S&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    timenow &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; watchtime - timenow
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; record_time&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;delta
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; watch_stat&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        saved_error &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;error_list.json&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        error_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; json.&lt;span class=&quot;me1&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;saved_error&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
        error_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;error_list&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;:
        first_record &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        latest_record &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        previous_record &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        first_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; first_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        first_delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; first_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        latest_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; latest_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; 
        latest_delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; latest_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        previous_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; previous_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        previous_delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; previous_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        FMT &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;%Y/%m/%d %H:%M:%S&#039;&lt;/span&gt;
&amp;nbsp;
        t_latest &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strptime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;latest_time&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; FMT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        t_previous &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strptime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;previous_time&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; FMT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        t_first &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strptime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;first_time&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; FMT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        tdelta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; t_latest - t_previous
        full_delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; t_latest - t_first
&amp;nbsp;
        elapsed_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tdelta.&lt;span class=&quot;me1&quot;&gt;total_seconds&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        full_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; full_delta.&lt;span class=&quot;me1&quot;&gt;total_seconds&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;First record time &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; first_time&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;First record delta &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; first_delta&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Previous record time &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; previous_time&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Previous record delta &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; previous_delta&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest record time &amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; latest_time&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest record delta &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; latest_delta&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Overall elapsed time &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; full_delta&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest elapsed time &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; tdelta&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# Current Error rate&lt;/span&gt;
        time_error &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; latest_delta - previous_delta
        error_rate &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; time_error / elapsed_time
        daily_rate &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_rate * &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;*&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;*&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        ppm_daily &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_rate * &lt;span class=&quot;nu0&quot;&gt;1000000&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# Overall Error rate&lt;/span&gt;
        total_error &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; latest_delta - first_delta
        average_error_rate &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; total_error / full_time
&amp;nbsp;
        average_rate &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; average_error_rate * &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;*&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;*&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        ppm_overall &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; average_error_rate * &lt;span class=&quot;nu0&quot;&gt;1000000&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest delta change &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; time_error&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest elapsed time %d seconds &amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;elapsed_time&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Daily PPM : %0.3f&amp;quot;&lt;/span&gt; % ppm_daily&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Daily rate error: %0.1f s/d &amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;daily_rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Total Time %d seconds&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;full_time&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Total error &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; total_error&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Total PPM : %0.3f&amp;quot;&lt;/span&gt; % ppm_overall&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Total rate error: %0.1f s/d&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;average_rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;========================================================&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot; Delta : %+0.1f s | Rate : %+0.1f s/d | Average : %+0.1f s/d&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;latest_delta&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; daily_rate&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; average_rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;========================================================&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\t&lt;/span&gt;%+0.1f&lt;span class=&quot;es0&quot;&gt;\t&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\t&lt;/span&gt;%+0.1f&lt;span class=&quot;es0&quot;&gt;\t&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\t&lt;/span&gt;%+0.1f&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;latest_delta&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; daily_rate&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; average_rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        write_file&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;No rate yet&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; new_record&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        saved_error &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;error_list.json&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        error_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; json.&lt;span class=&quot;me1&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;saved_error&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
        error_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
    s&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_delta&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%s &lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;Delta %0.1f seconds&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;s&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; delta&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    last_data&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;s&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;delta&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
    error_list.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;last_data&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#print error_list&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;with&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;error_list.json&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;w&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;as&lt;/span&gt; outfile:
        json.&lt;span class=&quot;me1&quot;&gt;dump&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;error_list&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; outfile&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; delete_last&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        saved_error &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;error_list.json&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        error_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; json.&lt;span class=&quot;me1&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;saved_error&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
        error_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
    error_list.&lt;span class=&quot;me1&quot;&gt;pop&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;with&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;error_list.json&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;w&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;as&lt;/span&gt; outfile:
        json.&lt;span class=&quot;me1&quot;&gt;dump&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;error_list&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; outfile&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; menu&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Wire2waves WatchCheck.....&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;=========================&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;N : New Record&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;D : Delete Last&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;S : Stats&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;Q : Quit&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    choice &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Command &amp;gt; : &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;upper&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; choice &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;N&amp;quot;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;New&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        new_record&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        watch_stat&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        menu&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; choice &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;S&amp;quot;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Stat&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        watch_stat&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        menu&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; choice &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;D&amp;quot;&lt;/span&gt;:
        delete_last&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        watch_stat&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        menu&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; choice &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Q&amp;quot;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;?&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        menu&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
menu&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_0bfab14a76b53f246a8f5e0f71d5e5ed_2&quot;&gt;original watchcheck.py in python 2 &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_0bfab14a76b53f246a8f5e0f71d5e5ed_2&quot;&gt;&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:miscellany:watches:watchcheck&amp;amp;codeblock=1&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_py&quot;&gt;watchcheck.py&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file python&quot;&gt;&lt;span class=&quot;co1&quot;&gt;#! /usr/bin/env python&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;## a text-terminal version of the WatchCheck app&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;## to track error, daily error rate of timepieces.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# auto update?&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; json
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; write_file&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    filename &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;logfile.txt&amp;quot;&lt;/span&gt;
    f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filename&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;a+&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    timenow &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%d/%m/%Y %H:%M:%S&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;gmtime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    log &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;timenow&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;log&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_delta&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Current Time = %H:%M&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    h &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%H&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    w &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Watch time %s:&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;h&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; w
&amp;nbsp;
    date &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%Y/%m/%d&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; date + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + h +&lt;span class=&quot;st0&quot;&gt;&amp;quot;:&amp;quot;&lt;/span&gt;+ w +&lt;span class=&quot;st0&quot;&gt;&amp;quot;:00&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Press enter when seconds = 0 &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    watchtime &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mktime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strptime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;s&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%Y/%m/%d %H:%M:%S&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;timetuple&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    record_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%Y/%m/%d %H:%M:%S&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    timenow &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; watchtime - timenow
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; record_time&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;delta
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; watch_stat&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        saved_error &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;error_list.json&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        error_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; json.&lt;span class=&quot;me1&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;saved_error&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
        error_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;error_list&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;:
        first_record &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        latest_record &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        previous_record &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        first_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; first_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        first_delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; first_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        latest_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; latest_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; 
        latest_delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; latest_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        previous_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; previous_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        previous_delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; previous_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        FMT &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;%Y/%m/%d %H:%M:%S&#039;&lt;/span&gt;
&amp;nbsp;
        t_latest &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strptime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;latest_time&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; FMT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        t_previous &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strptime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;previous_time&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; FMT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        t_first &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strptime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;first_time&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; FMT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        tdelta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; t_latest - t_previous
        full_delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; t_latest - t_first
&amp;nbsp;
        elapsed_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tdelta.&lt;span class=&quot;me1&quot;&gt;total_seconds&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        full_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; full_delta.&lt;span class=&quot;me1&quot;&gt;total_seconds&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;First record time &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; first_time
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;First record delta &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; first_delta
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Previous record time &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; previous_time
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Previous record delta &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; previous_delta
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest record time &amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; latest_time
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest record delta &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; latest_delta
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Overall elapsed time &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; full_delta
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest elapsed time &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; tdelta
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# Current Error rate&lt;/span&gt;
        time_error &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; latest_delta - previous_delta
        error_rate &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; time_error / elapsed_time
        daily_rate &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_rate * &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;*&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;*&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        ppm_daily &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_rate * &lt;span class=&quot;nu0&quot;&gt;1000000&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# Overall Error rate&lt;/span&gt;
        total_error &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; latest_delta - first_delta
        average_error_rate &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; total_error / full_time
&amp;nbsp;
        average_rate &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; average_error_rate * &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;*&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;*&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        ppm_overall &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; average_error_rate * &lt;span class=&quot;nu0&quot;&gt;1000000&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest delta change &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; time_error
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest elapsed time %d seconds &amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;elapsed_time&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Daily PPM : %0.3f&amp;quot;&lt;/span&gt; % ppm_daily
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Daily rate error: %0.1f s/d &amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;daily_rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Total Time %d seconds&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;full_time&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Total error &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; total_error
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Total PPM : %0.3f&amp;quot;&lt;/span&gt; % ppm_overall
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Total rate error: %0.1f s/d&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;average_rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;========================================================&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; Delta : %+0.1f s | Rate : %+0.1f s/d | Average : %+0.1f s/d&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;latest_delta&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; daily_rate&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; average_rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;========================================================&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\t&lt;/span&gt;%+0.1f&lt;span class=&quot;es0&quot;&gt;\t&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\t&lt;/span&gt;%+0.1f&lt;span class=&quot;es0&quot;&gt;\t&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\t&lt;/span&gt;%+0.1f&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;latest_delta&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; daily_rate&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; average_rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        write_file&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;No rate yet&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; new_record&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        saved_error &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;error_list.json&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        error_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; json.&lt;span class=&quot;me1&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;saved_error&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
        error_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
    s&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_delta&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s &lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;Delta %0.1f seconds&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;s&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; delta&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    last_data&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;s&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;delta&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
    error_list.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;last_data&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#print error_list&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;with&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;error_list.json&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;wb&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;as&lt;/span&gt; outfile:
        json.&lt;span class=&quot;me1&quot;&gt;dump&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;error_list&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; outfile&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; delete_last&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        saved_error &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;error_list.json&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        error_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; json.&lt;span class=&quot;me1&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;saved_error&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
        error_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
    error_list.&lt;span class=&quot;me1&quot;&gt;pop&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;with&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;error_list.json&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;wb&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;as&lt;/span&gt; outfile:
        json.&lt;span class=&quot;me1&quot;&gt;dump&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;error_list&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; outfile&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; menu&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Wire2waves WatchCheck.....&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;=========================&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;N : New Record&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;D : Delete Last&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;S : Stats&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;Q : Quit&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;
    choice &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Command &amp;gt; : &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;upper&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; choice &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;N&amp;quot;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;New&amp;quot;&lt;/span&gt;
        new_record&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        watch_stat&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        menu&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; choice &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;S&amp;quot;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Stat&amp;quot;&lt;/span&gt;
        watch_stat&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        menu&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; choice &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;D&amp;quot;&lt;/span&gt;:
        delete_last&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        watch_stat&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        menu&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; choice &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Q&amp;quot;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;?&amp;quot;&lt;/span&gt;
        menu&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
menu&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;
&lt;p&gt;
Running it for the first time, with no previous records stored, looks like this:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;
Wire2waves WatchCheck.....
=========================

N : New Record
D : Delete Last
S : Stats
Q : Quit

Command &amp;gt; : n
New
Current Time = 10:18
Watch time 10:19
19
Press enter when seconds = 0

2022/05/04 10:19:30

Delta -30.2 seconds&lt;/pre&gt;

&lt;p&gt;
and the first time-delta is stored in the &lt;code&gt;error_list.json&lt;/code&gt; file like this:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;[[&amp;quot;2022/05/04 10:19:30&amp;quot;, -30.179980039596558]]&lt;/pre&gt;

&lt;p&gt;
Running it again, after only 10 minutes looks like this:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;Command &amp;gt; : n
New
Current Time = 10:30
Watch time 10:30
30
Press enter when seconds = 0

2022/05/04 10:30:30

Delta -30.2 seconds
First record time  2022/05/04 10:19:30
First record delta  -30.1799800396

Previous record time  2022/05/04 10:19:30
Previous record delta  -30.1799800396

Latest record time  2022/05/04 10:30:30
Latest record delta  -30.1998269558

Overall elapsed time  0:11:00
Latest elapsed time  0:11:00

Latest delta change  -0.0198469161987
Latest elapsed time 660 seconds

Daily PPM : -30.071
Daily rate error: -2.6 s/d

Total Time 660 seconds
Total error  -0.0198469161987
Total PPM : -30.071
Total rate error: -2.6 s/d

========================================================
 Delta : -30.2 s | Rate : -2.6 s/d | Average : -2.6 s/d
========================================================&lt;/pre&gt;

&lt;p&gt;
The &lt;code&gt;error_list.json&lt;/code&gt; file now looks like:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;[[&amp;quot;2022/05/04 10:19:30&amp;quot;, -30.179980039596558], [&amp;quot;2022/05/04 10:30:30&amp;quot;, -30.199826955795288]]&lt;/pre&gt;

&lt;p&gt;
There&amp;#039;s also a small utility called &lt;code&gt;watchstat.py&lt;/code&gt; that reads the &lt;code&gt;error_list.json&lt;/code&gt; file to calculate and
display the data
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_0bfab14a76b53f246a8f5e0f71d5e5ed_3&quot;&gt;original watchstat.py in python 2 &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_0bfab14a76b53f246a8f5e0f71d5e5ed_3&quot;&gt;&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:miscellany:watches:watchcheck&amp;amp;codeblock=6&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_py&quot;&gt;watchstat.py&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file python&quot;&gt;&lt;span class=&quot;co1&quot;&gt;#! /usr/bin/env python&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;## a text-terminal version of the WatchCheck app&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;## to track error, daily error rate of timepieces.&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; json
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; watch_stat&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        saved_error &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;error_list.json&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        error_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; json.&lt;span class=&quot;me1&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;saved_error&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
        error_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;error_list&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;:
        first_record &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        latest_record &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        previous_record &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        first_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; first_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        first_delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; first_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        latest_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; latest_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; 
        latest_delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; latest_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        previous_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; previous_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        previous_delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; previous_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        FMT &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;%Y/%m/%d %H:%M:%S&#039;&lt;/span&gt;
&amp;nbsp;
        t_latest &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strptime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;latest_time&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; FMT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        t_previous &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strptime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;previous_time&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; FMT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        t_first &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strptime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;first_time&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; FMT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        tdelta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; t_latest - t_previous
        full_delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; t_latest - t_first
&amp;nbsp;
        elapsed_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tdelta.&lt;span class=&quot;me1&quot;&gt;total_seconds&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        full_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; full_delta.&lt;span class=&quot;me1&quot;&gt;total_seconds&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;First record time &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; first_time
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;First record delta &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; first_delta
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Previous record time &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; previous_time
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Previous record delta &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; previous_delta
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest record time &amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; latest_time
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest record delta &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; latest_delta
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Overall elapsed time &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; full_delta
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest elapsed time &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; tdelta
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# Current Error rate&lt;/span&gt;
        time_error &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; latest_delta - previous_delta
        error_rate &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; time_error / elapsed_time
        daily_rate &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_rate * &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;*&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;*&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        ppm_daily &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_rate * &lt;span class=&quot;nu0&quot;&gt;1000000&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# Overall Error rate&lt;/span&gt;
        total_error &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; latest_delta - first_delta
        average_error_rate &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; total_error / full_time
&amp;nbsp;
        average_rate &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; average_error_rate * &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;*&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;*&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        ppm_overall &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; average_error_rate * &lt;span class=&quot;nu0&quot;&gt;1000000&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest delta change &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; time_error
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest elapsed time %d seconds &amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;elapsed_time&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Daily PPM : %0.3f&amp;quot;&lt;/span&gt; % ppm_daily
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Daily rate error: %0.1f s/d &amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;daily_rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Total Time %d seconds&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;full_time&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Total error &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; total_error
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Total PPM : %0.3f&amp;quot;&lt;/span&gt; % ppm_overall
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Total rate error: %0.1f s/d&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;average_rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;========================================================&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; Delta : %0.1f s | Rate : %0.1f s/d | Average : %0.1f s/d&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;latest_delta&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; daily_rate&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; average_rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;========================================================&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;No rate yet&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
watch_stat&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_0bfab14a76b53f246a8f5e0f71d5e5ed_4&quot;&gt;watchstat.py in python 3 &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_0bfab14a76b53f246a8f5e0f71d5e5ed_4&quot;&gt;&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:miscellany:watches:watchcheck&amp;amp;codeblock=7&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_py&quot;&gt;watchstat.py&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file python&quot;&gt;&lt;span class=&quot;co1&quot;&gt;## a text-terminal version of the WatchCheck app&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;## to track error, daily error rate of timepieces.&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; json
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; watch_stat&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        saved_error &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;error_list.json&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        error_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; json.&lt;span class=&quot;me1&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;saved_error&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
        error_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;error_list&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;:
        first_record &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        latest_record &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        previous_record &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        first_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; first_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        first_delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; first_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        latest_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; latest_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; 
        latest_delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; latest_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        previous_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; previous_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        previous_delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; previous_record&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        FMT &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;%Y/%m/%d %H:%M:%S&#039;&lt;/span&gt;
&amp;nbsp;
        t_latest &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strptime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;latest_time&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; FMT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        t_previous &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strptime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;previous_time&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; FMT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        t_first &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;datetime&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strptime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;first_time&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; FMT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        tdelta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; t_latest - t_previous
        full_delta &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; t_latest - t_first
&amp;nbsp;
        elapsed_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tdelta.&lt;span class=&quot;me1&quot;&gt;total_seconds&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        full_time &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; full_delta.&lt;span class=&quot;me1&quot;&gt;total_seconds&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;First record time &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; first_time&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;First record delta &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; first_delta&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Previous record time &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; previous_time&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Previous record delta &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; previous_delta&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest record time &amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; latest_time&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest record delta &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; latest_delta&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Overall elapsed time &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; full_delta&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest elapsed time &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; tdelta&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# Current Error rate&lt;/span&gt;
        time_error &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; latest_delta - previous_delta
        error_rate &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; time_error / elapsed_time
        daily_rate &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_rate * &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;*&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;*&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        ppm_daily &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; error_rate * &lt;span class=&quot;nu0&quot;&gt;1000000&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# Overall Error rate&lt;/span&gt;
        total_error &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; latest_delta - first_delta
        average_error_rate &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; total_error / full_time
&amp;nbsp;
        average_rate &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; average_error_rate * &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;*&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;*&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        ppm_overall &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; average_error_rate * &lt;span class=&quot;nu0&quot;&gt;1000000&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest delta change &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; time_error&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Latest elapsed time %d seconds &amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;elapsed_time&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Daily PPM : %0.3f&amp;quot;&lt;/span&gt; % ppm_daily&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Daily rate error: %0.1f s/d &amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;daily_rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Total Time %d seconds&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;full_time&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Total error &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; total_error&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Total PPM : %0.3f&amp;quot;&lt;/span&gt; % ppm_overall&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Total rate error: %0.1f s/d&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;average_rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;========================================================&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot; Delta : %0.1f s | Rate : %0.1f s/d | Average : %0.1f s/d&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;latest_delta&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; daily_rate&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; average_rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;========================================================&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;No rate yet&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
watch_stat&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;
&lt;p&gt;
Running watchstat.py on the newly updated &lt;code&gt;error_list.json&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;gm4slv@laptop:~/watchcheck_damasko $ python watchstat.py
First record time  2022/05/04 10:19:30
First record delta  -30.1799800396

Previous record time  2022/05/04 10:19:30
Previous record delta  -30.1799800396

Latest record time  2022/05/04 10:30:30
Latest record delta  -30.1998269558

Overall elapsed time  0:11:00
Latest elapsed time  0:11:00

Latest delta change  -0.0198469161987
Latest elapsed time 660 seconds

Daily PPM : -30.071
Daily rate error: -2.6 s/d

Total Time 660 seconds
Total error  -0.0198469161987
Total PPM : -30.071
Total rate error: -2.6 s/d

========================================================
 Delta : -30.2 s | Rate : -2.6 s/d | Average : -2.6 s/d
========================================================&lt;/pre&gt;

&lt;p&gt;
&lt;code&gt;watchcheck.py&lt;/code&gt; also creates a log file on each run.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;04/05/2022 09:30:30     -30.2           -2.6            -2.6&lt;/pre&gt;

&lt;p&gt;
The fields are “date time”, current error, error in seconds per day since last record, average error in seconds per day since the start.
&lt;/p&gt;

&lt;p&gt;
This mimics the behaviour of the Android Watchcheck app
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:watches:screenshot_20220504-104043.png&quot; class=&quot;media&quot; title=&quot;public:watches:screenshot_20220504-104043.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=bef9cf&amp;amp;media=public:watches:screenshot_20220504-104043.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
 &lt;em&gt;&lt;a href=&quot;mailto:&amp;#103;&amp;#109;&amp;#52;&amp;#115;&amp;#108;&amp;#118;&amp;#64;&amp;#103;&amp;#109;&amp;#52;&amp;#115;&amp;#108;&amp;#118;&amp;#46;&amp;#112;&amp;#108;&amp;#117;&amp;#115;&amp;#46;&amp;#99;&amp;#111;&amp;#109;&quot; class=&quot;mail&quot; title=&quot;&amp;#103;&amp;#109;&amp;#52;&amp;#115;&amp;#108;&amp;#118;&amp;#64;&amp;#103;&amp;#109;&amp;#52;&amp;#115;&amp;#108;&amp;#118;&amp;#46;&amp;#112;&amp;#108;&amp;#117;&amp;#115;&amp;#46;&amp;#99;&amp;#111;&amp;#109;&quot;&gt;John Pumford-Green&lt;/a&gt; Wed May  4 09:09:09 2022&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Page Updated : 23/01/26 14:13 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:python&amp;amp;do=showtag&amp;amp;tag=python&quot; class=&quot;wikilink1&quot; title=&quot;tag:python&quot; rel=&quot;tag&quot;&gt;python&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:watch&amp;amp;do=showtag&amp;amp;tag=watch&quot; class=&quot;wikilink1&quot; title=&quot;tag:watch&quot; rel=&quot;tag&quot;&gt;watch&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 23 Jan 2026 14:13:10 +0000</pubDate>
        </item>
        <item>
            <title>GM4SLV Allstar 2025</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:gm4slv_allstar_2025</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:allstar:start&quot; data-wiki-id=&quot;public:radio:topics:allstar:start&quot;&gt;AllStar Linking&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;gm4slv_allstar_2025&quot;&gt;GM4SLV Allstar 2025&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt; New explorations into Allstar and Bridging &lt;/strong&gt;
&lt;/p&gt;
&lt;div class=&quot;plugin_note notetip&quot;&gt;This was an initial experiment, I&amp;#039;ve used what I learned to set up a bigger system (still under development) and described here : &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:allstar_expands&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:allstar:allstar_expands&quot; data-wiki-id=&quot;public:radio:topics:allstar:allstar_expands&quot;&gt;Explorations&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;GM4SLV Allstar 2025&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;gm4slv_allstar_2025&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-273&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;hardware&quot;&gt;Hardware&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;table sectionedit3&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Platform&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Rapsberry Pi&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Interface&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;CM108 Soundcard - modified&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Radio&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;FT-1500M&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Frequency&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;144.9125MHz&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Allstar Node &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 48148 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Dashboards&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;a href=&quot;http://gm4slv.plus.com:42110/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://gm4slv.plus.com:42110/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://gm4slv.plus.com:42110/&lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;297-468&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Hardware&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;hardware&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;274-469&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;dvswitch_bridging&quot;&gt;DVSwitch Bridging&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
To investigate the bridging of Allstar analogue nodes and DMR I installed DVSwitch on the Allstar node. 
&lt;/p&gt;

&lt;p&gt;
Instructions here: &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:asl-to-dmr-bridge.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:asl-to-dmr-bridge.pdf (367.2 KB)&quot;&gt; ASL to DMR Bridge&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
The first part is easy, modifying a working Allstar node to add the private node and the USRP channel driver that will be used for the connection to the bridging.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DVSwitch Bridging&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dvswitch_bridging&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;470-850&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;my_configs&quot;&gt;My configs&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_ed4ecf13d41d641e55f7d559ac75cabb_3&quot;&gt;/etc/asterisk/rpt.conf before bridging added &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_ed4ecf13d41d641e55f7d559ac75cabb_3&quot;&gt;&lt;pre class=&quot;code bash&quot;&gt;; Radio Repeater configuration &lt;span class=&quot;kw2&quot;&gt;file&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; use with app_rpt&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; Your Repeater
&lt;span class=&quot;sy0&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
;
; This is where you define your nodes &lt;span class=&quot;kw2&quot;&gt;which&lt;/span&gt; can be connected to.
;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;nodes&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
; Note, &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; you are using automatic update &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; allstar &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; nodes,
; no allstar &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; nodes should be defined here. Only place a definition
; &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; your &lt;span class=&quot;kw3&quot;&gt;local&lt;/span&gt; nodes, and private &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;off of allstar &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; nodes here.
&amp;nbsp;
;&lt;span class=&quot;nu0&quot;&gt;481480&lt;/span&gt; = radio&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;127.0.0.1:&lt;span class=&quot;nu0&quot;&gt;4569&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;481480&lt;/span&gt;,NONE	; This must be changed to your node number
&lt;span class=&quot;nu0&quot;&gt;48148&lt;/span&gt; = radio&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;127.0.0.1:&lt;span class=&quot;nu0&quot;&gt;4569&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;48148&lt;/span&gt;,NONE	; This must be changed to your node number
                                        ; and iax port number &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; not the default
&amp;nbsp;
;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;481480&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;					; Change this to your assigned node number
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;48148&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;					; Change this to your assigned node number
&amp;nbsp;
                                        ; Must also be enabled &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; modules.conf
					; Rx audio&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;signalling channel. Choose ONLY &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; per node stanza
&amp;nbsp;
					; Enable the selected channel driver &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; modules.conf &lt;span class=&quot;sy0&quot;&gt;!!!&lt;/span&gt;
;rxchannel = dahdi&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;pseudo	        ; No radio &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;hub&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
rxchannel = SimpleUSB&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usb_48148	; SimpleUSB
; rxchannel = Pi&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;                      ; Raspberry Pi PiTA
; rxchannel = Radio&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usb_48148		; USBRadio &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;DSP&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; rxchannel = Dahdi&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;			; PCI Quad card
; rxchannel = Beagle&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;			; BeagleBoard
; rxchannel = USRP&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;127.0.0.1:&lt;span class=&quot;nu0&quot;&gt;34001&lt;/span&gt;:&lt;span class=&quot;nu0&quot;&gt;32001&lt;/span&gt;; GNU Radio interface USRP
; rxchannel = Voter&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;48148&lt;/span&gt;                ; RTCM device
&amp;nbsp;
&amp;nbsp;
duplex = &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;                              ; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; = Half duplex with no telemetry tones or hang time.
                                        ;     Special Case: Full duplex &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; linktolink is &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; to yes.
                                        ;     This mode is preferred when interfacing with an external multiport repeater controller.
					;     Comment out idrecording and idtalkover to suppress IDs also
                                        ; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; = Half duplex with telemetry tones and hang time. Does not repeat audio.
                                        ;     This mode is preferred when interfacing a simplex node.
                                        ; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; = Full Duplex with telemetry tones and hang time.
                                        ;     This mode is preferred when interfacing a repeater.
                                        ; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt; = Full Duplex with telemetry tones and hang &lt;span class=&quot;kw1&quot;&gt;time&lt;/span&gt;, but no repeated audio.
                                        ; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt; = Full Duplex with telemetry tones and hang time. Repeated audio only when the autopatch is down.
&amp;nbsp;
linktolink = no				; disables forcing physical half-duplex operation of main repeater &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt;
					; still keeping half-duplex semantics &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;optional&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
linkmongain = &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;				; Link Monitor Gain adjusts the audio level of monitored nodes when a signal from another node or the &lt;span class=&quot;kw3&quot;&gt;local&lt;/span&gt; receiver is received.
					; If linkmongain is &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; to a negative number the monitored audio will decrease by the &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; amount &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; db.
					; If linkmongain &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; to a positive number monitored audio will increase by the &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; amount &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; db.
					; The value of linkmongain is &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; db. The default value is &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; db.
&amp;nbsp;
erxgain = &lt;span class=&quot;re5&quot;&gt;-3&lt;/span&gt;				; Echolink receive gain adjustment
					; Note: Gain is &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; db-volts &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;20logVI&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;VO&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
etxgain = &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;				; Echolink transmit gain adjustment
					; Note: Gain is &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; db-volts &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;20logVI&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;VO&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
eannmode = &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;                           ; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; = Say only node number on echolink connects &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;default = &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                                        ; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; = say phonetic call sign only on echolink connects
                                        ; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt; = say phonetic call sign and node number on echolink connects
&amp;nbsp;
;controlstates = controlstates		; system control state stanza
&amp;nbsp;
scheduler = schedule			; scheduler stanza
functions = functions			; Repeater Function stanza
phone_functions = functions		; Phone Function stanza
link_functions = functions		; Link Function stanza
&amp;nbsp;
telemetry = telemetry			; Telemetry stanza
morse = morse				; Morse stanza
wait_times = wait-times			; Wait &lt;span class=&quot;kw3&quot;&gt;times&lt;/span&gt; stanza
&amp;nbsp;
context = radio				; dialing context &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; phone
callerid = &lt;span class=&quot;st0&quot;&gt;&amp;quot;Repeater&amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;0000000000&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt;	; callerid &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; phone calls
accountcode = RADIO                     ; account code &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;optional&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
hangtime = &lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt;				; squelch &lt;span class=&quot;kw2&quot;&gt;tail&lt;/span&gt; hang &lt;span class=&quot;kw1&quot;&gt;time&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; ms&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;optional, default &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt; seconds, &lt;span class=&quot;nu0&quot;&gt;5000&lt;/span&gt; ms&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
althangtime = &lt;span class=&quot;nu0&quot;&gt;300&lt;/span&gt;			; longer squelch &lt;span class=&quot;kw2&quot;&gt;tail&lt;/span&gt;
totime = &lt;span class=&quot;nu0&quot;&gt;300000&lt;/span&gt;				; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt; mins &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;22&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; transmit time-out &lt;span class=&quot;kw1&quot;&gt;time&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; ms&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;optional, default &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt; minutes &lt;span class=&quot;nu0&quot;&gt;180000&lt;/span&gt; ms&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
telemnomdb = &lt;span class=&quot;re5&quot;&gt;-3&lt;/span&gt;				;
telemduckdb = &lt;span class=&quot;re5&quot;&gt;-10&lt;/span&gt;			;
&amp;nbsp;
;idrecording = &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;home&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv_id
;idrecording = &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;home&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;mb7aze_id
idrecording = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;iGM4SLV				; Main ID message
&amp;nbsp;
;idtalkover = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;iGM4SLV				; Talkover ID message
idtalkover = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;iGM4SLV				; Talkover ID message
					; See Telemetry section Example: idrecording = rpt&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;nodenames&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;48148&lt;/span&gt;
idtime = &lt;span class=&quot;nu0&quot;&gt;900000&lt;/span&gt;				; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt; mins &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;22&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;id&lt;/span&gt; interval &lt;span class=&quot;kw1&quot;&gt;time&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; ms&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;optional&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; Default &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt; minutes &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;300000&lt;/span&gt; ms&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
politeid = &lt;span class=&quot;nu0&quot;&gt;30000&lt;/span&gt;			; &lt;span class=&quot;kw1&quot;&gt;time&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; milliseconds before ID timer expires to try and ID &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; the tail. &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;optional, default &lt;span class=&quot;nu0&quot;&gt;30000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
unlinkedct = ct12			; Send a this courtesy tone when the user unkeys &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; the node is not connected to any other nodes. &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;optional, default is none&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
remotect = ct3				; remote linked courtesy tone &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;indicates a remote is &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; the list of links&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
linkunkeyct = ct4			; sent when a transmission received over the &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; unkeys
;nolocallinkct = &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;			; Send unlinkedct instead &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; another &lt;span class=&quot;kw3&quot;&gt;local&lt;/span&gt; node is connected to this node &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;hosted on the same PC&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.
&amp;nbsp;
; Supermon smlogger
&lt;span class=&quot;re2&quot;&gt;connpgm&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sbin&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;supermon&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;smlogger &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;discpgm&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sbin&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;supermon&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;smlogger &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&amp;nbsp;
;connpgm = yourconnectprogram		; Disabled. Execute a program you specify on connect. &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;default&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
					; passes &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;command&lt;/span&gt; line arguments to your program:
					; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;. node number &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; this stanza &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;us&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
					; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;. node number being connected to us &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;them&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;discpgm = yourdisconnectprogram	; Disabled. Execute a program you specify on disconnect. &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;default&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
					; passes &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;command&lt;/span&gt; line arguments to your program:
					; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;. node number &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; this stanza &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;us&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
					; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;. node number being disconnected from us &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;them&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
lnkactenable = &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;			; Set to &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; to &lt;span class=&quot;kw3&quot;&gt;enable&lt;/span&gt; the &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; activity timer. Applicable to standard nodes only.
&amp;nbsp;
lnkacttime = &lt;span class=&quot;nu0&quot;&gt;3600&lt;/span&gt;			; Link activity timer &lt;span class=&quot;kw1&quot;&gt;time&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; seconds.
lnkactmacro = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;73&lt;/span&gt;			; Function to execute when &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; activity timer expires.
lnkacttimerwarn = custom&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;timeout		; Message to play when the &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; activity timer has &lt;span class=&quot;nu0&quot;&gt;30&lt;/span&gt; seconds left.
&amp;nbsp;
;remote_inact_timeout =	&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;		; Specifies the amount of &lt;span class=&quot;kw1&quot;&gt;time&lt;/span&gt; without keying from the link. Set to &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; to disable timeout. &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;remote_timeout =			; Session &lt;span class=&quot;kw1&quot;&gt;time&lt;/span&gt; out &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; remote base. Set to &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; to disable. &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;remote_timeout_warning_freq =		; &lt;span class=&quot;nu0&quot;&gt;30&lt;/span&gt;
;remote_timeout_warning =		; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
;nounkeyct = &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;				; Set to a &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; to eliminate courtesy tones and associated delays.
&amp;nbsp;
holdofftelem = &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;			; Hold off all telemetry when signal is present on receiver or from connected nodes
					; except when an ID needs to be &lt;span class=&quot;kw1&quot;&gt;done&lt;/span&gt; and there is a signal coming from a connected node.
&amp;nbsp;
telemdefault = &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;                        ; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; = telemetry output off
                                        ; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; = telemetry output on &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;default = &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                                        ; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; = timed telemetry output on &lt;span class=&quot;kw3&quot;&gt;command&lt;/span&gt; execution and &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; a short &lt;span class=&quot;kw1&quot;&gt;time&lt;/span&gt; thereafter.
&amp;nbsp;
telemdynamic = &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;                        ; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; = disallow &lt;span class=&quot;kw2&quot;&gt;users&lt;/span&gt; to change the &lt;span class=&quot;kw3&quot;&gt;local&lt;/span&gt; telemetry setting with a COP &lt;span class=&quot;kw3&quot;&gt;command&lt;/span&gt;,
                                        ; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; = Allow &lt;span class=&quot;kw2&quot;&gt;users&lt;/span&gt; to change the setting with a COP command. &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;default = &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
beaconing = &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;				; Send ID regardless of repeater activity &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;Required &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; the UK, but probably illegal &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; the US&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
parrotmode = &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;				; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; = Parrot Off &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;default = &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
					; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; = Parrot On Command
					; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; = Parrot Always
					; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt; = Parrot Once by Command
&amp;nbsp;
parrottime = &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;			; Set the amount of &lt;span class=&quot;kw1&quot;&gt;time&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; milliseconds
					; to &lt;span class=&quot;kw3&quot;&gt;wait&lt;/span&gt; before parroting what was received
&amp;nbsp;
;&lt;span class=&quot;re2&quot;&gt;rxnotch&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1065&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;40&lt;/span&gt;                        ; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;Optional&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; Notch a particular frequency &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; a specified
                                        ; b&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;w. app_rpt must have been compiled with
                                        ; the notch option
&amp;nbsp;
startup_macro = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;80&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;81&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;70&lt;/span&gt;
&amp;nbsp;
; nodenames = &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;var&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;lib&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;asterisk&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sounds&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;rpt&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;nodenames.callsign	; Point to alternate nodename sound directory
&amp;nbsp;
; Stream your node audio to Broadcastify or similar. See https:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;wiki.allstarlink.org&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;wiki&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Stream_Node_Audio_to_Broadcastify
; outstreamcmd = &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;bin&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;sh&lt;/span&gt;,-c,&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;bin&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;lame&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--preset&lt;/span&gt; cbr &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-r&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-m&lt;/span&gt; m &lt;span class=&quot;re5&quot;&gt;-s&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--bitwidth&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt; - - &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;bin&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;ezstream &lt;span class=&quot;re5&quot;&gt;-qvc&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;etc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;ezstream.xml
&amp;nbsp;
&lt;span class=&quot;sy0&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
; Need &lt;span class=&quot;kw2&quot;&gt;more&lt;/span&gt; information on these
&amp;nbsp;
;extnodes = extnodes-different	; section &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; extnodefile containing dynamic node information &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;optional&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;extnodefile = &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;home&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;rpt_extnodes	; Points to nodelist &lt;span class=&quot;kw2&quot;&gt;file&lt;/span&gt; containing dynamic node info default = &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;var&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;lib&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;asterisk&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;rpt_extnodes &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;optional&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;extnodefile2 =			; Is this a list of node files? Possible a list of private nodes or a list of static IPs &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; known nodes????
;nodenames = &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;foo&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;names         ; locaton of node sound files default = &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;var&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;lib&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;asterisk&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sounds&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;rpt&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;nodenames
;archivedir = &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;tmp              ; defines and enables activity recording into specified directory &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;optional&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;monminblocks = &lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;            ; Min 1K blocks to be left on partition &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;will not save monitor output &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; disk too full&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
;                               ; The tailmessagetime,tailsquashedtime, and tailmessagelist need to be &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt;
;                               ; to support &lt;span class=&quot;kw2&quot;&gt;tail&lt;/span&gt; messages. They can be omitted otherwise.
;tailmessagetime = &lt;span class=&quot;nu0&quot;&gt;300000&lt;/span&gt;       ; Play a &lt;span class=&quot;kw2&quot;&gt;tail&lt;/span&gt; message every &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt; mins
;tailsquashedtime = &lt;span class=&quot;nu0&quot;&gt;30000&lt;/span&gt;       ; If squashed by another user,
;                               ; try again after &lt;span class=&quot;nu0&quot;&gt;30&lt;/span&gt; seconds
;tailmessagelist = msg1,msg2    ; list of messages to be played &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;tail&lt;/span&gt; message
&amp;nbsp;
; alt_functions
; ctgroup
; dphone_functions
; idtime
; iobase
; iospeed
; locallist
; mars		Remote Base
; memory
; nobusyout
; nodes
; nolocallinkct
; notelemtx
; outxlat
; parrot
; propagate_phonedtmf
; rptnode
; rptinactmacro  Macro to execute when inactivity timer expires
; rptinacttime   Inactivity timer &lt;span class=&quot;kw1&quot;&gt;time&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; seconds  &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; seconds disables feature&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; rxnotch	Optional Audio notch
; simplexphonedelay
; tonemacro
; tonezone
; txlimits
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;sy0&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;;
&amp;nbsp;
&amp;nbsp;
; &lt;span class=&quot;sy0&quot;&gt;***&lt;/span&gt; Status Reporting &lt;span class=&quot;sy0&quot;&gt;***&lt;/span&gt;
&amp;nbsp;
; Comment the following statpost line stop to reporting of the status of your node to stats.allstarlink.org
statpost_url = http:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;stats.allstarlink.org&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;uhandler ; Status updates
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;functions&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
; Prefix	Functions
; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;		Disconnect Link
; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;		Monitor Link
; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;		Connect Link
; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;		Command Mode
; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;		Macros
; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;		User Functions
; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;		Connection Status&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Functions
; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;		User Functions
; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt;		User Functions
; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;		User Functions
&amp;nbsp;
; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;A		User Functions
; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;B		User Functions
; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;C		User Functions
; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;D		User Functions
&amp;nbsp;
&amp;nbsp;
; Mandatory Command Codes
&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; = ilink,&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;		; Disconnect specified &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; = ilink,&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;		; Connect specified &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--&lt;/span&gt; monitor only
&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt; = ilink,&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;		; Connect specified &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--&lt;/span&gt; tranceive
&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt; = ilink,&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;		; Enter &lt;span class=&quot;kw3&quot;&gt;command&lt;/span&gt; mode on specified &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;nu0&quot;&gt;70&lt;/span&gt; = ilink,&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;		; System status
&amp;nbsp;
;&lt;span class=&quot;nu0&quot;&gt;99&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;              ; PTT &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;phone mode only&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
; End Mandatory Command Codes
&amp;nbsp;
&lt;span class=&quot;nu0&quot;&gt;73&lt;/span&gt; = ilink,&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;		; Disconnect All Links
&lt;span class=&quot;nu0&quot;&gt;74&lt;/span&gt; = ilink,&lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;		; Reconnect links disconnected with &lt;span class=&quot;st0&quot;&gt;&amp;quot;disconnect all links&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;nu0&quot;&gt;80&lt;/span&gt; = status,&lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt;         ; Force ID &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;local&lt;/span&gt; only&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;81&lt;/span&gt; = status,&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;         ; Give Time of Day &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;local&lt;/span&gt; only&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;nu0&quot;&gt;91&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;21&lt;/span&gt;		; Enable Parrot Mode
&lt;span class=&quot;nu0&quot;&gt;92&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;22&lt;/span&gt;		; Disable Parrot Mode
&lt;span class=&quot;nu0&quot;&gt;93&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;55&lt;/span&gt;		; Parrot Once &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; parrot mode is disabled
&amp;nbsp;
&lt;span class=&quot;nu0&quot;&gt;98&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;		; System &lt;span class=&quot;kw3&quot;&gt;enable&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;99&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;		; System disable
&amp;nbsp;
&lt;span class=&quot;nu0&quot;&gt;901&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;				; System warm boot
&amp;nbsp;
&lt;span class=&quot;sy0&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&amp;nbsp;
; Macro Commands
&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt; = macro
&amp;nbsp;
&lt;span class=&quot;sy0&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;;
&amp;nbsp;
; Autopatch Commands
; Note, This may be a good place &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; other &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; digit frequently used commands
&amp;nbsp;
;&lt;span class=&quot;nu0&quot;&gt;61&lt;/span&gt; = autopatchup,noct = &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,farenddisconnect = &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,dialtime = &lt;span class=&quot;nu0&quot;&gt;20000&lt;/span&gt;  ; Autopatch up
;&lt;span class=&quot;nu0&quot;&gt;62&lt;/span&gt; = autopatchdn                                                 ; Autopatch down
&amp;nbsp;
; autopatchup can optionally take comma delimited &lt;span class=&quot;re2&quot;&gt;setting&lt;/span&gt;=value pairs:
&amp;nbsp;
; context = string		; Override default context with &lt;span class=&quot;st0&quot;&gt;&amp;quot;string&amp;quot;&lt;/span&gt;
; dialtime = ms			; Specify the max number of milliseconds between phone number digits &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt; milliseconds = &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; second&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; farenddisconnect = &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;		; Automatically disconnect when called party hangs up
; noct = &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;			; Don&lt;span class=&quot;st_h&quot;&gt;&#039;t send repeater courtesy tone during autopatch calls
; quiet = 1			; Don&#039;&lt;/span&gt;t send dial tone, or connect messages. Do not send &lt;span class=&quot;kw2&quot;&gt;patch&lt;/span&gt; down message when called party hangs up
				; Example: &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt;=autopatchup,&lt;span class=&quot;re2&quot;&gt;dialtime&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;20000&lt;/span&gt;,&lt;span class=&quot;re2&quot;&gt;noct&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;re2&quot;&gt;farenddisconnect&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;sy0&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;;
&amp;nbsp;
; Status Commands
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; - Force ID &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;global&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; - Give Time of Day &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;global&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt; - Give software Version &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;global&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt; - Give GPS location info
; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt; - Last &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtmf&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; user
; &lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt; - Force ID &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;local&lt;/span&gt; only&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt; - Give Time of Day &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;local&lt;/span&gt; only&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
;&lt;span class=&quot;nu0&quot;&gt;721&lt;/span&gt; = status,&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;          ; Force ID &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;global&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;&lt;span class=&quot;nu0&quot;&gt;722&lt;/span&gt; = status,&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;          ; Give Time of Day &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;global&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;&lt;span class=&quot;nu0&quot;&gt;723&lt;/span&gt; = status,&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;          ; Give software Version &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;global&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;&lt;span class=&quot;nu0&quot;&gt;724&lt;/span&gt; = status,&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;          ; Give GPS location info
;&lt;span class=&quot;nu0&quot;&gt;725&lt;/span&gt; = status,&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;          ; Last &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtmf&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; user
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;sy0&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;;
&amp;nbsp;
; Link Commands
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; - Disconnect specified &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; - Connect specified &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--&lt;/span&gt; monitor only
; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt; - Connect specified &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--&lt;/span&gt; tranceive
; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt; - Enter &lt;span class=&quot;kw3&quot;&gt;command&lt;/span&gt; mode on specified &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt; - System status
; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt; - Disconnect all links
; &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt; - Last Node to Key Up
; &lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt; - Connect specified &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;local&lt;/span&gt; monitor only
; &lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt; - Send Text Message &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt;,&lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;destnodeno or &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; all&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt;,Message Text, etc.
; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; - Disconnect all RANGER links &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;except permalinks&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt; - Disconnect a previously permanently connected &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt; - Permanently connect specified &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--&lt;/span&gt; monitor only
; &lt;span class=&quot;nu0&quot;&gt;13&lt;/span&gt; - Permanently connect specified &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--&lt;/span&gt; tranceive
; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt; - Full system status &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;all nodes&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt; - Reconnect links disconnected with &lt;span class=&quot;st0&quot;&gt;&amp;quot;disconnect all links&amp;quot;&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;17&lt;/span&gt; - MDC &lt;span class=&quot;kw3&quot;&gt;test&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; diag purposes&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;18&lt;/span&gt; - Permanently Connect specified &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;local&lt;/span&gt; monitor only
&amp;nbsp;
; ilink commands &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; through &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt; are defined &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; the Mandatory Command section
&amp;nbsp;
;&lt;span class=&quot;nu0&quot;&gt;806&lt;/span&gt; = ilink,&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;			; Disconnect all links
;&lt;span class=&quot;nu0&quot;&gt;827&lt;/span&gt; = ilink,&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;			; Last Node to Key Up
;&lt;span class=&quot;nu0&quot;&gt;808&lt;/span&gt; = ilink,&lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;			; Connect specified &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;local&lt;/span&gt; monitor only
;&lt;span class=&quot;nu0&quot;&gt;809&lt;/span&gt; = ilink,&lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;48148&lt;/span&gt;,&lt;span class=&quot;st0&quot;&gt;&amp;quot;Testing&amp;quot;&lt;/span&gt;	; would send a text message to node &lt;span class=&quot;nu0&quot;&gt;48148&lt;/span&gt; replace &lt;span class=&quot;nu0&quot;&gt;48148&lt;/span&gt; with &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; all connected nodes
;&lt;span class=&quot;nu0&quot;&gt;810&lt;/span&gt; = ilink,&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;			; Disconnect all RANGER links &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;except permalinks&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;&lt;span class=&quot;nu0&quot;&gt;811&lt;/span&gt; = ilink,&lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt;			; Disconnect a previously permanently connected &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt;
;&lt;span class=&quot;nu0&quot;&gt;812&lt;/span&gt; = ilink,&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;			; Permanently connect specified &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--&lt;/span&gt; monitor only
;&lt;span class=&quot;nu0&quot;&gt;823&lt;/span&gt; = ilink,&lt;span class=&quot;nu0&quot;&gt;13&lt;/span&gt;			; Permanently connect specified &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--&lt;/span&gt; tranceive
;&lt;span class=&quot;nu0&quot;&gt;815&lt;/span&gt; = ilink,&lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;			; Full system status &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;all nodes&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;&lt;span class=&quot;nu0&quot;&gt;817&lt;/span&gt; = ilink,&lt;span class=&quot;nu0&quot;&gt;17&lt;/span&gt;			; MDC &lt;span class=&quot;kw3&quot;&gt;test&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; diag purposes&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;&lt;span class=&quot;nu0&quot;&gt;818&lt;/span&gt; = ilink,&lt;span class=&quot;nu0&quot;&gt;18&lt;/span&gt;			; Permanently Connect specified &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;local&lt;/span&gt; monitor only
&amp;nbsp;
&lt;span class=&quot;sy0&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&amp;nbsp;
; Control operator &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cop&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; functions.
; Change these to something other than these codes listed below&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;
; Uncomment &lt;span class=&quot;kw2&quot;&gt;as&lt;/span&gt; needed.
&amp;nbsp;
;&lt;span class=&quot;nu0&quot;&gt;901&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;				; System warm boot
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;904&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;				; Test tone on&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;off &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;toggle&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;905&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;				; Dump system variables on console &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;debug use only&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;907&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;				; Time out timer &lt;span class=&quot;kw3&quot;&gt;enable&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;908&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;				; Time out timer disable
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;909&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt;				; Autopatch &lt;span class=&quot;kw3&quot;&gt;enable&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;910&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;				; Autopatch disable
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;911&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt;				; User linking functions &lt;span class=&quot;kw3&quot;&gt;enable&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;912&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;				; User linking functions disable
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;913&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;13&lt;/span&gt;				; Query system control state
; &lt;span class=&quot;nu0&quot;&gt;914&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt;				; Set system control state
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;915&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;				; Scheduler &lt;span class=&quot;kw3&quot;&gt;enable&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;916&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;				; Scheduler disable
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;917&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;17&lt;/span&gt;				; User functions &lt;span class=&quot;kw3&quot;&gt;enable&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;time&lt;/span&gt;, &lt;span class=&quot;kw2&quot;&gt;id&lt;/span&gt;, etc&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;918&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;18&lt;/span&gt;				; User functions disable
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;919&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;19&lt;/span&gt;				; Select alternate hang &lt;span class=&quot;kw1&quot;&gt;time&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;althangtime&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;920&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;				; Select standard hangtime &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;hangtime&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;924&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;				; Flush all telemetry
; &lt;span class=&quot;nu0&quot;&gt;925&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;25&lt;/span&gt;				; Query &lt;span class=&quot;kw2&quot;&gt;last&lt;/span&gt; node un-keyed
; &lt;span class=&quot;nu0&quot;&gt;926&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;26&lt;/span&gt;				; Query all nodes keyed&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;unkeyed
; &lt;span class=&quot;nu0&quot;&gt;927&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;27&lt;/span&gt;				; Reset DAQ minimum on a pin
; &lt;span class=&quot;nu0&quot;&gt;928&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;28&lt;/span&gt;				; Reset DAQ maximum on a pin
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;930&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;30&lt;/span&gt;				; Recall Memory Setting &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; Attached Xcvr
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;931&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;31&lt;/span&gt;				; Channel Selector &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; Parallel Programmed Xcvr
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;932&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;32&lt;/span&gt;				; Touchtone pad test: &lt;span class=&quot;kw3&quot;&gt;command&lt;/span&gt; + Digit string + &lt;span class=&quot;co0&quot;&gt;# to playback all digits pressed&lt;/span&gt;
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;933&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;33&lt;/span&gt;				; Local Telemetry Output Enable
; &lt;span class=&quot;nu0&quot;&gt;934&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;34&lt;/span&gt;				; Local Telemetry Output Disable
; &lt;span class=&quot;nu0&quot;&gt;935&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;35&lt;/span&gt;				; Local Telemetry Output on Demand
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;936&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;36&lt;/span&gt;				; Foreign Link Local Output Path Enable
; &lt;span class=&quot;nu0&quot;&gt;937&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;37&lt;/span&gt;				; Foreign Link Local Output Path Disable
; &lt;span class=&quot;nu0&quot;&gt;938&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;38&lt;/span&gt;				; Foreign Link Local Output Path Follows Local Telemetry
; &lt;span class=&quot;nu0&quot;&gt;939&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;39&lt;/span&gt;				; Foreign Link Local Output Path on Demand
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;942&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;42&lt;/span&gt;				; Echolink announce node &lt;span class=&quot;co0&quot;&gt;# only&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;943&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;43&lt;/span&gt;				; Echolink announce node Callsign only
; &lt;span class=&quot;nu0&quot;&gt;944&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;44&lt;/span&gt;				; Echolink announce node &lt;span class=&quot;co0&quot;&gt;# &amp;amp; Callsign&lt;/span&gt;
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;945&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;45&lt;/span&gt;				; Link Activity timer &lt;span class=&quot;kw3&quot;&gt;enable&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;945&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;46&lt;/span&gt;				; Link Activity timer disable
; &lt;span class=&quot;nu0&quot;&gt;947&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;47&lt;/span&gt;				; Reset &lt;span class=&quot;st0&quot;&gt;&amp;quot;Link Config Changed&amp;quot;&lt;/span&gt; Flag
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;948&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt;				; Send Page Tone &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;Tone specs separated by parenthesis&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;949&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;49&lt;/span&gt;				; Disable incoming connections &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;control state noice&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;950&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;				; Enable incoming connections &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;control state noicd&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;951&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;51&lt;/span&gt;				; Enable &lt;span class=&quot;kw2&quot;&gt;sleep&lt;/span&gt; mode
; &lt;span class=&quot;nu0&quot;&gt;952&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;52&lt;/span&gt;				; Disable &lt;span class=&quot;kw2&quot;&gt;sleep&lt;/span&gt; mode
; &lt;span class=&quot;nu0&quot;&gt;953&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;53&lt;/span&gt;				; Wake up from &lt;span class=&quot;kw2&quot;&gt;sleep&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;954&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;54&lt;/span&gt;				; Go to &lt;span class=&quot;kw2&quot;&gt;sleep&lt;/span&gt;
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;956&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;56&lt;/span&gt;                            ; Rx CTCSS Enable
; &lt;span class=&quot;nu0&quot;&gt;957&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;57&lt;/span&gt;                            ; Rx CTCSS Disable
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;958&lt;/span&gt; = cop.58                            ; Tx CTCSS On Input only Enable
; &lt;span class=&quot;nu0&quot;&gt;959&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;59&lt;/span&gt;                            ; Tx CTCSS On Input only Disable
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;960&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;                            ; Send MDC-&lt;span class=&quot;nu0&quot;&gt;1200&lt;/span&gt; Burst &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cop,&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;,&lt;span class=&quot;kw3&quot;&gt;type&lt;/span&gt;,UnitID&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;,DestID,SubCode&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;                                         ; Type is &lt;span class=&quot;st_h&quot;&gt;&#039;I&#039;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; PttID, &lt;span class=&quot;st_h&quot;&gt;&#039;E&#039;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; Emergency, and &lt;span class=&quot;st_h&quot;&gt;&#039;C&#039;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; Call
;                                         ; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;SelCall or Alert&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;, or &lt;span class=&quot;st_h&quot;&gt;&#039;SX&#039;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; STS &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ststus&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;, where X is &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;-F.
;                                         ; DestID and subcode are only specified &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt;  the &lt;span class=&quot;st_h&quot;&gt;&#039;C&#039;&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;type&lt;/span&gt; message.
;                                         ; UnitID is the &lt;span class=&quot;kw3&quot;&gt;local&lt;/span&gt; systems UnitID. DestID is the MDC1200 ID of
;                                         ; the radio being called, and the subcodes are &lt;span class=&quot;kw2&quot;&gt;as&lt;/span&gt; follows:
;                                         ; Subcode &lt;span class=&quot;st_h&quot;&gt;&#039;8205&#039;&lt;/span&gt; is Voice Selective Call &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; Spectra &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;&#039;Call&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;                                         ; Subcode &lt;span class=&quot;st_h&quot;&gt;&#039;8015&#039;&lt;/span&gt; is Voice Selective Call &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; Maxtrac &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;&#039;SC&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; or
;                                         ; Astro-Saber&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;&#039;Call&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;                                         ; Subcode &lt;span class=&quot;st_h&quot;&gt;&#039;810D&#039;&lt;/span&gt; is Call Alert &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;like Maxtrac &lt;span class=&quot;st_h&quot;&gt;&#039;CA&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;961&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;61&lt;/span&gt;                            ; Send Message to USB to control GPIO pins &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cop,&lt;span class=&quot;nu0&quot;&gt;61&lt;/span&gt;,&lt;span class=&quot;re2&quot;&gt;GPIO1&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;,&lt;span class=&quot;re2&quot;&gt;GPIO4&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.....&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;962&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;62&lt;/span&gt;                            ; Send Message to USB to control GPIO pins, quietly &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cop,&lt;span class=&quot;nu0&quot;&gt;62&lt;/span&gt;,&lt;span class=&quot;re2&quot;&gt;GPIO1&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;,&lt;span class=&quot;re2&quot;&gt;GPIO4&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.....&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
; &lt;span class=&quot;nu0&quot;&gt;963&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;63&lt;/span&gt;                            ; Send pre-configred APRSTT notification &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cop,&lt;span class=&quot;nu0&quot;&gt;63&lt;/span&gt;,CALL&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;,OVERLAYCHR&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;964&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;64&lt;/span&gt;                            ; Send pre-configred APRSTT notification, quietly &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cop,&lt;span class=&quot;nu0&quot;&gt;64&lt;/span&gt;,CALL&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;,OVERLAYCHR&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; &lt;span class=&quot;nu0&quot;&gt;965&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;65&lt;/span&gt;                            ; Send POCSAG page &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;equipped channel types only&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;functions-remote&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;                            ; Retrieve Memory
&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;                            ; Set freq.
&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;                            ; Set tx PL tone
&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;                            ; Set rx PL tone
&lt;span class=&quot;nu0&quot;&gt;40&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;                         ; Rx PL off
&lt;span class=&quot;nu0&quot;&gt;41&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;101&lt;/span&gt;                         ; Rx PL on
&lt;span class=&quot;nu0&quot;&gt;42&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;102&lt;/span&gt;                         ; Tx PL off
&lt;span class=&quot;nu0&quot;&gt;43&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;103&lt;/span&gt;                         ; Tx PL on
&lt;span class=&quot;nu0&quot;&gt;44&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;104&lt;/span&gt;                         ; Low Power
&lt;span class=&quot;nu0&quot;&gt;45&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;105&lt;/span&gt;                         ; Medium Power
&lt;span class=&quot;nu0&quot;&gt;46&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;106&lt;/span&gt;                         ; High Power
&lt;span class=&quot;nu0&quot;&gt;711&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;107&lt;/span&gt;                        ; Bump &lt;span class=&quot;re5&quot;&gt;-20&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;714&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;108&lt;/span&gt;                        ; Bump &lt;span class=&quot;re5&quot;&gt;-100&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;717&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;109&lt;/span&gt;                        ; Bump &lt;span class=&quot;re5&quot;&gt;-500&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;713&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;110&lt;/span&gt;                        ; Bump +&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;716&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;111&lt;/span&gt;                        ; Bump +&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;719&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;112&lt;/span&gt;                        ; Bump +&lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;721&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;113&lt;/span&gt;                        ; Scan - slow
&lt;span class=&quot;nu0&quot;&gt;724&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;114&lt;/span&gt;                        ; Scan - quick
&lt;span class=&quot;nu0&quot;&gt;727&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;115&lt;/span&gt;                        ; Scan - fast
&lt;span class=&quot;nu0&quot;&gt;723&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;116&lt;/span&gt;                        ; Scan + slow
&lt;span class=&quot;nu0&quot;&gt;726&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;117&lt;/span&gt;                        ; Scan + quick
&lt;span class=&quot;nu0&quot;&gt;729&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;118&lt;/span&gt;                        ; Scan + fast
&lt;span class=&quot;nu0&quot;&gt;79&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;119&lt;/span&gt;                         ; Tune
&lt;span class=&quot;nu0&quot;&gt;51&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;                           ; Long status query
&lt;span class=&quot;nu0&quot;&gt;52&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;140&lt;/span&gt;				; Short status query
&lt;span class=&quot;nu0&quot;&gt;67&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;210&lt;/span&gt;				; Send a &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;69&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;211&lt;/span&gt;				; Send a &lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;
;&lt;span class=&quot;nu0&quot;&gt;91&lt;/span&gt; = remote,&lt;span class=&quot;nu0&quot;&gt;99&lt;/span&gt;,CALLSIGN,LICENSETAG     ; Remote base login.
                                        ; Define a different dtmf sequence &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; each user &lt;span class=&quot;kw2&quot;&gt;which&lt;/span&gt; is
                                        ; authorized to use the remote base to control access to it.
                                        ; For examble &lt;span class=&quot;nu0&quot;&gt;9139583&lt;/span&gt;=remote,&lt;span class=&quot;nu0&quot;&gt;99&lt;/span&gt;,WB6NIL,G would grant access to
                                        ; the remote base and announce WB6NIL &lt;span class=&quot;kw2&quot;&gt;as&lt;/span&gt; being logged in.
                                        ; Another entry, &lt;span class=&quot;nu0&quot;&gt;9148351&lt;/span&gt;=remote,&lt;span class=&quot;nu0&quot;&gt;99&lt;/span&gt;,WA6ZFT,E would grant access to
                                        ; the remote base and announce WA6ZFT &lt;span class=&quot;kw2&quot;&gt;as&lt;/span&gt; being logged in.
                                        ; When the remote base is disconnected from the originating node, the
                                        ; user will be logged out. The LICENSETAG argument is used to enforce
					; tx frequency limits. See &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;txlimits&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; below.
&lt;span class=&quot;nu0&quot;&gt;85&lt;/span&gt; = cop,&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;                              ; Remote base telephone key
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;telemetry&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
; Telemetry entries can be shared across all repeaters, or defined &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; each repeater.
; Can be a tone sequence, morse string, or a &lt;span class=&quot;kw2&quot;&gt;file&lt;/span&gt;
;
; &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;t - Tone escape sequence
;
; Tone sequences consist of &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; or &lt;span class=&quot;kw2&quot;&gt;more&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;-tuple entries &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq1, freq2, duration, amplitude&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; Single frequencies are created by setting freq1 or freq2 to zero.
;
; &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;m - Morse escape sequence
;
; Sends Morse code at the telemetry amplitude and telemetry frequency &lt;span class=&quot;kw2&quot;&gt;as&lt;/span&gt; defined &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; the
; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;morse&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; section.
;
; Follow with an alphanumeric string
;
; &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;i - Morse ID escape sequence
;
; Sends Morse code at the ID amplitude and ID frequency &lt;span class=&quot;kw2&quot;&gt;as&lt;/span&gt; defined &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; the
; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;morse&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; section.
;
; path&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;to&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sound&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;file&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;without&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;extension
;
; Send the sound &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; place of a constructed tone. Do not include the &lt;span class=&quot;kw2&quot;&gt;file&lt;/span&gt; extension
; Example: ct8 = rpt&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;bloop
; Example: idrecording = rpt&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;nodenames&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;48148&lt;/span&gt;
&amp;nbsp;
ct1 = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;t&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;350&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;660&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
ct2 = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;t&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;660&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;880&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;150&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
ct3 = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;t&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;440&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;150&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;4096&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
ct4 = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;t&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;550&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;150&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
ct5 = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;t&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;660&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;150&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
ct6 = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;t&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;880&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;150&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
ct7 = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;t&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;660&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;440&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;150&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
ct8 = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;t&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;700&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;1100&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;150&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
ranger = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;t&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1800&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;3072&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1800&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;3072&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1800&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;3072&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1800&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;3072&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1800&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;3072&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1800&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;3072&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;150&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
remotemon = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;mR
;remotemon = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;t&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1209&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;                                  ; &lt;span class=&quot;kw3&quot;&gt;local&lt;/span&gt; courtesy tone when receive only
remotetx = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;mK
;remotetx = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;t&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1633&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;3000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;80&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1209&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;3000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;		; &lt;span class=&quot;kw3&quot;&gt;local&lt;/span&gt; courtesy tone when linked Trancieve mode
cmdmode = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;t&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;900&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;903&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;functcomplete = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;mW
functcomplete = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;t&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
remcomplete = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;t&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;650&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;650&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;650&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
pfxtone = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;t&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;350&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;440&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;30000&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;3072&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
patchup = rpt&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;callproceeding
patchdown = rpt&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;callterminated
&amp;nbsp;
ct12 = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;me
ct13 = &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;mR
&amp;nbsp;
; As far &lt;span class=&quot;kw2&quot;&gt;as&lt;/span&gt; what the numbers mean,
; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;000,000,010,000&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;   &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;   &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;   &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;   &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;-------amplitude
;   &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;   &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;   &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;-------------duration
;   &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;   &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;-------------------Tone &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
;   &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;-------------------------Tone &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
; So, with &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; That says No Tone1, No Tone2, 10ms duration, &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; Amplitude.
; Use it &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; a delay.  Fine tuning &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; how long before telemetry is sent, &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; conjunction with the telemdelay parameter&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; The numbers, like &lt;span class=&quot;nu0&quot;&gt;350&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;440&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt; are 350Hz, 440Hz, 10ms delay, amplitude of &lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;.
&amp;nbsp;
; Morse code parameters, these are common to all repeaters.
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;morse&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
speed = &lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;				; Approximate speed &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; WPM
frequency = &lt;span class=&quot;nu0&quot;&gt;600&lt;/span&gt;				; Morse Telemetry Frequency
amplitude = &lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;			; Morse Telemetry Amplitude
idfrequency = &lt;span class=&quot;nu0&quot;&gt;1065&lt;/span&gt;			; Morse ID Frequency
idamplitude = &lt;span class=&quot;nu0&quot;&gt;1024&lt;/span&gt;			; Morse ID Amplitude
&amp;nbsp;
;
; This section allows &lt;span class=&quot;kw3&quot;&gt;wait&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;times&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; telemetry events to be adjusted
; A section &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;wait&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;times&lt;/span&gt; can be defined &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; every repeater
;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;wait-times&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
telemwait = &lt;span class=&quot;nu0&quot;&gt;400&lt;/span&gt;                        ; Time to &lt;span class=&quot;kw3&quot;&gt;wait&lt;/span&gt; before sending most telemetry
idwait = &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;                            ; Time to &lt;span class=&quot;kw3&quot;&gt;wait&lt;/span&gt; before starting ID
unkeywait = &lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt;                        ; Time to &lt;span class=&quot;kw3&quot;&gt;wait&lt;/span&gt; after unkey before sending CT&lt;span class=&quot;st_h&quot;&gt;&#039;s and link telemetry
calltermwait = 2000                     ; Time to wait before announcing &amp;quot;call terminated&amp;quot;
&amp;nbsp;
; Memories for remote bases
&amp;nbsp;
[memory]
;00 = 146.580,100.0,m
;01 = 147.030,103.5,m+t
;02 = 147.240,103.5,m+t
;03 = 147.765,79.7,m-t
;04 = 146.460,100.0,m
;05 = 146.550,100.0,m
&amp;nbsp;
; Place command macros here
&amp;nbsp;
[macro]
&amp;nbsp;
&amp;nbsp;
11 = *141223# ; disc. hubnet
21 = *241223# ; monitor hubnet
31 = *341223# ; transceive hubnet
&amp;nbsp;
&amp;nbsp;
12 = *1424611# ; disc MilNet
22 = *2424611# ; monitor MilNet
32 = *3424611# ; transceive MilNet
&amp;nbsp;
;13 = *129332# ; disc Alaska
;23 = *229332# ; monitor Alaska
;33 = *329332# ; transceive Alaska
&amp;nbsp;
;14 = *154383# ; disc CQ North
;24 = *254383# ; monitor CQ North
;34 = *354383# ; transceive CQ North
&amp;nbsp;
;191 = *140894# ; disconnect hubnet Echo
;391 = *340894# ; connect hubnet echo
&amp;nbsp;
19 = *13009999#	; dis echolink echotest
39 = *33009999#	; con echolink echotest
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
; Data Acquisition configuration
&amp;nbsp;
;[daq-list]
;device = device_name1
;device = device_name2
&amp;nbsp;
;Where: device_name1 and device_name2 are stanzas you define in this file
&amp;nbsp;
;device = daq-cham-1
&amp;nbsp;
; Device name
&amp;nbsp;
;[daq-cham-1]				; Defined in [daq-list]
;hwtype = uchameleon			; DAQ hardware type
;devnode = /dev/ttyUSB0			; DAQ device node (if required)
;1 = inadc				; Pin definition for an ADC channel
;2 = inadc
;3 = inadc
;4 = inadc
;5 = inadc
;6 = inadc
;7 = inadc
;8 = inadc
;9 = inp				; Pin definition for an input with a weak pullup resistor
;10 = inp
;11 = inp
;12 = inp
;13 = in				; Pin definition for an input without a weak pullup resistor
;14 = out				; Pin definition for an output
;15 = out
;16 = out
;17 = out
;18 = out
&amp;nbsp;
;[meter-faces]
&amp;nbsp;
;face = scale(scalepre,scalediv,scalepost),word/?,...
;
; scalepre = offset to add before dividing with scalediv
; scalediv = full scale/number of whole units (e.g. 256/20 or 12.8 for 20 volts).
; scalepost = offset to add after dividing with scalediv
;
;face = range(X-Y:word,X2-Y2:word,...),word/?,...
;face = bit(low-word,high-word),word/?,...
;
; word/? is either a word in /var/lib/asterisk/sounds or one of its subdirectories,
; or a question mark which is  a placeholder for the measured value.
;
;
; Battery voltage 0-20 volts
;batvolts = scale(0,12.8,0),rpt/thevoltageis,?,ha/volts
; 4 quadrant wind direction
;winddir = range(0-33:north,34-96:west,97-160:south,161-224:east,225-255:north),rpt/thewindis,?
; LM34 temperature sensor with 130 deg. F full scale
;lm34f = scale(0,1.969,0),rpt/thetemperatureis,?,degrees,fahrenheit
; Status poll (non alarmed)
;light = bit(ha/off,ha/on),ha/light,?
&amp;nbsp;
;[alarms]
;
;tag = device,pin,node,ignorefirst,func-low,func-hi
;
;tag = a unique name for the alarm
;device = daq device to poll
;pin = the device pin to be monitored
;ignorefirstalarm = set to 1 to throwaway first alarm event, or 0 to report it
;node = the node number to execute the function on
;func-low = the DTMF function to execute on a high to low transition
;func-high = the DTMF function to execute on a low to high transition
;
; a  &#039;&lt;/span&gt;-&lt;span class=&quot;st_h&quot;&gt;&#039; as a function name is shorthand for no-operation
;
;door = daq-cham-1,9,1,2017,*7,-
;pwrfail = daq-cham-1,10,0,2017,*911111,-
;
; Control states
; Allow several control operator functions to be changed at once using one command (good for scheduling)
;
;[controlstates]
;statenum = copcmd,[copcmd]...
;0 = rptena,lnkena,apena,totena,ufena,noicd  ; Normal operation
;1 = rptena,lnkena,apdis,totdis,ufena,noice  ; Net and news operation
;2 = rptena,lnkdis,apdis,totena,ufdis,noice  ; Repeater only operation
&amp;nbsp;
; Scheduler - execute a macro at a given time
&amp;nbsp;
[schedule]
;dtmf_function =  m h dom mon dow  ; ala cron, star is implied
;8 = 55 12 * * *   ; at midnight, execute macro 2.
&amp;nbsp;
; See https://wiki.allstarlink.org/wiki/Event_Management
[events]
&amp;nbsp;
#includeifexists custom/rpt.conf&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_ed4ecf13d41d641e55f7d559ac75cabb_4&quot;&gt;/etc/asterisk/rpt.conf after bridging added &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_ed4ecf13d41d641e55f7d559ac75cabb_4&quot;&gt;&lt;pre class=&quot;code bash&quot;&gt;; Radio Repeater configuration &lt;span class=&quot;kw2&quot;&gt;file&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; use with app_rpt&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; Your Repeater
&lt;span class=&quot;sy0&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
;
; This is where you define your nodes &lt;span class=&quot;kw2&quot;&gt;which&lt;/span&gt; can be connected to.
;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;nodes&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
; Note, &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; you are using automatic update &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; allstar &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; nodes,
; no allstar &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; nodes should be defined here. Only place a definition
; &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; your &lt;span class=&quot;kw3&quot;&gt;local&lt;/span&gt; nodes, and private &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;off of allstar &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; nodes here.
&amp;nbsp;
;&lt;span class=&quot;nu0&quot;&gt;481480&lt;/span&gt; = radio&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;127.0.0.1:&lt;span class=&quot;nu0&quot;&gt;4569&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;481480&lt;/span&gt;,NONE	; This must be changed to your node number
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;nu0&quot;&gt;1999&lt;/span&gt; = radio&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;127.0.0.1:&lt;span class=&quot;nu0&quot;&gt;4569&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1999&lt;/span&gt;,NONE
&amp;nbsp;
&lt;span class=&quot;nu0&quot;&gt;48148&lt;/span&gt; = radio&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;127.0.0.1:&lt;span class=&quot;nu0&quot;&gt;4569&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;48148&lt;/span&gt;,NONE	; This must be changed to your node number
                                        ; and iax port number &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; not the default
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1999&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
rxchannel = USRP&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;127.0.0.1:&lt;span class=&quot;nu0&quot;&gt;34001&lt;/span&gt;:&lt;span class=&quot;nu0&quot;&gt;31001&lt;/span&gt; ; Use the USRP channel driver. Must be enabled &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; modules.conf
 ; 127.0.0.1 = IP of the target application
 ; &lt;span class=&quot;nu0&quot;&gt;34001&lt;/span&gt; = UDP port the target application is listening on
 ; &lt;span class=&quot;nu0&quot;&gt;32001&lt;/span&gt; = UDP port ASL is listening on
duplex = &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; ; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; = Half duplex with no telemetry tones or hang time. Ah, but Allison STILL talks&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;
hangtime = &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; ; squelch &lt;span class=&quot;kw2&quot;&gt;tail&lt;/span&gt; hang &lt;span class=&quot;kw1&quot;&gt;time&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
althangtime = &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; ; longer squelch &lt;span class=&quot;kw2&quot;&gt;tail&lt;/span&gt; hang &lt;span class=&quot;kw1&quot;&gt;time&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
holdofftelem = &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; ; Hold off all telemetry when signal is present on receiver or from connected nodes
 ; except when an ID needs to be &lt;span class=&quot;kw1&quot;&gt;done&lt;/span&gt; and there is a signal coming from a connected node.
telemdefault = &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; ; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; = telemetry output off. Don&lt;span class=&quot;st_h&quot;&gt;&#039;t send Allison to DMR !!!!!!!!!!!!!!!!! Trust me.
telemdynamic = 0 ; 0 = disallow users to change the local telemetry setting with a COP command,
linktolink = no ; disables forcing physical half-duplex operation of main repeater while
 ; still keeping half-duplex semantics (optional)
nounkeyct = 1 ; Set to a 1 to eliminate courtesy tones and associated delays.
totime = 180000 ; transmit time-out time (in ms) (optional, default 3 minutes 180000 ms)
idrecording = |ie ; id recording or morse string see http://ohnosec.org/drupal/node/87
idtalkover = |ie ; Talkover ID (optional) default is none see http://ohnosec.org/drupal/node/129
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
;[481480]					; Change this to your assigned node number
[48148]					; Change this to your assigned node number
&amp;nbsp;
                                        ; Must also be enabled in modules.conf
					; Rx audio/signalling channel. Choose ONLY 1 per node stanza
&amp;nbsp;
					; Enable the selected channel driver in modules.conf !!!
;rxchannel = dahdi/pseudo	        ; No radio (hub)
rxchannel = SimpleUSB/usb_48148	; SimpleUSB
; rxchannel = Pi/1                      ; Raspberry Pi PiTA
; rxchannel = Radio/usb_48148		; USBRadio (DSP)
; rxchannel = Dahdi/1			; PCI Quad card
; rxchannel = Beagle/1			; BeagleBoard
; rxchannel = USRP/127.0.0.1:34001:32001; GNU Radio interface USRP
; rxchannel = Voter/48148                ; RTCM device
&amp;nbsp;
&amp;nbsp;
duplex = 1                              ; 0 = Half duplex with no telemetry tones or hang time.
                                        ;     Special Case: Full duplex if linktolink is set to yes.
                                        ;     This mode is preferred when interfacing with an external multiport repeater controller.
					;     Comment out idrecording and idtalkover to suppress IDs also
                                        ; 1 = Half duplex with telemetry tones and hang time. Does not repeat audio.
                                        ;     This mode is preferred when interfacing a simplex node.
                                        ; 2 = Full Duplex with telemetry tones and hang time.
                                        ;     This mode is preferred when interfacing a repeater.
                                        ; 3 = Full Duplex with telemetry tones and hang time, but no repeated audio.
                                        ; 4 = Full Duplex with telemetry tones and hang time. Repeated audio only when the autopatch is down.
&amp;nbsp;
linktolink = no				; disables forcing physical half-duplex operation of main repeater while
					; still keeping half-duplex semantics (optional)
&amp;nbsp;
linkmongain = 0				; Link Monitor Gain adjusts the audio level of monitored nodes when a signal from another node or the local receiver is received.
					; If linkmongain is set to a negative number the monitored audio will decrease by the set amount in db.
					; If linkmongain set to a positive number monitored audio will increase by the set amount in db.
					; The value of linkmongain is in db. The default value is 0 db.
&amp;nbsp;
erxgain = -3				; Echolink receive gain adjustment
					; Note: Gain is in db-volts (20logVI/VO)
etxgain = 3				; Echolink transmit gain adjustment
					; Note: Gain is in db-volts (20logVI/VO)
eannmode = 2                           ; 1 = Say only node number on echolink connects (default = 1)
                                        ; 2 = say phonetic call sign only on echolink connects
                                        ; 3 = say phonetic call sign and node number on echolink connects
&amp;nbsp;
;controlstates = controlstates		; system control state stanza
&amp;nbsp;
scheduler = schedule			; scheduler stanza
functions = functions			; Repeater Function stanza
phone_functions = functions		; Phone Function stanza
link_functions = functions		; Link Function stanza
&amp;nbsp;
telemetry = telemetry			; Telemetry stanza
morse = morse				; Morse stanza
wait_times = wait-times			; Wait times stanza
&amp;nbsp;
context = radio				; dialing context for phone
callerid = &amp;quot;Repeater&amp;quot; &amp;lt;0000000000&amp;gt;	; callerid for phone calls
accountcode = RADIO                     ; account code (optional)
&amp;nbsp;
hangtime = 200				; squelch tail hang time (in ms) (optional, default 5 seconds, 5000 ms)
althangtime = 300			; longer squelch tail
totime = 300000				; 5 mins (12/4/22) transmit time-out time (in ms) (optional, default 3 minutes 180000 ms)
&amp;nbsp;
telemnomdb = -3				;
telemduckdb = -10			;
&amp;nbsp;
;idrecording = /home/gm4slv/gm4slv_id
;idrecording = /home/gm4slv/mb7aze_id
idrecording = |iGM4SLV				; Main ID message
&amp;nbsp;
;idtalkover = |iGM4SLV				; Talkover ID message
idtalkover = |iGM4SLV				; Talkover ID message
					; See Telemetry section Example: idrecording = rpt/nodenames/48148
idtime = 900000				; 15 mins (12/4/22) id interval time (in ms) (optional) Default 5 minutes (300000 ms)
politeid = 30000			; time in milliseconds before ID timer expires to try and ID in the tail. (optional, default 30000)
&amp;nbsp;
unlinkedct = ct12			; Send a this courtesy tone when the user unkeys if the node is not connected to any other nodes. (optional, default is none)
remotect = ct3				; remote linked courtesy tone (indicates a remote is in the list of links)
linkunkeyct = ct4			; sent when a transmission received over the link unkeys
;nolocallinkct = 0			; Send unlinkedct instead if another local node is connected to this node (hosted on the same PC).
&amp;nbsp;
; Supermon smlogger
connpgm=/usr/local/sbin/supermon/smlogger 1
discpgm=/usr/local/sbin/supermon/smlogger 0
&amp;nbsp;
;connpgm = yourconnectprogram		; Disabled. Execute a program you specify on connect. (default)
					; passes 2 command line arguments to your program:
					; 1. node number in this stanza (us)
					; 2. node number being connected to us (them)
;discpgm = yourdisconnectprogram	; Disabled. Execute a program you specify on disconnect. (default)
					; passes 2 command line arguments to your program:
					; 1. node number in this stanza (us)
					; 2. node number being disconnected from us (them)
&amp;nbsp;
lnkactenable = 0			; Set to 1 to enable the link activity timer. Applicable to standard nodes only.
&amp;nbsp;
lnkacttime = 3600			; Link activity timer time in seconds.
lnkactmacro = *73			; Function to execute when link activity timer expires.
lnkacttimerwarn = custom/timeout		; Message to play when the link activity timer has 30 seconds left.
&amp;nbsp;
;remote_inact_timeout =	60		; Specifies the amount of time without keying from the link. Set to 0 to disable timeout. (15 * 60)
;remote_timeout =			; Session time out for remote base. Set to 0 to disable. (60 * 60)
;remote_timeout_warning_freq =		; 30
;remote_timeout_warning =		; (3 * 60)
&amp;nbsp;
;nounkeyct = 0				; Set to a 1 to eliminate courtesy tones and associated delays.
&amp;nbsp;
holdofftelem = 0			; Hold off all telemetry when signal is present on receiver or from connected nodes
					; except when an ID needs to be done and there is a signal coming from a connected node.
&amp;nbsp;
telemdefault = 1                        ; 0 = telemetry output off
                                        ; 1 = telemetry output on (default = 1)
                                        ; 2 = timed telemetry output on command execution and for a short time thereafter.
&amp;nbsp;
telemdynamic = 1                        ; 0 = disallow users to change the local telemetry setting with a COP command,
                                        ; 1 = Allow users to change the setting with a COP command. (default = 1)
&amp;nbsp;
beaconing = 0				; Send ID regardless of repeater activity (Required in the UK, but probably illegal in the US)
&amp;nbsp;
parrotmode = 1				; 0 = Parrot Off (default = 0)
					; 1 = Parrot On Command
					; 2 = Parrot Always
					; 3 = Parrot Once by Command
&amp;nbsp;
parrottime = 1000			; Set the amount of time in milliseconds
					; to wait before parroting what was received
&amp;nbsp;
;rxnotch=1065,40                        ; (Optional) Notch a particular frequency for a specified
                                        ; b/w. app_rpt must have been compiled with
                                        ; the notch option
&amp;nbsp;
startup_macro = *80*81*70
&amp;nbsp;
; nodenames = /var/lib/asterisk/sounds/rpt/nodenames.callsign	; Point to alternate nodename sound directory
&amp;nbsp;
; Stream your node audio to Broadcastify or similar. See https://wiki.allstarlink.org/wiki/Stream_Node_Audio_to_Broadcastify
; outstreamcmd = /bin/sh,-c,/usr/bin/lame --preset cbr 16 -r -m m -s 8 --bitwidth 16 - - | /usr/bin/ezstream -qvc /etc/ezstream.xml
&amp;nbsp;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Need more information on these
&amp;nbsp;
;extnodes = extnodes-different	; section in extnodefile containing dynamic node information (optional)
;extnodefile = /home/gm4slv/rpt_extnodes	; Points to nodelist file containing dynamic node info default = /var/lib/asterisk/rpt_extnodes (optional)
;extnodefile2 =			; Is this a list of node files? Possible a list of private nodes or a list of static IPs for known nodes????
;nodenames = /foo/names         ; locaton of node sound files default = /var/lib/asterisk/sounds/rpt/nodenames
;archivedir = /tmp              ; defines and enables activity recording into specified directory (optional)
;monminblocks = 2048            ; Min 1K blocks to be left on partition (will not save monitor output if disk too full)
&amp;nbsp;
;                               ; The tailmessagetime,tailsquashedtime, and tailmessagelist need to be set
;                               ; to support tail messages. They can be omitted otherwise.
;tailmessagetime = 300000       ; Play a tail message every 5 mins
;tailsquashedtime = 30000       ; If squashed by another user,
;                               ; try again after 30 seconds
;tailmessagelist = msg1,msg2    ; list of messages to be played for tail message
&amp;nbsp;
; alt_functions
; ctgroup
; dphone_functions
; idtime
; iobase
; iospeed
; locallist
; mars		Remote Base
; memory
; nobusyout
; nodes
; nolocallinkct
; notelemtx
; outxlat
; parrot
; propagate_phonedtmf
; rptnode
; rptinactmacro  Macro to execute when inactivity timer expires
; rptinacttime   Inactivity timer time in seconds  (0 seconds disables feature)
; rxnotch	Optional Audio notch
; simplexphonedelay
; tonemacro
; tonezone
; txlimits
&amp;nbsp;
&amp;nbsp;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
&amp;nbsp;
&amp;nbsp;
; *** Status Reporting ***
&amp;nbsp;
; Comment the following statpost line stop to reporting of the status of your node to stats.allstarlink.org
statpost_url = http://stats.allstarlink.org/uhandler ; Status updates
&amp;nbsp;
[functions]
&amp;nbsp;
; Prefix	Functions
; *1		Disconnect Link
; *2		Monitor Link
; *3		Connect Link
; *4		Command Mode
; *5		Macros
; *6		User Functions
; *7		Connection Status/Functions
; *8		User Functions
; *9		User Functions
; *0		User Functions
&amp;nbsp;
; *A		User Functions
; *B		User Functions
; *C		User Functions
; *D		User Functions
&amp;nbsp;
&amp;nbsp;
; Mandatory Command Codes
1 = ilink,1		; Disconnect specified link
2 = ilink,2		; Connect specified link -- monitor only
3 = ilink,3		; Connect specified link -- tranceive
4 = ilink,4		; Enter command mode on specified link
&amp;nbsp;
70 = ilink,5		; System status
&amp;nbsp;
;99 = cop,6              ; PTT (phone mode only)
&amp;nbsp;
; End Mandatory Command Codes
&amp;nbsp;
73 = ilink,6		; Disconnect All Links
74 = ilink,16		; Reconnect links disconnected with &amp;quot;disconnect all links&amp;quot;
&amp;nbsp;
80 = status,11         ; Force ID (local only)
81 = status,12         ; Give Time of Day (local only)
&amp;nbsp;
91 = cop,21		; Enable Parrot Mode
92 = cop,22		; Disable Parrot Mode
93 = cop,55		; Parrot Once if parrot mode is disabled
&amp;nbsp;
98 = cop,2		; System enable
99 = cop,3		; System disable
&amp;nbsp;
901 = cop,1				; System warm boot
&amp;nbsp;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
&amp;nbsp;
; Macro Commands
5 = macro
&amp;nbsp;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
&amp;nbsp;
; Autopatch Commands
; Note, This may be a good place for other 2 digit frequently used commands
&amp;nbsp;
;61 = autopatchup,noct = 1,farenddisconnect = 1,dialtime = 20000  ; Autopatch up
;62 = autopatchdn                                                 ; Autopatch down
&amp;nbsp;
; autopatchup can optionally take comma delimited setting=value pairs:
&amp;nbsp;
; context = string		; Override default context with &amp;quot;string&amp;quot;
; dialtime = ms			; Specify the max number of milliseconds between phone number digits (1000 milliseconds = 1 second)
; farenddisconnect = 1		; Automatically disconnect when called party hangs up
; noct = 1			; Don&#039;&lt;/span&gt;t send repeater courtesy tone during autopatch calls
; quiet = &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;			; Don&lt;span class=&quot;st_h&quot;&gt;&#039;t send dial tone, or connect messages. Do not send patch down message when called party hangs up
				; Example: 123=autopatchup,dialtime=20000,noct=1,farenddisconnect=1
&amp;nbsp;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
&amp;nbsp;
; Status Commands
&amp;nbsp;
; 1 - Force ID (global)
; 2 - Give Time of Day (global)
; 3 - Give software Version (global)
; 4 - Give GPS location info
; 5 - Last (dtmf) user
; 11 - Force ID (local only)
; 12 - Give Time of Day (local only)
&amp;nbsp;
;721 = status,1          ; Force ID (global)
;722 = status,2          ; Give Time of Day (global)
;723 = status,3          ; Give software Version (global)
;724 = status,4          ; Give GPS location info
;725 = status,5          ; Last (dtmf) user
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
&amp;nbsp;
; Link Commands
&amp;nbsp;
; 1 - Disconnect specified link
; 2 - Connect specified link -- monitor only
; 3 - Connect specified link -- tranceive
; 4 - Enter command mode on specified link
; 5 - System status
; 6 - Disconnect all links
; 7 - Last Node to Key Up
; 8 - Connect specified link -- local monitor only
; 9 - Send Text Message (9,&amp;lt;destnodeno or 0 (for all)&amp;gt;,Message Text, etc.
; 10 - Disconnect all RANGER links (except permalinks)
; 11 - Disconnect a previously permanently connected link
; 12 - Permanently connect specified link -- monitor only
; 13 - Permanently connect specified link -- tranceive
; 15 - Full system status (all nodes)
; 16 - Reconnect links disconnected with &amp;quot;disconnect all links&amp;quot;
; 17 - MDC test (for diag purposes)
; 18 - Permanently Connect specified link -- local monitor only
&amp;nbsp;
; ilink commands 1 through 5 are defined in the Mandatory Command section
&amp;nbsp;
;806 = ilink,6			; Disconnect all links
;827 = ilink,7			; Last Node to Key Up
;808 = ilink,8			; Connect specified link -- local monitor only
;809 = ilink,9,48148,&amp;quot;Testing&amp;quot;	; would send a text message to node 48148 replace 48148 with 0 for all connected nodes
;810 = ilink,10			; Disconnect all RANGER links (except permalinks)
;811 = ilink,11			; Disconnect a previously permanently connected link
;812 = ilink,12			; Permanently connect specified link -- monitor only
;823 = ilink,13			; Permanently connect specified link -- tranceive
;815 = ilink,15			; Full system status (all nodes)
;817 = ilink,17			; MDC test (for diag purposes)
;818 = ilink,18			; Permanently Connect specified link -- local monitor only
&amp;nbsp;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
&amp;nbsp;
; Control operator (cop) functions.
; Change these to something other than these codes listed below!
; Uncomment as needed.
&amp;nbsp;
;901 = cop,1				; System warm boot
&amp;nbsp;
; 904 = cop,4				; Test tone on/off (toggle)
; 905 = cop,5				; Dump system variables on console (debug use only)
&amp;nbsp;
; 907 = cop,7				; Time out timer enable
; 908 = cop,8				; Time out timer disable
&amp;nbsp;
; 909 = cop,9				; Autopatch enable
; 910 = cop,10				; Autopatch disable
&amp;nbsp;
; 911 = cop,11				; User linking functions enable
; 912 = cop,12				; User linking functions disable
&amp;nbsp;
; 913 = cop,13				; Query system control state
; 914 = cop,14				; Set system control state
&amp;nbsp;
; 915 = cop,15				; Scheduler enable
; 916 = cop,16				; Scheduler disable
&amp;nbsp;
; 917 = cop,17				; User functions enable (time, id, etc)
; 918 = cop,18				; User functions disable
&amp;nbsp;
; 919 = cop,19				; Select alternate hang time (althangtime)
; 920 = cop,20				; Select standard hangtime (hangtime)
&amp;nbsp;
&amp;nbsp;
; 924 = cop,24				; Flush all telemetry
; 925 = cop,25				; Query last node un-keyed
; 926 = cop,26				; Query all nodes keyed/unkeyed
; 927 = cop,27				; Reset DAQ minimum on a pin
; 928 = cop,28				; Reset DAQ maximum on a pin
&amp;nbsp;
; 930 = cop,30				; Recall Memory Setting in Attached Xcvr
&amp;nbsp;
; 931 = cop,31				; Channel Selector for Parallel Programmed Xcvr
&amp;nbsp;
; 932 = cop,32				; Touchtone pad test: command + Digit string + # to playback all digits pressed
&amp;nbsp;
; 933 = cop,33				; Local Telemetry Output Enable
; 934 = cop,34				; Local Telemetry Output Disable
; 935 = cop,35				; Local Telemetry Output on Demand
&amp;nbsp;
; 936 = cop,36				; Foreign Link Local Output Path Enable
; 937 = cop,37				; Foreign Link Local Output Path Disable
; 938 = cop,38				; Foreign Link Local Output Path Follows Local Telemetry
; 939 = cop,39				; Foreign Link Local Output Path on Demand
&amp;nbsp;
; 942 = cop,42				; Echolink announce node # only
; 943 = cop,43				; Echolink announce node Callsign only
; 944 = cop,44				; Echolink announce node # &amp;amp; Callsign
&amp;nbsp;
; 945 = cop,45				; Link Activity timer enable
; 945 = cop,46				; Link Activity timer disable
; 947 = cop,47				; Reset &amp;quot;Link Config Changed&amp;quot; Flag
&amp;nbsp;
; 948 = cop,48				; Send Page Tone (Tone specs separated by parenthesis)
&amp;nbsp;
; 949 = cop,49				; Disable incoming connections (control state noice)
; 950 = cop,50				; Enable incoming connections (control state noicd)
&amp;nbsp;
; 951 = cop,51				; Enable sleep mode
; 952 = cop,52				; Disable sleep mode
; 953 = cop,53				; Wake up from sleep
; 954 = cop,54				; Go to sleep
&amp;nbsp;
; 956 = cop,56                            ; Rx CTCSS Enable
; 957 = cop,57                            ; Rx CTCSS Disable
&amp;nbsp;
; 958 = cop.58                            ; Tx CTCSS On Input only Enable
; 959 = cop,59                            ; Tx CTCSS On Input only Disable
&amp;nbsp;
; 960 = cop,60                            ; Send MDC-1200 Burst (cop,60,type,UnitID[,DestID,SubCode])
;                                         ; Type is &#039;&lt;/span&gt;I&lt;span class=&quot;st_h&quot;&gt;&#039; for PttID, &#039;&lt;/span&gt;E&lt;span class=&quot;st_h&quot;&gt;&#039; for Emergency, and &#039;&lt;/span&gt;C&lt;span class=&quot;st_h&quot;&gt;&#039; for Call
;                                         ; (SelCall or Alert), or &#039;&lt;/span&gt;SX&lt;span class=&quot;st_h&quot;&gt;&#039; for STS (ststus), where X is 0-F.
;                                         ; DestID and subcode are only specified for  the &#039;&lt;/span&gt;C&lt;span class=&quot;st_h&quot;&gt;&#039; type message.
;                                         ; UnitID is the local systems UnitID. DestID is the MDC1200 ID of
;                                         ; the radio being called, and the subcodes are as follows:
;                                         ; Subcode &#039;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;8205&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;&#039; is Voice Selective Call for Spectra (&#039;&lt;/span&gt;Call&lt;span class=&quot;st_h&quot;&gt;&#039;)
;                                         ; Subcode &#039;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;8015&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;&#039; is Voice Selective Call for Maxtrac (&#039;&lt;/span&gt;SC&lt;span class=&quot;st_h&quot;&gt;&#039;) or
;                                         ; Astro-Saber(&#039;&lt;/span&gt;Call&lt;span class=&quot;st_h&quot;&gt;&#039;)
;                                         ; Subcode &#039;&lt;/span&gt;810D&lt;span class=&quot;st_h&quot;&gt;&#039; is Call Alert (like Maxtrac &#039;&lt;/span&gt;CA&lt;span class=&quot;st_h&quot;&gt;&#039;)
&amp;nbsp;
; 961 = cop,61                            ; Send Message to USB to control GPIO pins (cop,61,GPIO1=0[,GPIO4=1].....)
; 962 = cop,62                            ; Send Message to USB to control GPIO pins, quietly (cop,62,GPIO1=0[,GPIO4=1].....)
&amp;nbsp;
; 963 = cop,63                            ; Send pre-configred APRSTT notification (cop,63,CALL[,OVERLAYCHR])
; 964 = cop,64                            ; Send pre-configred APRSTT notification, quietly (cop,64,CALL[,OVERLAYCHR])
; 965 = cop,65                            ; Send POCSAG page (equipped channel types only)
&amp;nbsp;
[functions-remote]
&amp;nbsp;
0 = remote,1                            ; Retrieve Memory
1 = remote,2                            ; Set freq.
2 = remote,3                            ; Set tx PL tone
3 = remote,4                            ; Set rx PL tone
40 = remote,100                         ; Rx PL off
41 = remote,101                         ; Rx PL on
42 = remote,102                         ; Tx PL off
43 = remote,103                         ; Tx PL on
44 = remote,104                         ; Low Power
45 = remote,105                         ; Medium Power
46 = remote,106                         ; High Power
711 = remote,107                        ; Bump -20
714 = remote,108                        ; Bump -100
717 = remote,109                        ; Bump -500
713 = remote,110                        ; Bump +20
716 = remote,111                        ; Bump +100
719 = remote,112                        ; Bump +500
721 = remote,113                        ; Scan - slow
724 = remote,114                        ; Scan - quick
727 = remote,115                        ; Scan - fast
723 = remote,116                        ; Scan + slow
726 = remote,117                        ; Scan + quick
729 = remote,118                        ; Scan + fast
79 = remote,119                         ; Tune
51 = remote,5                           ; Long status query
52 = remote,140				; Short status query
67 = remote,210				; Send a *
69 = remote,211				; Send a #
;91 = remote,99,CALLSIGN,LICENSETAG     ; Remote base login.
                                        ; Define a different dtmf sequence for each user which is
                                        ; authorized to use the remote base to control access to it.
                                        ; For examble 9139583=remote,99,WB6NIL,G would grant access to
                                        ; the remote base and announce WB6NIL as being logged in.
                                        ; Another entry, 9148351=remote,99,WA6ZFT,E would grant access to
                                        ; the remote base and announce WA6ZFT as being logged in.
                                        ; When the remote base is disconnected from the originating node, the
                                        ; user will be logged out. The LICENSETAG argument is used to enforce
					; tx frequency limits. See [txlimits] below.
85 = cop,6                              ; Remote base telephone key
&amp;nbsp;
&amp;nbsp;
[telemetry]
&amp;nbsp;
; Telemetry entries can be shared across all repeaters, or defined for each repeater.
; Can be a tone sequence, morse string, or a file
;
; |t - Tone escape sequence
;
; Tone sequences consist of 1 or more 4-tuple entries (freq1, freq2, duration, amplitude)
; Single frequencies are created by setting freq1 or freq2 to zero.
;
; |m - Morse escape sequence
;
; Sends Morse code at the telemetry amplitude and telemetry frequency as defined in the
; [morse] section.
;
; Follow with an alphanumeric string
;
; |i - Morse ID escape sequence
;
; Sends Morse code at the ID amplitude and ID frequency as defined in the
; [morse] section.
;
; path/to/sound/file/without/extension
;
; Send the sound if in place of a constructed tone. Do not include the file extension
; Example: ct8 = rpt/bloop
; Example: idrecording = rpt/nodenames/48148
&amp;nbsp;
ct1 = |t(350,0,100,2048)(500,0,100,2048)(660,0,100,2048)
ct2 = |t(660,880,150,2048)
ct3 = |t(440,0,150,4096)
ct4 = |t(550,0,150,2048)
ct5 = |t(660,0,150,2048)
ct6 = |t(880,0,150,2048)
ct7 = |t(660,440,150,2048)
ct8 = |t(700,1100,150,2048)
ranger = |t(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,150,0)
remotemon = |mR
;remotemon = |t(1209,0,50,2048)                                  ; local courtesy tone when receive only
remotetx = |mK
;remotetx = |t(1633,0,50,3000)(0,0,80,0)(1209,0,50,3000)		; local courtesy tone when linked Trancieve mode
cmdmode = |t(900,903,200,2048)
;functcomplete = |mW
functcomplete = |t(1000,0,100,2048)(0,0,100,0)(1000,0,100,2048)
remcomplete = |t(650,0,100,2048)(0,0,100,0)(650,0,100,2048)(0,0,100,0)(650,0,100,2048)
pfxtone = |t(350,440,30000,3072)
patchup = rpt/callproceeding
patchdown = rpt/callterminated
&amp;nbsp;
ct12 = |me
ct13 = |mR
&amp;nbsp;
; As far as what the numbers mean,
; (000,000,010,000)
;   |   |   |   |-------amplitude
;   |   |   |-------------duration
;   |   |-------------------Tone 2
;   |-------------------------Tone 1
&amp;nbsp;
; So, with 0,0,10,0 That says No Tone1, No Tone2, 10ms duration, 0 Amplitude.
; Use it for a delay.  Fine tuning for how long before telemetry is sent, in conjunction with the telemdelay parameter)
; The numbers, like 350,440,10,2048 are 350Hz, 440Hz, 10ms delay, amplitude of 2048.
&amp;nbsp;
; Morse code parameters, these are common to all repeaters.
&amp;nbsp;
[morse]
speed = 20				; Approximate speed in WPM
frequency = 600				; Morse Telemetry Frequency
amplitude = 2048			; Morse Telemetry Amplitude
idfrequency = 1065			; Morse ID Frequency
idamplitude = 1024			; Morse ID Amplitude
&amp;nbsp;
;
; This section allows wait times for telemetry events to be adjusted
; A section for wait times can be defined for every repeater
;
&amp;nbsp;
[wait-times]
telemwait = 400                        ; Time to wait before sending most telemetry
idwait = 500                            ; Time to wait before starting ID
unkeywait = 200                        ; Time to wait after unkey before sending CT&#039;&lt;/span&gt;s and &lt;span class=&quot;kw2&quot;&gt;link&lt;/span&gt; telemetry
calltermwait = &lt;span class=&quot;nu0&quot;&gt;2000&lt;/span&gt;                     ; Time to &lt;span class=&quot;kw3&quot;&gt;wait&lt;/span&gt; before announcing &lt;span class=&quot;st0&quot;&gt;&amp;quot;call terminated&amp;quot;&lt;/span&gt;
&amp;nbsp;
; Memories &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; remote bases
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;memory&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
;00 = &lt;span class=&quot;nu0&quot;&gt;146.580&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;100.0&lt;/span&gt;,m
;01 = &lt;span class=&quot;nu0&quot;&gt;147.030&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;103.5&lt;/span&gt;,m+t
;02 = &lt;span class=&quot;nu0&quot;&gt;147.240&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;103.5&lt;/span&gt;,m+t
;03 = &lt;span class=&quot;nu0&quot;&gt;147.765&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;79.7&lt;/span&gt;,m-t
;04 = &lt;span class=&quot;nu0&quot;&gt;146.460&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;100.0&lt;/span&gt;,m
;05 = &lt;span class=&quot;nu0&quot;&gt;146.550&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;100.0&lt;/span&gt;,m
&amp;nbsp;
; Place &lt;span class=&quot;kw3&quot;&gt;command&lt;/span&gt; macros here
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;macro&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;141223&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; disc. hubnet&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;21&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;241223&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; monitor hubnet&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;31&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;341223&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; transceive hubnet&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1424611&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; disc MilNet&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;22&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2424611&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; monitor MilNet&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;32&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3424611&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; transceive MilNet&lt;/span&gt;
&amp;nbsp;
;&lt;span class=&quot;nu0&quot;&gt;13&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;129332&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; disc Alaska&lt;/span&gt;
;&lt;span class=&quot;nu0&quot;&gt;23&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;229332&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; monitor Alaska&lt;/span&gt;
;&lt;span class=&quot;nu0&quot;&gt;33&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;329332&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; transceive Alaska&lt;/span&gt;
&amp;nbsp;
;&lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;154383&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; disc CQ North&lt;/span&gt;
;&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;254383&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; monitor CQ North&lt;/span&gt;
;&lt;span class=&quot;nu0&quot;&gt;34&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;354383&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; transceive CQ North&lt;/span&gt;
&amp;nbsp;
;&lt;span class=&quot;nu0&quot;&gt;191&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;140894&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; disconnect hubnet Echo&lt;/span&gt;
;&lt;span class=&quot;nu0&quot;&gt;391&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;340894&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; connect hubnet echo&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;nu0&quot;&gt;19&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;13009999&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#	; dis echolink echotest&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;39&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;33009999&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#	; con echolink echotest&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
; Data Acquisition configuration
&amp;nbsp;
;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;daq-list&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
;device = device_name1
;device = device_name2
&amp;nbsp;
;Where: device_name1 and device_name2 are stanzas you define &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; this &lt;span class=&quot;kw2&quot;&gt;file&lt;/span&gt;
&amp;nbsp;
;device = daq-cham-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
; Device name
&amp;nbsp;
;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;daq-cham-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;				; Defined &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;daq-list&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
;hwtype = uchameleon			; DAQ hardware &lt;span class=&quot;kw3&quot;&gt;type&lt;/span&gt;
;devnode = &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;ttyUSB0			; DAQ device node &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; required&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; = inadc				; Pin definition &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; an ADC channel
;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; = inadc
;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt; = inadc
;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt; = inadc
;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt; = inadc
;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt; = inadc
;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt; = inadc
;&lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt; = inadc
;&lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt; = inp				; Pin definition &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; an input with a weak pullup resistor
;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; = inp
;&lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt; = inp
;&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt; = inp
;&lt;span class=&quot;nu0&quot;&gt;13&lt;/span&gt; = &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt;				; Pin definition &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; an input without a weak pullup resistor
;&lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt; = out				; Pin definition &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; an output
;&lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt; = out
;&lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt; = out
;&lt;span class=&quot;nu0&quot;&gt;17&lt;/span&gt; = out
;&lt;span class=&quot;nu0&quot;&gt;18&lt;/span&gt; = out
&amp;nbsp;
;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;meter-faces&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
;face = scale&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;scalepre,scalediv,scalepost&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;,word&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;?,...
;
; scalepre = offset to add before dividing with scalediv
; scalediv = full scale&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;number of whole units &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;e.g. &lt;span class=&quot;nu0&quot;&gt;256&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt; or &lt;span class=&quot;nu0&quot;&gt;12.8&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt; volts&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.
; scalepost = offset to add after dividing with scalediv
;
;face = range&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;X-Y:word,X2-Y2:word,...&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;,word&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;?,...
;face = bit&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;low-word,high-word&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;,word&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;?,...
;
; word&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;? is either a word &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;var&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;lib&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;asterisk&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sounds or one of its subdirectories,
; or a question mark &lt;span class=&quot;kw2&quot;&gt;which&lt;/span&gt; is  a placeholder &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; the measured value.
;
;
; Battery voltage &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt; volts
;batvolts = scale&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;12.8&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;,rpt&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;thevoltageis,?,ha&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;volts
; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt; quadrant wind direction
;winddir = range&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;33&lt;/span&gt;:north,&lt;span class=&quot;nu0&quot;&gt;34&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt;:west,&lt;span class=&quot;nu0&quot;&gt;97&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;160&lt;/span&gt;:south,&lt;span class=&quot;nu0&quot;&gt;161&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;224&lt;/span&gt;:east,&lt;span class=&quot;nu0&quot;&gt;225&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;255&lt;/span&gt;:north&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;,rpt&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;thewindis,?
; LM34 temperature sensor with &lt;span class=&quot;nu0&quot;&gt;130&lt;/span&gt; deg. F full scale
;lm34f = scale&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;1.969&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;,rpt&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;thetemperatureis,?,degrees,fahrenheit
; Status poll &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;non alarmed&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;light = bit&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ha&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;off,ha&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;on&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;,ha&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;light,?
&amp;nbsp;
;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;alarms&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
;
;tag = device,pin,node,ignorefirst,func-low,func-hi
;
;tag = a unique name &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; the alarm
;device = daq device to poll
;pin = the device pin to be monitored
;ignorefirstalarm = &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; to &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; to throwaway first alarm event, or &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; to report it
;node = the node number to execute the &lt;span class=&quot;kw1&quot;&gt;function&lt;/span&gt; on
;func-low = the DTMF &lt;span class=&quot;kw1&quot;&gt;function&lt;/span&gt; to execute on a high to low transition
;func-high = the DTMF &lt;span class=&quot;kw1&quot;&gt;function&lt;/span&gt; to execute on a low to high transition
;
; a  &lt;span class=&quot;st_h&quot;&gt;&#039;-&#039;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;as&lt;/span&gt; a &lt;span class=&quot;kw1&quot;&gt;function&lt;/span&gt; name is shorthand &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; no-operation
;
;door = daq-cham-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2017&lt;/span&gt;,&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;,-
;pwrfail = daq-cham-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2017&lt;/span&gt;,&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;911111&lt;/span&gt;,-
;
; Control states
; Allow several control operator functions to be changed at once using one &lt;span class=&quot;kw3&quot;&gt;command&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;good &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; scheduling&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
;
;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;controlstates&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
;statenum = copcmd,&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;copcmd&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;...
;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; = rptena,lnkena,apena,totena,ufena,noicd  ; Normal operation
;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; = rptena,lnkena,apdis,totdis,ufena,noice  ; Net and news operation
;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; = rptena,lnkdis,apdis,totena,ufdis,noice  ; Repeater only operation
&amp;nbsp;
; Scheduler - execute a macro at a given &lt;span class=&quot;kw1&quot;&gt;time&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;schedule&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
;dtmf_function =  m h dom mon dow  ; ala cron, star is implied
;&lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt; = &lt;span class=&quot;nu0&quot;&gt;55&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;   ; at midnight, execute macro &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;.
&amp;nbsp;
; See https:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;wiki.allstarlink.org&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;wiki&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Event_Management
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;events&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;#includeifexists custom/rpt.conf&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_ed4ecf13d41d641e55f7d559ac75cabb_5&quot;&gt;/etc/asterisk/modules.conf after bridging added &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_ed4ecf13d41d641e55f7d559ac75cabb_5&quot;&gt;&lt;pre class=&quot;code bash&quot;&gt;;
; Asterisk configuration &lt;span class=&quot;kw2&quot;&gt;file&lt;/span&gt;
;
; Module Loader configuration &lt;span class=&quot;kw2&quot;&gt;file&lt;/span&gt;
;
; By default DIAL does NOT load every module, only what is needed
&amp;nbsp;
; You can &lt;span class=&quot;kw3&quot;&gt;enable&lt;/span&gt; or disable any of the asterisk modules
; All modules are compiled and installed.
&amp;nbsp;
; To &lt;span class=&quot;kw3&quot;&gt;enable&lt;/span&gt; a module: load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; module_name.so
; To disable a module: noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; module_name.so
&amp;nbsp;
; You will want to &lt;span class=&quot;kw3&quot;&gt;enable&lt;/span&gt; the channel driver modules you will be using.
; There are below &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; the Channle Driver section
; The most common Channel drivers &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; app_rpt are:
; chan_echolink.so   echolink channel driver
; chan_simpleusb.so  Simple USB Radio Interface Channel Drive
; chan_usbradio.so   USB Console Channel Driver
; chan_usrp.so       USRP Channel Module
; chan_voter.so      radio Voter channel driver
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;modules&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;autoload&lt;/span&gt;=no
&amp;nbsp;
; Applications
&amp;nbsp;
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_adsiprog.so ;			Asterisk ADSI Programming Application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_alarmreceiver.so ;		Alarm Receiver &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; Asterisk
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_amd.so ;				Answering Machine Detection Application
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_authenticate.so ;            	Authentication Application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_cdr.so ;				Tell Asterisk to not maintain a CDR &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt;
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_chanisavail.so ;			Check channel availability
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_channelredirect.so ;		Channel Redirect
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_chanspy.so ;			Listen to the audio of an active channel
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_controlplayback.so ;		Control Playback Application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_dahdibarge.so ;			Barge &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; on channel application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_dahdiras.so ;			DAHDI RAS Application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_dahdiscan.so ;			Scan Zap channels application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_db.so ;				Database Access Functions
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_dial.so ;				Dialing Application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_dictate.so ;			Virtual Dictation Machine
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_directed_pickup.so ;		Directed Call Pickup Application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_directory.so ;			Extension Directory
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_disa.so ;				DISA &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;Direct Inward System Access&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; Appli
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_dumpchan.so ;			Dump Info About The Calling Channel
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_echo.so ;				Simple Echo Application
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_exec.so ;				Executes dialplan applications
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_externalivr.so ;			External IVR Interface Application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_festival.so ;			Simple Festival Interface
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_flash.so ;			Flash channel application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_followme.so ;			Find-Me&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Follow-Me Application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_forkcdr.so ;			Fork The CDR into &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; separate entities
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_getcpeid.so ;			Get ADSI CPE ID
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_gps.so ;				GPS interface module
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_hasnewvoicemail.so ;		Indicator &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; whether a voice mailbox ha
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_ices.so ;				Encode and Stream via icecast and ices
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_image.so ;			Image Transmission Application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_lookupblacklist.so ;		Look up Caller&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;ID name&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;number from black
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_lookupcidname.so ;		Look up CallerID Name from &lt;span class=&quot;kw3&quot;&gt;local&lt;/span&gt; databas
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_macro.so ;				Extension Macros
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_meetme.so ;			MeetMe conference bridge
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_milliwatt.so ;			Digital Milliwatt &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mu-law&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; Test Applicat
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_mixmonitor.so ;			Mixed Audio Monitoring Application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_morsecode.so ;			Morse code
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_mp3.so ;				Silly MP3 Application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_nbscat.so ;			Silly NBS Stream Application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_page.so ;				Page Multiple Phones
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_parkandannounce.so ;		Call Parking and Announce Application
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_playback.so ;			Sound File Playback Application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_privacy.so ;			Require phone number to be entered, &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; n
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_queue.so ;			True Call Queueing
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_radbridge.so ;			Radio Bridging interface module
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_random.so ;			Random goto
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_readfile.so ;			Stores output of &lt;span class=&quot;kw2&quot;&gt;file&lt;/span&gt; into a variable
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_read.so ;				Read Variable Application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_realtime.so ;			Realtime Data Lookup&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Rewrite
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_record.so ;			Trivial Record Application
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_rpt.so ;				Radio Repeater&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Remote Base Application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_sayunixtime.so ;			Say &lt;span class=&quot;kw1&quot;&gt;time&lt;/span&gt;
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_senddtmf.so ;			Send DTMF digits Application
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_sendtext.so ;			Send Text Applications
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_setcallerid.so ;			Set CallerID Application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_setcdruserfield.so ;		CDR user field apps
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_settransfercapability.so ;	Set ISDN Transfer Capability
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_sms.so ;				SMS&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;PSTN handler
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_softhangup.so ;			Hangs up the requested channel
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_speech_utils.so ;			Dialplan Speech Applications
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_stack.so ;			Stack Routines
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_system.so ;				Generic System&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_talkdetect.so ;			Playback with Talk Detection
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_test.so ;				Interface Test Application
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_transfer.so ;			Transfer
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_url.so ;				Send URL Applications
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_userevent.so ;			Custom User Event Application
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_verbose.so ;			Send verbose output
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_voicemail.so ;			Comedian Mail &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;Voicemail System&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_waitforring.so ;			Waits &lt;span class=&quot;kw1&quot;&gt;until&lt;/span&gt; first ring after &lt;span class=&quot;kw1&quot;&gt;time&lt;/span&gt;
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_waitforsilence.so ;		Wait For Silence
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_while.so ;			While Loops and Conditional Execution
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; app_zapateller.so ;			Block Telemarketers with Special Informa
&amp;nbsp;
; CDR
&amp;nbsp;
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; cdr_csv.so ;				Comma Separated Values CDR Backend
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; cdr_custom.so ;			Customizable Comma Separated Values CDR
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; cdr_manager.so ;			Asterisk Manager Interface CDR Backend
&amp;nbsp;
; Channels
&amp;nbsp;
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; chan_agent.so ;			Agent Proxy Channel
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; chan_alsa.so ;			ALSA Console Channel Driver
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; chan_beagle.so ;			Beagleboard Radio Interface Channel Driver
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; chan_dahdi.so ;				DAHDI Telephony
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; chan_echolink.so ;			echolink Channel Driver
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; chan_features.so ;			Feature Proxy Channel
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; chan_gtalk.so ;			Gtalk Channel Driver
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; chan_iax2.so ;				Inter Asterisk eXchange &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;Ver &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; chan_local.so ;				Local Proxy Channel &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;Note: used internal
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; chan_oss.so ;				Channel driver &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; OSS sound cards
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; chan_phone.so ;			Generic Linux Telephony Interface driver
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; chan_pi.so ;				DMK Engineering &lt;span class=&quot;st0&quot;&gt;&amp;quot;PITA&amp;quot;&lt;/span&gt; Board on Rpi2&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt; Channel Driver
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; chan_simpleusb.so ;			CM1xx USB Cards with Radio Interface Channel Driver &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;No DSP&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; chan_sip.so ;				Session Initiation Protocol &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;SIP&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; chan_tlb.so ;				TheLinkBox Channel Driver
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; chan_usbradio.so ;			CM1xx USB Cards with Radio Interface Channel Driver &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;DSP&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; chan_usrp.so ;			GNU Radio interface USRP Channel Driver
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; chan_voter.so ;			Radio Voter Channel Driver
&amp;nbsp;
; Codecs
&amp;nbsp;
; CODEC          AUDIO QUALITY   BANDWIDTH &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;including IP and Ethernet headers&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; ULAW           best            &lt;span class=&quot;nu0&quot;&gt;87&lt;/span&gt; kilobits per second &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;kbps&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
; ADPCM          good            &lt;span class=&quot;nu0&quot;&gt;55&lt;/span&gt; kbps
; GSM            mediocre        &lt;span class=&quot;nu0&quot;&gt;36&lt;/span&gt; kbps
; g726aal2
; ilbc
&amp;nbsp;
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; codec_adpcm.so ;			Adaptive Differential PCM Coder&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Decoder
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; codec_alaw.so ;				A-law Coder&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Decoder
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; codec_a_mu.so ;				A-law and Mulaw direct Coder&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Decoder
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; codec_dahdi.so ;			Generic DAHDI Transcoder Codec Translato
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; codec_g726.so ;				ITU G.726-32kbps G726 Transcoder
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; codec_gsm.so ;				GSM Coder&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Decoder
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; codec_ulaw.so ;				mu-Law Coder&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Decoder
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; codec_ilbc.so ;			http:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;en.wikipedia.org&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;wiki&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Internet_Low_Bitrate_Codec
&amp;nbsp;
; Formats
&amp;nbsp;
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; format_g723.so ;			G.723.1 Simple Timestamp File Format
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; format_g726.so ;			Raw G.726 &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;32&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;40kbps&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; data
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; format_g729.so ;			Raw G729 data
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; format_gsm.so ;				Raw GSM data
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; format_h263.so ;			Raw H.263 data
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; format_h264.so ;			Raw H.264 data
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; format_ilbc.so ;			Raw iLBC data
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; format_jpeg.so ;			JPEG &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;Joint Picture Experts Group&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; Image
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; format_pcm.so ;				Raw&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Sun uLaw&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;ALaw 8KHz &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;PCM,PCMA,AU&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;, G.
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; format_sln.so ;				Raw Signed Linear Audio support &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;SLN&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; format_vox.so ;				Dialogic VOX &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ADPCM&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; File Format
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; format_wav_gsm.so ;			Microsoft WAV format &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;Proprietary GSM&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; format_wav.so ;				Microsoft WAV format &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;8000Hz Signed Line
&amp;nbsp;
; Functions
&amp;nbsp;
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_base64.so ;			base64 encode&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;decode dialplan functions
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_callerid.so ;			Caller ID related dialplan &lt;span class=&quot;kw1&quot;&gt;function&lt;/span&gt;
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_cdr.so ;				CDR dialplan &lt;span class=&quot;kw1&quot;&gt;function&lt;/span&gt;
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_channel.so ;			Channel information dialplan &lt;span class=&quot;kw1&quot;&gt;function&lt;/span&gt;
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_curl.so ;				Load external URL
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_cut.so ;				Cut out information from a string
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_db.so ;				Database &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;astdb&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; related dialplan functi
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_enum.so ;				ENUM related dialplan functions
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_env.so ;				Environment&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;filesystem dialplan &lt;span class=&quot;kw1&quot;&gt;function&lt;/span&gt;
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_global.so ;			Global variable dialplan functions
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_groupcount.so ;			Channel group dialplan functions
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_language.so ;			Channel language dialplan &lt;span class=&quot;kw1&quot;&gt;function&lt;/span&gt;
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_logic.so ;				Logical dialplan functions
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_math.so ;				Mathematical dialplan &lt;span class=&quot;kw1&quot;&gt;function&lt;/span&gt;
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_md5.so ;				MD5 digest dialplan functions
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_moh.so ;				Music-on-hold dialplan &lt;span class=&quot;kw1&quot;&gt;function&lt;/span&gt;
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_rand.so ;				Random number dialplan &lt;span class=&quot;kw1&quot;&gt;function&lt;/span&gt;
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_realtime.so ;			Read&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Write values from a RealTime reposi
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_sha1.so ;			SHA-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; computation dialplan &lt;span class=&quot;kw1&quot;&gt;function&lt;/span&gt;
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_strings.so ;			String handling dialplan functions
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_timeout.so ;			Channel timeout dialplan functions
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; func_uri.so ;				URI encode&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;decode dialplan functions
&amp;nbsp;
; PBX
&amp;nbsp;
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; pbx_ael.so ;				Asterisk Extension Language Compiler
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; pbx_config.so ;				Text Extension Configuration
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; pbx_dundi.so ;			Distributed Universal Number Discovery &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; pbx_loopback.so ;			Loopback Switch
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; pbx_realtime.so ;			Realtime Switch
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; pbx_spool.so ;			Outgoing Spool Support
&amp;nbsp;
; Resources
&amp;nbsp;
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; res_adsi.so ;				ADSI Resource
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; res_agi.so ;				Asterisk Gateway Interface &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;AGI&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; res_clioriginate.so ;			Call origination from the CLI
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; res_convert.so ;			File format conversion CLI &lt;span class=&quot;kw3&quot;&gt;command&lt;/span&gt;
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; res_crypto.so ;				Cryptographic Digital Signatures
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; res_features.so ;			Call Features Resource
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; res_indications.so ;			Indications Resource
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; res_jabber.so ;			AJI - Asterisk Jabber Interface
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; res_monitor.so ;			Call Monitoring Resource
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; res_musiconhold.so ;			Music On Hold Resource
load =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; res_smdi.so ;				Simplified Message Desk Interface &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;SMDI&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; res_snmp.so ;				SNMP &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Sub&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;Agent &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; Asterisk
noload =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; res_speech.so ;			Generic Speech Recognition API
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;global&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_ed4ecf13d41d641e55f7d559ac75cabb_6&quot;&gt;/etc/asterisk/extensions.conf after bridging added &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_ed4ecf13d41d641e55f7d559ac75cabb_6&quot;&gt;&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;general&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
static = &lt;span class=&quot;kw2&quot;&gt;yes&lt;/span&gt;       ; These two lines prevent the command-line interface
writeprotect = &lt;span class=&quot;kw2&quot;&gt;yes&lt;/span&gt; ; from overwriting the config file. Leave them here.
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;globals&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
HOMENPA = &lt;span class=&quot;nu0&quot;&gt;999&lt;/span&gt; ; change this to your Area Code
NODE = &lt;span class=&quot;nu0&quot;&gt;48148&lt;/span&gt;   ; change this to your node number
NODE1 = &lt;span class=&quot;nu0&quot;&gt;1999&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;default&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
exten =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; i,&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,Hangup
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;radio-secure&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
exten =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;${NODE}&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,rpt,&lt;span class=&quot;co1&quot;&gt;${NODE}&lt;/span&gt;
exten =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;${NODE1}&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,rpt,&lt;span class=&quot;co1&quot;&gt;${NODE1}&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;iaxrpt&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;                                ; entered from iaxrpt &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; iax.conf
exten =&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;${NODE}&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,rpt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;${NODE}&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;X&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;       ; NODE is the Name field &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; iaxrpt
                                        ; Info: The X option passed to the Rpt application
                                        ; disables the normal security checks.
                                        ; Because incoming connections are validated &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; iax.conf,
                                        ; and we don&lt;span class=&quot;st_h&quot;&gt;&#039;t know where the user will be coming from in advance,
                                        ; the X option is required.
&amp;nbsp;
[iax-client]				; for IAX VIOP clients.				
exten =&amp;gt; ${NODE},1,Ringing
exten =&amp;gt; ${NODE},n,Wait(3)
exten =&amp;gt; ${NODE},n,Answer
exten =&amp;gt; ${NODE},n,Set(NODENUM=${CALLERID(number)})
exten =&amp;gt; ${NODE},n,Playback(rpt/node|noanswer)
exten =&amp;gt; ${NODE},n,SayDigits(${EXTEN})
exten =&amp;gt; ${NODE},n,Set(CALLERID(num)=0)
exten =&amp;gt; ${NODE},n,Rpt,${NODE}|P|${CALLERID(name)}
exten =&amp;gt; ${NODE},n,Hangup
exten =&amp;gt; ${NODE},n(hangit),Answer
exten =&amp;gt; ${NODE},n(hangit),Wait(1)
exten =&amp;gt; ${NODE},n(hangit),Hangup
&amp;nbsp;
; Comment-out the following clause if you want Allstar Autopatch service
[pstn-out]
exten = _NXXNXXXXXX,1,playback(ss-noservice)
exten = _NXXNXXXXXX,2,Congestion
&amp;nbsp;
; Un-comment out the following clause if you want Allstar Autopatch service
;[pstn-out]
;exten = _NXXNXXXXXX,1,Dial(IAX2/allstar-autopatch/\${EXTEN})
;exten = _NXXNXXXXXX,2,Busy
&amp;nbsp;
[invalidnum]
exten = s,1,Wait,3
exten = s,n,Playback,ss-noservice
exten = s,n,Wait,1
exten =  s,n,Hangup
&amp;nbsp;
[radio]
exten = _X11,1,Goto(check_route|${EXTEN}|1);
exten = _NXXXXXX,1,Goto(check_route|1${HOMENPA}${EXTEN}|1)
exten = _1XXXXXXXXXX,1,Goto(check_route|${EXTEN}|1)
exten = _07XX,1,Goto(parkedcalls|${EXTEN:1}|1)
exten = 00,1,Goto(my-ip|s|1)
&amp;nbsp;
[check_route]
exten =_X.,1,Noop(${EXTEN})
; no 800
exten = _1800NXXXXXX,2,Goto(invalidnum|s|1)
exten = _1888NXXXXXX,2,Goto(invalidnum|s|1)
exten = _1877NXXXXXX,2,Goto(invalidnum|s|1)
exten = _1866NXXXXXX,2,Goto(invalidnum|s|1)
exten = _1855NXXXXXX,2,Goto(invalidnum|s|1)
; no X00 NPA
exten = _1X00XXXXXXX,2,Goto(invalidnum|s|1)
; no X11 NPA
exten = _1X11XXXXXXX,2,Goto(invalidnum|s|1)
; no X11 
exten = _X11,2,Goto(invalidnum|s|1)
; no 555 Prefix in any NPA
exten = _1NXX555XXXX,2,Goto(invalidnum|s|1)
; no 976 Prefix in any NPA
exten = _1NXX976XXXX,2,Goto(invalidnum|s|1)
; no NPA=809
exten = _1809XXXXXXX,2,Goto(invalidnum|s|1)
; no NPA=900
exten = _1900XXXXXXX,2,Goto(invalidnum|s|1)
&amp;nbsp;
; okay, route it
exten = _1NXXXXXXXXX,2,Goto(pstn-out|${EXTEN:1}|1)
exten = _X.,2,Goto(invalidnum|s|1)
&amp;nbsp;
[my-ip]
exten = s,1,Set(MYADDR=${CURL(http://myip.vg)})
exten = s,2,Wait,1
exten = s,3,SayAlpha(${MYADDR})
exten = s,4,Hangup
&amp;nbsp;
[allstar-sys]
exten =&amp;gt; _1.,1,Rpt(${EXTEN:1}|Rrpt/node:NODE:rpt/in-call:digits/0:PARKED|120)
exten =&amp;gt; _1.,n,Hangup
&amp;nbsp;
exten =&amp;gt; _2.,1,Ringing
exten =&amp;gt; _2.,n,Wait(3)
exten =&amp;gt; _2.,n,Answer
exten =&amp;gt; _2.,n,Playback(rpt/node)
exten =&amp;gt; _2.,n,Saydigits(${EXTEN:1})
exten =&amp;gt; _2.,n,Rpt(${EXTEN:1}|P|${CALLERID(name)}-P)
exten =&amp;gt; _2.,n,Hangup
&amp;nbsp;
exten =&amp;gt; _3.,1,Ringing
exten =&amp;gt; _3.,n,Wait(3)
exten =&amp;gt; _3.,n,Answer
exten =&amp;gt; _3.,n,Playback(rpt/node)
exten =&amp;gt; _3.,n,Saydigits(${EXTEN:1})
exten =&amp;gt; _3.,n,Rpt(${EXTEN:1}|Pv|${CALLERID(name)}-P)
exten =&amp;gt; _3.,n,Hangup
&amp;nbsp;
exten =&amp;gt; _4.,1,Ringing
exten =&amp;gt; _4.,n,Wait(3)
exten =&amp;gt; _4.,n,Answer
exten =&amp;gt; _4.,n,Playback(rpt/node)
exten =&amp;gt; _4.,n,Saydigits(${EXTEN:1})
exten =&amp;gt; _4.,n,Rpt(${EXTEN:1}|D|${CALLERID(name)}-P)
exten =&amp;gt; _4.,n,Hangup
&amp;nbsp;
exten =&amp;gt; _5.,1,Ringing
exten =&amp;gt; _5.,n,Wait(3)
exten =&amp;gt; _5.,n,Answer
exten =&amp;gt; _5.,n,Playback(rpt/node)
exten =&amp;gt; _5.,n,Saydigits(${EXTEN:1})
exten =&amp;gt; _5.,n,Rpt(${EXTEN:1}|Dv|${CALLERID(name)}-P)
exten =&amp;gt; _5.,n,Hangup
&amp;nbsp;
[allstar-public]
&amp;nbsp;
exten =&amp;gt; s,1,Ringing
exten =&amp;gt; s,n,Set(RESP=${CURL(https://register.allstarlink.org/cgi-bin/authwebphone.pl?${CALLERID(name)})})
exten =&amp;gt; s,n,Set(NODENUM=${CALLERID(number)})
exten =&amp;gt; s,n,GotoIf($[&amp;quot;${RESP:0:1}&amp;quot; = &amp;quot;?&amp;quot;]?hangit)
exten =&amp;gt; s,n,GotoIf($[&amp;quot;${RESP:0:1}&amp;quot; = &amp;quot;&amp;quot;]?hangit)
exten =&amp;gt; s,n,GotoIf($[&amp;quot;${RESP:0:5}&amp;quot; != &amp;quot;OHYES&amp;quot;]?hangit)
exten =&amp;gt; s,n,Set(CALLSIGN=${RESP:5})
exten =&amp;gt; s,n,Wait(3)
exten =&amp;gt; s,n,Playback(rpt/node|noanswer)
exten =&amp;gt; s,n,Saydigits(${NODENUM})
exten =&amp;gt; s,n,Set(CALLERID(name)=${CALLSIGN})
exten =&amp;gt; s,n,Set(CALLERID(num)=0)
exten =&amp;gt; s,n,Rpt(${NODENUM}|X)
exten =&amp;gt; s,n,Hangup
exten =&amp;gt; s,n(hangit),Answer
exten =&amp;gt; s,n(hangit),Wait(1)
exten =&amp;gt; s,n(hangit),Hangup
&amp;nbsp;
#includeifexists custom/extensions.conf&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
The next bit was more tricky on an old Debian &lt;code&gt;Buster&lt;/code&gt; ASL Beta image that hadn&amp;#039;t been updated/upgraded in a long time….
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;My configs&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;my_configs&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;851-74575&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;installing_dvswitch&quot;&gt;Installing DVswitch&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Installing DVSwitch was a bit convoluted, as my old version of the ASL Beta 2.0.0 wasn&amp;#039;t up to date… and needed some work to add necessary APT gpg keys, and adding the dvswitch repository.
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;apt-get update –allow-releaseinfo-change&lt;/code&gt; to accept the release name change
&lt;/p&gt;

&lt;p&gt;
Adding DVSwitch repository keys
&lt;/p&gt;

&lt;p&gt;
As root : 
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;apt-key adv&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--keyserver&lt;/span&gt; hkp:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;keyserver.ubuntu.com:&lt;span class=&quot;nu0&quot;&gt;80&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--recv-keys&lt;/span&gt; 0E98404D386FA1D9
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;apt-key adv&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--keyserver&lt;/span&gt; hkp:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;keyserver.ubuntu.com:&lt;span class=&quot;nu0&quot;&gt;80&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--recv-keys&lt;/span&gt; 6ED0E7B82643E131
&amp;nbsp;
curl &lt;span class=&quot;re5&quot;&gt;-s&lt;/span&gt; http:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;apt.allstarlink.org&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;repos&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;repo_signing.key &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;apt-key add&lt;/span&gt; - &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; apt update
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;wget&lt;/span&gt; http:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;dvswitch.org&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;buster
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;chmod&lt;/span&gt; +x buster
&amp;nbsp;
.&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;buster
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;apt-get update&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;apt-get install&lt;/span&gt; dvswitch&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Installing DVswitch&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;installing_dvswitch&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;74576-75305&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;configuring_dvswitch&quot;&gt;Configuring DVSwitch&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
The changes were made to the existing asterisk configs, as per the pdf document, then  DVSwitch was installed, and then the pdf document was followed again to make the necessary configs to:
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;/opt/Analog_Bridge/Analog_Bridge.ini&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
and 
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;/opt/MMDVM_Bridge/MMDVM_Bridge.ini&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
everything seemed to work okay - although there I think one of the UDP ports was initially wrong for the USRP traffic in &lt;code&gt;Analog_Bridge.ini&lt;/code&gt; and I had to double check by looking in 
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;/etc/asterisk/rpt.conf&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code php&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1999&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
rxchannel &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; USRP&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;127&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;0&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;0&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;1&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;34001&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;31001&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
and setting &lt;code&gt;Analog_Bridge.ini&lt;/code&gt; to match:
&lt;/p&gt;
&lt;pre class=&quot;code php&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;USRP&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
address &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; 127&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;0&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;0&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;1              
txPort &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;31001&lt;/span&gt;                        
rxPort &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;34001&lt;/span&gt;  &lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Configuring DVSwitch&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;configuring_dvswitch&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:5,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;75306-76058&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;testing&quot;&gt;Testing&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
I initially set the &lt;code&gt;MMDVM_Bridge&lt;/code&gt; to connect to Brandmeister and &lt;code&gt;Analog_Bridge&lt;/code&gt; to send traffic to TG2354429 (an ad hoc TG with my DMR ID).
&lt;/p&gt;

&lt;p&gt;
in the &lt;code&gt;asterisk CLI&lt;/code&gt; issue the command to link the main node &lt;code&gt;48148&lt;/code&gt; with the internal private node &lt;code&gt;1999&lt;/code&gt; to complete the bridge:
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;rpt cmd 2100 ilink 3 1999&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
transmit on the VHF FM input to the Gateway and listen on a DMR radio via my DMR hotspot connected to Brandmeister TG2354429 and the DMR radio sprang into life with my DMR ID….
&lt;/p&gt;

&lt;p&gt;
transmit on the DMR radio, via the hotspot to Brandmeister and the VHF FM handheld carried the audio from the DMR radio.
&lt;/p&gt;

&lt;p&gt;
I also tried setting &lt;code&gt;MMDVM_Bridge&lt;/code&gt; to connect to DVS-Ph F and used the &lt;code&gt;Options=TS2_1=842&lt;/code&gt; to set TG842 as static. Setting &lt;code&gt;Analog_Bridge&lt;/code&gt; to use TG 842 and once more the traffic was bi-directional Allstar ↔ DMR
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Testing&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;testing&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:7,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;76059-76918&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit9&quot; id=&quot;so_far_so_good&quot;&gt;So Far So Good&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
To boost the audio via the bridge &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/fixme.svg&quot; class=&quot;icon smiley&quot; alt=&quot;FIXME&quot; /&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;Analog_Bridge.ini&lt;/code&gt; to change from &lt;code&gt;AUDIO_UNITY&lt;/code&gt; to &lt;code&gt;AUDIO_USE_GAIN&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code php&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;USRP&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
address &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; 127&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;0&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;0&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;1                     
txPort &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;31001&lt;/span&gt;                         
rxPort &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;34001&lt;/span&gt;                       
usrpAudio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; AUDIO_USE_GAIN            
usrpGain &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;                        
&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;usrpAGC &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;                 
tlvAudio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; AUDIO_USE_GAIN                
tlvGain &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu19&quot;&gt;0.35&lt;/span&gt;                     &lt;/pre&gt;

&lt;p&gt;
I set the various DVSwitch things to be enabled or disabled:
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;systemctl &lt;span class=&quot;kw3&quot;&gt;enable&lt;/span&gt; asterisk
systemctl &lt;span class=&quot;kw3&quot;&gt;enable&lt;/span&gt; analog_bridge
systemctl disable md380-emu
systemctl &lt;span class=&quot;kw3&quot;&gt;enable&lt;/span&gt; mmdvm_bridge&lt;/pre&gt;

&lt;p&gt;
Later I found the other bridges available (P25, YSF, NXDN etc) were running, but not configured, so I used systemctl to disable them.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;So Far So Good&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;so_far_so_good&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:7,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;76919-77733&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit10&quot; id=&quot;allmon2_supermon&quot;&gt;Allmon2 / supermon&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
I added the new node &lt;code&gt;1999&lt;/code&gt; to allmon2 and supermon, so I can control/monitor the bridging via the web.
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;/var/www/html/allmon2/allmon.ini.php&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code php&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;48148&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
host&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;127&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;0&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;0&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;1&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5038&lt;/span&gt;
user&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;admin
passwd&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;xxxx
nomenu&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;no
hideNodeURL&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;no
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1999&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
host&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;127&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;0&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;0&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;1&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5038&lt;/span&gt;
user&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;admin
passwd&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;XXXX
nomenu&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;no
hideNodeURL&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;no
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Grouped Nodes&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
nodes&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;48148&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1999&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;lsNodes&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
url &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;/cgi-bin/lsnodes_web?node=48148&amp;quot;&lt;/span&gt;
&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;url &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;/cgi-bin/lsnodes_web?node=481480&amp;quot;&lt;/span&gt;
menu &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; yes&lt;/pre&gt;

&lt;p&gt;
&lt;code&gt;/var/www/html/supermon/allmon.ini&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code php&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;48148&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
host &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; 127&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;0&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;0&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;1&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5038&lt;/span&gt;
user &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; admin
passwd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; XXXX
menu &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; yes
hideNodeURL &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; no
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1999&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
host &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; 127&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;0&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;0&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;1&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5038&lt;/span&gt;
user &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; admin
passwd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; XXXX
menu &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; yes
hideNodeURL &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; no
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;All Nodes&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
nodes &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48148&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1999&lt;/span&gt;
menu &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; yes&lt;/pre&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 03/06/25 17:55 BST&lt;/em&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Allmon2 \/ supermon&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;allmon2_supermon&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:9,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;77734-78547&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit11&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:allstar&amp;amp;do=showtag&amp;amp;tag=allstar&quot; class=&quot;wikilink1&quot; title=&quot;tag:allstar&quot; rel=&quot;tag&quot;&gt;allstar&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:mmdvm&amp;amp;do=showtag&amp;amp;tag=mmdvm&quot; class=&quot;wikilink1&quot; title=&quot;tag:mmdvm&quot; rel=&quot;tag&quot;&gt;mmdvm&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dvswitch&amp;amp;do=showtag&amp;amp;tag=dvswitch&quot; class=&quot;wikilink1&quot; title=&quot;tag:dvswitch&quot; rel=&quot;tag&quot;&gt;dvswitch&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:11,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;78548-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 18:47:10 +0000</pubDate>
        </item>
        <item>
            <title>CA65 Setup</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:6502:ca65_setup</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:6502:start&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:6502:start&quot; data-wiki-id=&quot;public:computers:archive:6502:start&quot;&gt;6502 Project&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;ca65_setup&quot;&gt;CA65 Setup&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt; Using CA65 in place of VASM &lt;/strong&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;CA65 Setup&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;ca65_setup&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-77&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;support_files&quot;&gt;Support Files&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; firmware.cfg&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code&quot;&gt;MEMORY
{
# Zero page
  ZP: start = $00, size = $100, type = rw, define = yes;
  RAM: start = $200, size = $3dff define=yes;
  ROM:       start=$8000, size=$8000, type=ro, define=yes, fill=yes,   fillval=$00, file=%O;
}

SEGMENTS
{
  ZEROPAGE: load = ZP,             type = zp;
  BSS:        load=RAM,       type=bss, define=yes;
  
  CODE:      load=ROM,       type=ro,  define=yes;
  VECTORS:   load=ROM,       type=ro,  define=yes,   offset=$7ffa, optional=yes;
}&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; cc65.rules.mk&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code makefile&quot;&gt;include /home/gm4slv/6502/ca65src/tools.mk
&amp;nbsp;
BUILD_FOLDER=../build
TEMP_FOLDER=$(BUILD_FOLDER)/$(ROM_NAME)
ROM_FILE=$(BUILD_FOLDER)/$(ROM_NAME).bin
MAP_FILE=$(TEMP_FOLDER)/$(ROM_NAME).map
&amp;nbsp;
ASM_OBJECTS=$(ASM_SOURCES:%.s=$(TEMP_FOLDER)/%.o)
&amp;nbsp;
# Compile assembler sources
$(TEMP_FOLDER)/%.o: %.s
	@$(MKDIR_BINARY) $(MKDIR_FLAGS) $(TEMP_FOLDER)
	$(CA65_BINARY) $(CA65_FLAGS) -o $@ -l $(@:.o=.lst) $&amp;lt;
&amp;nbsp;
# Link ROM image
$(ROM_FILE): $(ASM_OBJECTS) $(FIRMWARE_CFG)
	@$(MKDIR_BINARY) $(MKDIR_FLAGS) $(BUILD_FOLDER)
	$(LD65_BINARY) $(LD65_FLAGS) -C $(FIRMWARE_CFG) -o $@ -m $(MAP_FILE) $(ASM_OBJECTS)
&amp;nbsp;
# Default target
all: $(ROM_FILE)
&amp;nbsp;
# Build and dump output
test: $(ROM_FILE)
	$(HEXDUMP_BINARY) $(HEXDUMP_FLAGS) $&amp;lt;
	$(MD5_BINARY) $&amp;lt;
&amp;nbsp;
# Clean build artifacts
clean:
	$(RM_BINARY) -f $(ROM_FILE) \
	$(MAP_FILE) \
	$(ASM_OBJECTS) \
	$(ASM_OBJECTS:%.o=%.lst)&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; tools.mk&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code&quot;&gt;# cc65 utilities used in this example
CA65_BINARY=ca65
CC65_BINARY=cc65
LD65_BINARY=ld65
AR65_BINARY=ar65

VASM_BINARY=vasm6502_oldstyle

CPU_FLAG=--cpu 65C02
ARCH_FLAG=-t none

CC65_FLAGS=$(CPU_FLAG) $(ARCH_FLAG) $(EXTRA_FLAGS) -O
CA65_FLAGS=$(CPU_FLAG) $(EXTRA_FLAGS)
LD65_FLAGS=
AR65_FLAGS=r

VASM_FLAGS=-Fbin -dotdir

# Hexdump is used for &amp;quot;testing&amp;quot; the ROM
HEXDUMP_BINARY=hexdump
HEXDUMP_FLAGS=-C

# Checksum generator
MD5_BINARY=md5sum

# Standard utilities (rm/mkdir)
RM_BINARY=rm
RM_FLAGS=-f
MKDIR_BINARY=mkdir
MKDIR_FLAGS=-p
CP_BINARY=cp
CP_FLAGS=-f
&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; project &lt;code&gt;makefile&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code&quot;&gt;CONF_DIR=/home/gm4slv/6502/ca65src

ROM_NAME=monitor_dev

ASM_SOURCES=monitor_dev.s

FIRMWARE_CFG=$(CONF_DIR)/firmware.cfg

include $(CONF_DIR)/cc65.rules.mk
&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Support Files&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;support_files&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;78-2289&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;a_typical_project&quot;&gt;A typical project&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;A typical project&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;a_typical_project&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;2290-2320&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;monitor_devs_setup&quot;&gt;monitor_dev.s setup&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Put the asm source for the project in a folder (&lt;code&gt;/home/gm4slv/6502/ca65src/src/monitor/monitor_dev.s&lt;/code&gt;)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Put the &lt;code&gt;makefile&lt;/code&gt; in the same folder&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; put any source files to be included in the assembly process in the &lt;code&gt;includes&lt;/code&gt; folder&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;/home/gm4slv/6502/ca65src/src/includes/rtc.inc&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;/home/gm4slv/6502/ca65src/src/includes/ioports.inc&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; make a &lt;code&gt;build&lt;/code&gt; main folder &lt;code&gt;/home/gm4slv/6502/ca65src/build/&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
The general tree:
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;/home/gm4slv/6502/ca65src/&lt;/code&gt; = base folder for ca65 projects aka &lt;code&gt;$CA65SRC&lt;/code&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; config files : firmware.cfg, cc65.rules.mk, tools.mk are in &lt;code&gt;$(CA65SRC)&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; sources directory : &lt;code&gt;src&lt;/code&gt; is in &lt;code&gt;$(CA65SRC)&lt;/code&gt; → &lt;code&gt;$(CA65SRC)/src&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; inside sources directory are &lt;code&gt;build&lt;/code&gt;, &lt;code&gt;includes&lt;/code&gt; and the individual project source directories. &lt;code&gt;$(CA65SRC)/src/build/&lt;/code&gt;, &lt;code&gt;$(CA65SRC)/src/includes/&lt;/code&gt; and (eg) &lt;code&gt;$(CA65SRC)/src/monitor/&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; inside each &lt;code&gt;project&lt;/code&gt; source directory are the asm source file eg &lt;code&gt;monitor_dev.s&lt;/code&gt; and a specific &lt;code&gt;makefile&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
To include sources from the &lt;code&gt;includes&lt;/code&gt; directory first define the variables, then the includes
:
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;variables&quot;&gt;Variables&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
define &lt;code&gt;zeropage&lt;/code&gt; variables:
&lt;/p&gt;
&lt;pre class=&quot;code asm&quot;&gt;&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;zeropage
&amp;nbsp;
DUMP_POINTER&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;     &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
FLAGS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;            &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
TOGGLE_TIME&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;      &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
CLOCK_LAST&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;       &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
MESSAGE_POINTER&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
TICKS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;            &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;
CENTISEC&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;         &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
HUNDRED_HRS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;      &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
TEN_HRS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;          &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
HRS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;              &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
TEN_MINUTES&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;      &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
MINUTES&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;          &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
TEN_SECONDS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;      &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
SECONDS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;          &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
MEM_POINTER&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;      &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
and define the other &lt;code&gt;.bss&lt;/code&gt; variables:
&lt;/p&gt;
&lt;pre class=&quot;code asm&quot;&gt;&lt;span class=&quot;kw5&quot;&gt;.bss&lt;/span&gt;
&amp;nbsp;
INKEY&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;            &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
ASCII&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;            &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;
&lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;             &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
TENS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;             &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
HUNDREDS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;         &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
HEX&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;              &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
HEXB&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;             &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
TEMP&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;             &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
TEMP2&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;            &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
Then the &lt;code&gt;includes&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code asm&quot;&gt;  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;include &lt;span class=&quot;st0&quot;&gt;&amp;quot;../includes/ioports.inc&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;include &lt;span class=&quot;st0&quot;&gt;&amp;quot;../includes/lcd.inc&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;include &lt;span class=&quot;st0&quot;&gt;&amp;quot;../includes/getkey.inc&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;include &lt;span class=&quot;st0&quot;&gt;&amp;quot;../includes/functions.inc&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;include &lt;span class=&quot;st0&quot;&gt;&amp;quot;../includes/rtc.inc&amp;quot;&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
make sure the &lt;code&gt;include&lt;/code&gt; files have appropriate &lt;code&gt;.code&lt;/code&gt; directive to put it in the right place when its all assembled together:
&lt;/p&gt;

&lt;p&gt;
e.g. in &lt;code&gt;functions.inc&lt;/code&gt;:
&lt;/p&gt;
&lt;pre class=&quot;code asm&quot;&gt; &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw5&quot;&gt;code&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;          convert a binary number from Accumulator, in range 00000000 -&amp;gt; 11111111 ($00 to $FF)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;          to its HEX number encode as ASCII -  using a simple lookup table and print it on LCD&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
bintohex&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  pha
  lsr
  lsr
  lsr
  lsr
  tax
  lda hexascii&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;x
  jsr print_char
  pla
  &lt;span class=&quot;kw1&quot;&gt;and&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0f&lt;/span&gt;
  tax
  lda hexascii&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;x
  jsr print_char
  rts
&amp;nbsp;
hexascii&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;byte&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0123456789ABCDEF&amp;quot;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;monitor_dev.s setup&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;monitor_devs_setup&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;2321-5090&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;monitor_devs_source_code&quot;&gt;monitor_dev.s source code&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_965e507a710981562292fc5a230a5c5c_36&quot;&gt;monitor_dev.s &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_965e507a710981562292fc5a230a5c5c_36&quot;&gt;&lt;pre class=&quot;code asm&quot;&gt;&amp;nbsp;
&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;localchar &lt;span class=&quot;st0&quot;&gt;&#039;@&#039;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;.SEGMENT &amp;quot;ZEROPAGE&amp;quot;&lt;/span&gt;
&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;zeropage
&amp;nbsp;
DUMP_POINTER&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;     &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
FLAGS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;            &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
TOGGLE_TIME&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;      &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
CLOCK_LAST&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;       &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
MESSAGE_POINTER&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
TICKS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;            &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;
CENTISEC&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;         &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
HUNDRED_HRS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;      &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
TEN_HRS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;          &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
HRS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;              &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
TEN_MINUTES&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;      &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
MINUTES&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;          &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
TEN_SECONDS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;      &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
SECONDS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;          &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
MEM_POINTER&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;      &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;.SEGMENT &amp;quot;BSS&amp;quot;&lt;/span&gt;
&lt;span class=&quot;kw5&quot;&gt;.bss&lt;/span&gt;
&amp;nbsp;
INKEY&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;            &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
ASCII&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;            &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;
&lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;             &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
TENS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;             &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
HUNDREDS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;         &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
HEX&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;              &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
HEXB&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;             &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
TEMP&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;             &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
TEMP2&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;            &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;include &lt;span class=&quot;st0&quot;&gt;&amp;quot;../includes/ioports.inc&amp;quot;&lt;/span&gt;
&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;include &lt;span class=&quot;st0&quot;&gt;&amp;quot;../includes/lcd.inc&amp;quot;&lt;/span&gt;
&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;include &lt;span class=&quot;st0&quot;&gt;&amp;quot;../includes/getkey.inc&amp;quot;&lt;/span&gt;
&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;include &lt;span class=&quot;st0&quot;&gt;&amp;quot;../includes/functions.inc&amp;quot;&lt;/span&gt;
&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;include &lt;span class=&quot;st0&quot;&gt;&amp;quot;../includes/rtc.inc&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw5&quot;&gt;code&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
reset&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  ldx #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;ff
  txs
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;cli&lt;/span&gt;      &lt;span class=&quot;co1&quot;&gt;; interrupts ON&lt;/span&gt;
&amp;nbsp;
  jsr via_1_init &lt;span class=&quot;co1&quot;&gt;; set-up VIA_1 for LCD/Keypad &lt;/span&gt;
  jsr lcd_init &lt;span class=&quot;co1&quot;&gt;; set-up 4-bit mode &lt;/span&gt;
  jsr lcd_start &lt;span class=&quot;co1&quot;&gt;; set-up various features of lcd &lt;/span&gt;
&amp;nbsp;
init_variables&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  stz TICKS
  stz TICKS &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  stz TICKS &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
  stz TICKS &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;
  stz DUMP_POINTER
  stz DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  stz MESSAGE_POINTER
  stz MESSAGE_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  stz TOGGLE_TIME
  stz CLOCK_LAST
  stz CENTISEC
  stz FLAGS
  stz SECONDS
  stz TEN_SECONDS
  stz MINUTES
  stz HRS
  stz TEN_HRS
  stz TEN_MINUTES
  stz HUNDRED_HRS
  stz TEMP
  stz TEMP2
  stz TENS  
  stz MEM_POINTER
  stz MEM_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;; test then clear RAM between &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; $0200 - $3FFF - avoids the ZP and STACK areas&lt;/span&gt;
&amp;nbsp;
ram_clear&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;02&lt;/span&gt;            &lt;span class=&quot;co1&quot;&gt;; start at $0200&lt;/span&gt;
  sta MEM_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  ldy #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
loop_ram&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;AA
  sta &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;MEM_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  lda #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;FF
  lda &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;MEM_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;AA
  bne mem_fail_1
  lda #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;55&lt;/span&gt;
  sta &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;MEM_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  lda #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;FF
  lda &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;MEM_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;55&lt;/span&gt;
  bne mem_fail_2
  lda #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
  sta &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;MEM_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  iny
  beq next_page
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; loop_ram
next_page&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda MEM_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;inc&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;40&lt;/span&gt;
  beq done_ram
  sta MEM_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; loop_ram
&amp;nbsp;
&amp;nbsp;
done_ram&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  lda #&amp;lt;mem_pass_msg
  sta MESSAGE_POINTER
  lda #&amp;gt;mem_pass_msg
  sta MESSAGE_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr print 
  smb5 FLAGS
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;loop&lt;/span&gt;
&amp;nbsp;
mem_fail_1&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&amp;lt;mem_fail_msg_1
  sta MESSAGE_POINTER
  lda #&amp;gt;mem_fail_msg_1
  sta MESSAGE_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr print
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;loop&lt;/span&gt;
&amp;nbsp;
mem_fail_2&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&amp;lt;mem_fail_msg_2
  sta MESSAGE_POINTER
  lda #&amp;gt;mem_fail_msg_2
  sta MESSAGE_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr print
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;loop&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;; go straight to MONITOR at startup&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  lda #&amp;lt;splash&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  sta MESSAGE_POINTER&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  lda #&amp;gt;splash&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  sta MESSAGE_POINTER + 1&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  jsr new_address&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;; main loop&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;loop&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  wai
  jsr check_flags
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;loop&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;; FUNCTIONS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
check_flags&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  bbs0 FLAGS&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt; update_block_address
  bbs5 FLAGS&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt; clock_time
  &lt;span class=&quot;co1&quot;&gt;; check other flags... other actions....&lt;/span&gt;
  rts
&amp;nbsp;
update_block_address&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  sec
  lda TICKS
  sbc TOGGLE_TIME
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;32&lt;/span&gt;
  bcc exit_update_block
  jsr block_address
  lda TICKS
  sta TOGGLE_TIME
&amp;nbsp;
exit_update_block&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  rts
&amp;nbsp;
&amp;nbsp;
clock_time&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  sec
  lda TICKS
  sbc CLOCK_LAST
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;32&lt;/span&gt;
  bcc exit_clock
&amp;nbsp;
  jsr lcd_cursor_off
&amp;nbsp;
  jsr lcd_home
&amp;nbsp;
  lda HUNDRED_HRS
  jsr bintoascii
  lda TEN_HRS
  jsr bintoascii
  lda HRS
  jsr bintoascii
  lda #&lt;span class=&quot;st0&quot;&gt;&#039;:&#039;&lt;/span&gt;
  jsr print_char
  lda TEN_MINUTES
  jsr bintoascii
  lda MINUTES
  jsr bintoascii
  lda #&lt;span class=&quot;st0&quot;&gt;&#039;:&#039;&lt;/span&gt;
  jsr print_char
  lda TEN_SECONDS
  jsr bintoascii
  lda SECONDS
  jsr bintoascii
  lda #&lt;span class=&quot;st0&quot;&gt;&#039; &#039;&lt;/span&gt;
  jsr print_char
  lda TICKS
  sta CLOCK_LAST
exit_clock&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  rts
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;      update screen when new memory location is selected&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
new_address&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  jsr lcd_clear
&amp;nbsp;
  jsr lcd_cursor_on
&amp;nbsp;
&amp;nbsp;
print_address&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&lt;span class=&quot;st0&quot;&gt;&#039;$&#039;&lt;/span&gt;
  jsr print_char
  lda DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr bintohex
  lda DUMP_POINTER
  jsr bintohex
&amp;nbsp;
  lda #&lt;span class=&quot;st0&quot;&gt;&#039; &#039;&lt;/span&gt;
  jsr print_char
&amp;nbsp;
print_data&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  ldy #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
&amp;nbsp;
  lda &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;DUMP_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  jsr bintohex
  lda #&lt;span class=&quot;st0&quot;&gt;&#039; &#039;&lt;/span&gt;
  jsr print_char
  lda &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;DUMP_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  jsr print_char
&amp;nbsp;
message_end&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  jsr print   &lt;span class=&quot;co1&quot;&gt;; add second line (cursor) after re-writing the top line&lt;/span&gt;
  rts
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; display 8 bytes of data for a &amp;quot;block&amp;quot; of memory&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
block_address&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  jsr lcd_clear
&amp;nbsp;
  ldy #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
&amp;nbsp;
print_block_address&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&lt;span class=&quot;st0&quot;&gt;&#039;$&#039;&lt;/span&gt;
  jsr print_char
  lda DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr bintohex
  lda DUMP_POINTER
  jsr bintohex
&amp;nbsp;
  jsr lcd_line_2
&amp;nbsp;
print_block&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  lda &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;DUMP_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  jsr bintohex
  lda &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;DUMP_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  iny
  cpy #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;08&lt;/span&gt;
  bne print_block
&amp;nbsp;
&amp;nbsp;
block_message_end&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  rts
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; re-draw line 2 cursor&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
print&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  jsr lcd_line_2
&amp;nbsp;
  ldy #&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
line1&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;MESSAGE_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  beq end_print
  jsr print_char
  iny
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; line1
&amp;nbsp;
end_print&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  rts
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;      Monitor function - decrement the selected address &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
decrement_address&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  sec
  lda DUMP_POINTER
  sbc #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;01&lt;/span&gt;
  sta DUMP_POINTER
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
  lda DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sbc #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
  sta DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
dec_ok&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  rts
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;      Monitor function - increment the selected address &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
increment_address&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;clc&lt;/span&gt;
  lda DUMP_POINTER
  &lt;span class=&quot;kw1&quot;&gt;adc&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;01&lt;/span&gt;
  sta DUMP_POINTER
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
  bcc inc_ok
  &lt;span class=&quot;kw1&quot;&gt;inc&lt;/span&gt; DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  lda DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
inc_ok&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  rts
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;      Monitor function - increment the selected block of  addresses by 8 &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
increment_block&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;clc&lt;/span&gt;
  lda DUMP_POINTER
  &lt;span class=&quot;kw1&quot;&gt;adc&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;08&lt;/span&gt;
  sta DUMP_POINTER
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
  lda DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;adc&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
  sta DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  rts
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;      Monitor function - decrement the selected block of  addresses by 8 &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
decrement_block&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  sec
  lda DUMP_POINTER
  sbc #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;08&lt;/span&gt;
  sta DUMP_POINTER
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
  lda DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sbc #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
  sta DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  rts
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;          use last 4 entered ASCII characters from the keypad and convert &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;          them to TWO 8-bit binary bytes in RAM&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
ascii_byte&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  lda ASCII &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
  jsr ascii_bin
  &lt;span class=&quot;kw1&quot;&gt;clc&lt;/span&gt;
  asl
  asl
  asl
  asl
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
&amp;nbsp;
  lda ASCII
&amp;nbsp;
  jsr ascii_bin
  ora &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
&amp;nbsp;
  lda ASCII &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;
  jsr ascii_bin
  &lt;span class=&quot;kw1&quot;&gt;clc&lt;/span&gt;
  asl
  asl
  asl
  asl
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
  lda ASCII &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
&amp;nbsp;
  jsr ascii_bin
  ora &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  rts
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;    toggle the display/update of Clock on each appropriate keypress&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
show_clock&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  bbs5 FLAGS&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt; reset_bit5
  smb5 FLAGS
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_show_clock
&amp;nbsp;
reset_bit5&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  rmb5 FLAGS
&amp;nbsp;
exit_show_clock&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  rts
  &lt;span class=&quot;co1&quot;&gt;;jmp debounce&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;    toggle the automatic update view of the &amp;quot;8-byte memory block&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
show_block&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  bbs0 FLAGS&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt; reset_bit0
  smb0 FLAGS
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_show_block
&amp;nbsp;
reset_bit0&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  rmb0 FLAGS
&amp;nbsp;
exit_show_block&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  rts
  &lt;span class=&quot;co1&quot;&gt;;jmp debounce&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;debounce:&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  ldx #$ff&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  ldy #$ff&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;delay:&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  nop&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  dex&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  bne delay&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  dey&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  bne delay&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  rts  &lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;; INTERRUPT HANDLERS ;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;      CB1 : reset &amp;amp; restart timer&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
cb1_handler&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  stz HUNDRED_HRS
  stz TEN_HRS
  stz TEN_MINUTES
  stz TEN_SECONDS
  stz HRS
  stz MINUTES
  stz SECONDS
&amp;nbsp;
  smb5 FLAGS
&amp;nbsp;
  rts
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;     CB2 : lap-time pause timer&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
cb2_handler&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  jsr show_clock
  rts
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;                    MONITOR / KEYPAD &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
keypad_handler&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  jsr get_key     &lt;span class=&quot;co1&quot;&gt;; READs from PORTA which also re-sets VIA&#039;s Interrupt flag&lt;/span&gt;
  sta INKEY       &lt;span class=&quot;co1&quot;&gt;; put the ASCII value of input into RAM ( $00 ) &lt;/span&gt;
&amp;nbsp;
  lda PORTB_1       &lt;span class=&quot;co1&quot;&gt;; check for SHIFT/INSTRUCTION button&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;and&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;%10000000&lt;/span&gt;
  beq check_keypress &lt;span class=&quot;co1&quot;&gt;; done this way to get around the limit in size of branch jumps....&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; handle_new_char
&amp;nbsp;
check_keypress&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda INKEY       
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;; choose action of &amp;quot;SHIFTed&amp;quot; key-press&lt;/span&gt;
check_a&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;A&#039;&lt;/span&gt;
  &lt;span class=&quot;co1&quot;&gt;; move up one memory address and display contents&lt;/span&gt;
  bne check_b     
  jsr increment_address
  jsr new_address
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_b&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;B&#039;&lt;/span&gt;
  &lt;span class=&quot;co1&quot;&gt;; move down one memory address and display contents&lt;/span&gt;
  bne check_c
  jsr decrement_address
  jsr new_address
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_c&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;C&#039;&lt;/span&gt;
  &lt;span class=&quot;co1&quot;&gt;; return to MONITOR&lt;/span&gt;
  bne check_d
  rmb5 FLAGS
  jsr lcd_clear
  lda #&amp;lt;splash
  sta MESSAGE_POINTER
  lda #&amp;gt;splash
  sta MESSAGE_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
  jsr new_address
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_d&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;D&#039;&lt;/span&gt;
  &lt;span class=&quot;co1&quot;&gt;; move monitor to entered 4-digit memory address&lt;/span&gt;
  bne check_e
  lda &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
  sta DUMP_POINTER
  lda &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sta DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr new_address
  jsr print
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_e&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;E&#039;&lt;/span&gt;
  &lt;span class=&quot;co1&quot;&gt;; insert (POKE) byte of data in to current memory address, then increment to next address&lt;/span&gt;
  bne check_f
  lda &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
  ldy #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
  sta &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;DUMP_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  jsr increment_address
  jsr new_address
  jsr print
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_f&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;F&#039;&lt;/span&gt;
  &lt;span class=&quot;co1&quot;&gt;; show 8-byte wide block of memory&lt;/span&gt;
  bne check_1
  ldy #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
  lda &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
  sta DUMP_POINTER
  lda &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sta DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr block_address
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_1&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;1&#039;&lt;/span&gt;
  &lt;span class=&quot;co1&quot;&gt;; show/auto-update clock&lt;/span&gt;
  bne check_3
  jsr lcd_clear
  lda #&amp;lt;emt
  sta MESSAGE_POINTER
  lda #&amp;gt;emt
  sta MESSAGE_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr print
  smb5 FLAGS
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;;jsr show_clock&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_3&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;3&#039;&lt;/span&gt;
  bne check_6
  ldy #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
  jsr increment_block
  jsr block_address
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_6&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;6&#039;&lt;/span&gt;
  bne check_9
  ldy #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
  jsr decrement_block
  jsr block_address
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_9&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;9&#039;&lt;/span&gt;
  bne check_4
  jsr show_block
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_4&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;4&#039;&lt;/span&gt;
  bne check_5
  lda &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
  sta HEXB
  lda &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sta HEXB &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr byte_to_hex
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_5&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;5&#039;&lt;/span&gt;
  bne exit_key_irq
  jsr &lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;3F00
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
&amp;nbsp;
handle_new_char&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda ASCII &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
  sta ASCII &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;
  lda ASCII &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sta ASCII &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
  lda ASCII
  sta ASCII &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  lda INKEY       &lt;span class=&quot;co1&quot;&gt;; get the new ASCII keypress value and... &lt;/span&gt;
  sta ASCII
  jsr print_char  &lt;span class=&quot;co1&quot;&gt;; and print it on LCD&lt;/span&gt;
&amp;nbsp;
  jsr ascii_byte  &lt;span class=&quot;co1&quot;&gt;; convert the rolling 4-byte ASCII character data into two binary bytes&lt;/span&gt;
&amp;nbsp;
exit_key_irq&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
  jsr scan  &lt;span class=&quot;co1&quot;&gt;; re-enable keypad&lt;/span&gt;
&amp;nbsp;
  rts
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&amp;nbsp;
nmi&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  rti
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;    interrupt is triggered by HIGH edge on VIA CA1 pin&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;     PORTA low nibble (keypad columns) inputs are diode ORed to CA1&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
irq&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;; put registers on the stack while handling the IRQ&lt;/span&gt;
  pha
  phx
  phy
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;  find responsible hardware&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;  Is it VIA_1?&lt;/span&gt;
&amp;nbsp;
  lda IFR_1   &lt;span class=&quot;co1&quot;&gt;; if IFR_1 has Bit7 set (ie sign=NEGATIVE) then it IS the source of the interrupt&lt;/span&gt;
  &lt;span class=&quot;kw4&quot;&gt;bpl&lt;/span&gt; next_device &lt;span class=&quot;co1&quot;&gt;; if it&#039;s not set (ie sign=POSITIVE) then branch to test the next possible device&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; IFR Flags&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; B7  B6  B5  B4  B3  B2  B1  B0&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; IRQ TI1 TI2 CB1 CB2 SR CA1 CA2&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; Interrupt source is found by sequentially shifting IFR bit left to put bit-of-interest into the CARRY place&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; and then branching based on whether CARRY is SET or not&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; Only add tests for IRQ sources in use, and adjust the ASLs in each test as necessary&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&amp;nbsp;
test_timer1&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  asl           &lt;span class=&quot;co1&quot;&gt;; shift IFR left twice puts the TI1 bit into CARRY....&lt;/span&gt;
  asl
  bcc test_cb1  &lt;span class=&quot;co1&quot;&gt;; carry clear = next test&lt;/span&gt;
  bit T1CL_1      &lt;span class=&quot;co1&quot;&gt;; clear not clear = handle the TIMER interrupt&lt;/span&gt;
  jsr rtc
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_irq
&amp;nbsp;
test_cb1&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  asl
  asl
  bcc test_cb2
  bit PORTB_1
  jsr cb1_handler
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_irq
&amp;nbsp;
test_cb2&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  asl
  bcc test_ca1
  bit PORTB_1
  jsr cb2_handler
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_irq
&amp;nbsp;
test_ca1&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  asl           &lt;span class=&quot;co1&quot;&gt;; shift CA1 bit into the CARRY bit &amp;amp; test&lt;/span&gt;
  asl
  bcc exit_irq        &lt;span class=&quot;co1&quot;&gt;; carry clear = leave&lt;/span&gt;
  jsr keypad_handler  &lt;span class=&quot;co1&quot;&gt;; carry not clear = handle the CA1 interrupt (keypad)&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_irq
&amp;nbsp;
&amp;nbsp;
next_device&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
exit_irq&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  ply
  plx
  pla
&amp;nbsp;
&amp;nbsp;
  rti
&amp;nbsp;
emt&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;asciiz &lt;span class=&quot;st0&quot;&gt;&amp;quot;hhh mm ss  MET&amp;quot;&lt;/span&gt;
splash&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;asciiz &lt;span class=&quot;st0&quot;&gt;&amp;quot;cmon&amp;gt; &amp;quot;&lt;/span&gt;
error_message&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;asciiz &lt;span class=&quot;st0&quot;&gt;&amp;quot;Not Decimal&amp;quot;&lt;/span&gt;
mem_pass_msg&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;asciiz &lt;span class=&quot;st0&quot;&gt;&amp;quot;RAM Test Pass&amp;quot;&lt;/span&gt;
mem_fail_msg_1&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;asciiz &lt;span class=&quot;st0&quot;&gt;&amp;quot;RAM Test 1 Fail&amp;quot;&lt;/span&gt;
mem_fail_msg_2&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;asciiz &lt;span class=&quot;st0&quot;&gt;&amp;quot;RAM Test 2 Fail&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;; Reset/IRQ vectors&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw5&quot;&gt;segment&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;VECTORS&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;word&lt;/span&gt; nmi
  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;word&lt;/span&gt; reset
  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;word&lt;/span&gt; irq&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_965e507a710981562292fc5a230a5c5c_37&quot;&gt;ioports.inc &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_965e507a710981562292fc5a230a5c5c_37&quot;&gt;&lt;pre class=&quot;code asm&quot;&gt;  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw5&quot;&gt;code&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;; VIA_1 Port addresses&lt;/span&gt;
VIA_1     = &lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6000&lt;/span&gt;
PORTB_1   = VIA_1
PORTA_1   = VIA_1 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
DDRB_1    = VIA_1 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
DDRA_1    = VIA_1 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;
T1CL_1    = VIA_1 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;
T1CH_1    = VIA_1 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;
T1LL_1    = VIA_1 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;
T1LH_1    = VIA_1 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;
T2CL_1    = VIA_1 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;
T2CH_1    = VIA_1 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt;
SR_1      = VIA_1 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
ACR_1     = VIA_1 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt;
PCR_1     = VIA_1 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;
IFR_1     = VIA_1 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;13&lt;/span&gt;
IER_1     = VIA_1 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt;
PORTA_NO_HS_1 = VIA_1 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;; VIA_2 Port addresses&lt;/span&gt;
VIA_2     = &lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5000&lt;/span&gt;
PORTB_2   = VIA_2
PORTA_2   = VIA_2 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
DDRB_2    = VIA_2 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
DDRA_2    = VIA_2 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;
T1CL_2    = VIA_2 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;
T1CH_2    = VIA_2 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;
T1LL_2    = VIA_2 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;
T1LH_2    = VIA_2 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;
T2CL_2    = VIA_2 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;
T2CH_2    = VIA_2 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt;
SR_2      = VIA_2 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
ACR_2     = VIA_2 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt;
PCR_2     = VIA_2 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;
IFR_2     = VIA_2 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;13&lt;/span&gt;
IER_2     = VIA_2 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt;
PORTA_NO_HS_2 = VIA_2 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;; VIA_3 Port addresses&lt;/span&gt;
VIA_3     = &lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4800&lt;/span&gt;
PORTB_3   = VIA_3
PORTA_3   = VIA_3 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
DDRB_3    = VIA_3 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
DDRA_3    = VIA_3 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;
T1CL_3    = VIA_3 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;
T1CH_3    = VIA_3 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;
T1LL_3    = VIA_3 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;
T1LH_3    = VIA_3 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;
T2CL_3    = VIA_3 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;
T2CH_3    = VIA_3 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt;
SR_3      = VIA_3 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
ACR_3     = VIA_3 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt;
PCR_3     = VIA_3 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;
IFR_3     = VIA_3 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;13&lt;/span&gt;
IER_3     = VIA_3 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt;
PORTA_NO_HS_3 = VIA_3 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;; ACIA_1 Port Addresses&lt;/span&gt;
ACIA_1    = &lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4400&lt;/span&gt;
S_TXRX_1  = ACIA_1      &lt;span class=&quot;co1&quot;&gt;; TXD / RXD&lt;/span&gt;
S_STA_1   = ACIA_1 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;; Status&lt;/span&gt;
S_COM_1   = ACIA_1 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;; Command&lt;/span&gt;
S_CON_1   = ACIA_1 &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;; Control&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
via_1_init&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  lda #&lt;span class=&quot;nu0&quot;&gt;%01000000&lt;/span&gt;
  sta ACR_1
  lda #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;0E
  sta T1CL_1
  lda #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;27&lt;/span&gt;
  sta T1CH_1
&amp;nbsp;
  lda #&lt;span class=&quot;nu0&quot;&gt;%11011010&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;; T1, CA1 active&lt;/span&gt;
  sta IER_1
&amp;nbsp;
  lda #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;01&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;;  CA1 active high-transition &lt;/span&gt;
  sta PCR_1
&amp;nbsp;
  lda #&lt;span class=&quot;nu0&quot;&gt;%01111111&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;; Set all pins on port B to output except BIT 7 which is used for &amp;quot;SHIFT/INSTRUCTION&amp;quot;  button&lt;/span&gt;
  sta DDRB_1
  lda #&lt;span class=&quot;nu0&quot;&gt;%11110000&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;; Set low-nibble pins on port A to input and high-nibble pins to output, for keypad&lt;/span&gt;
  sta DDRA_1
&amp;nbsp;
  rts&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_965e507a710981562292fc5a230a5c5c_38&quot;&gt;lcd.inc &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_965e507a710981562292fc5a230a5c5c_38&quot;&gt;&lt;pre class=&quot;code asm&quot;&gt;&amp;nbsp;
&amp;nbsp;
  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw5&quot;&gt;code&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;; LCD Command masks&lt;/span&gt;
E  = &lt;span class=&quot;nu0&quot;&gt;%01000000&lt;/span&gt;
RW = &lt;span class=&quot;nu0&quot;&gt;%00100000&lt;/span&gt;
RS = &lt;span class=&quot;nu0&quot;&gt;%00010000&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;                              LCD Functions &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
lcd_start&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&lt;span class=&quot;nu0&quot;&gt;%00101000&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;; Set 4-bit mode; 2-line display; 5x8 font&lt;/span&gt;
  jsr lcd_instruction
  jsr lcd_entry_mode
  jsr lcd_cursor_off
  jsr lcd_clear
  rts
&amp;nbsp;
lcd_entry_mode&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&lt;span class=&quot;nu0&quot;&gt;%00000110&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;; Increment and shift cursor; don&#039;t shift display&lt;/span&gt;
  jsr lcd_instruction
  rts
&amp;nbsp;
lcd_home&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&lt;span class=&quot;nu0&quot;&gt;%00000010&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;; cursor HOME&lt;/span&gt;
  jsr lcd_instruction
  rts
&amp;nbsp;
lcd_clear&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&lt;span class=&quot;nu0&quot;&gt;%00000001&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;; Clear display&lt;/span&gt;
  jsr lcd_instruction
  rts
&amp;nbsp;
lcd_cursor_off&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&lt;span class=&quot;nu0&quot;&gt;%00001100&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;; Display on; cursor off; blink off&lt;/span&gt;
  jsr lcd_instruction
  rts
&amp;nbsp;
lcd_cursor_on&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&lt;span class=&quot;nu0&quot;&gt;%00001111&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;; Display on; cursor on; blink on&lt;/span&gt;
  jsr lcd_instruction
  rts
&amp;nbsp;
lcd_line_2&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&lt;span class=&quot;nu0&quot;&gt;%10101001&lt;/span&gt;
  jsr lcd_instruction
  rts
&amp;nbsp;
lcd_wait&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  pha
  lda #&lt;span class=&quot;nu0&quot;&gt;%01110000&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;; LCD data is input (don&#039;t change MSB BIT7, it has to stay ZERO for SHIFT Button input)&lt;/span&gt;
  sta DDRB_1
lcdbusy&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #RW
  sta PORTB_1
  lda #&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;RW | E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  sta PORTB_1
  lda PORTB_1     &lt;span class=&quot;co1&quot;&gt;; Read high nibble&lt;/span&gt;
  pha             &lt;span class=&quot;co1&quot;&gt;; and put on stack since it has the busy flag&lt;/span&gt;
  lda #RW
  sta PORTB_1
  lda #&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;RW | E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  sta PORTB_1
  lda PORTB_1       &lt;span class=&quot;co1&quot;&gt;; Read low nibble&lt;/span&gt;
  pla             &lt;span class=&quot;co1&quot;&gt;; Get high nibble off stack&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;and&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;%00001000&lt;/span&gt;
  bne lcdbusy
&amp;nbsp;
  lda #RW
  sta PORTB_1
  lda #&lt;span class=&quot;nu0&quot;&gt;%01111111&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;; LCD data is output (don&#039;t change MSB BIT7, it has to stay ZERO for SHIFT Buttion input)&lt;/span&gt;
  sta DDRB_1
  pla
  rts
&amp;nbsp;
lcd_init&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&lt;span class=&quot;nu0&quot;&gt;%00000010&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;; Set 4-bit mode : DO ONCE AT POWER UP&lt;/span&gt;
  sta PORTB_1
  ora #E
  sta PORTB_1
  &lt;span class=&quot;kw1&quot;&gt;and&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;%00001111&lt;/span&gt;
  sta PORTB_1
  rts
&amp;nbsp;
lcd_instruction&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  jsr lcd_wait
  pha
  lsr
  lsr
  lsr
  lsr            &lt;span class=&quot;co1&quot;&gt;; Send high 4 bits&lt;/span&gt;
  sta PORTB_1
  ora #E         &lt;span class=&quot;co1&quot;&gt;; Set E bit to send instruction&lt;/span&gt;
  sta PORTB_1
  eor #E         &lt;span class=&quot;co1&quot;&gt;; Clear E bit&lt;/span&gt;
  sta PORTB_1
  pla
  &lt;span class=&quot;kw1&quot;&gt;and&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;%00001111&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;; Send low 4 bits&lt;/span&gt;
  sta PORTB_1
  ora #E         &lt;span class=&quot;co1&quot;&gt;; Set E bit to send instruction&lt;/span&gt;
  sta PORTB_1
  eor #E         &lt;span class=&quot;co1&quot;&gt;; Clear E bit&lt;/span&gt;
  sta PORTB_1
  rts
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;   &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;        PRINT Characters on LCD - an ASCII value in Accumulator &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;        is printed on the display&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
print_char&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  jsr lcd_wait
  pha
  lsr
  lsr
  lsr
  lsr             &lt;span class=&quot;co1&quot;&gt;; Send high 4 bits&lt;/span&gt;
  ora #RS         &lt;span class=&quot;co1&quot;&gt;; Set RS&lt;/span&gt;
  sta PORTB_1
  ora #E          &lt;span class=&quot;co1&quot;&gt;; Set E bit to send instruction&lt;/span&gt;
  sta PORTB_1
  eor #E          &lt;span class=&quot;co1&quot;&gt;; Clear E bit&lt;/span&gt;
  sta PORTB_1
  pla
  &lt;span class=&quot;kw1&quot;&gt;and&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;%00001111&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;; Send low 4 bits&lt;/span&gt;
  ora #RS         &lt;span class=&quot;co1&quot;&gt;; Set RS&lt;/span&gt;
  sta PORTB_1
  ora #E          &lt;span class=&quot;co1&quot;&gt;; Set E bit to send instruction&lt;/span&gt;
  sta PORTB_1
  eor #E          &lt;span class=&quot;co1&quot;&gt;; Clear E bit&lt;/span&gt;
  sta PORTB_1
  rts&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_965e507a710981562292fc5a230a5c5c_39&quot;&gt;getkey.inc &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_965e507a710981562292fc5a230a5c5c_39&quot;&gt;&lt;pre class=&quot;code asm&quot;&gt;&amp;nbsp;
  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw5&quot;&gt;code&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;      READ THE 4x4 keypad using  VIA_1 PORTA &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;      Accumulator holds the ASCII value of the pressed key when it returns&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
get_key&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
readKeypad&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  ldx #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;04&lt;/span&gt;        &lt;span class=&quot;co1&quot;&gt;; Row 4 - counting down&lt;/span&gt;
  ldy #&lt;span class=&quot;nu0&quot;&gt;%10000000&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;;&lt;/span&gt;
ScanRow&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  sty PORTA_1
  lda PORTA_1
  &lt;span class=&quot;kw1&quot;&gt;and&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;%00001111&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;; mask off keypad input - only low 4 (keypad column) bits are read&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
  bne Row_Found   &lt;span class=&quot;co1&quot;&gt;; non-zero means a row output has been connected via a switch to a column input&lt;/span&gt;
  dex             &lt;span class=&quot;co1&quot;&gt;; zero means it hasn&#039;t been found, so check next row down&lt;/span&gt;
  tya
  lsr
  tay
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;%00001000&lt;/span&gt;
  bne ScanRow
  lda #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;ff
  rts
Row_Found&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  stx TEMP &lt;span class=&quot;co1&quot;&gt;; store row&lt;/span&gt;
  ldy #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;ff
FindCol&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  iny
  lsr
  bcc FindCol
  tya
  asl
  asl  &lt;span class=&quot;co1&quot;&gt;; col * 4&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;clc&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;adc&lt;/span&gt; TEMP &lt;span class=&quot;co1&quot;&gt;; add row &lt;/span&gt;
  tax
  lda keypad_array&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;x
  rts
&amp;nbsp;
&amp;nbsp;
keypad_array&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;byte&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;?DCBAF9630852E741&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;  set ROW keypad outputs high as a source for triggering interrupt when a key is pressed&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
scan&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  ldy #&lt;span class=&quot;nu0&quot;&gt;%11110000&lt;/span&gt;
  sty PORTA_1
  rts&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_965e507a710981562292fc5a230a5c5c_40&quot;&gt;functions.inc &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_965e507a710981562292fc5a230a5c5c_40&quot;&gt;&lt;pre class=&quot;code asm&quot;&gt;&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;.zeropage&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;MESSAGE_POINTER = $20&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  .org $8000&lt;/span&gt;
  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw5&quot;&gt;code&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;          convert a binary number from Accumulator, in range 00000000 -&amp;gt; 11111111 ($00 to $FF)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;          to its HEX number encode as ASCII -  using a simple lookup table and print it on LCD&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
bintohex&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  pha
  lsr
  lsr
  lsr
  lsr
  tax
  lda hexascii&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;x
  jsr print_char
  pla
  &lt;span class=&quot;kw1&quot;&gt;and&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0f&lt;/span&gt;
  tax
  lda hexascii&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;x
  jsr print_char
  rts
&amp;nbsp;
hexascii&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;byte&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0123456789ABCDEF&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;    convert a binary (hex) value in Accumulator into&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;    its ASCII equivalent character in decimal 0-99 and print it&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;    this converts hex/binary numbers from the RTC into human readable&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;    decimal for display on clock&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
bintoascii&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
  bmi single_figure
  asl
  tax
  lda binascii&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;x
  jsr print_char
&amp;nbsp;
  inx
&amp;nbsp;
  lda binascii&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;x
  jsr print_char
  rts
&amp;nbsp;
single_figure&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  asl
  tax
  inx
  lda binascii&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;x
  jsr print_char
  rts
&amp;nbsp;
&amp;nbsp;
binascii&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;byte&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;00010203040506070809&amp;quot;&lt;/span&gt;
          &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;byte&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;10111213141516171819&amp;quot;&lt;/span&gt;
          &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;byte&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;20212223242526272829&amp;quot;&lt;/span&gt;
          &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;byte&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;30313233343536373839&amp;quot;&lt;/span&gt;
          &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;byte&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;40414243444546474849&amp;quot;&lt;/span&gt;
          &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;byte&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;50515253545556575859&amp;quot;&lt;/span&gt;
          &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;byte&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;60616263646566676869&amp;quot;&lt;/span&gt;
          &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;byte&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;70717273747576777879&amp;quot;&lt;/span&gt;
          &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;byte&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;80818283848586878889&amp;quot;&lt;/span&gt;
          &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;byte&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;90919293949596979899&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;      Convert a decimal number entered at keypad into its&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;      HEX equivalent and display&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
byte_to_hex&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  jsr lcd_clear
  lda HEXB &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;and&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0f&lt;/span&gt;
  jsr bintohex
  lda HEXB
  jsr bintohex
  lda #&lt;span class=&quot;st0&quot;&gt;&#039;d&#039;&lt;/span&gt;
  jsr print_char
  lda #&lt;span class=&quot;st0&quot;&gt;&#039;=&#039;&lt;/span&gt;
  jsr print_char
  lda #&lt;span class=&quot;st0&quot;&gt;&#039;$&#039;&lt;/span&gt;
  jsr print_char
&amp;nbsp;
  lda HEXB &lt;span class=&quot;co1&quot;&gt;; lo byte&lt;/span&gt;
  pha
  lsr
  lsr
  lsr
  lsr
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
  &lt;span class=&quot;kw4&quot;&gt;bpl&lt;/span&gt; error
  jsr mult10
  sta TENS
  pla
  &lt;span class=&quot;kw1&quot;&gt;and&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;%00001111&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;; UNITS&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
  &lt;span class=&quot;kw4&quot;&gt;bpl&lt;/span&gt; print_error
&lt;span class=&quot;co1&quot;&gt;;  jsr mult10&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;clc&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;adc&lt;/span&gt; TENS
  sta HEX
&amp;nbsp;
  lda HEXB &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;; hi byte&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;and&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;%00001111&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
  &lt;span class=&quot;kw4&quot;&gt;bpl&lt;/span&gt; print_error
  jsr mult10
  jsr mult10 &lt;span class=&quot;co1&quot;&gt;; hundreds&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;adc&lt;/span&gt; HEX
&amp;nbsp;
  jsr bintohex
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_byte_to_hex
&amp;nbsp;
error&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  pla
print_error&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&amp;lt;error_message
  sta MESSAGE_POINTER
  lda #&amp;gt;error_message
  sta MESSAGE_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr print
  &lt;span class=&quot;co1&quot;&gt;;jsr lcd_cursor_off&lt;/span&gt;
  rts
&amp;nbsp;
exit_byte_to_hex&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  jsr lcd_line_2
&amp;nbsp;
  rts
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;  (A * 8) + (A * 2) = A * 10 &lt;/span&gt;
&amp;nbsp;
mult10&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  pha
  asl
  asl
  asl
  sta TEMP2 &lt;span class=&quot;co1&quot;&gt;; A*8&lt;/span&gt;
  pla
  asl      &lt;span class=&quot;co1&quot;&gt;; A*2&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;adc&lt;/span&gt; TEMP2 &lt;span class=&quot;co1&quot;&gt;; A*10&lt;/span&gt;
  rts
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; Convert the encoded ASCII character representing a hex digit to its actual binary value.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; e.g. Letter &amp;quot;A&amp;quot; in ASCII is $41 (0100001) but its &amp;quot;numerical&amp;quot; value as a hex digit is &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; 10 ($0A = 10d = %00001010). &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; We convert &amp;quot;A&amp;quot; in ASCII ($41) to a byte of numerical value 10 by subtracting $37&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; $41 - $37 = $0A (in decimal 65 - 55 = 10) and the result is a byte 00001010&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; The same is done for all characters representing upper case letters.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; Numbers are handled differently according to their place on the ASCII table.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; The ASCII representation of &amp;quot;9&amp;quot; is $39 (00111001) and to get a byte with a value of 9 we can simply&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; AND it with a mask of 00001111 to save only the lower 4 bits.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
ascii_bin&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;clc&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;41&lt;/span&gt;
  bmi ascii_bin_num   &lt;span class=&quot;co1&quot;&gt;; a CMP with $41, from a number character ($30 - $39), will set the negative flag&lt;/span&gt;
                      &lt;span class=&quot;co1&quot;&gt;; and the conversion is done by ANDing with $0F&lt;/span&gt;
&amp;nbsp;
ascii_bin_letter&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;    &lt;span class=&quot;co1&quot;&gt;; otherwise treat as a letter (A -&amp;gt; F) and the conversion is done by&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;clc&lt;/span&gt;                &lt;span class=&quot;co1&quot;&gt;; subtracting $37&lt;/span&gt;
  sec
  sbc #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;37&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; end_ascii_bin
&amp;nbsp;
ascii_bin_num&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;and&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;%00001111&lt;/span&gt;
&amp;nbsp;
end_ascii_bin&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;      &lt;span class=&quot;co1&quot;&gt;; Accumulator holds the numerical version of the ASCII character supplied&lt;/span&gt;
  rts&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_965e507a710981562292fc5a230a5c5c_41&quot;&gt;rtc.inc &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_965e507a710981562292fc5a230a5c5c_41&quot;&gt;&lt;pre class=&quot;code asm&quot;&gt;&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw5&quot;&gt;code&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;                          RTC / Jiffy Tick&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
rtc&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;  RTC stores ticks at 10ms intervals into a 4-byte (32 bit) value&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;  as each byte rolls over the next one is incremented&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;  on a tick that doesn&#039;t roll over the TIME OF DAY &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;  is updated&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;inc&lt;/span&gt; TICKS
  bne inc_MET
  &lt;span class=&quot;kw1&quot;&gt;inc&lt;/span&gt; TICKS &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  bne inc_MET
  &lt;span class=&quot;kw1&quot;&gt;inc&lt;/span&gt; TICKS &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
  bne inc_MET
  &lt;span class=&quot;kw1&quot;&gt;inc&lt;/span&gt; TICKS &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;  Every time it&#039;s called we increment the &amp;quot;hundredths of a second&amp;quot; byte&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;  When there&#039;s been 100 x 10ms (i.e. 1 second) we increment the seconds&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;  When SECONDS reaches 60 we increment MINUTES and reset SECONDS to zero...&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;  etc... for HOURS, DAYS etc.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;  days/months years are handled too - although probably moot&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;  this routine comes from http://wilsonminesco.com/6502interrupts/#2.1&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
inc_MET&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;inc&lt;/span&gt; CENTISEC
  lda CENTISEC
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
  bmi end_MET
  stz CENTISEC
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;inc&lt;/span&gt; SECONDS
  lda SECONDS
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
  bmi end_MET
  stz SECONDS
  &lt;span class=&quot;kw1&quot;&gt;inc&lt;/span&gt; TEN_SECONDS
&amp;nbsp;
  lda TEN_SECONDS
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;
  bmi end_MET
  stz TEN_SECONDS
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;inc&lt;/span&gt; MINUTES
  lda MINUTES
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
  bmi end_MET
  stz MINUTES
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;inc&lt;/span&gt; TEN_MINUTES
  lda TEN_MINUTES
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;
  bmi end_MET
  stz TEN_MINUTES
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;inc&lt;/span&gt; HRS
  lda HRS
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
  bmi end_MET
  stz HRS
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;inc&lt;/span&gt; TEN_HRS
  lda TEN_HRS
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
  bmi end_MET
  stz TEN_HRS
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;inc&lt;/span&gt; HUNDRED_HRS
&amp;nbsp;
end_MET&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  rts&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
— &lt;em&gt;John Pumford-Green 05/09/22 14:23&lt;/em&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;monitor_dev.s source code&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;monitor_devs_source_code&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:8,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;5091-28628&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:14,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;28629-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>Monitor</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:6502:monitor</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:6502:start&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:6502:start&quot; data-wiki-id=&quot;public:computers:archive:6502:start&quot;&gt;6502 Project&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;monitor&quot;&gt;Monitor&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt; My first attempts at a Monitor program &lt;/strong&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Monitor&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;monitor&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-85&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;features&quot;&gt;Features&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; RAM is tested at power-up- writing and checking with 2 different bit patterns, then zeroing RAM if successful (avoiding ZeroPage and Stack areas)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; display a “Mission Elapsed Time” counter and reset to zero with a button press&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; step forward and backward through memory locations&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; display hex data and its ASCII equivalent for each memory location (&lt;code&gt;PEEK&lt;/code&gt;)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; enter a 2-digit hex value and write it into the currently selected memory location (&lt;code&gt;POKE&lt;/code&gt;)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; enter a 4-digit hex value and move to that chosen memory address&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; display an 8-byte block of memory data on one line, starting at the currently selected address&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; display an 8-byte block of memory data and have it auto-refresh at 1 second intervals&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; move to a pre-determined address ($3F00) in memory and begin executing code from that point&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; this allows machine code to be entered directly from $3F00 onwards and then executed. It&amp;#039;s cumbersome, but makes the machine programmable!&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Data/addresses are entered on the keypad. Commands are entered by pressing the “SHIFT/INSTRUCT” button at the same time as one of the pre-set instructions.
&lt;/p&gt;
&lt;div class=&quot;table sectionedit3&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;1&lt;/kbd&gt; &lt;code&gt;MET CLOCK&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  2  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;3&lt;/kbd&gt; &lt;code&gt;BLOCK UP&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;A&lt;/kbd&gt; &lt;code&gt;UP&lt;/code&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0 centeralign&quot;&gt;  &lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;4&lt;/kbd&gt; &lt;code&gt;dec→hex&lt;/code&gt;  &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  &lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;5&lt;/kbd&gt; &lt;code&gt;GO&lt;/code&gt;  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;6&lt;/kbd&gt; &lt;code&gt;BLOCK DOWN&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;B&lt;/kbd&gt; &lt;code&gt;DOWN&lt;/code&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0 centeralign&quot;&gt;  7  &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  8  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;9&lt;/kbd&gt; &lt;code&gt;auto-update Block view&lt;/code&gt;  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;C&lt;/kbd&gt; &lt;code&gt;CLS&lt;/code&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;E&lt;/kbd&gt; &lt;code&gt;POKE&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  0  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;F&lt;/kbd&gt; &lt;code&gt;BLOCK&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;D&lt;/kbd&gt; &lt;code&gt;PEEK&lt;/code&gt;&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1233-1648&amp;quot;} --&gt;&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;1&lt;/kbd&gt; = &lt;code&gt;MET Clock&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;2&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;3&lt;/kbd&gt; = &lt;code&gt;Display the next 8-byte block up&lt;/code&gt; - aka “page Up”&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;A&lt;/kbd&gt; = &lt;code&gt;Memory selected = UP one&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;4&lt;/kbd&gt; = &lt;code&gt;Convert an entered decimal number to its HEX equivalent&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;5&lt;/kbd&gt; = &lt;code&gt;GO!&lt;/code&gt; (jsr $3F00)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;6&lt;/kbd&gt; = &lt;code&gt;Display the next 8-byte block down&lt;/code&gt;  - aka “page Down”&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;B&lt;/kbd&gt; = &lt;code&gt;Memory selected = DOWN one&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;7&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;8&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;9&lt;/kbd&gt; = &lt;code&gt;Update 8-byte block view at 1-second intervals&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;C&lt;/kbd&gt; = &lt;code&gt;Clear Screen&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;E&lt;/kbd&gt; = &lt;code&gt;Enter data byte into selected memory address&lt;/code&gt; - aka &lt;code&gt;POKE&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;0&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;F&lt;/kbd&gt; = &lt;code&gt;Display an 8-byte block of data, starting from current memory address&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;D&lt;/kbd&gt; = &lt;code&gt;move to the new memory location provided in last 4 digits entered&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Features&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;features&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;86-2573&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;monitor_devs&quot;&gt;monitor_dev.s&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;pre class=&quot;code asm&quot;&gt;&amp;nbsp;
&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;localchar &lt;span class=&quot;st0&quot;&gt;&#039;@&#039;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;.SEGMENT &amp;quot;ZEROPAGE&amp;quot;&lt;/span&gt;
&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;zeropage
&amp;nbsp;
DUMP_POINTER&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;     &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
FLAGS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;            &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
TOGGLE_TIME&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;      &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
CLOCK_LAST&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;       &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
MESSAGE_POINTER&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
TICKS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;            &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;
CENTISEC&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;         &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
HUNDRED_HRS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;      &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
TEN_HRS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;          &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
HRS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;              &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
TEN_MINUTES&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;      &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
MINUTES&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;          &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
TEN_SECONDS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;      &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
SECONDS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;          &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
MEM_POINTER&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;      &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;.SEGMENT &amp;quot;BSS&amp;quot;&lt;/span&gt;
&lt;span class=&quot;kw5&quot;&gt;.bss&lt;/span&gt;
&amp;nbsp;
INKEY&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;            &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
ASCII&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;            &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;
&lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;             &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
TENS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;             &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
HUNDREDS&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;         &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
HEX&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;              &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
HEXB&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;             &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
TEMP&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;             &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
TEMP2&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;            &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;res &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;include &lt;span class=&quot;st0&quot;&gt;&amp;quot;../includes/ioports.inc&amp;quot;&lt;/span&gt;
&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;include &lt;span class=&quot;st0&quot;&gt;&amp;quot;../includes/lcd.inc&amp;quot;&lt;/span&gt;
&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;include &lt;span class=&quot;st0&quot;&gt;&amp;quot;../includes/getkey.inc&amp;quot;&lt;/span&gt;
&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;include &lt;span class=&quot;st0&quot;&gt;&amp;quot;../includes/functions.inc&amp;quot;&lt;/span&gt;
&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;include &lt;span class=&quot;st0&quot;&gt;&amp;quot;../includes/rtc.inc&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw5&quot;&gt;code&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
reset&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  ldx #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;ff
  txs
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;cli&lt;/span&gt;      &lt;span class=&quot;co1&quot;&gt;; interrupts ON&lt;/span&gt;
&amp;nbsp;
  jsr via_1_init &lt;span class=&quot;co1&quot;&gt;; set-up VIA_1 for LCD/Keypad &lt;/span&gt;
  jsr lcd_init &lt;span class=&quot;co1&quot;&gt;; set-up 4-bit mode &lt;/span&gt;
  jsr lcd_start &lt;span class=&quot;co1&quot;&gt;; set-up various features of lcd &lt;/span&gt;
&amp;nbsp;
init_variables&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  stz TICKS
  stz TICKS &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  stz TICKS &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
  stz TICKS &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;
  stz DUMP_POINTER
  stz DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  stz MESSAGE_POINTER
  stz MESSAGE_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  stz TOGGLE_TIME
  stz CLOCK_LAST
  stz CENTISEC
  stz FLAGS
  stz SECONDS
  stz TEN_SECONDS
  stz MINUTES
  stz HRS
  stz TEN_HRS
  stz TEN_MINUTES
  stz HUNDRED_HRS
  stz TEMP
  stz TEMP2
  stz TENS  
  stz MEM_POINTER
  stz MEM_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;; test then clear RAM between &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; $0200 - $3FFF - avoids the ZP and STACK areas&lt;/span&gt;
&amp;nbsp;
ram_clear&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;02&lt;/span&gt;            &lt;span class=&quot;co1&quot;&gt;; start at $0200&lt;/span&gt;
  sta MEM_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  ldy #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
loop_ram&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;AA
  sta &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;MEM_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  lda #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;FF
  lda &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;MEM_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;AA
  bne mem_fail_1
  lda #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;55&lt;/span&gt;
  sta &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;MEM_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  lda #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;FF
  lda &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;MEM_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;55&lt;/span&gt;
  bne mem_fail_2
  lda #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
  sta &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;MEM_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  iny
  beq next_page
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; loop_ram
next_page&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda MEM_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;inc&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;40&lt;/span&gt;
  beq done_ram
  sta MEM_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; loop_ram
&amp;nbsp;
&amp;nbsp;
done_ram&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  lda #&amp;lt;mem_pass_msg
  sta MESSAGE_POINTER
  lda #&amp;gt;mem_pass_msg
  sta MESSAGE_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr print 
  smb5 FLAGS
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;loop&lt;/span&gt;
&amp;nbsp;
mem_fail_1&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&amp;lt;mem_fail_msg_1
  sta MESSAGE_POINTER
  lda #&amp;gt;mem_fail_msg_1
  sta MESSAGE_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr print
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;loop&lt;/span&gt;
&amp;nbsp;
mem_fail_2&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&amp;lt;mem_fail_msg_2
  sta MESSAGE_POINTER
  lda #&amp;gt;mem_fail_msg_2
  sta MESSAGE_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr print
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;loop&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;; go straight to MONITOR at startup&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  lda #&amp;lt;splash&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  sta MESSAGE_POINTER&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  lda #&amp;gt;splash&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  sta MESSAGE_POINTER + 1&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  jsr new_address&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;; main loop&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;loop&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  wai
  jsr check_flags
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;loop&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;; FUNCTIONS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
check_flags&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  bbs0 FLAGS&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt; update_block_address
  bbs5 FLAGS&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt; clock_time
  &lt;span class=&quot;co1&quot;&gt;; check other flags... other actions....&lt;/span&gt;
  rts
&amp;nbsp;
update_block_address&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  sec
  lda TICKS
  sbc TOGGLE_TIME
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;32&lt;/span&gt;
  bcc exit_update_block
  jsr block_address
  lda TICKS
  sta TOGGLE_TIME
&amp;nbsp;
exit_update_block&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  rts
&amp;nbsp;
&amp;nbsp;
clock_time&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  sec
  lda TICKS
  sbc CLOCK_LAST
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;32&lt;/span&gt;
  bcc exit_clock
&amp;nbsp;
  jsr lcd_cursor_off
&amp;nbsp;
  jsr lcd_home
&amp;nbsp;
  lda HUNDRED_HRS
  jsr bintoascii
  lda TEN_HRS
  jsr bintoascii
  lda HRS
  jsr bintoascii
  lda #&lt;span class=&quot;st0&quot;&gt;&#039;:&#039;&lt;/span&gt;
  jsr print_char
  lda TEN_MINUTES
  jsr bintoascii
  lda MINUTES
  jsr bintoascii
  lda #&lt;span class=&quot;st0&quot;&gt;&#039;:&#039;&lt;/span&gt;
  jsr print_char
  lda TEN_SECONDS
  jsr bintoascii
  lda SECONDS
  jsr bintoascii
  lda #&lt;span class=&quot;st0&quot;&gt;&#039; &#039;&lt;/span&gt;
  jsr print_char
  lda TICKS
  sta CLOCK_LAST
exit_clock&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  rts
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;      update screen when new memory location is selected&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
new_address&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  jsr lcd_clear
&amp;nbsp;
  jsr lcd_cursor_on
&amp;nbsp;
&amp;nbsp;
print_address&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&lt;span class=&quot;st0&quot;&gt;&#039;$&#039;&lt;/span&gt;
  jsr print_char
  lda DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr bintohex
  lda DUMP_POINTER
  jsr bintohex
&amp;nbsp;
  lda #&lt;span class=&quot;st0&quot;&gt;&#039; &#039;&lt;/span&gt;
  jsr print_char
&amp;nbsp;
print_data&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  ldy #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
&amp;nbsp;
  lda &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;DUMP_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  jsr bintohex
  lda #&lt;span class=&quot;st0&quot;&gt;&#039; &#039;&lt;/span&gt;
  jsr print_char
  lda &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;DUMP_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  jsr print_char
&amp;nbsp;
message_end&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  jsr print   &lt;span class=&quot;co1&quot;&gt;; add second line (cursor) after re-writing the top line&lt;/span&gt;
  rts
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; display 8 bytes of data for a &amp;quot;block&amp;quot; of memory&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
block_address&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  jsr lcd_clear
&amp;nbsp;
  ldy #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
&amp;nbsp;
print_block_address&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda #&lt;span class=&quot;st0&quot;&gt;&#039;$&#039;&lt;/span&gt;
  jsr print_char
  lda DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr bintohex
  lda DUMP_POINTER
  jsr bintohex
&amp;nbsp;
  jsr lcd_line_2
&amp;nbsp;
print_block&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  lda &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;DUMP_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  jsr bintohex
  lda &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;DUMP_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  iny
  cpy #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;08&lt;/span&gt;
  bne print_block
&amp;nbsp;
&amp;nbsp;
block_message_end&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  rts
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; re-draw line 2 cursor&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
print&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  jsr lcd_line_2
&amp;nbsp;
  ldy #&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
line1&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;MESSAGE_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  beq end_print
  jsr print_char
  iny
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; line1
&amp;nbsp;
end_print&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  rts
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;      Monitor function - decrement the selected address &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
decrement_address&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  sec
  lda DUMP_POINTER
  sbc #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;01&lt;/span&gt;
  sta DUMP_POINTER
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
  lda DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sbc #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
  sta DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
dec_ok&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  rts
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;      Monitor function - increment the selected address &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
increment_address&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;clc&lt;/span&gt;
  lda DUMP_POINTER
  &lt;span class=&quot;kw1&quot;&gt;adc&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;01&lt;/span&gt;
  sta DUMP_POINTER
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
  bcc inc_ok
  &lt;span class=&quot;kw1&quot;&gt;inc&lt;/span&gt; DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  lda DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
inc_ok&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  rts
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;      Monitor function - increment the selected block of  addresses by 8 &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
increment_block&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;clc&lt;/span&gt;
  lda DUMP_POINTER
  &lt;span class=&quot;kw1&quot;&gt;adc&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;08&lt;/span&gt;
  sta DUMP_POINTER
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
  lda DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;adc&lt;/span&gt; #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
  sta DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  rts
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;      Monitor function - decrement the selected block of  addresses by 8 &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
decrement_block&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  sec
  lda DUMP_POINTER
  sbc #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;08&lt;/span&gt;
  sta DUMP_POINTER
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
  lda DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sbc #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
  sta DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  rts
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;          use last 4 entered ASCII characters from the keypad and convert &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;          them to TWO 8-bit binary bytes in RAM&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
ascii_byte&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  lda ASCII &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
  jsr ascii_bin
  &lt;span class=&quot;kw1&quot;&gt;clc&lt;/span&gt;
  asl
  asl
  asl
  asl
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
&amp;nbsp;
  lda ASCII
&amp;nbsp;
  jsr ascii_bin
  ora &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
&amp;nbsp;
  lda ASCII &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;
  jsr ascii_bin
  &lt;span class=&quot;kw1&quot;&gt;clc&lt;/span&gt;
  asl
  asl
  asl
  asl
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
  lda ASCII &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
&amp;nbsp;
  jsr ascii_bin
  ora &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sta &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  rts
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;    toggle the display/update of Clock on each appropriate keypress&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
show_clock&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  bbs5 FLAGS&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt; reset_bit5
  smb5 FLAGS
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_show_clock
&amp;nbsp;
reset_bit5&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  rmb5 FLAGS
&amp;nbsp;
exit_show_clock&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  rts
  &lt;span class=&quot;co1&quot;&gt;;jmp debounce&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;    toggle the automatic update view of the &amp;quot;8-byte memory block&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
show_block&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  bbs0 FLAGS&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt; reset_bit0
  smb0 FLAGS
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_show_block
&amp;nbsp;
reset_bit0&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  rmb0 FLAGS
&amp;nbsp;
exit_show_block&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  rts
  &lt;span class=&quot;co1&quot;&gt;;jmp debounce&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;debounce:&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  ldx #$ff&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  ldy #$ff&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;delay:&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  nop&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  dex&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  bne delay&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  dey&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  bne delay&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;  rts  &lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;; INTERRUPT HANDLERS ;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;      CB1 : reset &amp;amp; restart timer&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
cb1_handler&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  stz HUNDRED_HRS
  stz TEN_HRS
  stz TEN_MINUTES
  stz TEN_SECONDS
  stz HRS
  stz MINUTES
  stz SECONDS
&amp;nbsp;
  smb5 FLAGS
&amp;nbsp;
  rts
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;     CB2 : lap-time pause timer&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
cb2_handler&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  jsr show_clock
  rts
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;                    MONITOR / KEYPAD &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
keypad_handler&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
  jsr get_key     &lt;span class=&quot;co1&quot;&gt;; READs from PORTA which also re-sets VIA&#039;s Interrupt flag&lt;/span&gt;
  sta INKEY       &lt;span class=&quot;co1&quot;&gt;; put the ASCII value of input into RAM ( $00 ) &lt;/span&gt;
&amp;nbsp;
  lda PORTB_1       &lt;span class=&quot;co1&quot;&gt;; check for SHIFT/INSTRUCTION button&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;and&lt;/span&gt; #&lt;span class=&quot;nu0&quot;&gt;%10000000&lt;/span&gt;
  beq check_keypress &lt;span class=&quot;co1&quot;&gt;; done this way to get around the limit in size of branch jumps....&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; handle_new_char
&amp;nbsp;
check_keypress&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda INKEY       
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;; choose action of &amp;quot;SHIFTed&amp;quot; key-press&lt;/span&gt;
check_a&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;A&#039;&lt;/span&gt;
  &lt;span class=&quot;co1&quot;&gt;; move up one memory address and display contents&lt;/span&gt;
  bne check_b     
  jsr increment_address
  jsr new_address
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_b&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;B&#039;&lt;/span&gt;
  &lt;span class=&quot;co1&quot;&gt;; move down one memory address and display contents&lt;/span&gt;
  bne check_c
  jsr decrement_address
  jsr new_address
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_c&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;C&#039;&lt;/span&gt;
  &lt;span class=&quot;co1&quot;&gt;; return to MONITOR&lt;/span&gt;
  bne check_d
  rmb5 FLAGS
  jsr lcd_clear
  lda #&amp;lt;splash
  sta MESSAGE_POINTER
  lda #&amp;gt;splash
  sta MESSAGE_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
  jsr new_address
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_d&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;D&#039;&lt;/span&gt;
  &lt;span class=&quot;co1&quot;&gt;; move monitor to entered 4-digit memory address&lt;/span&gt;
  bne check_e
  lda &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
  sta DUMP_POINTER
  lda &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sta DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr new_address
  jsr print
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_e&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;E&#039;&lt;/span&gt;
  &lt;span class=&quot;co1&quot;&gt;; insert (POKE) byte of data in to current memory address, then increment to next address&lt;/span&gt;
  bne check_f
  lda &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
  ldy #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
  sta &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;DUMP_POINTER&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;,&lt;/span&gt;y
  jsr increment_address
  jsr new_address
  jsr print
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_f&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;F&#039;&lt;/span&gt;
  &lt;span class=&quot;co1&quot;&gt;; show 8-byte wide block of memory&lt;/span&gt;
  bne check_1
  ldy #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
  lda &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
  sta DUMP_POINTER
  lda &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sta DUMP_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr block_address
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_1&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;1&#039;&lt;/span&gt;
  &lt;span class=&quot;co1&quot;&gt;; show/auto-update clock&lt;/span&gt;
  bne check_3
  jsr lcd_clear
  lda #&amp;lt;emt
  sta MESSAGE_POINTER
  lda #&amp;gt;emt
  sta MESSAGE_POINTER &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr print
  smb5 FLAGS
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;;jsr show_clock&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_3&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;3&#039;&lt;/span&gt;
  bne check_6
  ldy #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
  jsr increment_block
  jsr block_address
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_6&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;6&#039;&lt;/span&gt;
  bne check_9
  ldy #&lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;00&lt;/span&gt;
  jsr decrement_block
  jsr block_address
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_9&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;9&#039;&lt;/span&gt;
  bne check_4
  jsr show_block
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_4&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;4&#039;&lt;/span&gt;
  bne check_5
  lda &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt;
  sta HEXB
  lda &lt;span class=&quot;kw6&quot;&gt;BYTE&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sta HEXB &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  jsr byte_to_hex
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
check_5&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cmp&lt;/span&gt; #&lt;span class=&quot;st0&quot;&gt;&#039;5&#039;&lt;/span&gt;
  bne exit_key_irq
  jsr &lt;span class=&quot;sy2&quot;&gt;$&lt;/span&gt;3F00
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_key_irq
&amp;nbsp;
&amp;nbsp;
handle_new_char&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  lda ASCII &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
  sta ASCII &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;
  lda ASCII &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  sta ASCII &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
  lda ASCII
  sta ASCII &lt;span class=&quot;sy1&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  lda INKEY       &lt;span class=&quot;co1&quot;&gt;; get the new ASCII keypress value and... &lt;/span&gt;
  sta ASCII
  jsr print_char  &lt;span class=&quot;co1&quot;&gt;; and print it on LCD&lt;/span&gt;
&amp;nbsp;
  jsr ascii_byte  &lt;span class=&quot;co1&quot;&gt;; convert the rolling 4-byte ASCII character data into two binary bytes&lt;/span&gt;
&amp;nbsp;
exit_key_irq&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
  jsr scan  &lt;span class=&quot;co1&quot;&gt;; re-enable keypad&lt;/span&gt;
&amp;nbsp;
  rts
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&amp;nbsp;
nmi&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  rti
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;    interrupt is triggered by HIGH edge on VIA CA1 pin&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;     PORTA low nibble (keypad columns) inputs are diode ORed to CA1&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&amp;nbsp;
irq&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;; put registers on the stack while handling the IRQ&lt;/span&gt;
  pha
  phx
  phy
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;  find responsible hardware&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;  Is it VIA_1?&lt;/span&gt;
&amp;nbsp;
  lda IFR_1   &lt;span class=&quot;co1&quot;&gt;; if IFR_1 has Bit7 set (ie sign=NEGATIVE) then it IS the source of the interrupt&lt;/span&gt;
  &lt;span class=&quot;kw4&quot;&gt;bpl&lt;/span&gt; next_device &lt;span class=&quot;co1&quot;&gt;; if it&#039;s not set (ie sign=POSITIVE) then branch to test the next possible device&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; IFR Flags&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; B7  B6  B5  B4  B3  B2  B1  B0&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; IRQ TI1 TI2 CB1 CB2 SR CA1 CA2&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; Interrupt source is found by sequentially shifting IFR bit left to put bit-of-interest into the CARRY place&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; and then branching based on whether CARRY is SET or not&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;; Only add tests for IRQ sources in use, and adjust the ASLs in each test as necessary&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/span&gt;
&amp;nbsp;
test_timer1&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  asl           &lt;span class=&quot;co1&quot;&gt;; shift IFR left twice puts the TI1 bit into CARRY....&lt;/span&gt;
  asl
  bcc test_cb1  &lt;span class=&quot;co1&quot;&gt;; carry clear = next test&lt;/span&gt;
  bit T1CL_1      &lt;span class=&quot;co1&quot;&gt;; clear not clear = handle the TIMER interrupt&lt;/span&gt;
  jsr rtc
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_irq
&amp;nbsp;
test_cb1&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  asl
  asl
  bcc test_cb2
  bit PORTB_1
  jsr cb1_handler
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_irq
&amp;nbsp;
test_cb2&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  asl
  bcc test_ca1
  bit PORTB_1
  jsr cb2_handler
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_irq
&amp;nbsp;
test_ca1&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  asl           &lt;span class=&quot;co1&quot;&gt;; shift CA1 bit into the CARRY bit &amp;amp; test&lt;/span&gt;
  asl
  bcc exit_irq        &lt;span class=&quot;co1&quot;&gt;; carry clear = leave&lt;/span&gt;
  jsr keypad_handler  &lt;span class=&quot;co1&quot;&gt;; carry not clear = handle the CA1 interrupt (keypad)&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;jmp&lt;/span&gt; exit_irq
&amp;nbsp;
&amp;nbsp;
next_device&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
&amp;nbsp;
exit_irq&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt;
  ply
  plx
  pla
&amp;nbsp;
&amp;nbsp;
  rti
&amp;nbsp;
emt&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;asciiz &lt;span class=&quot;st0&quot;&gt;&amp;quot;hhh mm ss  MET&amp;quot;&lt;/span&gt;
splash&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;asciiz &lt;span class=&quot;st0&quot;&gt;&amp;quot;cmon&amp;gt; &amp;quot;&lt;/span&gt;
error_message&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;asciiz &lt;span class=&quot;st0&quot;&gt;&amp;quot;Not Decimal&amp;quot;&lt;/span&gt;
mem_pass_msg&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;asciiz &lt;span class=&quot;st0&quot;&gt;&amp;quot;RAM Test Pass&amp;quot;&lt;/span&gt;
mem_fail_msg_1&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;asciiz &lt;span class=&quot;st0&quot;&gt;&amp;quot;RAM Test 1 Fail&amp;quot;&lt;/span&gt;
mem_fail_msg_2&lt;span class=&quot;sy1&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;asciiz &lt;span class=&quot;st0&quot;&gt;&amp;quot;RAM Test 2 Fail&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;; Reset/IRQ vectors&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw5&quot;&gt;segment&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;VECTORS&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;word&lt;/span&gt; nmi
  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;word&lt;/span&gt; reset
  &lt;span class=&quot;sy1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kw6&quot;&gt;word&lt;/span&gt; irq&lt;/pre&gt;

&lt;p&gt;
See &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:6502:ca65_setup&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:6502:ca65_setup&quot; data-wiki-id=&quot;public:computers:archive:6502:ca65_setup&quot;&gt;CA65 Setup&lt;/a&gt; for the details of the additional &lt;code&gt;includes&lt;/code&gt; files needed to assemble the code.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;monitor_dev.s&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;monitor_devs&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;2574-15052&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;notes&quot;&gt;Notes&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
The idea of basic features came from 
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;http://www.suppertime.co.uk/blogmywiki/2021/03/6502-breadboard-computer-part-7-working-monitor/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://www.suppertime.co.uk/blogmywiki/2021/03/6502-breadboard-computer-part-7-working-monitor/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://www.suppertime.co.uk/blogmywiki/2021/03/6502-breadboard-computer-part-7-working-monitor/&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.youtube.com/watch?v=TK2JIZREgYM&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.youtube.com/watch?v=TK2JIZREgYM&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.youtube.com/watch?v=TK2JIZREgYM&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
My version is similar, but different.
&lt;/p&gt;

&lt;p&gt;
The Keypad scanning routine came from :
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.asinine.nz/2022-05-01/6502-part4/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.asinine.nz/2022-05-01/6502-part4/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.asinine.nz/2022-05-01/6502-part4/&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
I wanted to write a routine to poll the 16-key pad and needed some hints. I understood what was needed, but was uncertain about the best way to achieve the correct results, so I looked at various bits of code online. When I worked through this snippet I understood what it was doing, and could perhaps in future come up with a similar working solution myself. It&amp;#039;s all a matter of studying, understanding and then using the new knowledge. In the meantime this snippet of code works well enough that I see no point in re-inventing the wheel, so I&amp;#039;m just using it verbatim.
&lt;/p&gt;

&lt;p&gt;
To allow key presses to trigger interrupts I have to set the 4 row-outputs (PA4-PA7) high and then diode-OR the switch&amp;#039;s column lines, feeding this OR&amp;#039;d signal in to CA1 on the 65c22. Pressing any key pulls CA1 high, triggering an interrupt, and the interrupt routine then calls the keypad reading function itself which then determines which key was pressed.
&lt;/p&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 27/08/22 09:24&lt;/em&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Notes&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;notes&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;15053-16371&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:6502&amp;amp;do=showtag&amp;amp;tag=6502&quot; class=&quot;wikilink1&quot; title=&quot;tag:6502&quot; rel=&quot;tag&quot;&gt;6502&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:assembly&amp;amp;do=showtag&amp;amp;tag=assembly&quot; class=&quot;wikilink1&quot; title=&quot;tag:assembly&quot; rel=&quot;tag&quot;&gt;assembly&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;16372-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 05 Jun 2026 07:50:09 +0000</pubDate>
        </item>
        <item>
            <title>MB7AZE AllStar Config</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:mb7azeconf</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:allstar:start&quot; data-wiki-id=&quot;public:radio:topics:allstar:start&quot;&gt;AllStar Linking&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;mb7aze_allstar_config&quot;&gt;MB7AZE AllStar Config&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;MB7AZE AllStar Config&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;mb7aze_allstar_config&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-55&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;main_config_files&quot;&gt;Main Config files&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Main Config files&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;main_config_files&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;56-86&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;echolinkconf&quot;&gt;echolink.conf&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_15d1cf04a4bd433b3e955d90ef9c862b_1&quot;&gt;/etc/asterisk/echolink.conf &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_15d1cf04a4bd433b3e955d90ef9c862b_1&quot;&gt;&lt;pre class=&quot;code&quot;&gt;[el0]
call = MB7AZE-L                          ; Change this!
pwd = xxxxxxxx                           ; Change this!
name = John                        ; Change this!
qth = allstar 481481                           ; Change this!
email = gm4slv@gm4slv.plus.com                         ; Change this!
node = 879598                           ; Change this!
; Data for EchoLink Status Page
lat = 60.2883                               ; Latitude in decimal degrees
lon = -001.42533                               ; Longitude in decimal degrees
freq = 430.050                              ; not mandatory Frequency in MHz
tone = 0.0                              ; not mandatory CTCSS Tone (0 for none)
power = 1                               ; 0=0W, 1=1W, 2=4W, 3=9W, 4=16W, 5=25W, 6=36W, 7=49W, 8=64W, 9=81W (Power in Watts)
height = 0                              ; 0=10 1=20 2=40 3=80 4=160 5=320 6=640 7=1280 8=2560 9=5120 (AMSL in Feet)
gain = 0                                ; Gain in db (0-9)
dir = 0                                 ; 0=omni 1=45deg 2=90deg 3=135deg 4=180deg 5=225deg 6=270deg 7=315deg 8=360deg (Direction)
maxstns = 5                            ; Max Stations

rtcptimeout = 10
recfile = /tmp/echolink_recorded.gsm    ;
astnode = 481481             ; Change this!
context = radio-secure                  ; Default in code is echolink-in

; Max 3 servers
server1 = nasouth.echolink.org
server2 = naeast.echolink.org
server3 = server3.echolink.org

; To deny w6xxx you would add the statement: deny = w6xxx
; To prohibit computer-based connections you would write: permit = *-*
; To allow access to only a select group of callsigns: permit = w6abc,w6def,...
; permit                                ; comma delimited list of callsign, type (-r)
; deny


; Remote text commands thru netcat:
; o.conip &amp;lt;IPaddress&amp;gt;    (request a connect)
; o.dconip &amp;lt;IPaddress&amp;gt;   (request a disconnect)
; o.rec                  (turn on/off recording)

; ipaddr
; port
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;echolink.conf&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;echolinkconf&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;87-2134&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;managerconf&quot;&gt;manager.conf&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_15d1cf04a4bd433b3e955d90ef9c862b_2&quot;&gt;/etc/asterisk/manager.conf &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_15d1cf04a4bd433b3e955d90ef9c862b_2&quot;&gt;&lt;pre class=&quot;code&quot;&gt;;
; Asterisk Call Management support
;

; By default asterisk will listen on localhost only. 
[general]
enabled = yes
port = 5038
bindaddr = 127.0.0.1

[gm4slv]
secret = llcgi
read = all,system,call,log,verbose,command,agent,user,config
write = all,system,call,log,verbose,command,agent,user,config&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;manager.conf&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;managerconf&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;2135-2513&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;rptconf&quot;&gt;rpt.conf&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_15d1cf04a4bd433b3e955d90ef9c862b_3&quot;&gt;/etc/asterisk/rpt.conf &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_15d1cf04a4bd433b3e955d90ef9c862b_3&quot;&gt;&lt;pre class=&quot;code&quot;&gt;; Radio Repeater configuration file (for use with app_rpt)
; Your Repeater
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; This is where you define your nodes which can be connected to.
;

[nodes]
; Note, if you are using automatic update for allstar link nodes,
; no allstar link nodes should be defined here. Only place a definition
; for your local nodes, and private (off of allstar link) nodes here.

;481480 = radio@127.0.0.1:4569/481480,NONE	; This must be changed to your node number
481481 = radio@127.0.0.1:4569/481481,NONE	; This must be changed to your node number
                                        ; and iax port number if not the default

;[481480]					; Change this to your assigned node number
[481481]					; Change this to your assigned node number

                                        ; Must also be enabled in modules.conf
					; Rx audio/signalling channel. Choose ONLY 1 per node stanza

					; Enable the selected channel driver in modules.conf !!!
;rxchannel = dahdi/pseudo	        ; No radio (hub)
 rxchannel = SimpleUSB/usb_48148	; SimpleUSB
; rxchannel = Pi/1                      ; Raspberry Pi PiTA
; rxchannel = Radio/usb_48148		; USBRadio (DSP)
; rxchannel = Dahdi/1			; PCI Quad card
; rxchannel = Beagle/1			; BeagleBoard
; rxchannel = USRP/127.0.0.1:34001:32001; GNU Radio interface USRP
; rxchannel = Voter/48148                ; RTCM device


duplex = 1                              ; 0 = Half duplex with no telemetry tones or hang time.
                                        ;     Special Case: Full duplex if linktolink is set to yes.
                                        ;     This mode is preferred when interfacing with an external multiport repeater controller.
					;     Comment out idrecording and idtalkover to suppress IDs also
                                        ; 1 = Half duplex with telemetry tones and hang time. Does not repeat audio.
                                        ;     This mode is preferred when interfacing a simplex node.
                                        ; 2 = Full Duplex with telemetry tones and hang time.
                                        ;     This mode is preferred when interfacing a repeater.
                                        ; 3 = Full Duplex with telemetry tones and hang time, but no repeated audio.
                                        ; 4 = Full Duplex with telemetry tones and hang time. Repeated audio only when the autopatch is down.

linktolink = no				; disables forcing physical half-duplex operation of main repeater while
					; still keeping half-duplex semantics (optional)

linkmongain = 0				; Link Monitor Gain adjusts the audio level of monitored nodes when a signal from another node or the local receiver is received.
					; If linkmongain is set to a negative number the monitored audio will decrease by the set amount in db.
					; If linkmongain set to a positive number monitored audio will increase by the set amount in db.
					; The value of linkmongain is in db. The default value is 0 db.

erxgain = -3				; Echolink receive gain adjustment
					; Note: Gain is in db-volts (20logVI/VO)
etxgain = 3				; Echolink transmit gain adjustment
					; Note: Gain is in db-volts (20logVI/VO)
eannmode = 2                           ; 1 = Say only node number on echolink connects (default = 1)
                                        ; 2 = say phonetic call sign only on echolink connects
                                        ; 3 = say phonetic call sign and node number on echolink connects

;controlstates = controlstates		; system control state stanza

scheduler = schedule			; scheduler stanza
functions = functions			; Repeater Function stanza
phone_functions = functions		; Phone Function stanza
link_functions = functions		; Link Function stanza

telemetry = telemetry			; Telemetry stanza
morse = morse				; Morse stanza
wait_times = wait-times			; Wait times stanza

context = radio				; dialing context for phone
callerid = &amp;quot;Repeater&amp;quot; &amp;lt;0000000000&amp;gt;	; callerid for phone calls
accountcode = RADIO                     ; account code (optional)

hangtime = 200				; squelch tail hang time (in ms) (optional, default 5 seconds, 5000 ms)
althangtime = 300			; longer squelch tail
totime = 300000				; 5 mins (12/4/22) transmit time-out time (in ms) (optional, default 3 minutes 180000 ms)

telemnomdb = -3				;
telemduckdb = -10			;

;idrecording = /home/gm4slv/gm4slv_id
;idrecording = /home/gm4slv/mb7aze_id
idrecording = |iDE MB7AZE			; Main ID message

;idtalkover = |iMB7AZE			; Talkover ID message
idtalkover = |iMB7AZE			; Talkover ID message
					; See Telemetry section Example: idrecording = rpt/nodenames/48148
idtime = 900000				; 15 mins (12/4/22) id interval time (in ms) (optional) Default 5 minutes (300000 ms)
politeid = 30000			; time in milliseconds before ID timer expires to try and ID in the tail. (optional, default 30000)

unlinkedct = ct12			; Send a this courtesy tone when the user unkeys if the node is not connected to any other nodes. (optional, default is none)
remotect = ct3				; remote linked courtesy tone (indicates a remote is in the list of links)
linkunkeyct = ct4			; sent when a transmission received over the link unkeys
;nolocallinkct = 0			; Send unlinkedct instead if another local node is connected to this node (hosted on the same PC).

; Supermon smlogger
connpgm=/usr/local/sbin/supermon/smlogger 1
discpgm=/usr/local/sbin/supermon/smlogger 0

;connpgm = yourconnectprogram		; Disabled. Execute a program you specify on connect. (default)
					; passes 2 command line arguments to your program:
					; 1. node number in this stanza (us)
					; 2. node number being connected to us (them)
;discpgm = yourdisconnectprogram	; Disabled. Execute a program you specify on disconnect. (default)
					; passes 2 command line arguments to your program:
					; 1. node number in this stanza (us)
					; 2. node number being disconnected from us (them)

lnkactenable = 0			; Set to 1 to enable the link activity timer. Applicable to standard nodes only.

lnkacttime = 3600			; Link activity timer time in seconds.
lnkactmacro = *73			; Function to execute when link activity timer expires.
lnkacttimerwarn = custom/timeout		; Message to play when the link activity timer has 30 seconds left.

;remote_inact_timeout =	60		; Specifies the amount of time without keying from the link. Set to 0 to disable timeout. (15 * 60)
;remote_timeout =			; Session time out for remote base. Set to 0 to disable. (60 * 60)
;remote_timeout_warning_freq =		; 30
;remote_timeout_warning =		; (3 * 60)

;nounkeyct = 0				; Set to a 1 to eliminate courtesy tones and associated delays.

holdofftelem = 0			; Hold off all telemetry when signal is present on receiver or from connected nodes
					; except when an ID needs to be done and there is a signal coming from a connected node.

telemdefault = 1                        ; 0 = telemetry output off
                                        ; 1 = telemetry output on (default = 1)
                                        ; 2 = timed telemetry output on command execution and for a short time thereafter.

telemdynamic = 1                        ; 0 = disallow users to change the local telemetry setting with a COP command,
                                        ; 1 = Allow users to change the setting with a COP command. (default = 1)

beaconing = 1				; Send ID regardless of repeater activity (Required in the UK, but probably illegal in the US)

parrotmode = 1				; 0 = Parrot Off (default = 0)
					; 1 = Parrot On Command
					; 2 = Parrot Always
					; 3 = Parrot Once by Command

parrottime = 1000			; Set the amount of time in milliseconds
					; to wait before parroting what was received

;rxnotch=1065,40                        ; (Optional) Notch a particular frequency for a specified
                                        ; b/w. app_rpt must have been compiled with
                                        ; the notch option

startup_macro = *80*81*70

; nodenames = /var/lib/asterisk/sounds/rpt/nodenames.callsign	; Point to alternate nodename sound directory

; Stream your node audio to Broadcastify or similar. See https://wiki.allstarlink.org/wiki/Stream_Node_Audio_to_Broadcastify
; outstreamcmd = /bin/sh,-c,/usr/bin/lame --preset cbr 16 -r -m m -s 8 --bitwidth 16 - - | /usr/bin/ezstream -qvc /etc/ezstream.xml

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Need more information on these

;extnodes = extnodes-different	; section in extnodefile containing dynamic node information (optional)
;extnodefile = /home/gm4slv/rpt_extnodes	; Points to nodelist file containing dynamic node info default = /var/lib/asterisk/rpt_extnodes (optional)
;extnodefile2 =			; Is this a list of node files? Possible a list of private nodes or a list of static IPs for known nodes????
;nodenames = /foo/names         ; locaton of node sound files default = /var/lib/asterisk/sounds/rpt/nodenames
;archivedir = /tmp              ; defines and enables activity recording into specified directory (optional)
;monminblocks = 2048            ; Min 1K blocks to be left on partition (will not save monitor output if disk too full)

;                               ; The tailmessagetime,tailsquashedtime, and tailmessagelist need to be set
;                               ; to support tail messages. They can be omitted otherwise.
;tailmessagetime = 300000       ; Play a tail message every 5 mins
;tailsquashedtime = 30000       ; If squashed by another user,
;                               ; try again after 30 seconds
;tailmessagelist = msg1,msg2    ; list of messages to be played for tail message

; alt_functions
; ctgroup
; dphone_functions
; idtime
; iobase
; iospeed
; locallist
; mars		Remote Base
; memory
; nobusyout
; nodes
; nolocallinkct
; notelemtx
; outxlat
; parrot
; propagate_phonedtmf
; rptnode
; rptinactmacro  Macro to execute when inactivity timer expires
; rptinacttime   Inactivity timer time in seconds  (0 seconds disables feature)
; rxnotch	Optional Audio notch
; simplexphonedelay
; tonemacro
; tonezone
; txlimits


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


; *** Status Reporting ***

; Comment the following statpost line stop to reporting of the status of your node to stats.allstarlink.org
statpost_url = http://stats.allstarlink.org/uhandler ; Status updates

[functions]

; Prefix	Functions
; *1		Disconnect Link
; *2		Monitor Link
; *3		Connect Link
; *4		Command Mode
; *5		Macros
; *6		User Functions
; *7		Connection Status/Functions
; *8		User Functions
; *9		User Functions
; *0		User Functions

; *A		User Functions
; *B		User Functions
; *C		User Functions
; *D		User Functions


; Mandatory Command Codes
1 = ilink,1		; Disconnect specified link
2 = ilink,2		; Connect specified link -- monitor only
3 = ilink,3		; Connect specified link -- tranceive
4 = ilink,4		; Enter command mode on specified link

70 = ilink,5		; System status

;99 = cop,6              ; PTT (phone mode only)

; End Mandatory Command Codes

73 = ilink,6		; Disconnect All Links
74 = ilink,16		; Reconnect links disconnected with &amp;quot;disconnect all links&amp;quot;

80 = status,11         ; Force ID (local only)
81 = status,12         ; Give Time of Day (local only)

91 = cop,21		; Enable Parrot Mode
92 = cop,22		; Disable Parrot Mode
93 = cop,55		; Parrot Once if parrot mode is disabled

98 = cop,2		; System enable
99 = cop,3		; System disable

901 = cop,1				; System warm boot

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Macro Commands
5 = macro

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Autopatch Commands
; Note, This may be a good place for other 2 digit frequently used commands

;61 = autopatchup,noct = 1,farenddisconnect = 1,dialtime = 20000  ; Autopatch up
;62 = autopatchdn                                                 ; Autopatch down

; autopatchup can optionally take comma delimited setting=value pairs:

; context = string		; Override default context with &amp;quot;string&amp;quot;
; dialtime = ms			; Specify the max number of milliseconds between phone number digits (1000 milliseconds = 1 second)
; farenddisconnect = 1		; Automatically disconnect when called party hangs up
; noct = 1			; Don&amp;#039;t send repeater courtesy tone during autopatch calls
; quiet = 1			; Don&amp;#039;t send dial tone, or connect messages. Do not send patch down message when called party hangs up
				; Example: 123=autopatchup,dialtime=20000,noct=1,farenddisconnect=1

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Status Commands

; 1 - Force ID (global)
; 2 - Give Time of Day (global)
; 3 - Give software Version (global)
; 4 - Give GPS location info
; 5 - Last (dtmf) user
; 11 - Force ID (local only)
; 12 - Give Time of Day (local only)

;721 = status,1          ; Force ID (global)
;722 = status,2          ; Give Time of Day (global)
;723 = status,3          ; Give software Version (global)
;724 = status,4          ; Give GPS location info
;725 = status,5          ; Last (dtmf) user



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Link Commands

; 1 - Disconnect specified link
; 2 - Connect specified link -- monitor only
; 3 - Connect specified link -- tranceive
; 4 - Enter command mode on specified link
; 5 - System status
; 6 - Disconnect all links
; 7 - Last Node to Key Up
; 8 - Connect specified link -- local monitor only
; 9 - Send Text Message (9,&amp;lt;destnodeno or 0 (for all)&amp;gt;,Message Text, etc.
; 10 - Disconnect all RANGER links (except permalinks)
; 11 - Disconnect a previously permanently connected link
; 12 - Permanently connect specified link -- monitor only
; 13 - Permanently connect specified link -- tranceive
; 15 - Full system status (all nodes)
; 16 - Reconnect links disconnected with &amp;quot;disconnect all links&amp;quot;
; 17 - MDC test (for diag purposes)
; 18 - Permanently Connect specified link -- local monitor only

; ilink commands 1 through 5 are defined in the Mandatory Command section

;806 = ilink,6			; Disconnect all links
;827 = ilink,7			; Last Node to Key Up
;808 = ilink,8			; Connect specified link -- local monitor only
;809 = ilink,9,48148,&amp;quot;Testing&amp;quot;	; would send a text message to node 48148 replace 48148 with 0 for all connected nodes
;810 = ilink,10			; Disconnect all RANGER links (except permalinks)
;811 = ilink,11			; Disconnect a previously permanently connected link
;812 = ilink,12			; Permanently connect specified link -- monitor only
;823 = ilink,13			; Permanently connect specified link -- tranceive
;815 = ilink,15			; Full system status (all nodes)
;817 = ilink,17			; MDC test (for diag purposes)
;818 = ilink,18			; Permanently Connect specified link -- local monitor only

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Control operator (cop) functions.
; Change these to something other than these codes listed below!
; Uncomment as needed.

;901 = cop,1				; System warm boot

; 904 = cop,4				; Test tone on/off (toggle)
; 905 = cop,5				; Dump system variables on console (debug use only)

; 907 = cop,7				; Time out timer enable
; 908 = cop,8				; Time out timer disable

; 909 = cop,9				; Autopatch enable
; 910 = cop,10				; Autopatch disable

; 911 = cop,11				; User linking functions enable
; 912 = cop,12				; User linking functions disable

; 913 = cop,13				; Query system control state
; 914 = cop,14				; Set system control state

; 915 = cop,15				; Scheduler enable
; 916 = cop,16				; Scheduler disable

; 917 = cop,17				; User functions enable (time, id, etc)
; 918 = cop,18				; User functions disable

; 919 = cop,19				; Select alternate hang time (althangtime)
; 920 = cop,20				; Select standard hangtime (hangtime)


; 924 = cop,24				; Flush all telemetry
; 925 = cop,25				; Query last node un-keyed
; 926 = cop,26				; Query all nodes keyed/unkeyed
; 927 = cop,27				; Reset DAQ minimum on a pin
; 928 = cop,28				; Reset DAQ maximum on a pin

; 930 = cop,30				; Recall Memory Setting in Attached Xcvr

; 931 = cop,31				; Channel Selector for Parallel Programmed Xcvr

; 932 = cop,32				; Touchtone pad test: command + Digit string + # to playback all digits pressed

; 933 = cop,33				; Local Telemetry Output Enable
; 934 = cop,34				; Local Telemetry Output Disable
; 935 = cop,35				; Local Telemetry Output on Demand

; 936 = cop,36				; Foreign Link Local Output Path Enable
; 937 = cop,37				; Foreign Link Local Output Path Disable
; 938 = cop,38				; Foreign Link Local Output Path Follows Local Telemetry
; 939 = cop,39				; Foreign Link Local Output Path on Demand

; 942 = cop,42				; Echolink announce node # only
; 943 = cop,43				; Echolink announce node Callsign only
; 944 = cop,44				; Echolink announce node # &amp;amp; Callsign

; 945 = cop,45				; Link Activity timer enable
; 945 = cop,46				; Link Activity timer disable
; 947 = cop,47				; Reset &amp;quot;Link Config Changed&amp;quot; Flag

; 948 = cop,48				; Send Page Tone (Tone specs separated by parenthesis)

; 949 = cop,49				; Disable incoming connections (control state noice)
; 950 = cop,50				; Enable incoming connections (control state noicd)

; 951 = cop,51				; Enable sleep mode
; 952 = cop,52				; Disable sleep mode
; 953 = cop,53				; Wake up from sleep
; 954 = cop,54				; Go to sleep

; 956 = cop,56                            ; Rx CTCSS Enable
; 957 = cop,57                            ; Rx CTCSS Disable

; 958 = cop.58                            ; Tx CTCSS On Input only Enable
; 959 = cop,59                            ; Tx CTCSS On Input only Disable

; 960 = cop,60                            ; Send MDC-1200 Burst (cop,60,type,UnitID[,DestID,SubCode])
;                                         ; Type is &amp;#039;I&amp;#039; for PttID, &amp;#039;E&amp;#039; for Emergency, and &amp;#039;C&amp;#039; for Call
;                                         ; (SelCall or Alert), or &amp;#039;SX&amp;#039; for STS (ststus), where X is 0-F.
;                                         ; DestID and subcode are only specified for  the &amp;#039;C&amp;#039; type message.
;                                         ; UnitID is the local systems UnitID. DestID is the MDC1200 ID of
;                                         ; the radio being called, and the subcodes are as follows:
;                                         ; Subcode &amp;#039;8205&amp;#039; is Voice Selective Call for Spectra (&amp;#039;Call&amp;#039;)
;                                         ; Subcode &amp;#039;8015&amp;#039; is Voice Selective Call for Maxtrac (&amp;#039;SC&amp;#039;) or
;                                         ; Astro-Saber(&amp;#039;Call&amp;#039;)
;                                         ; Subcode &amp;#039;810D&amp;#039; is Call Alert (like Maxtrac &amp;#039;CA&amp;#039;)

; 961 = cop,61                            ; Send Message to USB to control GPIO pins (cop,61,GPIO1=0[,GPIO4=1].....)
; 962 = cop,62                            ; Send Message to USB to control GPIO pins, quietly (cop,62,GPIO1=0[,GPIO4=1].....)

; 963 = cop,63                            ; Send pre-configred APRSTT notification (cop,63,CALL[,OVERLAYCHR])
; 964 = cop,64                            ; Send pre-configred APRSTT notification, quietly (cop,64,CALL[,OVERLAYCHR])
; 965 = cop,65                            ; Send POCSAG page (equipped channel types only)

[functions-remote]

0 = remote,1                            ; Retrieve Memory
1 = remote,2                            ; Set freq.
2 = remote,3                            ; Set tx PL tone
3 = remote,4                            ; Set rx PL tone
40 = remote,100                         ; Rx PL off
41 = remote,101                         ; Rx PL on
42 = remote,102                         ; Tx PL off
43 = remote,103                         ; Tx PL on
44 = remote,104                         ; Low Power
45 = remote,105                         ; Medium Power
46 = remote,106                         ; High Power
711 = remote,107                        ; Bump -20
714 = remote,108                        ; Bump -100
717 = remote,109                        ; Bump -500
713 = remote,110                        ; Bump +20
716 = remote,111                        ; Bump +100
719 = remote,112                        ; Bump +500
721 = remote,113                        ; Scan - slow
724 = remote,114                        ; Scan - quick
727 = remote,115                        ; Scan - fast
723 = remote,116                        ; Scan + slow
726 = remote,117                        ; Scan + quick
729 = remote,118                        ; Scan + fast
79 = remote,119                         ; Tune
51 = remote,5                           ; Long status query
52 = remote,140				; Short status query
67 = remote,210				; Send a *
69 = remote,211				; Send a #
;91 = remote,99,CALLSIGN,LICENSETAG     ; Remote base login.
                                        ; Define a different dtmf sequence for each user which is
                                        ; authorized to use the remote base to control access to it.
                                        ; For examble 9139583=remote,99,WB6NIL,G would grant access to
                                        ; the remote base and announce WB6NIL as being logged in.
                                        ; Another entry, 9148351=remote,99,WA6ZFT,E would grant access to
                                        ; the remote base and announce WA6ZFT as being logged in.
                                        ; When the remote base is disconnected from the originating node, the
                                        ; user will be logged out. The LICENSETAG argument is used to enforce
					; tx frequency limits. See [txlimits] below.
85 = cop,6                              ; Remote base telephone key


[telemetry]

; Telemetry entries can be shared across all repeaters, or defined for each repeater.
; Can be a tone sequence, morse string, or a file
;
; |t - Tone escape sequence
;
; Tone sequences consist of 1 or more 4-tuple entries (freq1, freq2, duration, amplitude)
; Single frequencies are created by setting freq1 or freq2 to zero.
;
; |m - Morse escape sequence
;
; Sends Morse code at the telemetry amplitude and telemetry frequency as defined in the
; [morse] section.
;
; Follow with an alphanumeric string
;
; |i - Morse ID escape sequence
;
; Sends Morse code at the ID amplitude and ID frequency as defined in the
; [morse] section.
;
; path/to/sound/file/without/extension
;
; Send the sound if in place of a constructed tone. Do not include the file extension
; Example: ct8 = rpt/bloop
; Example: idrecording = rpt/nodenames/48148

ct1 = |t(350,0,100,2048)(500,0,100,2048)(660,0,100,2048)
ct2 = |t(660,880,150,2048)
ct3 = |t(440,0,150,4096)
ct4 = |t(550,0,150,2048)
ct5 = |t(660,0,150,2048)
ct6 = |t(880,0,150,2048)
ct7 = |t(660,440,150,2048)
ct8 = |t(700,1100,150,2048)
ranger = |t(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,150,0)
remotemon = |mR
;remotemon = |t(1209,0,50,2048)                                  ; local courtesy tone when receive only
remotetx = |mK
;remotetx = |t(1633,0,50,3000)(0,0,80,0)(1209,0,50,3000)		; local courtesy tone when linked Trancieve mode
cmdmode = |t(900,903,200,2048)
;functcomplete = |mW
functcomplete = |t(1000,0,100,2048)(0,0,100,0)(1000,0,100,2048)
remcomplete = |t(650,0,100,2048)(0,0,100,0)(650,0,100,2048)(0,0,100,0)(650,0,100,2048)
pfxtone = |t(350,440,30000,3072)
patchup = rpt/callproceeding
patchdown = rpt/callterminated

ct12 = |mI
ct13 = |mR

; As far as what the numbers mean,
; (000,000,010,000)
;   |   |   |   |-------amplitude
;   |   |   |-------------duration
;   |   |-------------------Tone 2
;   |-------------------------Tone 1

; So, with 0,0,10,0 That says No Tone1, No Tone2, 10ms duration, 0 Amplitude.
; Use it for a delay.  Fine tuning for how long before telemetry is sent, in conjunction with the telemdelay parameter)
; The numbers, like 350,440,10,2048 are 350Hz, 440Hz, 10ms delay, amplitude of 2048.

; Morse code parameters, these are common to all repeaters.

[morse]
speed = 18				; Approximate speed in WPM
frequency = 800				; Morse Telemetry Frequency
amplitude = 4096			; Morse Telemetry Amplitude
idfrequency = 1065			; Morse ID Frequency
idamplitude = 1024			; Morse ID Amplitude

;
; This section allows wait times for telemetry events to be adjusted
; A section for wait times can be defined for every repeater
;

[wait-times]
telemwait = 400                        ; Time to wait before sending most telemetry
idwait = 500                            ; Time to wait before starting ID
unkeywait = 200                        ; Time to wait after unkey before sending CT&amp;#039;s and link telemetry
calltermwait = 2000                     ; Time to wait before announcing &amp;quot;call terminated&amp;quot;

; Memories for remote bases

[memory]
;00 = 146.580,100.0,m
;01 = 147.030,103.5,m+t
;02 = 147.240,103.5,m+t
;03 = 147.765,79.7,m-t
;04 = 146.460,100.0,m
;05 = 146.550,100.0,m

; Place command macros here

[macro]
11 = *141223# ; disc. hubnet
21 = *241223# ; monitor hubnet
31 = *341223# ; transceive hubnet

12 = *12197# ; disc Freestar
22 = *22197# ; monitor Freestar
32 = *32197# ; transceive Freestar

13 = *129332# ; disc Alaska
23 = *229332# ; monitor Alaska
33 = *329332# ; transceive Alaska

14 = *154383# ; disc CQ North
24 = *254383# ; monitor CQ North
34 = *354383# ; transceive CQ North

191 = *140894# ; disconnect hubnet Echo
391 = *340894# ; connect hubnet echo

192 = *13009999#	; dis echolink echotest
392 = *33009999#	; con echolink echotest



; Data Acquisition configuration

;[daq-list]
;device = device_name1
;device = device_name2

;Where: device_name1 and device_name2 are stanzas you define in this file

;device = daq-cham-1

; Device name

;[daq-cham-1]				; Defined in [daq-list]
;hwtype = uchameleon			; DAQ hardware type
;devnode = /dev/ttyUSB0			; DAQ device node (if required)
;1 = inadc				; Pin definition for an ADC channel
;2 = inadc
;3 = inadc
;4 = inadc
;5 = inadc
;6 = inadc
;7 = inadc
;8 = inadc
;9 = inp				; Pin definition for an input with a weak pullup resistor
;10 = inp
;11 = inp
;12 = inp
;13 = in				; Pin definition for an input without a weak pullup resistor
;14 = out				; Pin definition for an output
;15 = out
;16 = out
;17 = out
;18 = out

;[meter-faces]

;face = scale(scalepre,scalediv,scalepost),word/?,...
;
; scalepre = offset to add before dividing with scalediv
; scalediv = full scale/number of whole units (e.g. 256/20 or 12.8 for 20 volts).
; scalepost = offset to add after dividing with scalediv
;
;face = range(X-Y:word,X2-Y2:word,...),word/?,...
;face = bit(low-word,high-word),word/?,...
;
; word/? is either a word in /var/lib/asterisk/sounds or one of its subdirectories,
; or a question mark which is  a placeholder for the measured value.
;
;
; Battery voltage 0-20 volts
;batvolts = scale(0,12.8,0),rpt/thevoltageis,?,ha/volts
; 4 quadrant wind direction
;winddir = range(0-33:north,34-96:west,97-160:south,161-224:east,225-255:north),rpt/thewindis,?
; LM34 temperature sensor with 130 deg. F full scale
;lm34f = scale(0,1.969,0),rpt/thetemperatureis,?,degrees,fahrenheit
; Status poll (non alarmed)
;light = bit(ha/off,ha/on),ha/light,?

;[alarms]
;
;tag = device,pin,node,ignorefirst,func-low,func-hi
;
;tag = a unique name for the alarm
;device = daq device to poll
;pin = the device pin to be monitored
;ignorefirstalarm = set to 1 to throwaway first alarm event, or 0 to report it
;node = the node number to execute the function on
;func-low = the DTMF function to execute on a high to low transition
;func-high = the DTMF function to execute on a low to high transition
;
; a  &amp;#039;-&amp;#039; as a function name is shorthand for no-operation
;
;door = daq-cham-1,9,1,2017,*7,-
;pwrfail = daq-cham-1,10,0,2017,*911111,-
;
; Control states
; Allow several control operator functions to be changed at once using one command (good for scheduling)
;
;[controlstates]
;statenum = copcmd,[copcmd]...
;0 = rptena,lnkena,apena,totena,ufena,noicd  ; Normal operation
;1 = rptena,lnkena,apdis,totdis,ufena,noice  ; Net and news operation
;2 = rptena,lnkdis,apdis,totena,ufdis,noice  ; Repeater only operation

; Scheduler - execute a macro at a given time

[schedule]
;dtmf_function =  m h dom mon dow  ; ala cron, star is implied
;8 = 55 12 * * *   ; at midnight, execute macro 2.

; See https://wiki.allstarlink.org/wiki/Event_Management
[events]

#includeifexists custom/rpt.conf

&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;rpt.conf&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;rptconf&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;2514-30933&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;simpleusbconf&quot;&gt;simpleusb.conf&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_15d1cf04a4bd433b3e955d90ef9c862b_4&quot;&gt;/etc/asterisk/simpleusb.conf &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_15d1cf04a4bd433b3e955d90ef9c862b_4&quot;&gt;&lt;pre class=&quot;code&quot;&gt;; If you are going to use this channel driver, you MUST enable it in modules.conf
; change:
; noload =&amp;gt; chan_simpleusb.so ;                   CM1xx USB Cards with Radio Interface Channel Driver (No DSP)
; to:
; load =&amp;gt; chan_simpleusb.so ;                   CM1xx USB Cards with Radio Interface Channel Driver (No DSP)

; SimpleUSB configuration

[general]

[usb_48148]

eeprom = 0              ; EEPROM installed: 0,1
                        ; 0 = no (default)
                        ; 1 = yes

hdwtype = 0		; Leave this set to 0 for USB sound fobs modified using
			; the instructions from usbfob.pdf. Use a setting of 
			; 1 is for Dingotel/Sph interfaces.

; Receiver parameters

rxboost = 0             ; 0 = 20db attenuator inserted, 1= 20db attenuator removed
                        ; Set to 1 for additonal gain if using a low-level receiver output

carrierfrom = usb ; no,usb,usbinvert
                        ; no - no carrier detection at all
                        ; usb - from the COR line on the USB sound fob (Active high)
                        ; usbinvert - from the inverted COR line on the USB sound fob (Active low)

ctcssfrom = no		; no,usb,usbinvert
                        ; no - CTCSS decoding, system will be carrier squelch
                        ; usb - CTCSS decoding using input from USB sound fob (Active high)
                        ; usbinvert - from the inverted CTCSS line on the USB sound fob (Active low)

deemphasis = yes         ; enable de-emphasis (input from discriminator)

plfilter = no           ; enable PL filter

;rxondelay = 0		; number of 20ms intervals to hold off receiver turn-on indication


; Transmitter parameters

txmixa = voice          ; Left channel output (A): no,voice
                        ; no - Do not output anything
                        ; voice - output voice only

txmixb = no		; Right channel output (B): no,voice
                        ; no - Do not output anything
                        ; voice - output voice only

txboost = 0

invertptt = 0           ; Invert PTT: 0,1
                        ; 0 - ground to transmit
                        ; 1 - open to transmit

preemphasis = yes	; Perform standard 6db/octave pre-emphasis

; pager = no            ; no,a,b (e.g. pager = b means &amp;quot;put the normal repeat audio on channel A, and the pager audio on channel B&amp;quot;)

; duplex3 = 0           ; duplex 3 gain setting (0 to disable)

duplex = 0              ; Duplex 0,1
                        ; 0 - half duplex
                        ; 1 - full duplex

#includeifexists custom/simpleusb.conf
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;simpleusb.conf&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;simpleusbconf&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;30934-33593&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;simpleusb_tune_usb_48148conf&quot;&gt;simpleusb_tune_usb_48148.conf&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_15d1cf04a4bd433b3e955d90ef9c862b_5&quot;&gt;/etc/asterisk/simpleusb_tune_usb_48148.conf &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_15d1cf04a4bd433b3e955d90ef9c862b_5&quot;&gt;&lt;pre class=&quot;code&quot;&gt;[usb_48148]
; name=usb_48148
; devicenum=1
devstr=1-1.2:1.0
rxmixerset=330
txmixaset=70
txmixbset=50
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;simpleusb_tune_usb_48148.conf&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;simpleusb_tune_usb_48148conf&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;33594-33811&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;crontab&quot;&gt;crontab&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;code&gt;00 * * * * sudo /usr/sbin/asterisk -rx “rpt localplay 481481 /home/gm4slv/mb7aze_id ” &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;00 * * * * sleep 4 &amp;amp;&amp;amp; sudo /usr/sbin/asterisk -rx “rpt fun 481481 *81” &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Page created Sun May 29 15:48:50 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/06/26 21:19 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:pi&amp;amp;do=showtag&amp;amp;tag=pi&quot; class=&quot;wikilink1&quot; title=&quot;tag:pi&quot; rel=&quot;tag&quot;&gt;pi&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:allstar&amp;amp;do=showtag&amp;amp;tag=allstar&quot; class=&quot;wikilink1&quot; title=&quot;tag:allstar&quot; rel=&quot;tag&quot;&gt;allstar&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:mb7aze&amp;amp;do=showtag&amp;amp;tag=mb7aze&quot; class=&quot;wikilink1&quot; title=&quot;tag:mb7aze&quot; rel=&quot;tag&quot;&gt;mb7aze&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;crontab&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;crontab&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:5,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;33812-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 20:19:57 +0000</pubDate>
        </item>
        <item>
            <title>Diaries</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:blog:diaries</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;diaries&quot;&gt;Diaries&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
I write this in the hope that anyone reading it might be inspired to start diary writing if they don&amp;#039;t already or to continue, and to discuss their process, if they do.
&lt;/p&gt;

&lt;p&gt;
I like to store memories on paper, for later. Mundane daily life or exciting events….
&lt;/p&gt;
&lt;blockquote  class=&quot;wrap__dark blockquote-plugin&quot;&gt;
&lt;p&gt;
What is a diary as a rule?
&lt;/p&gt;

&lt;p&gt;
A document useful to the person who keeps it. 
&lt;/p&gt;

&lt;p&gt;
Dull to the contemporary who reads it…
&lt;/p&gt;

&lt;p&gt;
…and invaluable to the student, centuries afterwards, who treasures it.
&lt;/p&gt;

&lt;p&gt;
&lt;cite class=&quot;blockquote-plugin&quot;&gt;Walter Scott&lt;/cite&gt;
&lt;/p&gt;

&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Diaries&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;diaries&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;1-542&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;i_keep_a_diary&quot;&gt;I keep a diary&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I started in 1992, my mid-20&amp;#039;s but then I let it lapse after a few inconsistent years of intermittent diary writing. Looking back the snatches of life I recorded from those days are (to me) fascinating and I regret not having kept it up.
&lt;/p&gt;

&lt;p&gt;
I started &lt;em&gt;bullet journaling&lt;/em&gt; in 2016, a few days before my 50&lt;sup&gt;th&lt;/sup&gt; birthday. 
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:blog:bullet1.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:bullet1.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=9622be&amp;amp;media=public:blog:bullet1.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;my first bullet journal entry 22 February 2016&quot; alt=&quot;my first bullet journal entry 22 February 2016&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
After about a year of this small &lt;em&gt;A6&lt;/em&gt; format *bullet-points-with-longer-bits-and sketches-every-now-and-again* I started *proper* daily diary writing later in 2017. Bullet-journaling is still one aspect of my practice, but not for task-management - just for remembering what I did.
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;ve been at it ever since. 
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;m 60 now, so that&amp;#039;s 10 year&amp;#039;s worth of life captured, in 46 A-5 sized Volumes  (I&amp;#039;m now on &lt;strong&gt;Volume 47&lt;/strong&gt;)
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;I keep a diary&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;i_keep_a_diary&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;543-1414&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;my_general_process&quot;&gt;My general process&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I write short bullet points at the beginning of  the day, and add others if necessary at other times. These can be quickly scanned when searching for things at a later data.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I do small sketches (usually pen &amp;amp; ink &amp;amp; watercolour) of little things that will jog my memory later &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:blog:img_20260218_084036.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:img_20260218_084036.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=5af360&amp;amp;media=public:blog:img_20260218_084036.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;a broken part from my 30 year old CD player...&quot; alt=&quot;a broken part from my 30 year old CD player...&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I write a long-form entry each morning telling the story of the previous day, usually between 2-5 pages, after the bullet-sketch-quick-view page(s)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; I stick in ephemera&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; cinema tickets&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; photographs&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; till receipts&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; bus tickets&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; labels &amp;amp; tags from significant purchases&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I write longer angsty brain-dumps on whatever topic is on my mind, to try and think-through something that&amp;#039;s bothering me &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
In more &lt;em&gt;bullet-journal&lt;/em&gt; style…..
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;things_i_track&quot;&gt;Things I track&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I keep track of various regular occurrences&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I keep track of purchases, online orders etc&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I keep a record of medications and medical treatments and consultations and symptoms&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:blog:img_20260218_083845.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:img_20260218_083845.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=b3c103&amp;amp;media=public:blog:img_20260218_083845.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;my 2-weekly injection&quot; alt=&quot;my 2-weekly injection&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I keep track of the scores of our almost daily chess games&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:blog:doughnut1.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:doughnut1.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=71f8a2&amp;amp;media=public:blog:doughnut1.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;a cuppa and doughnut over a game of chess - and I lost 2-1!&quot; alt=&quot;a cuppa and doughnut over a game of chess - and I lost 2-1!&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I note the weather each day&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I track what days I work (I&amp;#039;m self-employed, so it&amp;#039;s a bit variable)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; if I&amp;#039;ve walked the dogs&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; if I got to bed before 11pm&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I track if I cooked tea&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; if I went swimming&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I note the family finances each week&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; and the electricity meter reading&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; and heating oil level and when the last delivery was&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I note when I last changed the cooker&amp;#039;s propane gas bottle&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; and when I last had a haircut (in the kitchen, by my own hand, with clippers)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; and when the dog last had a haircut (at the groomer&amp;#039;s for the sum of £60, every roughly 6 weeks)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I note the deaths of *“significant”* celebrities&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
I get through an A5 Leuchtturm hard-back in around 9 weeks.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;My general process&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;my_general_process&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1415-3467&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;my_motivation&quot;&gt;My motivation?&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;strong&gt;Everything can be interesting when viewed later, from the future, even my own humdrum life.&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
I can now look back at almost 10 years of my “middle-age” life, in my 50s. 
&lt;/p&gt;

&lt;p&gt;
When I see the first frog spawn of the year…
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:blog:frog1.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:frog1.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=05013a&amp;amp;media=public:blog:frog1.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;9&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; March 2021&quot; alt=&quot;9&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; March 2021&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:blog:frog2.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:frog2.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=9b6a86&amp;amp;media=public:blog:frog2.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;25&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; February 2023&quot; alt=&quot;25&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; February 2023&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:blog:cake1.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:cake1.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=1d3a39&amp;amp;media=public:blog:cake1.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;and when I made the Christmas Cake&quot; alt=&quot;and when I made the Christmas Cake&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
When the car broke down, how often I&amp;#039;ve &lt;em&gt;agitated the septic-tank&lt;/em&gt; to break up fat-blockages (yes, indeed, the joys of isolated rural living). I can find that time when we kept pigs, or the dog had a cruciate ligament rupture (and the subsequent repair &amp;amp; recovery).
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:blog:blood1.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:blood1.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=f1d529&amp;amp;media=public:blog:blood1.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;a regular blood test gets a sketch each time&quot; alt=&quot;a regular blood test gets a sketch each time&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
And there&amp;#039;s the strange blank period of a couple of months in mid-2018, when I&amp;#039;d had a heart-attack and I seemed unable to write anything in my diary about it (or anything else). Until I was back to &lt;em&gt;normal&lt;/em&gt; again. I think I felt that I would remember everything anyway, without writing it down. I&amp;#039;m glad I did write a quick precis of the events of those weeks, even if it took a few months to get it down on paper. 
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:blog:covid1.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:covid1.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=745993&amp;amp;media=public:blog:covid1.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;And Covid-Times.....&quot; alt=&quot;And Covid-Times.....&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;m inspired by &lt;a href=&quot;https://en.wikipedia.org/wiki/Mass-Observation&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://en.wikipedia.org/wiki/Mass-Observation&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Mass Observation&lt;/a&gt;, the diaries of Alan Bennet, the writings of Simon Garfield, the passionate call-to arms in Irving Finkel&amp;#039;s video (see below). 
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;My motivation?&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;my_motivation&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;3468-4978&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;indexing&quot;&gt;Indexing&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
In December 2023 I decided that I need a way of finding old entries/events/facts etc. so I started an Index…. more later in a blog post…
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:blog:finding_things_in_a_diary&quot; class=&quot;wikilink1&quot; title=&quot;public:blog:finding_things_in_a_diary&quot; data-wiki-id=&quot;public:blog:finding_things_in_a_diary&quot;&gt;Finding Things In A Diary&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Indexing&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;indexing&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;4979-5172&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;influences&quot;&gt;Influences&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Influences&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;influences&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;5173-5197&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;alan_bennet&quot;&gt;Alan Bennet&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Writing Home&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Keeping on Keeping on&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; House Arrest&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Alan Bennet&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;alan_bennet&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;5198-5282&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;simon_garfield&quot;&gt;Simon Garfield&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Wartime Mass-Observation diary collections  &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.simongarfield.com/books/our-hidden-lives/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.simongarfield.com/books/our-hidden-lives/&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Our Hidden Lives&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.simongarfield.com/books/we-are-at-war/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.simongarfield.com/books/we-are-at-war/&quot; rel=&quot;ugc nofollow noopener&quot;&gt; We are at War&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.simongarfield.com/books/private-battles/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.simongarfield.com/books/private-battles/&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Private Battles&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.simongarfield.com/books/a-notable-woman/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.simongarfield.com/books/a-notable-woman/&quot; rel=&quot;ugc nofollow noopener&quot;&gt; A Notable Woman&lt;/a&gt;. The diary of Jean Lucey Pratt. &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Jean was one of the Mass Observation diarists in the Wartime collections above (&lt;em&gt;anonymized as “Maggie Joy Blunt”&lt;/em&gt;), but Jean also kept a separate diary covering her whole life, starting in 1925 aged 15 until she died in 1986.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Simon Garfield&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;simon_garfield&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;5283-5946&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit9&quot; id=&quot;the_great_diary_project&quot;&gt;The Great Diary Project&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
The wonderful Irving Finkel mini lecture on You Tube &lt;a href=&quot;https://youtu.be/X0hi2Q3TAK8&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://youtu.be/X0hi2Q3TAK8&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Rescuing unwanted diaries&lt;/a&gt;  gives a feel of why I think capturing everyday life, in ordinary peoples&amp;#039; diaries, is important. 
&lt;/p&gt;

&lt;p&gt;
The result of Irving&amp;#039;s discovery of the importance of diaries is the &lt;a href=&quot;https://www.thegreatdiaryproject.co.uk/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.thegreatdiaryproject.co.uk/&quot; rel=&quot;ugc nofollow noopener&quot;&gt; The Great Diary Project&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://youtu.be/rhi9xKGGWX8&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://youtu.be/rhi9xKGGWX8&quot; rel=&quot;ugc nofollow noopener&quot;&gt; The Man Who Saves Life Stories&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;The Great Diary Project&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;the_great_diary_project&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;5947-6403&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit10&quot; id=&quot;the_american_diary_project&quot;&gt;The American Diary Project&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
There is a similar project in the USA &lt;a href=&quot;https://americandiaryproject.com/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://americandiaryproject.com/&quot; rel=&quot;ugc nofollow noopener&quot;&gt; The American Diary Project&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;The American Diary Project&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;the_american_diary_project&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;6404-6548&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit11&quot; id=&quot;anne_lister&quot;&gt;Anne Lister&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Now well known after the BBC dramatization as “Gentleman Jack” - Anne Lister lived in the 18th Century, was a land-owning woman (unusual) and most famously, gay.
&lt;/p&gt;

&lt;p&gt;
Her diaries were written partly in a “secret” code, to hide the more personal aspects.
&lt;/p&gt;

&lt;p&gt;
They were researched and sections published in 2 volumes by Helena Whitbread. 
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://en.wikipedia.org/wiki/Anne Lister&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/Anne Lister&quot;&gt;Anne Lister&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;ve read the first volume, and it&amp;#039;s a fascinating insight into life in the 1820s - leaving aside the sexual aspects - just the practicalities of life, the leeches and quack medical treatments. The amount of walking needed to get anywhere, the poor diets (even for the wealthy). The physical discomfort tolerated (even by the wealthy).
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Anne Lister&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;anne_lister&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;6549-7260&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit12&quot; id=&quot;john_gadd&quot;&gt;John Gadd&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
I recently discovered John Gadd and his diary. 
&lt;/p&gt;

&lt;p&gt;
He seems to have kept a very similar style of journal to mine - writing daily in one book storing EVERYTHING, writing, photos, tickets, labels…. and a record of his day, his thoughts and only touching on “world news” if it particularly meant something to him.
&lt;/p&gt;

&lt;p&gt;
He called it his “Omnium Gatherum”. 
&lt;/p&gt;

&lt;p&gt;
He died aged 90 on 2020, after keeping his diary consistently since 1947, really settling on its eventual format in the early 1970s. His diary was a memory-aid, as is mine, but of course it also captures lots of other things, mundane at the time but over a lifetime the mundane becomes the historical, and illustrate how life changes. 
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;d love to see the books and look through the pages, and see how he indexed everything to make it searchable and to find anything within a few minutes.
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.bournemouthecho.co.uk/news/10777080.150-volumes-and-33000-pictures-meet-john-gadd-the-man-whos-written-britains-biggest-personal-diary/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.bournemouthecho.co.uk/news/10777080.150-volumes-and-33000-pictures-meet-john-gadd-the-man-whos-written-britains-biggest-personal-diary/&quot; rel=&quot;ugc nofollow noopener&quot;&gt; John Gadd article, Bournemouth Echo&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.dailymail.co.uk/news/article-2387793/Dear-diary--Man-83-shows-Britains-biggest-personal-journal-hes-writing-66-years-times-size-War-Peace.html&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dailymail.co.uk/news/article-2387793/Dear-diary--Man-83-shows-Britains-biggest-personal-journal-hes-writing-66-years-times-size-War-Peace.html&quot; rel=&quot;ugc nofollow noopener&quot;&gt; John Gadd article, Daily Mail&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.bbc.co.uk/programmes/b07zyhq2&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.bbc.co.uk/programmes/b07zyhq2&quot; rel=&quot;ugc nofollow noopener&quot;&gt; BBC Digital Human, Oct 2016 &lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;John Gadd&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;john_gadd&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;7261-8594&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit13&quot; id=&quot;my_diaries&quot;&gt;My Diaries&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;plugin_note noteclassic&quot;&gt;&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Book of choice: &lt;a href=&quot;https://www.leuchtturm1917.co.uk/notebooks/all-formats/medium-a5/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.leuchtturm1917.co.uk/notebooks/all-formats/medium-a5/&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Leuchtturm1917 A5 Hardback Dot Grid&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Pen(s) of choice : Lamy Safari EF nib, TWSBI Eco and Pigma Micron 02&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Fountain Pen Inks of choice : Diamine Eau de Nil &amp;amp; Platinum Carbon Black&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Watercolours of choice : &lt;a href=&quot;https://uk.winsornewton.com/collections/watercolour-sets/products/cotman-watercolours-sketchers-pocket-box&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://uk.winsornewton.com/collections/watercolour-sets/products/cotman-watercolours-sketchers-pocket-box&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Winsor &amp;amp; Newton Cotman Sketcher Pocket Set&lt;/a&gt;  with the China White swapped for some Payne&amp;#039;s Grey instead.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Shop of Choice : &lt;a href=&quot;https://www.cultpens.com/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.cultpens.com/&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Cult Pens &lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;My Diaries&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;my_diaries&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:13,&amp;quot;range&amp;quot;:&amp;quot;8595-9223&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit14&quot; id=&quot;some_pics&quot;&gt;Some pics:&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:15,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;group wrap__dark plugin_wrap&quot;&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:17,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_second wrap_column wrap__dark plugin_wrap&quot;&gt;
&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:img_20220203_083549_655.jpg&quot; class=&quot;media&quot; title=&quot;public:img_20220203_083549_655.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=898cd0&amp;amp;media=public:img_20220203_083549_655.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:img_20220203_085356_296.jpg&quot; class=&quot;media&quot; title=&quot;public:img_20220203_085356_296.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=1ecfb8&amp;amp;media=public:img_20220203_085356_296.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:img_20220203_092341_237.jpg&quot; class=&quot;media&quot; title=&quot;public:img_20220203_092341_237.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=b25e7f&amp;amp;media=public:img_20220203_092341_237.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:stationery:img_20250228_071146.jpg&quot; class=&quot;media&quot; title=&quot;public:stationery:img_20250228_071146.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=bfa3b1&amp;amp;media=public:stationery:img_20250228_071146.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;adding typed pages **and** photo of Frog-Spawn Day&quot; alt=&quot;adding typed pages **and** photo of Frog-Spawn Day&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:stationery:img_20250228_072054.jpg&quot; class=&quot;media&quot; title=&quot;public:stationery:img_20250228_072054.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=318210&amp;amp;media=public:stationery:img_20250228_072054.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot; more blood tests.... will it never end?&quot; alt=&quot; more blood tests.... will it never end?&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:18,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:19,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_second wrap_column wrap__dark plugin_wrap&quot;&gt;
&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:stationery:img_20250228_071225.jpg&quot; class=&quot;media&quot; title=&quot;public:stationery:img_20250228_071225.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=edbf27&amp;amp;media=public:stationery:img_20250228_071225.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:img_20231015_213841_559_1_.jpg&quot; class=&quot;media&quot; title=&quot;public:img_20231015_213841_559_1_.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=0376f6&amp;amp;media=public:img_20231015_213841_559_1_.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:img_20231206_074339.jpg&quot; class=&quot;media&quot; title=&quot;public:img_20231206_074339.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=47270a&amp;amp;media=public:img_20231206_074339.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:stationery:img_20250228_070419.jpg&quot; class=&quot;media&quot; title=&quot;public:stationery:img_20250228_070419.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=88e2ac&amp;amp;media=public:stationery:img_20250228_070419.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:stationery:img_20250228_070315.jpg&quot; class=&quot;media&quot; title=&quot;public:stationery:img_20250228_070315.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=deb1d9&amp;amp;media=public:stationery:img_20250228_070315.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;adding typed pages, glued into the diary&quot; alt=&quot;adding typed pages, glued into the diary&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:stationery:img_20250228_072107.jpg&quot; class=&quot;media&quot; title=&quot;public:stationery:img_20250228_072107.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=2a7436&amp;amp;media=public:stationery:img_20250228_072107.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;Xmas Cake Day!&quot; alt=&quot;Xmas Cake Day!&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:20,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:16,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Some pics:&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;some_pics&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:14,&amp;quot;range&amp;quot;:&amp;quot;9224-10095&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit21&quot; id=&quot;more_pics&quot;&gt;More Pics&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:stationery:diaries:bloods&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:stationery:diaries:bloods&quot; data-wiki-id=&quot;public:miscellany:stationery:diaries:bloods&quot;&gt;Bloods&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;More Pics&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;more_pics&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:21,&amp;quot;range&amp;quot;:&amp;quot;10096-10162&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit22&quot; id=&quot;further_reading&quot;&gt;Further Reading&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Reading&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_reading&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:22,&amp;quot;range&amp;quot;:&amp;quot;10163-10192&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit23&quot; id=&quot;on_indexing&quot;&gt;On Indexing&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://jamierubin.net/2021/09/13/how-i-index-my-journals/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://jamierubin.net/2021/09/13/how-i-index-my-journals/&quot; rel=&quot;ugc nofollow noopener&quot;&gt; How I index My Journals - jamierubin.net &lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.mylifeallinoneplace.com/2013/08/indexing-your-notebook-content.html&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://www.mylifeallinoneplace.com/2013/08/indexing-your-notebook-content.html&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Indexing notebooks - mylifeallinoneplace.com&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://thetechnicalgeekery.com/2013/06/the-complete-guide-to-indexing-your-paper-notes/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://thetechnicalgeekery.com/2013/06/the-complete-guide-to-indexing-your-paper-notes/&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Complete Guide to Indexing Paper Notes - thetechnicalgeekery.com&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://rozwoundup.com/indexing-my-journals&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://rozwoundup.com/indexing-my-journals&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Indexing my Journals - rozwoundup.com&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;On Indexing&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;on_indexing&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:23,&amp;quot;range&amp;quot;:&amp;quot;10193-10718&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit24&quot; id=&quot;general&quot;&gt;General&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://jamierubin.net/2021/02/28/diaries-journals-commonplace-books-and-notebooks/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://jamierubin.net/2021/02/28/diaries-journals-commonplace-books-and-notebooks/&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Diaries etc....jamierubin.net&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.reddit.com/r/Journaling/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.reddit.com/r/Journaling/&quot; rel=&quot;ugc nofollow noopener&quot;&gt; reddit : /r/Journaling &lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:diary&amp;amp;do=showtag&amp;amp;tag=diary&quot; class=&quot;wikilink1&quot; title=&quot;tag:diary&quot; rel=&quot;tag&quot;&gt;diary&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;General&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;general&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:24,&amp;quot;range&amp;quot;:&amp;quot;10719-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 07 Jul 2026 08:56:27 +0000</pubDate>
        </item>
        <item>
            <title>Desk15 - firmware for the DM15</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:3rd:desk15</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:3rd:start&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:3rd:start&quot; data-wiki-id=&quot;public:calculator:3rd:start&quot;&gt;3rd Party Firmware&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;desk15_-_firmware_for_the_dm15&quot;&gt;Desk15 - firmware for the DM15&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/fixme.svg&quot; class=&quot;icon smiley&quot; alt=&quot;FIXME&quot; /&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; From HP Forum &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-23488.html&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-23488.html&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.hpmuseum.org/forum/thread-23488.html&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; You Tube &lt;a href=&quot;https://youtu.be/ktrKZzN3wJw&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://youtu.be/ktrKZzN3wJw&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://youtu.be/ktrKZzN3wJw&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Github for firmware and brief README guide &lt;a href=&quot;https://github.com/zooxo/desk15&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://github.com/zooxo/desk15&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://github.com/zooxo/desk15&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Desk15 - firmware for the DM15&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;desk15_-_firmware_for_the_dm15&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;12-268&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;firmware_files&quot;&gt;Firmware Files&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;table sectionedit3&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Date&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Firmware&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Comment&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;17/02/26&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:desk15-001.hex&quot; class=&quot;media mediafile mf_hex&quot; title=&quot;public:calculator:info:desk15-001.hex (145.5 KB)&quot;&gt;desk15-001.hex&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Version 01 &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;296-390&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Firmware Files&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;firmware_files&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;269-392&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;readme&quot;&gt;README&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_ee57745b1cc1fa2d102d6fb4de645b3c_1&quot;&gt;The developer&amp;#039;s README (click to read) &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_ee57745b1cc1fa2d102d6fb4de645b3c_1&quot;&gt;&lt;pre class=&quot;code&quot;&gt;
This software is protected by the BSD 3 Clause Licence
and copyright (c) 2025 by deetee. All rights reserved.


DESK15 - Calculator suite (including a Spreadsheet) for the DM-15

____________________

PREAMBLE
____________________

The HP-15c was probably the most simple but versatile scientific calculator.
Similar to DESK42 (for the DM42) DESK15 offers an alternative firmware for the
DM15/DM15L replica of Swissmicros with a suite of some applications like a
complex number calculator, a spreadsheet, a symbolic, a tabletop calculator
and even a sliderule and a simple text editor.

Have fun!
deetee


____________________

INSTALLATION
____________________

To install a new firmware to a DM-15 (Voyager) calculator have a look at
chapter Firmware Update of the Swissmicros Voyager Series User Manual at:
  https://technical.swissmicros.com/voyager/firmware/

On linux computers for example install the package lpc21isp and flash the
desired firmware (hex file) to the calculator with:
  sudo lpc21isp &amp;lt;firmware.hex&amp;gt; /dev/ttyUSB0 115200 12000

After starting this command press the reset button on the backside of the
calculator with a paperclip. After the flashing procedure ends you might need to
reset the calculator again. Every Swissmicros-Calculator has a reset button
on the PCB (even if there is no hole to reach it).


____________________

DESK
____________________

When you start DESK15 the first time you see the application launcher DESK. You
can launch the desired application with the keys 7, 8, 9 and 4, 5, 6:

  7 PLEX ... Complex Number Calculator
  8 FLEX ... Symbolic Calculator
  9 RAX  ... Spreadsheet
  4 TTOP ... Table Top Calculator
  5 RULE ... Slide Rule Simulation
  6 TEX  ... Text Editor

On the right side of the screen you see some extra information like the battery
level, date (day) and time (24 hour format).

Please note that the battery level is a momentarily value that varies due to the
momentarily activity of the calculator. But if you see the empty battery symbol
quite often you might consider changing the battery.

____________________

PLEX
____________________

PLEX is a scientific calculator generically designed to work with complex
numbers. Many routines of PLEX are used by other applications (even if they work
with real numbers only). Beside advanced mathematic functions it even offers an
extensive function analysis (function value, slope, solve, integrate and plot).

PLEX supports the following functions:
  Basic
    0-9.      Number input
    ENTER     Enter number (stack lift) or duplicate TOS
    + - * /   Basic operation
    CHS       Negate TOS (ends number input)
    EEX       Push Y*10^X to the stack
    BSP gBSP  Clear number entry or TOS, clear stack and statistics data
    LASTx     Push last ENTERed number to stack
    SWAP      Swap X and Y
    ROT up/dn Rotate 3 stack elements
    STO RCL   Store TOS or push stored number to stack (store 0 to delete)
  Complex number operations
    fTAN      Convert X and Y (real values) to complex number (and vice versa)
    f1 g1     Display number in rectangular or polar view
    f-        Swap real and imaginary part of complex number
    fCHS      Conjugate complex number
  Advanced mathematics
    SQRT, SQR, EXP, LN, 10^X, LOG, Y^X, %, 1/X, delta%,
    FRAC, INT, ABS, PI, Pxy, Cxy, lnGAMMA (f0),
    SIN, COS, TAN, aSIN, aCOS, aTAN, SINH, COSH, TANH, aSINH, aCOSH, aTANH
    fENTER    NAND ~(X &amp;amp; Y) ... useful in HEX mode
    g-        Calculate 2 roots of quadratic equation xx+px+q=0 (enter p q)
    fCOS      PV (present value) of interest rate (%) and duration (periods)
  Statistics
    SUM+ SUM- Add/remove number to/from statistics registers
    g0 g.     Mean value and standard deviation
    fSUM      Parameters a and b of linear regression (y=a*x+b)
    gBSP      Clears statistics registers (and stack)
  Function analysis
    gR/S      Start key recorder to input f(x) (gR/S R/S to delete)
    R/S       Stop key recorder, calculate y=f(x)
    fg/ fg*   Solve, slope, integrate, plot
    GSB 8/9   SAVE/LOAD a recorded function to/from one of 6 slots
  Conversions
    fg7 8 9   cm&amp;lt;&amp;gt;in, km&amp;lt;&amp;gt;mi, km&amp;lt;&amp;gt;nmi
    fg4 5 6   kg&amp;lt;&amp;gt;lbs, °C&amp;lt;&amp;gt;°F, l&amp;lt;&amp;gt;gal
    fg1 2 3   rect/polar view, h&amp;lt;&amp;gt;h.ms, deg&amp;lt;&amp;gt;rad
  Menu
    GSB       QUIT, SAVE/LOAD, Physical Constant, Size of font, HEX mode
    fGSB      BATTERY, set LCD brightness/voltage, set OFFTIME
    gGSB      Get/set DATE, get/set TIME

    Please note:
    When in HEX mode enter numbers &amp;gt;9 with a dot (ie .1=a, .6=f).
    To set the OFFTIME (default is 60s) enter the desired value (5-300) in
    seconds to the stack and press Toff (fGSB6).
    Be careful when setting the lcd brightness (fGSB4, 0-64) or lcd voltage
    (fGSB5, 0-5-7). The default values are 0 and 5.
    Get/set date and time from/to the real time clock (RTC) with the gGSB menu.
    The format for the date on the stack is YY.MMDDw (where w is the number of
    the weekday (0=Monday). The format for the time is HH.MM.

  Physical constants keys (GSB4):
    ENTER     Select (push) constant
    2 8 3 9   Down, Up, PgDown, PgUp
    GSB       Quit (without selecting)

  Physical constants;
    0  c    299792458         Speed of light
    1  g    9.80665           Acceleration of gravity
    2  G    6.67430e-11       Newton constant of gravity
    3  Vm   0.02271095464     Molar volume of ideal gas
    4  NA   6.02214076e23     Avogadro constant
    5  Rinf 10973731.568160   Rydberg constant
    6  h    6.62607015e-34    Planck constant
    7  Phi0 2.067833848e-15   Magnetic flux quantum
    8  a0   5.29177210903e-11 Bohr radius
    9  k    1.380649e-23      Boltzmann constant
    10 R    8.314462618       Molar gas constant
    11 F    96485.33212       Faraday constant
    12 t    273.15            Celsius temperature
    13 atm  101325            Standard atmosphere
    14 e    1.602176634e-19   Elementary charge
    15 eps0 8.8541878128e-12  Vacuum electric permittivity
    16 mu0  1.25663706212e-6  Vacuum magnetic permeability
    17 Z0   376.730313668     Impedance of vacuum
    18 mU   1.6605390666e-27  Atomic mass constant
    19 re   2.8179403262e-15  Electron radius
    20 me   9.1093837015e-31  Electron mass
    21 mp   1.67262192369e-27 Proton mass
    22 mn   1.67492749804e-27 Neutron mass
    23 mmu  1.883531627e-28   Muon mass
    24 muB  9.2740100783e-24  Bohr magneton
    25 muN  5.0507837461e-27  Nuclear magneton
    26 mue  -9.2847647043e-24 Electron magnetic moment
    27 mup  1.41060679736e-26 Proton magnetic moment
    28 mun  -9.6623651e-27    Neutron magnetic moment
    29 mumu -4.4904483e-26    Muon magnetic moment
    30 alph 7.2973525693e-3   Fine structure constant
    31 sigm 5.670374419e-8    Stefan-Boltzmann constant
    32 G0   7.748091729       Conductance quantum
    33 gamp 2.6752218744e8    Proton gyromagnetic ratio
    34 C1   3.741771852e-16   First radiation constant
    35 C2   1.438776877e-2    Second radiation constant


____________________

RAX
____________________

RAX is the spreadsheet application of DESK15. When starting RAX you are in the
navigation mode, where the number keys work as cursor pad (see below). The
navigation mode is also active when you refer in a formula to a specific cell.

Keys in navigation mode:
  2 4 6 8  Navigation (Down/Left/Right/Up)
  ENTER 5  Edit selected cell, edit new formula cell
  R/S      Define and edit a new text cell
  BSP      Delete cell
  STO RCL  Save/load spreadsheet to/from one of 6 slots
           Please note that a text in the last cell (D8) is used as slot name.
  GSB      Menu: Quit RAX, New sheet, Copy&amp;amp;Glue/Paste, Hex mode (see PLEX)

Keys in edit mode (ENTER to select and quit):
  SST GTO        Cursor left/right
  SUM+           Insert a stack enter command to separate numbers
  BSP            Backspace - delete character
  RCL            Reference (Select reference cell and enter)
  ENTER GSB R/S  Quit edit mode to navigation mode

Keys in text edit mode (R/S):
  2 4 6 8    Navigation (Down/Left/Right/Up)
  7 1 5      Pos1, End, Center
  SST GTO    Cursor left/right
  BSP        Delete character (left of cursor)
  R/S ENTER  Exit text editing mode
  Any other key inserts the selected character.


____________________

FLEX
____________________

The symbolic calculator FLEX has the look and feel of PLEX, but actually
calculates in the first cell of a RAX spreadsheet. Hence you can see and edit
(with R/S) the formula that yields to the result.

Quit FLEX (and go back to the DESK menu) with GSB.

____________________

TTOP
____________________

TTOP is a tabletop calculator that enables (simple) calculations with big
numbers (even in HEX format) with up to 17 digits. If desired two digits are
used for decimals (ie for cent amounts). PLease note that entering decimals
(after pressing &amp;quot;.&amp;quot;) always &amp;quot;shifts the pressed number key in&amp;quot;.

TTOP supports the following functions:
  + - * / Basic operation
  CHS     Negate TOS (ends number input)
  EEX     Push Y*10^X to the stack (Y*16^X in HEX mode)
  ENTER   Enter number (stack lift) or duplicate TOS
  SWAP    Swap X and Y
  ROT     Rotate 3 stack elements
  BSP     Clear last number
  SQRT    Calculate square root
  SUM+    NAND ~(X &amp;amp; Y) ... useful in HEX mode
  STO RCL Store TOS or push stored number to stack (store 0 to delete)
  GSB     Menu: Quit TTOP, 0/2 decimals, HEX mode


____________________

RULE
____________________

RULE is a simulation of a historic slide rule for reasons of education and
reminiscence.

RULE supports the following functions:
  SQRT /   Slide one pixel left/right
  EXP 9    Slide 5 pixel left/right
  POW10 8  Slide 10 pixel left/right
  POW 7    Slide 20 pixel left/right
  GSB      Quit RULE


____________________

TEX
____________________

TEX is a (very) simple line oriented text editor. But as entering a text with
cursor keys is quite a pain TEX is sufficient to manage a ToDo or shopping list
or some important formulae. Please note that TEX can manage a maximum of 255
characters (with not more than 18 characters per line).

TTOP supports the following functions:
  4 8 3 9  Navigation (Down/Up/PdDown/PgUp)
  ENTER    Edit (top) line
  /        Edit line but split line at cursor position after editing
  *        Join two lines
  - BSP    Delete (top) line
  +        Insert line before top line
  STO RCL  Save/load TEX document to/from one of 6 slots
  GSB      Quit TEX

  To enter a new line after the last line edit with split option (/) and
  leave editor immediately (ENTER).
  To edit a text TEX uses the text editing routines of RAX (see above).

&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;README&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;readme&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;393-11063&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Page created  : 17/02/26 17:44 GMT
&lt;/p&gt;

&lt;p&gt;
Page updated : 19/04/26 21:14 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:calculator&amp;amp;do=showtag&amp;amp;tag=calculator&quot; class=&quot;wikilink1&quot; title=&quot;tag:calculator&quot; rel=&quot;tag&quot;&gt;calculator&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dm15l&amp;amp;do=showtag&amp;amp;tag=dm15l&quot; class=&quot;wikilink1&quot; title=&quot;tag:dm15l&quot; rel=&quot;tag&quot;&gt;dm15l&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:desk15&amp;amp;do=showtag&amp;amp;tag=desk15&quot; class=&quot;wikilink1&quot; title=&quot;tag:desk15&quot; rel=&quot;tag&quot;&gt;desk15&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;11064-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 19 Apr 2026 20:14:55 +0000</pubDate>
        </item>
        <item>
            <title>60m Transceiver</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:arduino:60m_transceiver</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:arduino:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:arduino:start&quot; data-wiki-id=&quot;public:radio:topics:arduino:start&quot;&gt;Arduino Projects&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;m_transceiver&quot;&gt;60m Transceiver&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
The 60m transceiver has the following features, which vary according to the loaded firmware
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Channelized operation&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; LCD display&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Frequency&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Mode (SSB / CW)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Modulation Source (Mic/Key/Data)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; RX / TX status&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 9MHz IF with Xtal filter&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; SSB &amp;amp; CW set via mode switch&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Approx 3W PEP&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Digital mode input/output and PTT via 9-pin D&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; SSB Mic input via 8-pin round “Icom” connector&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Modulation Source (Mic or Data) can chosen via select switch&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Scan start switch - scan a preset group of channels - cycles continuously, no “squelch”&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Use of Jenal SC2 CCIR493 Selcal microphone can be supported - including scanning&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;60m Transceiver&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;m_transceiver&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-707&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;arduino_versions&quot;&gt;Arduino Versions&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
There are several different firmware versions….this is just a sample…
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Arduino Versions&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;arduino_versions&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;708-812&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;rx_only_with_ssb_cw_scan&quot;&gt;RX Only, with SSB, CW &amp;amp; scan&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:topics:arduino:gm4slv_60m_channels_cwscan_noptt_new_calibration_130523.ino&quot; class=&quot;media mediafile mf_ino&quot; title=&quot;public:radio:topics:arduino:gm4slv_60m_channels_cwscan_noptt_new_calibration_130523.ino (14.3 KB)&quot;&gt;gm4slv_60m_channels_cwscan_noptt_new_calibration_130523.ino&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_d45123c413b9198075f9eec4d87a6236_1&quot;&gt;Firmware (Click to view) &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_d45123c413b9198075f9eec4d87a6236_1&quot;&gt;&lt;pre class=&quot;code c&quot;&gt;&lt;span class=&quot;co2&quot;&gt;#include &amp;lt;rgb_lcd.h&amp;gt;&lt;/span&gt;
&lt;span class=&quot;co2&quot;&gt;#include &amp;lt;si5351.h&amp;gt;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;char&lt;/span&gt; version&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;v0.1&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; channel_array&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; 
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;5258500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5260000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5261000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5262000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5263000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5276000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;5278500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5279000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5287200&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5290000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5298000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;5301000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5304000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5317000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5320000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5333000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;5334000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5335000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5354000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5355000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5362000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;5363000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5364700&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5366500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5371500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5378000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;5379000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5395000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5398500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5403500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;5345000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5245000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5450000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5505000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5680000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;5195000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5616000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5649000&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; scan_array&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; 
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
 &lt;span class=&quot;nu0&quot;&gt;5260000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5261000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
 &lt;span class=&quot;nu0&quot;&gt;5262000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5263000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
 &lt;span class=&quot;nu0&quot;&gt;5366500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5354000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
 &lt;span class=&quot;nu0&quot;&gt;5355000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; mems &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;sizeof&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;channel_array&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;sizeof&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; scan_mems &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;sizeof&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;scan_array&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;sizeof&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;// the last &amp;quot;no_scan&amp;quot; number channels of&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;// channel_array are not to be scanned. &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;// Put the channels not to be scanned last &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;// in the array and update no_scan to reflect. &lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; no_scan &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; 
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; bandStart &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5000000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;    
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; bandEnd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6000000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; txcio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9001200&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; cwoffset &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;600&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; filteroffset &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; channel &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu8&quot;&gt;01&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; channel_array&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;channel&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;//      &lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; oldfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; currentfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; updatedisplay &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;// Rotary encoder pins and other inputs&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; rotAPin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; rotBPin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; pushSwPin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; mictxrxPin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; txRLA1Pin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; txRLA2Pin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; datatxrxPin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; modRLAPin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; modeSWPin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; scanSWPin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; scanning &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; old_scanning &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; tx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; oldtxrx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; mod &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; oldmod &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; channel_freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// push-button to toggle tune method&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; old_channel_freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; scan_freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; scan_array&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;channel&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; old_scan_freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// 1 = USB/LSB, 0 = CW &lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; oldmode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;// Rotary encoder variables, used by interrupt routines&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; rotAval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; rotBval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; digit1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; digit2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; digit3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; digit4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;   
&lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; digit5 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; digit6 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; digit7 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;// Instantiate the Objects&lt;/span&gt;
rgb_lcd lcd&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
Si5351 si5351&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
byte customChar&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;nu6&quot;&gt;0b11111&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;nu6&quot;&gt;0b11011&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;nu6&quot;&gt;0b11001&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;nu6&quot;&gt;0b00000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;nu6&quot;&gt;0b11001&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;nu6&quot;&gt;0b11011&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;nu6&quot;&gt;0b11111&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;nu6&quot;&gt;0b11111&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; setup&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;// Set up frequency and radix switches&lt;/span&gt;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotAPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; INPUT_PULLUP&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotBPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; INPUT_PULLUP&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pushSwPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; INPUT_PULLUP&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mictxrxPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; INPUT_PULLUP&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;datatxrxPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; INPUT_PULLUP&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;modeSWPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; INPUT_PULLUP&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;scanSWPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; INPUT_PULLUP&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txRLA1Pin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; OUTPUT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txRLA2Pin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; OUTPUT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;modRLAPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; OUTPUT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  digitalWrite&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txRLA1Pin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; LOW&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  digitalWrite&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txRLA2Pin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; LOW&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  digitalWrite&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;modRLAPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; LOW&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;// Set up interrupt pins&lt;/span&gt;
  attachInterrupt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalPinToInterrupt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotAPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ISRrotAChange&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; CHANGE&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  attachInterrupt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalPinToInterrupt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotBPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ISRrotBChange&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; CHANGE&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;// Initialize the display&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;begin&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
lcd.&lt;span class=&quot;me1&quot;&gt;createChar&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; customChar&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// create a new custom character&lt;/span&gt;
&amp;nbsp;
  lcd.&lt;span class=&quot;me1&quot;&gt;cursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;// Initialize the Si5351&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;//si5351.init(SI5351_CRYSTAL_LOAD_8PF, 0, -31200);         // &lt;/span&gt;
  &lt;span class=&quot;co1&quot;&gt;//si5351.drive_strength(SI5351_CLK0, SI5351_DRIVE_8MA);   // 2 mA for HB mixers&lt;/span&gt;
  &lt;span class=&quot;co1&quot;&gt;//si5351.drive_strength(SI5351_CLK2, SI5351_DRIVE_8MA);   // 2 mA for HB mixers&lt;/span&gt;
&amp;nbsp;
  si5351.&lt;span class=&quot;me1&quot;&gt;init&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;SI5351_CRYSTAL_LOAD_8PF&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  si5351.&lt;span class=&quot;me1&quot;&gt;set_correction&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;34976&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_PLL_INPUT_XO&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  si5351.&lt;span class=&quot;me1&quot;&gt;set_pll&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;SI5351_PLL_FIXED&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_PLLA&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  si5351.&lt;span class=&quot;me1&quot;&gt;drive_strength&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;SI5351_CLK0&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_DRIVE_8MA&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  si5351.&lt;span class=&quot;me1&quot;&gt;drive_strength&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;SI5351_CLK2&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_DRIVE_8MA&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;// Update display and send start frequency&lt;/span&gt;
  UpdateDisplay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  SendFrequency&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; loop&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
  CheckScanSwitch&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;//CheckTXSwitch();&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;//CheckModSwitch();&lt;/span&gt;
&amp;nbsp;
  CheckModeSwitch&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;// Check to see if the freq has changed&lt;/span&gt;
  currentfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; getfreq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                      &lt;span class=&quot;co1&quot;&gt;// Interrupt safe method to get the current frequency&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;currentfreq &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; oldfreq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
    oldfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; currentfreq&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    UpdateDisplay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    SendFrequency&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;// Check the rotary encoder (radix) swith&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pushSwPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; LOW&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;           &lt;span class=&quot;co1&quot;&gt;// Read the rotary encoder switch&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    delay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pushSwPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; LOW&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;channel_freq &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      channel_freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;channel_freq &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      channel_freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;//delay(50);&lt;/span&gt;
&amp;nbsp;
    UpdateDisplay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// end of main loop&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; getfreq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; temp_freq&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  cli&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  temp_freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; freq&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  sei&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; temp_freq&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; CheckScanSwitch&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
 &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;scanSWPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
      scanning  &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
      scan_freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
      channel &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; channel &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;channel &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; scan_mems &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;no_scan &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
              channel &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
      freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; scan_array&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;channel&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
      UpdateDisplay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
      SendFrequency&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
      delay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;scanning &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; old_scanning&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        scanning &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        UpdateDisplay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
      old_scanning &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; scanning&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;//void CheckModSwitch()&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//{&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//  if (digitalRead(modSWPin) == 0)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//      mod = 0;                             // 0 = Phone&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//  else if (digitalRead(modSWPin) == 1)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//      mod = 1;                                 // 1=Data&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;//  if (mod != oldmod)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//  {&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//    if ( mod == 0)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//      {&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//        digitalWrite(modRLAPin,LOW);&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//      }&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//    else&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//      {&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//        digitalWrite(modRLAPin,HIGH);&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//      } &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//    UpdateDisplay();&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//    SendFrequency();&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//    oldmod = mod;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//  }&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//}&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; CheckModeSwitch&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;modeSWPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
      mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                             &lt;span class=&quot;co1&quot;&gt;// 0 = CW&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;modeSWPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
      mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                                 &lt;span class=&quot;co1&quot;&gt;// 1=SSB&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; oldmode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
      &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
      &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; 
    UpdateDisplay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    SendFrequency&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    oldmode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; mode&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; CheckTXSwitch&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;scanning &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mictxrxPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    tx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                             &lt;span class=&quot;co1&quot;&gt;// 1=TX&lt;/span&gt;
    mod &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
   &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;  &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;datatxrxPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;  tx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
     mod &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;  &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mictxrxPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;  tx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                                 &lt;span class=&quot;co1&quot;&gt;// 0=Phone&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;datatxrxPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
 &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;   tx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
 &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;tx &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; oldtxrx&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; tx &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; mod &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
          digitalWrite&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;modRLAPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;LOW&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; mod &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
          digitalWrite&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;modRLAPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;HIGH&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
        digitalWrite&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txRLA1Pin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;HIGH&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        digitalWrite&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txRLA2Pin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;HIGH&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        digitalWrite&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txRLA1Pin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;LOW&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        digitalWrite&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txRLA2Pin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;LOW&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;   
      &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    UpdateDisplay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    SendFrequency&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    oldtxrx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;// Interrupt routines&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; ISRrotAChange&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotAPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    rotAval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    UpdateRot&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    rotAval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    UpdateRot&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; ISRrotBChange&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotBPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    rotBval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    UpdateRot&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    rotBval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    UpdateRot&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;// Determine which way the rotary encoder is rotating and action as required&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; UpdateRot&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;switch&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotState&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;case&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;                                         &lt;span class=&quot;co1&quot;&gt;// Idle state, look for direction&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;rotBval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                               &lt;span class=&quot;co1&quot;&gt;// CW 1&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;rotAval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                              &lt;span class=&quot;co1&quot;&gt;// CCW 1&lt;/span&gt;
      &lt;span class=&quot;kw2&quot;&gt;break&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;case&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;                                         &lt;span class=&quot;co1&quot;&gt;// CW, wait for A low while B is low&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;rotBval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;rotAval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
          &lt;span class=&quot;co1&quot;&gt;// either increment the radix or freq&lt;/span&gt;
          &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;channel_freq &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
          &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
            updatedisplay &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
            freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; freq &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
              freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; freq &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; bandEnd&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
              freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; bandEnd&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
          &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
          &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
          &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
            channel &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; channel &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;channel &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; mems &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
              channel &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
            freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; channel_array&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;channel&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; 
          &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
          rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                             &lt;span class=&quot;co1&quot;&gt;// CW 2&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotAval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                               &lt;span class=&quot;co1&quot;&gt;// It was just a glitch on B, go back to start&lt;/span&gt;
      &lt;span class=&quot;kw2&quot;&gt;break&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;case&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;                                         &lt;span class=&quot;co1&quot;&gt;// CW, wait for B high&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotBval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                               &lt;span class=&quot;co1&quot;&gt;// CW 3&lt;/span&gt;
      &lt;span class=&quot;kw2&quot;&gt;break&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;case&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;                                         &lt;span class=&quot;co1&quot;&gt;// CW, wait for A high&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotAval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                               &lt;span class=&quot;co1&quot;&gt;// back to idle (detent) state&lt;/span&gt;
      &lt;span class=&quot;kw2&quot;&gt;break&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;case&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;                                        &lt;span class=&quot;co1&quot;&gt;// CCW, wait for B low while A is low&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;rotAval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;rotBval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
          &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; channel_freq &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
          &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
            updatedisplay &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
            freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; freq &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
              freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; freq &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; bandStart&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
              freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; bandStart&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
          &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
          &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
          &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
            channel &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; channel &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;channel &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
             &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
              channel &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; mems &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
             &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
            freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; channel_array&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;channel&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
          &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
          rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                            &lt;span class=&quot;co1&quot;&gt;// CCW 2&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotBval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                               &lt;span class=&quot;co1&quot;&gt;// It was just a glitch on A, go back to start&lt;/span&gt;
      &lt;span class=&quot;kw2&quot;&gt;break&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;case&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;                                        &lt;span class=&quot;co1&quot;&gt;// CCW, wait for A high&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotAval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;13&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                              &lt;span class=&quot;co1&quot;&gt;// CCW 3&lt;/span&gt;
      &lt;span class=&quot;kw2&quot;&gt;break&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;case&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;13&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;                                        &lt;span class=&quot;co1&quot;&gt;// CCW, wait for B high&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotBval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                               &lt;span class=&quot;co1&quot;&gt;// back to idle (detent) state&lt;/span&gt;
      &lt;span class=&quot;kw2&quot;&gt;break&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; UpdateDisplay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    digit1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;nu19&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    digit2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;nu19&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    digit3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;nu19&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    digit4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;nu19&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;   
    digit5 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;nu19&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    digit6 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;100000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;nu19&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    digit7 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1000000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;nu19&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digit7&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digit6&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digit5&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digit4&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;.&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digit3&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digit2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;kHz&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;        &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;channel&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; 
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;scanning &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
   &lt;span class=&quot;co1&quot;&gt;// lcd.print(&amp;quot;|&amp;quot;);&lt;/span&gt;
&amp;nbsp;
  lcd.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;// print the custom char at (2, 0)&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
 &lt;span class=&quot;coMULTI&quot;&gt;/*
  //if (channel &amp;lt; 10)
  //{
  //lcd.print(&amp;quot;0&amp;quot;);
  //}
  //lcd.print(channel);
&amp;nbsp;
 lcd.setCursor(0,1);
 if (freq == 5287200 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;WSPR1&amp;quot;);
 }
&amp;nbsp;
 if (freq == 5290000 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;ORK&amp;quot;);
 }
&amp;nbsp;
 if (freq == 5364700 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;WSPR2&amp;quot;);
 }
&amp;nbsp;
 if (freq == 5450000 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;RAF&amp;quot;);
 }
&amp;nbsp;
 if (freq == 5505000 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;EIP&amp;quot;);
 }
&amp;nbsp;
if (freq == 5317000 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;VMARS&amp;quot;);
 }
&amp;nbsp;
if (freq == 5366500 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;FK&amp;quot;);
 }
&amp;nbsp;
if (freq == 5258500 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;FA&amp;quot;);
 }
&amp;nbsp;
if (freq == 5278500 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;FB&amp;quot;);
 }
&amp;nbsp;
if (freq == 5288500 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;FC&amp;quot;);
 }
&amp;nbsp;
if (freq == 5371500 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;FL&amp;quot;);
 }
&amp;nbsp;
if (freq == 5398500 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;FE&amp;quot;);
 }
&amp;nbsp;
 if (freq == 5403500 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;FM&amp;quot;);
 }
&amp;nbsp;
if (freq == 5195000 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;DRA5&amp;quot;);
 }
&amp;nbsp;
if (freq == 5262000 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;QRP CW&amp;quot;);
 }
&amp;nbsp;
&amp;nbsp;
if ((freq &amp;gt;= 5259000) &amp;amp;&amp;amp; (freq &amp;lt; 5262000) )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;CW&amp;quot;);
 }
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
*/&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
 lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;tx &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
   &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt; lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;RX&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
   &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;tx &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
   &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;TX&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;SSB&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot; CW&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot; Key&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;//lcd.print(version);&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mod &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot; Mic&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;//lcd.print(version);&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
   lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Data&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
   &lt;span class=&quot;co1&quot;&gt;//lcd.print(version);&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;channel_freq &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;blink&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;noBlink&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// end of updatedisplay()&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; SendFrequency&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// SSB&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    si5351.&lt;span class=&quot;me1&quot;&gt;set_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txcio &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; 100ULL&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_CLK0&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;     &lt;span class=&quot;co1&quot;&gt;// VFO&lt;/span&gt;
    si5351.&lt;span class=&quot;me1&quot;&gt;set_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txcio &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; 100ULL&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_CLK2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;              &lt;span class=&quot;co1&quot;&gt;// BFO&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// CW&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; tx &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
    si5351.&lt;span class=&quot;me1&quot;&gt;set_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txcio &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; freq &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; cwoffset &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; filteroffset&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; 100ULL&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_CLK0&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;    &lt;span class=&quot;co1&quot;&gt;// VFO&lt;/span&gt;
    si5351.&lt;span class=&quot;me1&quot;&gt;set_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txcio  &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; filteroffset&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; 100ULL&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_CLK2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                     &lt;span class=&quot;co1&quot;&gt;// BFO&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;tx &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
    si5351.&lt;span class=&quot;me1&quot;&gt;set_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txcio &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; freq &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; cwoffset &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; filteroffset&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; 100ULL&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_CLK0&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;    &lt;span class=&quot;co1&quot;&gt;// VFO&lt;/span&gt;
    si5351.&lt;span class=&quot;me1&quot;&gt;set_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txcio &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; cwoffset &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; filteroffset&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; 100ULL&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_CLK2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;           &lt;span class=&quot;co1&quot;&gt;// BFO&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// end of sendfrequency()&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;RX Only, with SSB, CW &amp;amp; scan&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;rx_only_with_ssb_cw_scan&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;813-15688&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;full_tx_rx_-_with_ssb_cw_scan&quot;&gt;Full TX/RX - with SSB, CW &amp;amp; Scan&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:topics:arduino:gm4slv_60m_channels_cwscan_ptt_new_calibration_230823.ino&quot; class=&quot;media mediafile mf_ino&quot; title=&quot;public:radio:topics:arduino:gm4slv_60m_channels_cwscan_ptt_new_calibration_230823.ino (14.3 KB)&quot;&gt;gm4slv_60m_channels_cwscan_ptt_new_calibration_230823.ino&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_d45123c413b9198075f9eec4d87a6236_2&quot;&gt;Firmware (Click to view) &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_d45123c413b9198075f9eec4d87a6236_2&quot;&gt;&lt;pre class=&quot;code c&quot;&gt;&lt;span class=&quot;co2&quot;&gt;#include &amp;lt;rgb_lcd.h&amp;gt;&lt;/span&gt;
&lt;span class=&quot;co2&quot;&gt;#include &amp;lt;si5351.h&amp;gt;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;char&lt;/span&gt; version&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;v0.1&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; channel_array&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; 
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;5258500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5260000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5261000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5262000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5263000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5276000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;5278500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5279000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5287200&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5290000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5298000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;5301000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5304000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5317000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5320000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5333000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;5334000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5335000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5354000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5355000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5362000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;5363000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5364700&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5366500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5371500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5378000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;5379000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5395000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5398500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5403500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;5345000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5245000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5450000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5505000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5680000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;5195000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5616000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5649000&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; scan_array&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; 
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
 &lt;span class=&quot;nu0&quot;&gt;5260000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5261000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
 &lt;span class=&quot;nu0&quot;&gt;5262000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5263000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
 &lt;span class=&quot;nu0&quot;&gt;5366500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5354000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
 &lt;span class=&quot;nu0&quot;&gt;5355000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; mems &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;sizeof&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;channel_array&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;sizeof&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; scan_mems &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;sizeof&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;scan_array&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;sizeof&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;// the last &amp;quot;no_scan&amp;quot; number channels of&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;// channel_array are not to be scanned. &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;// Put the channels not to be scanned last &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;// in the array and update no_scan to reflect. &lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; no_scan &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; 
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; bandStart &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5000000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;    
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; bandEnd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6000000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; txcio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9001200&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; cwoffset &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;600&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; filteroffset &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; channel &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu8&quot;&gt;01&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; channel_array&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;channel&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;//      &lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; oldfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; currentfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; updatedisplay &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;// Rotary encoder pins and other inputs&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; rotAPin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; rotBPin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; pushSwPin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; mictxrxPin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; txRLA1Pin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; txRLA2Pin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; datatxrxPin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; modRLAPin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; modeSWPin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; scanSWPin &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; scanning &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; old_scanning &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; tx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; oldtxrx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; mod &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; oldmod &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; channel_freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// push-button to toggle tune method&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; old_channel_freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; scan_freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; scan_array&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;channel&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; old_scan_freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// 1 = USB/LSB, 0 = CW &lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; oldmode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;// Rotary encoder variables, used by interrupt routines&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; rotAval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;volatile&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; rotBval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; digit1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; digit2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; digit3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; digit4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;   
&lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; digit5 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; digit6 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; digit7 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;// Instantiate the Objects&lt;/span&gt;
rgb_lcd lcd&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
Si5351 si5351&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
byte customChar&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;nu6&quot;&gt;0b11111&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;nu6&quot;&gt;0b11011&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;nu6&quot;&gt;0b11001&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;nu6&quot;&gt;0b00000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;nu6&quot;&gt;0b11001&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;nu6&quot;&gt;0b11011&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;nu6&quot;&gt;0b11111&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;nu6&quot;&gt;0b11111&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; setup&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;// Set up frequency and radix switches&lt;/span&gt;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotAPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; INPUT_PULLUP&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotBPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; INPUT_PULLUP&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pushSwPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; INPUT_PULLUP&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mictxrxPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; INPUT_PULLUP&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;datatxrxPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; INPUT_PULLUP&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;modeSWPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; INPUT_PULLUP&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;scanSWPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; INPUT_PULLUP&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txRLA1Pin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; OUTPUT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txRLA2Pin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; OUTPUT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  pinMode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;modRLAPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; OUTPUT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  digitalWrite&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txRLA1Pin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; LOW&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  digitalWrite&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txRLA2Pin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; LOW&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  digitalWrite&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;modRLAPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; LOW&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;// Set up interrupt pins&lt;/span&gt;
  attachInterrupt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalPinToInterrupt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotAPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ISRrotAChange&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; CHANGE&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  attachInterrupt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalPinToInterrupt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotBPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ISRrotBChange&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; CHANGE&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;// Initialize the display&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;begin&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
lcd.&lt;span class=&quot;me1&quot;&gt;createChar&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; customChar&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// create a new custom character&lt;/span&gt;
&amp;nbsp;
  lcd.&lt;span class=&quot;me1&quot;&gt;cursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;// Initialize the Si5351&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;//si5351.init(SI5351_CRYSTAL_LOAD_8PF, 0, -31200);         // &lt;/span&gt;
  &lt;span class=&quot;co1&quot;&gt;//si5351.drive_strength(SI5351_CLK0, SI5351_DRIVE_8MA);   // 2 mA for HB mixers&lt;/span&gt;
  &lt;span class=&quot;co1&quot;&gt;//si5351.drive_strength(SI5351_CLK2, SI5351_DRIVE_8MA);   // 2 mA for HB mixers&lt;/span&gt;
&amp;nbsp;
  si5351.&lt;span class=&quot;me1&quot;&gt;init&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;SI5351_CRYSTAL_LOAD_8PF&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  si5351.&lt;span class=&quot;me1&quot;&gt;set_correction&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;34976&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_PLL_INPUT_XO&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  si5351.&lt;span class=&quot;me1&quot;&gt;set_pll&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;SI5351_PLL_FIXED&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_PLLA&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  si5351.&lt;span class=&quot;me1&quot;&gt;drive_strength&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;SI5351_CLK0&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_DRIVE_8MA&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  si5351.&lt;span class=&quot;me1&quot;&gt;drive_strength&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;SI5351_CLK2&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_DRIVE_8MA&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;// Update display and send start frequency&lt;/span&gt;
  UpdateDisplay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  SendFrequency&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; loop&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
  CheckScanSwitch&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  CheckTXSwitch&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;//CheckModSwitch();&lt;/span&gt;
&amp;nbsp;
  CheckModeSwitch&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;// Check to see if the freq has changed&lt;/span&gt;
  currentfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; getfreq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                      &lt;span class=&quot;co1&quot;&gt;// Interrupt safe method to get the current frequency&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;currentfreq &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; oldfreq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
    oldfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; currentfreq&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    UpdateDisplay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    SendFrequency&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;co1&quot;&gt;// Check the rotary encoder (radix) swith&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pushSwPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; LOW&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;           &lt;span class=&quot;co1&quot;&gt;// Read the rotary encoder switch&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    delay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pushSwPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; LOW&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;channel_freq &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      channel_freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;channel_freq &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      channel_freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;//delay(50);&lt;/span&gt;
&amp;nbsp;
    UpdateDisplay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// end of main loop&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; getfreq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; temp_freq&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  cli&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  temp_freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; freq&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  sei&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; temp_freq&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; CheckScanSwitch&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
 &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;scanSWPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
      scanning  &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
      scan_freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
      channel &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; channel &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;channel &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; scan_mems &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;no_scan &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
              channel &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
      freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; scan_array&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;channel&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
      UpdateDisplay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
      SendFrequency&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
      delay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;scanning &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; old_scanning&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        scanning &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        UpdateDisplay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
      old_scanning &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; scanning&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;//void CheckModSwitch()&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//{&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//  if (digitalRead(modSWPin) == 0)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//      mod = 0;                             // 0 = Phone&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//  else if (digitalRead(modSWPin) == 1)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//      mod = 1;                                 // 1=Data&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;//  if (mod != oldmod)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//  {&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//    if ( mod == 0)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//      {&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//        digitalWrite(modRLAPin,LOW);&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//      }&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//    else&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//      {&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//        digitalWrite(modRLAPin,HIGH);&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//      } &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//    UpdateDisplay();&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//    SendFrequency();&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//    oldmod = mod;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//  }&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//}&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; CheckModeSwitch&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;modeSWPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
      mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                             &lt;span class=&quot;co1&quot;&gt;// 0 = CW&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;modeSWPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
      mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                                 &lt;span class=&quot;co1&quot;&gt;// 1=SSB&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; oldmode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
      &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
      &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; 
    UpdateDisplay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    SendFrequency&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    oldmode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; mode&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; CheckTXSwitch&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;scanning &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mictxrxPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    tx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                             &lt;span class=&quot;co1&quot;&gt;// 1=TX&lt;/span&gt;
    mod &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
   &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;  &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;datatxrxPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;  tx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
     mod &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;  &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mictxrxPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;  tx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                                 &lt;span class=&quot;co1&quot;&gt;// 0=Phone&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;datatxrxPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
 &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;   tx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
 &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;tx &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; oldtxrx&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; tx &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; mod &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
          digitalWrite&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;modRLAPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;LOW&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; mod &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
          digitalWrite&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;modRLAPin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;HIGH&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
        digitalWrite&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txRLA1Pin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;HIGH&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        digitalWrite&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txRLA2Pin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;HIGH&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        digitalWrite&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txRLA1Pin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;LOW&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        digitalWrite&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txRLA2Pin&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;LOW&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;   
      &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    UpdateDisplay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    SendFrequency&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    oldtxrx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;// Interrupt routines&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; ISRrotAChange&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotAPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    rotAval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    UpdateRot&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    rotAval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    UpdateRot&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; ISRrotBChange&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digitalRead&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotBPin&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    rotBval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    UpdateRot&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    rotBval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    UpdateRot&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;// Determine which way the rotary encoder is rotating and action as required&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; UpdateRot&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;switch&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotState&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;case&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;                                         &lt;span class=&quot;co1&quot;&gt;// Idle state, look for direction&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;rotBval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                               &lt;span class=&quot;co1&quot;&gt;// CW 1&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;rotAval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                              &lt;span class=&quot;co1&quot;&gt;// CCW 1&lt;/span&gt;
      &lt;span class=&quot;kw2&quot;&gt;break&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;case&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;                                         &lt;span class=&quot;co1&quot;&gt;// CW, wait for A low while B is low&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;rotBval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;rotAval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
          &lt;span class=&quot;co1&quot;&gt;// either increment the radix or freq&lt;/span&gt;
          &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;channel_freq &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
          &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
            updatedisplay &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
            freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; freq &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
              freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; freq &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; bandEnd&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
              freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; bandEnd&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
          &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
          &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
          &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
            channel &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; channel &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;channel &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; mems &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
              channel &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
            freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; channel_array&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;channel&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; 
          &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
          rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                             &lt;span class=&quot;co1&quot;&gt;// CW 2&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotAval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                               &lt;span class=&quot;co1&quot;&gt;// It was just a glitch on B, go back to start&lt;/span&gt;
      &lt;span class=&quot;kw2&quot;&gt;break&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;case&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;                                         &lt;span class=&quot;co1&quot;&gt;// CW, wait for B high&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotBval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                               &lt;span class=&quot;co1&quot;&gt;// CW 3&lt;/span&gt;
      &lt;span class=&quot;kw2&quot;&gt;break&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;case&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;                                         &lt;span class=&quot;co1&quot;&gt;// CW, wait for A high&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotAval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                               &lt;span class=&quot;co1&quot;&gt;// back to idle (detent) state&lt;/span&gt;
      &lt;span class=&quot;kw2&quot;&gt;break&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;case&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;                                        &lt;span class=&quot;co1&quot;&gt;// CCW, wait for B low while A is low&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;rotAval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;rotBval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
          &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; channel_freq &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
          &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
            updatedisplay &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
            freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; freq &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
              freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; freq &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; bandStart&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
              freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; bandStart&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
          &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
          &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
          &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
            channel &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; channel &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;channel &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
             &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
              channel &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; mems &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
             &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
            freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; channel_array&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;channel&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
          &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
          rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                            &lt;span class=&quot;co1&quot;&gt;// CCW 2&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotBval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                               &lt;span class=&quot;co1&quot;&gt;// It was just a glitch on A, go back to start&lt;/span&gt;
      &lt;span class=&quot;kw2&quot;&gt;break&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;case&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;                                        &lt;span class=&quot;co1&quot;&gt;// CCW, wait for A high&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotAval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;13&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                              &lt;span class=&quot;co1&quot;&gt;// CCW 3&lt;/span&gt;
      &lt;span class=&quot;kw2&quot;&gt;break&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;case&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;13&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt;                                        &lt;span class=&quot;co1&quot;&gt;// CCW, wait for B high&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rotBval&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        rotState &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                               &lt;span class=&quot;co1&quot;&gt;// back to idle (detent) state&lt;/span&gt;
      &lt;span class=&quot;kw2&quot;&gt;break&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; UpdateDisplay&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    digit1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;nu19&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    digit2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;nu19&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    digit3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;nu19&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    digit4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;nu19&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;   
    digit5 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;nu19&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    digit6 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;100000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;nu19&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    digit7 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1000000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;nu19&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digit7&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digit6&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digit5&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digit4&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;.&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digit3&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;digit2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;kHz&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;        &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;channel&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; 
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;scanning &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
   &lt;span class=&quot;co1&quot;&gt;// lcd.print(&amp;quot;|&amp;quot;);&lt;/span&gt;
&amp;nbsp;
  lcd.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;// print the custom char at (2, 0)&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
 &lt;span class=&quot;coMULTI&quot;&gt;/*
  //if (channel &amp;lt; 10)
  //{
  //lcd.print(&amp;quot;0&amp;quot;);
  //}
  //lcd.print(channel);
&amp;nbsp;
 lcd.setCursor(0,1);
 if (freq == 5287200 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;WSPR1&amp;quot;);
 }
&amp;nbsp;
 if (freq == 5290000 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;ORK&amp;quot;);
 }
&amp;nbsp;
 if (freq == 5364700 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;WSPR2&amp;quot;);
 }
&amp;nbsp;
 if (freq == 5450000 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;RAF&amp;quot;);
 }
&amp;nbsp;
 if (freq == 5505000 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;EIP&amp;quot;);
 }
&amp;nbsp;
if (freq == 5317000 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;VMARS&amp;quot;);
 }
&amp;nbsp;
if (freq == 5366500 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;FK&amp;quot;);
 }
&amp;nbsp;
if (freq == 5258500 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;FA&amp;quot;);
 }
&amp;nbsp;
if (freq == 5278500 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;FB&amp;quot;);
 }
&amp;nbsp;
if (freq == 5288500 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;FC&amp;quot;);
 }
&amp;nbsp;
if (freq == 5371500 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;FL&amp;quot;);
 }
&amp;nbsp;
if (freq == 5398500 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;FE&amp;quot;);
 }
&amp;nbsp;
 if (freq == 5403500 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;FM&amp;quot;);
 }
&amp;nbsp;
if (freq == 5195000 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;DRA5&amp;quot;);
 }
&amp;nbsp;
if (freq == 5262000 )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;QRP CW&amp;quot;);
 }
&amp;nbsp;
&amp;nbsp;
if ((freq &amp;gt;= 5259000) &amp;amp;&amp;amp; (freq &amp;lt; 5262000) )
 {
  //lcd.setCursor(3,1);
  //lcd.print(&amp;quot;    &amp;quot;);
  //lcd.setCursor(3,1);
  lcd.print(&amp;quot;CW&amp;quot;);
 }
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
*/&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
 lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;tx &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
   &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt; lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;RX&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
   &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;tx &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
   &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;TX&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;SSB&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot; CW&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
  lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot; Key&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;//lcd.print(version);&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mod &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot; Mic&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;//lcd.print(version);&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
   lcd.&lt;span class=&quot;me1&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Data&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
   &lt;span class=&quot;co1&quot;&gt;//lcd.print(version);&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;channel_freq &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    lcd.&lt;span class=&quot;me1&quot;&gt;setCursor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;blink&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  lcd.&lt;span class=&quot;me1&quot;&gt;noBlink&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// end of updatedisplay()&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; SendFrequency&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// SSB&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    si5351.&lt;span class=&quot;me1&quot;&gt;set_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txcio &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; 100ULL&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_CLK0&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;     &lt;span class=&quot;co1&quot;&gt;// VFO&lt;/span&gt;
    si5351.&lt;span class=&quot;me1&quot;&gt;set_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txcio &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; 100ULL&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_CLK2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;              &lt;span class=&quot;co1&quot;&gt;// BFO&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// CW&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; tx &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
    si5351.&lt;span class=&quot;me1&quot;&gt;set_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txcio &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; freq &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; cwoffset &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; filteroffset&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; 100ULL&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_CLK0&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;    &lt;span class=&quot;co1&quot;&gt;// VFO&lt;/span&gt;
    si5351.&lt;span class=&quot;me1&quot;&gt;set_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txcio  &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; filteroffset&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; 100ULL&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_CLK2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;                     &lt;span class=&quot;co1&quot;&gt;// BFO&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;tx &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
    si5351.&lt;span class=&quot;me1&quot;&gt;set_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txcio &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; freq &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; cwoffset &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; filteroffset&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; 100ULL&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_CLK0&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;    &lt;span class=&quot;co1&quot;&gt;// VFO&lt;/span&gt;
    si5351.&lt;span class=&quot;me1&quot;&gt;set_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;txcio &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; cwoffset &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt; filteroffset&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; 100ULL&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; SI5351_CLK2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;           &lt;span class=&quot;co1&quot;&gt;// BFO&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// end of sendfrequency()&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Full TX\/RX - with SSB, CW &amp;amp; Scan&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;full_tx_rx_-_with_ssb_cw_scan&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;15689-30564&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Page created  : 11/07/26 10:09 BST
&lt;/p&gt;

&lt;p&gt;
Page updated : 01/01/70 01:00 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:arduino&amp;amp;do=showtag&amp;amp;tag=arduino&quot; class=&quot;wikilink1&quot; title=&quot;tag:arduino&quot; rel=&quot;tag&quot;&gt;arduino&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;30565-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 11 Jul 2026 09:44:34 +0000</pubDate>
        </item>
        <item>
            <title>DM41X HP16C Module</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:hp16c_emulator</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:start&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:start&quot; data-wiki-id=&quot;public:calculator:guides:start&quot;&gt;Hints &amp;amp; Tips&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;dm41x_hp16c_module&quot;&gt;DM41X HP16C Module&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DM41X HP16C Module&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dm41x_hp16c_module&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-50&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;keyboard_overlay&quot;&gt;Keyboard Overlay&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Acalculator%3Aguides%3Ahp16c_emulator&amp;amp;media=public:calculator:guides:41_16.png&quot; class=&quot;media&quot; title=&quot;public:calculator:guides:41_16.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=ebf8d9&amp;amp;media=public:calculator:guides:41_16.png&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Keyboard Overlay&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;keyboard_overlay&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;51-127&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;background&quot;&gt;Background&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
The HP16C Programmer&amp;#039;s Calculator is made for manipulating numbers in Binary/Octal/Hexadecimal/Decimal to help with programming and other areas that rely on the nitty-gritty of bit-twiddling. 
&lt;/p&gt;

&lt;p&gt;
Swiss Micros make a modern hardware emulation (similar in form to the DM15L I &lt;em&gt;already&lt;/em&gt; own) but rather than adding another calculator to my (growing) collection I found there is a ROM/Module method to add all (and more) the same features to the DM41X (and presumably the HP41, if you can find a hardware ROM plugin with it). 
&lt;/p&gt;

&lt;p&gt;
I occasionally need to do some conversions/calculations into Hex and Binary (thinking of TCP/IP networking, subnet masks etc. or perhaps debugging RS232 serial data, or when writing rig control software?) and being able to do everything on the DM41X (along with the Complex Number module) means the DM41X will become even more useful day-to-day.
&lt;/p&gt;

&lt;p&gt;
The manual for the HP16C Module &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:guides:hp_16c_emulator_manual.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:calculator:guides:hp_16c_emulator_manual.pdf (1.8 MB)&quot;&gt;hp_16c_emulator_manual.pdf&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
The versions of modules I&amp;#039;m using : &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:hp-16c_rev.1a.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:hp-16c_rev.1a.zip (19.5 KB)&quot;&gt;hp-16c_rev.1a.zip&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Background&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;background&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;128-1190&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;the_hp16c&quot;&gt;The HP16C&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:guides:hp16c.jpg&quot; class=&quot;media&quot; title=&quot;public:calculator:guides:hp16c.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=556645&amp;amp;media=public:calculator:guides:hp16c.jpg&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
The HP16C Manual : &lt;a href=&quot;https://literature.hpcalc.org/community/hp16c-oh-en.pdf&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://literature.hpcalc.org/community/hp16c-oh-en.pdf&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://literature.hpcalc.org/community/hp16c-oh-en.pdf&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;The HP16C&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;the_hp16c&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;1191-1348&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;the_dm16l&quot;&gt;The DM16L&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.swissmicros.com/product/dm16l&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.swissmicros.com/product/dm16l&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.swissmicros.com/product/dm16l&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:guides:dm16l.png&quot; class=&quot;media&quot; title=&quot;public:calculator:guides:dm16l.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=8fcbd4&amp;amp;media=public:calculator:guides:dm16l.png&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;I bought a &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:info:dm16l_info&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:info:dm16l_info&quot; data-wiki-id=&quot;public:calculator:info:dm16l_info&quot;&gt;DM16L&lt;/a&gt; in August 2022&lt;/strong&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;The DM16L&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;the_dm16l&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1349-1549&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;basic_operation&quot;&gt;Basic Operation&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Like the &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:41z_module&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:41z_module&quot; data-wiki-id=&quot;public:calculator:guides:41z_module&quot;&gt;41Z Complex Number&lt;/a&gt; module, a &lt;code&gt;USER&lt;/code&gt; keyboard assignment is made to a &lt;em&gt;trigger&lt;/em&gt; command which then automagically re-maps the whole keyboard for one command, then it reverts to normal. A mental image of the re-mapped keyboard starts to develop with use, making operation easier with time.
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;ve &lt;em&gt;assigned&lt;/em&gt; the &lt;kbd class=&quot;__keyboard&quot;&gt;LN&lt;/kbd&gt; key to the &lt;em&gt;trigger&lt;/em&gt; command &lt;code&gt;16C&lt;/code&gt; for the &lt;code&gt;USER&lt;/code&gt; keyboard
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ASN&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;1&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;6&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;LN&lt;/kbd&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Basic Operation&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;basic_operation&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;1550-2177&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;user_keyboard_comments&quot;&gt;User Keyboard comments&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
With &lt;code&gt;USER&lt;/code&gt; keyboard active I generally won&amp;#039;t miss the loss of &lt;kbd class=&quot;__keyboard&quot;&gt;LN&lt;/kbd&gt; as I rarely use it. 
&lt;/p&gt;

&lt;p&gt;
If I &lt;em&gt;do&lt;/em&gt; need &lt;kbd class=&quot;__keyboard&quot;&gt;LN&lt;/kbd&gt; I can simply turn off the &lt;code&gt;USER&lt;/code&gt; keyboard. 
&lt;/p&gt;

&lt;p&gt;
The same applies for using the &lt;kbd class=&quot;__keyboard&quot;&gt;∑+&lt;/kbd&gt; key for entering Statistical Data - it&amp;#039;s assigned to the &lt;code&gt;Complex Keyboard&lt;/code&gt; trigger &lt;kbd class=&quot;__keyboard&quot;&gt;ΣZL&lt;/kbd&gt;. 
&lt;/p&gt;

&lt;p&gt;
I won&amp;#039;t ever be using &lt;code&gt;statistics&lt;/code&gt; at the same time as &lt;code&gt;complex numbers&lt;/code&gt; (or &lt;code&gt;HP16C functions&lt;/code&gt;). 
&lt;/p&gt;

&lt;p&gt;
The &lt;code&gt;USER&lt;/code&gt; keyboard can generally remain active all the time &lt;em&gt;except&lt;/em&gt; when I want to do &lt;code&gt;statistics&lt;/code&gt; or calculate a &lt;code&gt;natural logarithm&lt;/code&gt;. Two easy sacrificed keys. Are there others I can do without for additional assignments to frequently used functions or modules?
&lt;/p&gt;
&lt;div class=&quot;plugin_note noteclassic&quot;&gt;I&amp;#039;ve noticed that it&amp;#039;s possible to &lt;code&gt;assign&lt;/code&gt; the &lt;code&gt;16C&lt;/code&gt; command to the &lt;kbd class=&quot;__keyboard&quot;&gt;∑+&lt;/kbd&gt; key. 
&lt;p&gt;
This allows a single key to be used both to trigger &lt;code&gt;16C&lt;/code&gt; mode, and then to trigger input mode &lt;code&gt;16NPT&lt;/code&gt;.
&lt;/p&gt;

&lt;p&gt;
It means less hopping around.
&lt;/p&gt;

&lt;p&gt;
The &lt;kbd class=&quot;__keyboard&quot;&gt;∑+&lt;/kbd&gt; key is doing double duty but &lt;kbd class=&quot;__keyboard&quot;&gt;∑+&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;∑+&lt;/kbd&gt; seems a little more user friendly than &lt;kbd class=&quot;__keyboard&quot;&gt;LN&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;∑+&lt;/kbd&gt; for inputting numbers.
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ASN&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;1&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;6&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;∑+&lt;/kbd&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;User Keyboard comments&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;user_keyboard_comments&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;2178-3522&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;keys&quot;&gt;16KEYS?&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_5ae2eebb934fd81e4780333661db288a_1&quot;&gt;16KEYS? info &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_5ae2eebb934fd81e4780333661db288a_1&quot;&gt;
&lt;p&gt;
I played with the &lt;code&gt;LADYBUG&lt;/code&gt; module recently ( see &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm41x_ladybug_module&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm41x_ladybug_module&quot; data-wiki-id=&quot;public:calculator:guides:dm41x_ladybug_module&quot;&gt;DM41X Ladybug Module&lt;/a&gt; ) and enjoyed the more “immediate” keyboard input - with the whole keyboard re-mapped while using the module (in “INTEGER” mode). No need to preface each instruction with a &lt;code&gt;trigger&lt;/code&gt; to enable the special keyboard for one command at a time.
&lt;/p&gt;

&lt;p&gt;
I found that the HP16C Module can be switched to “full-time” &lt;code&gt;16KEYS&lt;/code&gt; mode too….
&lt;/p&gt;

&lt;p&gt;
You need to get to the &lt;code&gt;∑BITS&lt;/code&gt; launcher and then select &lt;code&gt;Y&lt;/code&gt; (for &lt;code&gt;16KE&lt;strong&gt;Y&lt;/strong&gt;S&lt;/code&gt;)  and answer Y or N.
&lt;/p&gt;

&lt;p&gt;
The &lt;code&gt;16KEYS&lt;/code&gt; function can&amp;#039;t be reached any other way, that I&amp;#039;ve found. The simplest way is to use the DM41X &lt;code&gt;CST&lt;/code&gt; menu to run the 16C &lt;code&gt;∑MOD&lt;/code&gt; launcher, then press &lt;code&gt;SHIFT&lt;/code&gt; to switch to the &lt;code&gt;∑BITS&lt;/code&gt; launcher, then select &lt;code&gt;Y&lt;/code&gt; (for &lt;code&gt;16KEYS&lt;/code&gt;).
&lt;/p&gt;

&lt;p&gt;
You&amp;#039;ll need to enable &lt;code&gt;USER&lt;/code&gt; key mode, and then the 16C module can be used without the the need to trigger &lt;em&gt;every&lt;/em&gt; command with &lt;code&gt;16C&lt;/code&gt; (normally ASN&amp;#039;d to &lt;code&gt;LN&lt;/code&gt; key). 
&lt;/p&gt;

&lt;p&gt;
You still need to use &lt;code&gt;16NPT&lt;/code&gt; to input numbers (this is mapped to the &lt;code&gt;A&lt;/code&gt; (&lt;code&gt;∑+&lt;/code&gt;) key. Otherwise most things are just more intuitive. No need to use &lt;code&gt;16C&lt;/code&gt; before an arithmetic operation like &lt;code&gt;+&lt;/code&gt; or &lt;code&gt;-&lt;/code&gt; etc.
&lt;/p&gt;

&lt;h4&gt;Example&lt;/h4&gt;

&lt;p&gt;
Switch to &lt;code&gt;BIN&lt;/code&gt; view
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;B&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
Enter a binary number &lt;code&gt;10111011&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16NPT&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;10111011&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
Convert to &lt;code&gt;HEX&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;E&lt;/kbd&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;H: bb&lt;/pre&gt;

&lt;p&gt;
Convert to &lt;code&gt;DEC&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;D&lt;/kbd&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;d: 187&lt;/pre&gt;

&lt;p&gt;
Enter a Decimal Number &lt;code&gt;23&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16NPT&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;23&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;d : 23&lt;/pre&gt;

&lt;p&gt;
Add them
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;+&lt;/kbd&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;d: 210&lt;/pre&gt;

&lt;p&gt;
Convert to &lt;code&gt;BIN&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;B&lt;/kbd&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;b: 11010010&lt;/pre&gt;

&lt;p&gt;
Much more intuitive….
&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;16KEYS?&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;keys&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;3523-5203&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit9&quot; id=&quot;select_the_base&quot;&gt;Select the Base&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;code&gt;USER&lt;/code&gt; keyboard active.
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; is &lt;code&gt;USER&lt;/code&gt; assigned to &lt;kbd class=&quot;__keyboard&quot;&gt;LN&lt;/kbd&gt; - referred to as &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; hereafter.
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;ll use the &lt;code&gt;alpha letter&lt;/code&gt; for the top-row keys to describe them for Base Selection
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;B&lt;/kbd&gt; = &lt;code&gt;BINARY&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;C&lt;/kbd&gt; = &lt;code&gt;OCTAL&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;D&lt;/kbd&gt; = &lt;code&gt;DECIMAL&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;E&lt;/kbd&gt; = &lt;code&gt;HEX&lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Select the Base&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;select_the_base&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;5204-5610&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit10&quot; id=&quot;enter_a_number&quot;&gt;Enter a number&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;

&lt;h4 id=&quot;hex&quot;&gt;HEX&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Enter HEX value &lt;code&gt;5F&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Use the &lt;kbd class=&quot;__keyboard&quot;&gt;16NPT&lt;/kbd&gt; function which lives on the &lt;kbd class=&quot;__keyboard&quot;&gt;Σ+&lt;/kbd&gt; button (it switches from the &lt;code&gt;complex&lt;/code&gt; assigned &lt;kbd class=&quot;__keyboard&quot;&gt;ΣZL&lt;/kbd&gt; to &lt;kbd class=&quot;__keyboard&quot;&gt;16NPT&lt;/kbd&gt; when the &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; is invoked)
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;E&lt;/kbd&gt; (to get into HEX mode) 
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;16NPT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;5&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;F&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;convert_to_bin&quot;&gt;Convert to BIN&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;B&lt;/kbd&gt;  gives &lt;code&gt;1011111&lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;enter_a_new_bin_number&quot;&gt;Enter a new BIN number&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;16NPT&lt;/kbd&gt; (i.e. &lt;kbd class=&quot;__keyboard&quot;&gt;Σ+&lt;/kbd&gt;) &lt;kbd class=&quot;__keyboard&quot;&gt;1&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;1&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;0&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;1&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;1&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;0&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;0&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;add_them_together&quot;&gt;Add them together&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;+&lt;/kbd&gt; gives &lt;code&gt;11001011&lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;convert_to_hex&quot;&gt;Convert to HEX&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;E&lt;/kbd&gt; gives &lt;code&gt;Cb&lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;convert_to_dec&quot;&gt;Convert to DEC&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;D&lt;/kbd&gt; gives &lt;code&gt;203&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;always enter numbers with &lt;/strong&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;16NPT&lt;/kbd&gt; &lt;code&gt;&lt;em&gt;the number&lt;/em&gt;&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt; always use the &lt;code&gt;16&lt;/code&gt; versions of mathematical functions &lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;+&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;X&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
etc.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Enter a number&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;enter_a_number&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;5611-6776&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit11&quot; id=&quot;not_or_and_xor&quot;&gt;NOT, OR, AND, XOR&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
These are on &lt;em&gt;shifted&lt;/em&gt; (and triggered with &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt;) math keys: 
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;-&lt;/code&gt; = &lt;code&gt;NOT&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;+&lt;/code&gt; = &lt;code&gt;OR&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;x&lt;/code&gt; = &lt;code&gt;AND&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;÷&lt;/code&gt; = &lt;code&gt;XOR&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Example, in binary….
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;AND&lt;/strong&gt; two numbers:
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;11011101&lt;/code&gt; &lt;code&gt;AND&lt;/code&gt; &lt;code&gt;10001001&lt;/code&gt; →
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;B&lt;/kbd&gt; (to get into Binary mode if needed)
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;16NPT&lt;/kbd&gt; &lt;code&gt;11011101&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;16NPT&lt;/kbd&gt; &lt;code&gt;10001001&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;X&lt;/kbd&gt; gives &lt;code&gt;10001001&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
In HEX…. &lt;strong&gt;XOR&lt;/strong&gt; →
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;E&lt;/kbd&gt; (to get into HEX)
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;16NPT&lt;/kbd&gt; &lt;code&gt;BEEF&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; (first number) (make sure at least 16-bit word size for this example &lt;a href=&quot;#setting_word_size_and_negative_number_convention&quot; title=&quot;public:calculator:guides:hp16c_emulator ↵&quot; class=&quot;wikilink1&quot;&gt;Word Size&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;16NPT&lt;/kbd&gt; &lt;code&gt;CAFE&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; (second number)
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;÷&lt;/kbd&gt; (XOR) gives &lt;code&gt;7411&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Convert answer to DEC
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;D&lt;/kbd&gt; gives &lt;code&gt;29713&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Convert answer to BIN
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;B&lt;/kbd&gt; gives a long string of &lt;code&gt;1&lt;/code&gt; and &lt;code&gt;0&lt;/code&gt; that scroll across the screen…
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;NOT, OR, AND, XOR&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;not_or_and_xor&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;6777-7889&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit12&quot; id=&quot;window&quot;&gt;Window&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
View the long BIN number using a WINDOW to look at 8 bits at a time…
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;R/S&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
This asks &lt;code&gt;WINDOW _ &lt;/code&gt; and enter &lt;code&gt;0&lt;/code&gt; for the 1&lt;sup&gt;st&lt;/sup&gt; (MSB) 8 bits:
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;W0: 11101000:b&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Scroll to sequential &lt;code&gt;WINDOW&lt;/code&gt; slices with &lt;kbd class=&quot;__keyboard&quot;&gt;+&lt;/kbd&gt; and &lt;kbd class=&quot;__keyboard&quot;&gt;-&lt;/kbd&gt; →
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;+&lt;/kbd&gt; →
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;W1: 0010001:b&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;+&lt;/kbd&gt; →
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;W2:           :b&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
The full 16-bit number is therefore:
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;111010000010001&lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Window&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;window&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;7890-8347&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit13&quot; id=&quot;setting_word_size_and_negative_number_convention&quot;&gt;Setting Word Size and negative number convention&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
The word size can be up to &lt;code&gt;64&lt;/code&gt; bits. In general most stuff is 4, 8 or 16 bits wide, so you can set the size of the binary number in the &lt;code&gt;∑MOD&lt;/code&gt; launcher:
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;USR&lt;/kbd&gt; (one of several different ways of getting to &lt;code&gt;∑MOD&lt;/code&gt;)
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_5ae2eebb934fd81e4780333661db288a_2&quot;&gt;16KEYS methods &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_5ae2eebb934fd81e4780333661db288a_2&quot;&gt;
&lt;p&gt;
&lt;strong&gt;if &lt;code&gt;16KEYS&lt;/code&gt; keyboard is active&lt;/strong&gt; then the quickest way is &lt;code&gt;SHIFT&lt;/code&gt; &lt;code&gt;2&lt;/code&gt; as the last method isn&amp;#039;t available (no &lt;code&gt;16C&lt;/code&gt; assignment) &lt;sup&gt;&lt;a href=&quot;#fn__1&quot; id=&quot;fnt__1&quot; class=&quot;fn_top&quot;&gt;1)&lt;/a&gt;&lt;/sup&gt;
&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;
There is then a choice of settings 
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;B:O:D:H:F - 0: 1:2:W:S:?&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
The first four can set the mode to Binary, Octal, Decimal, Float.
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;0&lt;/kbd&gt; sets &lt;code&gt;UNSIGNED&lt;/code&gt; integers&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;1&lt;/kbd&gt; sets &lt;code&gt;ONE&amp;#039;S COMPLEMENT&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;2&lt;/kbd&gt; sets &lt;code&gt;TWO&amp;#039;S COMPLEMENT&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Word size is checked with &lt;kbd class=&quot;__keyboard&quot;&gt;S&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
Word size is set with &lt;kbd class=&quot;__keyboard&quot;&gt;W&lt;/kbd&gt; then enter (eg) &lt;code&gt;16&lt;/code&gt; to set 16-bit words.
&lt;/p&gt;

&lt;p&gt;
Word Size can also be set directly from a &lt;code&gt;16C&lt;/code&gt; keyboard function &lt;code&gt;16WSZ&lt;/code&gt; accessed via  &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;5&lt;/kbd&gt; rather than via the &lt;code&gt;∑MOD&lt;/code&gt; menu/launcher
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;?&lt;/kbd&gt; displays the current settings (&lt;strong&gt;press &lt;code&gt;?&lt;/code&gt; then quickly press and hold it to read the displayed info&lt;/strong&gt;)
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;0c - 16 - DEC&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
This means &lt;code&gt;unsigned integers&lt;/code&gt;, 16-bit words, DECIMAL mode.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Setting Word Size and negative number convention&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;setting_word_size_and_negative_number_convention&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:13,&amp;quot;range&amp;quot;:&amp;quot;8348-9729&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit14&quot; id=&quot;other_launchers&quot;&gt;Other Launchers&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Lots of functions are available in &lt;em&gt;launcher&lt;/em&gt; sub-menus, eg a menu of &lt;code&gt;rotate&lt;/code&gt; functions, or &lt;code&gt;shift&lt;/code&gt; functions.
&lt;/p&gt;

&lt;p&gt;
The various &lt;em&gt;launchers&lt;/em&gt; are available cyclically via the &lt;code&gt;16C&lt;/code&gt; &lt;code&gt;XEQ&lt;/code&gt; along with &lt;code&gt;SHIFT&lt;/code&gt; and &lt;code&gt;A&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Some trial and error is needed to find what you want, but it starts:
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; → &lt;code&gt;R:  L  LN  RN  R&lt;/code&gt; which is a menu to do bit-rotations. 
&lt;/p&gt;

&lt;p&gt;
Rotate 1-bit Left by pressing top-row button &lt;kbd class=&quot;__keyboard&quot;&gt;B&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
Rotate N-bits left with top-row button &lt;kbd class=&quot;__keyboard&quot;&gt;C&lt;/kbd&gt; (and enter the number of bits)
&lt;/p&gt;

&lt;p&gt;
Rotate N-bits Right with top-row button &lt;kbd class=&quot;__keyboard&quot;&gt;D&lt;/kbd&gt; (and enter the number of bits)
&lt;/p&gt;

&lt;p&gt;
Rotate 1-bit Right with top-row button &lt;kbd class=&quot;__keyboard&quot;&gt;E&lt;/kbd&gt;.
&lt;/p&gt;

&lt;p&gt;
From the &lt;code&gt;R&lt;/code&gt; menu:
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;A&lt;/kbd&gt; give the &lt;code&gt;S:  L  LN  RN  R&lt;/code&gt; menu to &lt;code&gt;SHIFT&lt;/code&gt; bits Left or Right
&lt;/p&gt;

&lt;p&gt;
From the &lt;code&gt;S&lt;/code&gt; menu:
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; gives &lt;code&gt;∑R : …………………. &lt;/code&gt; which gives lots of options to do things &lt;em&gt;rightwards&lt;/em&gt; with the bits. &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/fixme.svg&quot; class=&quot;icon smiley&quot; alt=&quot;FIXME&quot; /&gt; list them
&lt;/p&gt;

&lt;p&gt;
This goes on via &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; and &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; (&lt;code&gt;ORANGE&lt;/code&gt; button) to access several &lt;em&gt;menu launchers&lt;/em&gt;. Trial and Error and muscle memory.
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;a_brief_map_list_of_launchers&quot;&gt;A brief map/list of launchers&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; → &lt;code&gt;∑ROT&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;∑ROT&lt;/code&gt; → &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; → &lt;code&gt;∑LEFT&lt;/code&gt; → &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; → &lt;code&gt;∑MOD&lt;/code&gt; → &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; → &lt;code&gt;∑ROT&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;∑ROT&lt;/code&gt; → &lt;kbd class=&quot;__keyboard&quot;&gt;A&lt;/kbd&gt; → &lt;code&gt;∑SHF&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;∑SHF&lt;/code&gt; → &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; → &lt;code&gt;∑RIGHT&lt;/code&gt; → &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; → &lt;code&gt;∑BIT&lt;/code&gt; → &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; → &lt;code&gt;∑SHF&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;∑LEFT&lt;/code&gt; ↔ &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; ↔ &lt;code&gt;∑RIGHT&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;∑MOD&lt;/code&gt; ↔ &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; ↔ &lt;code&gt;∑BIT&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;∑SHF&lt;/code&gt; ↔ &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; ↔ &lt;code&gt;S“:&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;∑ROT&lt;/code&gt; ↔ &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; ↔ &lt;code&gt;RC:&lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Other Launchers&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;other_launchers&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:14,&amp;quot;range&amp;quot;:&amp;quot;9730-11394&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit15&quot; id=&quot;registers_etc&quot;&gt;Registers etc&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Numbers can be saved in &lt;code&gt;16C&lt;/code&gt; registers via &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;STO&lt;/kbd&gt; &lt;code&gt;NN&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
e.g. save a &lt;code&gt;subnet mask&lt;/code&gt; of &lt;code&gt;11111100&lt;/code&gt; into &lt;code&gt;16C&lt;/code&gt; REG &lt;code&gt;00&lt;/code&gt; (i.e. the last octet of a &lt;strong&gt;/30&lt;/strong&gt; network &lt;code&gt;255.255.255.252&lt;/code&gt;)
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;B&lt;/kbd&gt; (go to BINARY mode)
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;16NPT&lt;/kbd&gt; &lt;code&gt;11111100&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;STO&lt;/kbd&gt; &lt;code&gt;00&lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Registers etc&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;registers_etc&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:15,&amp;quot;range&amp;quot;:&amp;quot;11395-11786&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit16&quot; id=&quot;use_the_stored_value&quot;&gt;Use the stored value&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
What is &lt;code&gt;123&lt;/code&gt; &lt;code&gt;AND&lt;/code&gt; &lt;code&gt;MASK&lt;/code&gt; ? (what&amp;#039;s the &lt;em&gt;network&lt;/em&gt; base number for host address of 123 using a netmask of 252?)
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;D&lt;/kbd&gt; (decimal so you can enter &lt;code&gt;123&lt;/code&gt; rather than a BINARY number)  
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;16NPT&lt;/kbd&gt; &lt;code&gt;123&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
recall mask (it doesn&amp;#039;t matter that it was initially stored as a BINARY number, it&amp;#039;s displayed in whatever base you are currently using)
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;RCL&lt;/kbd&gt; &lt;code&gt;00&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;AND&lt;/code&gt; them
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;x&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
answer is &lt;code&gt;120&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
The MASK is still in &lt;code&gt;16-Register&lt;/code&gt; &lt;code&gt;00&lt;/code&gt; if needed again….
&lt;/p&gt;

&lt;p&gt;
Net address of a host with address &lt;code&gt;43&lt;/code&gt;?
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;D&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;16NPT&lt;/kbd&gt; &lt;code&gt;43&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;RCL&lt;/kbd&gt; &lt;code&gt;00&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;x&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
answer : &lt;code&gt;40&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;xxx.xxx.xxx.43&lt;/code&gt; has a network address of &lt;code&gt;xxx.xxx.xxx.40&lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Use the stored value&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;use_the_stored_value&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:16,&amp;quot;range&amp;quot;:&amp;quot;11787-12714&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit17&quot; id=&quot;most_used_functions&quot;&gt;Most Used Functions&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;LN&lt;/kbd&gt; (i.e. &lt;kbd class=&quot;__keyboard&quot;&gt;E&lt;/kbd&gt; on top-row)
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16NPT&lt;/kbd&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;∑+&lt;/kbd&gt; (i.e. &lt;kbd class=&quot;__keyboard&quot;&gt;A&lt;/kbd&gt; on top-row, must be triggered with &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt;) &lt;sup&gt;&lt;a href=&quot;#fn__2&quot; id=&quot;fnt__2&quot; class=&quot;fn_top&quot;&gt;2)&lt;/a&gt;&lt;/sup&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;16NPT&lt;/kbd&gt; &lt;code&gt;type in a number&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; (enter a number in whatever base is currently selected) 
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;BIN&lt;/code&gt; &lt;code&gt;OCT&lt;/code&gt; &lt;code&gt;DEC&lt;/code&gt; &lt;code&gt;HEX&lt;/code&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; then one of top-row buttons &lt;kbd class=&quot;__keyboard&quot;&gt;B&lt;/kbd&gt;, &lt;kbd class=&quot;__keyboard&quot;&gt;C&lt;/kbd&gt;, &lt;kbd class=&quot;__keyboard&quot;&gt;D&lt;/kbd&gt;, &lt;kbd class=&quot;__keyboard&quot;&gt;E&lt;/kbd&gt;  (select the required base)
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;∑MOD&lt;/code&gt;  = &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;USR&lt;/kbd&gt; …. or  &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;2&lt;/kbd&gt;  (open a settings menu to set the choice of mode/word/signed)
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;NOT&lt;/code&gt; / &lt;code&gt;OR&lt;/code&gt; / &lt;code&gt;AND&lt;/code&gt; / &lt;code&gt;XOR&lt;/code&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; then one of &lt;code&gt;-&lt;/code&gt; &lt;code&gt;+&lt;/code&gt; &lt;code&gt;x&lt;/code&gt; &lt;code&gt;÷&lt;/code&gt; (logic functions)
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;RL&lt;/code&gt; / &lt;code&gt;RR&lt;/code&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; then one of &lt;kbd class=&quot;__keyboard&quot;&gt;SIN&lt;/kbd&gt; or &lt;kbd class=&quot;__keyboard&quot;&gt;COS&lt;/kbd&gt; (rotate Left or Right 1-bit)
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;RLN&lt;/code&gt; / &lt;code&gt;RRN&lt;/code&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; then one of &lt;kbd class=&quot;__keyboard&quot;&gt;SIN&lt;/kbd&gt; or &lt;kbd class=&quot;__keyboard&quot;&gt;COS&lt;/kbd&gt; (rotate Left or Right N-bits _ _)
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;SLN&lt;/code&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;TAN&lt;/kbd&gt; (shift Left N-bits _ _)
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;SRN&lt;/code&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;TAN&lt;/kbd&gt; (shift Right N-bits _ _)
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;Sb&lt;/code&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;7&lt;/kbd&gt; (set a bit _ _)
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;Cb&lt;/code&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;8&lt;/kbd&gt; (clear a bit _ _)
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;B?&lt;/code&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;9&lt;/kbd&gt; (is a bit _ _ set or not?)
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;#BITS&lt;/code&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;∑+&lt;/kbd&gt; (i.e. &lt;kbd class=&quot;__keyboard&quot;&gt;A&lt;/kbd&gt; on top-row) (how many bits are high?)
&lt;/p&gt;

&lt;p&gt;
See &lt;a href=&quot;#keyboard_overlay&quot; title=&quot;public:calculator:guides:hp16c_emulator ↵&quot; class=&quot;wikilink1&quot;&gt;Keyboard Overlay&lt;/a&gt; Pic above for more hints on &lt;code&gt;16C&lt;/code&gt; key assignments
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Most Used Functions&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;most_used_functions&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:17,&amp;quot;range&amp;quot;:&amp;quot;12715-14475&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit18&quot; id=&quot;everything_starts_with_16c&quot;&gt;EVERYTHING STARTS WITH &amp;#039;&amp;#039;16C&amp;#039;&amp;#039;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
It is recommended to change the assigned key occasionally to prevent wearing it out…..
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;EVERYTHING STARTS WITH &amp;#039;&amp;#039;16C&amp;#039;&amp;#039;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;everything_starts_with_16c&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:18,&amp;quot;range&amp;quot;:&amp;quot;14476-14611&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit19&quot; id=&quot;further_reading&quot;&gt;Further Reading&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Page created Fri May 27 21:31:20 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 10/02/26 16:15 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:calculator&amp;amp;do=showtag&amp;amp;tag=calculator&quot; class=&quot;wikilink1&quot; title=&quot;tag:calculator&quot; rel=&quot;tag&quot;&gt;calculator&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dm41x&amp;amp;do=showtag&amp;amp;tag=dm41x&quot; class=&quot;wikilink1&quot; title=&quot;tag:dm41x&quot; rel=&quot;tag&quot;&gt;dm41x&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Reading&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_reading&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:19,&amp;quot;range&amp;quot;:&amp;quot;14612-&amp;quot;} --&gt;&lt;div class=&quot;footnotes&quot;&gt;
&lt;div class=&quot;fn&quot;&gt;&lt;sup&gt;&lt;a href=&quot;#fnt__1&quot; id=&quot;fn__1&quot; class=&quot;fn_bot&quot;&gt;1)&lt;/a&gt;&lt;/sup&gt; 
&lt;div class=&quot;content&quot;&gt;&lt;em&gt;&lt;code&gt;16C&lt;/code&gt; is still available on some keys&lt;/em&gt;…. e.g. 

&lt;code&gt;SHIFT&lt;/code&gt; &lt;code&gt;6&lt;/code&gt; = &lt;code&gt;16C&lt;/code&gt; 

so… &lt;code&gt;SHIFT&lt;/code&gt; &lt;code&gt;6&lt;/code&gt; &lt;code&gt;USR&lt;/code&gt; → &lt;code&gt;∑MOD&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;fn&quot;&gt;&lt;sup&gt;&lt;a href=&quot;#fnt__2&quot; id=&quot;fn__2&quot; class=&quot;fn_bot&quot;&gt;2)&lt;/a&gt;&lt;/sup&gt; 
&lt;div class=&quot;content&quot;&gt;if you forget the &lt;kbd class=&quot;__keyboard&quot;&gt;16C&lt;/kbd&gt; and hit &lt;kbd class=&quot;__keyboard&quot;&gt;∑+&lt;/kbd&gt; directly you&amp;#039;ll probably end up with the &lt;code&gt;complex number&lt;/code&gt; module keyboard trigger &lt;code&gt;Z:&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 10 Feb 2026 16:15:00 +0000</pubDate>
        </item>
        <item>
            <title>DM15L Progs</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:progs:dm15l_progs</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:progs:start&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:progs:start&quot; data-wiki-id=&quot;public:calculator:progs:start&quot;&gt;Programs&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;dm15l_progs&quot;&gt;DM15L Progs&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Dumps taken from the DM15L using a serial console session in Putty. 
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm15l_start&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm15l_start&quot; data-wiki-id=&quot;public:calculator:guides:dm15l_start&quot;&gt;DM15L Startup Keys &amp;amp; Serial Console&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DM15L Progs&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dm15l_progs&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-157&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;stock_swiss_micros_firmware&quot;&gt;Stock Swiss Micros Firmware&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Dumps are also converted to readable program listings using the Swiss Micros online encode/decode tool at &lt;a href=&quot;https://technical.swissmicros.com/decoders/nut/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://technical.swissmicros.com/decoders/nut/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://technical.swissmicros.com/decoders/nut/&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Stock Swiss Micros Firmware&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;stock_swiss_micros_firmware&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;158-359&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;normal_complex_z_to&quot;&gt;Normal  + &amp;quot;Complex Z to.....&amp;quot;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;code&gt;LBL E&lt;/code&gt; converts &lt;code&gt;Z=R±jX&lt;/code&gt; to &lt;code&gt;RL&lt;/code&gt;, &lt;code&gt;SWR&lt;/code&gt;, &lt;code&gt;|ρ|∠ρ&lt;/code&gt;, &lt;code&gt;|Z|∠Z&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Data input :
&lt;/p&gt;

&lt;p&gt;
if  &lt;code&gt;Z = R + j X&lt;/code&gt;, put &lt;code&gt;R&lt;/code&gt; in Y-stack and &lt;code&gt;X&lt;/code&gt; in X-stack and then run &lt;code&gt;LBL E&lt;/code&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; X  (and &lt;kbd class=&quot;__keyboard&quot;&gt;CHS&lt;/kbd&gt; as needed)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;F&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;E&lt;/kbd&gt; &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Results appear:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Stack X → Return Loss&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Stack Y → SWR&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Stack Z → (Re) |ρ| (Im) ∠ρ&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Stack T → (Re) |Z| (Im) ∠Z&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code&quot;&gt;DM15_M1B
04  000000fffff000  00000000000008  0000000000000c  00000996010eae
08  00000000000000  2faf8befbe2280  00000000000000  00000000000000
10  91000000000000  00000000000000  00000000000000  02875000000998
14  f0000000000000  1b2d2d2d2d2d2d  000000000002ef  00000000000000
18  00000000000000  0000000000007f  00000000a00000  01900000000001
1c  02232142865997  01800000000002  02232142865997  01004474273000
20  05302556024001  00000000000000  00000000000000  00000000000000
ec  00000000000000  00000000000000  00000000000000  0000000000b237
f0  36a43433a43231  44db43e1a43433  42db41e1a43231  47c3fcf0f2bc35
f4  46fda5cff185cf  f145b3db44db43  fdfaf0f5a43231  fbf0f5a4323141
f8  c5420eb23344fc  c3f0f2bcfdfaf1  33fbf143fda2cf  f182cff142cafd
fc  0ab2c3fcf0f2bc  fdfaf132fbf142  0bb2fdfbf132fa  f142ccfdf0f20c
A: 000000fffff000  B: 000000fffffeae  C: 00000996010eae
S: 00000000000000
M: 00000000000000  N: 00000000000000  G: 04
&lt;/pre&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2d13a53cccf5c8b46f606f7b278e4407_1&quot;&gt;Decoded Dump &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2d13a53cccf5c8b46f606f7b278e4407_1&quot;&gt;&lt;pre class=&quot;code&quot;&gt;
001  LBL C        | 42,21,13
002  2            |        2
003  0            |        0
004  /            |       10
005  10^x         |       13
006  STO 2        |    44  2
007  1            |        1
008  +            |       40
009  RCL 2        |    45  2
010  1            |        1
011  -            |       30
012  /            |       10
013  RTN          |   43  32
014  LBL B        | 42,21,12
015  STO 2        |    44  2
016  1            |        1
017  -            |       30
018  RCL 2        |    45  2
019  1            |        1
020  +            |       40
021  /            |       10
022  LOG          |   43  13
023  2            |        2
024  0            |        0
025  *            |       20
026  CHS          |       16
027  RTN          |   43  32
028  LBL A        | 42,21,11
029  /            |       10
030  sqrt         |       11
031  STO 2        |    44  2
032  1            |        1
033  RCL+2        | 45,40, 2
034  1            |        1
035  RCL-2        | 45,30, 2
036  /            |       10
037  STO 3        |    44  3
038  1            |        1
039  -            |       30
040  RCL 3        |    45  3
041  1            |        1
042  +            |       40
043  /            |       10
044  LOG          |   43  13
045  2            |        2
046  0            |        0
047  CHS          |       16
048  *            |       20
049  STO 4        |    44  4
050  RCL 3        |    45  3
051  RTN          |   43  32
052  LBL E        | 42,21,15
053  STO 2        |    44  2
054  x&amp;lt;&amp;gt;y         |       34
055  STO 1        |    44  1
056  RCL 1        |    45  1
057  RCL 2        |    45  2
058  I            |   42  25
059  5            |        5
060  0            |        0
061  -            |       30
062  RCL 1        |    45  1
063  RCL 2        |    45  2
064  I            |   42  25
065  5            |        5
066  0            |        0
067  +            |       40
068  /            |       10
069  STO 3        |    44  3
070  Re&amp;lt;&amp;gt;Im       |   42  30
071  STO 4        |    44  4
072  Re&amp;lt;&amp;gt;Im       |   42  30
073  ABS          |   43  16
074  STO 5        |    44  5
075  1            |        1
076  RCL+5        | 45,40, 5
077  1            |        1
078  RCL-5        | 45,30, 5
079  /            |       10
080  STO 6        |    44  6
081  RCL 5        |    45  5
082  LOG          |   43  13
083  2            |        2
084  0            |        0
085  *            |       20
086  CHS          |       16
087  STO 7        |    44  7
088  RCL 1        |    45  1
089  RCL 2        |    45  2
090  I            |   42  25
091  -&amp;gt;P          |     43 1
092  STO 1        |    44  1
093  Re&amp;lt;&amp;gt;Im       |   42  30
094  STO 2        |    44  2
095  RCL 3        |    45  3
096  RCL 4        |    45  4
097  I            |   42  25
098  -&amp;gt;P          |     43 1
099  STO 3        |    44  3
100  Re&amp;lt;&amp;gt;Im       |   42  30
101  STO 4        |    44  4
102  RCL 1        |    45  1
103  RCL 2        |    45  2
104  I            |   42  25
105  RCL 3        |    45  3
106  RCL 4        |    45  4
107  I            |   42  25
108  RCL 6        |    45  6
109  RCL 7        |    45  7
110  RTN          |   43  32&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Normal  + \&amp;quot;Complex Z to.....\&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;normal_complex_z_to&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;360-4996&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;normal&quot;&gt;&amp;quot;Normal&amp;quot;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;### 27/7/22 ####
# This is the usual set of 3 useful tool progs I have in the DM15L for quick calculation/conversion
# of antenna parameters.
#&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Ref Power &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; Fwd Power &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;A&lt;/kbd&gt; → SWR &lt;kbd class=&quot;__keyboard&quot;&gt;x&amp;lt;&amp;gt;y&lt;/kbd&gt; RL&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; SWR &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;B&lt;/kbd&gt; →  Return Loss&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Return Loss &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;C&lt;/kbd&gt; → SWR&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code&quot;&gt;DM15_M1B
00  03400000000001  01000000000001  08000000000000  00000000000000
04  155000000ff000  00000000000008  0000000000000c  00002000010eae
08  00000000000000  2faf0bde7aa28f  000080bcbcaf80  00000000000000
10  00000000000000  01000000000001  00000000000000  03400000000001
14  f7365289440000  1b2d2d2d2d2d2d  000000000004f8  00000000000000
18  00000000000000  0000000000007f  00000000a00000  01387265622000
1c  01387265622000  01579783596001  05000000000001  02500000000003
20  01800000000002  00000000000000  00000000000000  00000000000000
f8  000000b23344fc  c3f0f2bcfdfaf1  33fbf143fda2cf  f182cff142cafd
fc  0ab2c3fcf0f2bc  fdfaf132fbf142  0bb2fdfbf132fa  f142ccfdf0f20c
A: 155000000ff000  B: 155000000ffeae  C: 00002000010eae
S: 00000000000000
M: 00000000000000  N: 05500000000001  G: 06
&lt;/pre&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2d13a53cccf5c8b46f606f7b278e4407_2&quot;&gt;Decoded dump &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2d13a53cccf5c8b46f606f7b278e4407_2&quot;&gt;&lt;pre class=&quot;code&quot;&gt;
LBL C
20

/
10^x
STO 2
1
+
RCL 2
1
-
/
RTN
LBL B
STO 2
1
-
RCL 2
1
+
/
LOG
20

*
CHS
RTN
LBL A
/
sqrt
STO 2
1
RCL+2
1
RCL-2
/
STO 3
1
-
RCL 3
1
+
/
LOG
20

CHS
*
STO 4
RCL 3
RTN
&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;001  LBL C        | 42,21,13
002  2            |        2
003  0            |        0
004  /            |       10
005  10^x         |       13
006  STO 2        |    44  2
007  1            |        1
008  +            |       40
009  RCL 2        |    45  2
010  1            |        1
011  -            |       30
012  /            |       10
013  RTN          |   43  32
014  LBL B        | 42,21,12
015  STO 2        |    44  2
016  1            |        1
017  -            |       30
018  RCL 2        |    45  2
019  1            |        1
020  +            |       40
021  /            |       10
022  LOG          |   43  13
023  2            |        2
024  0            |        0
025  *            |       20
026  CHS          |       16
027  RTN          |   43  32
028  LBL A        | 42,21,11
029  /            |       10
030  sqrt         |       11
031  STO 2        |    44  2
032  1            |        1
033  RCL+2        | 45,40, 2
034  1            |        1
035  RCL-2        | 45,30, 2
036  /            |       10
037  STO 3        |    44  3
038  1            |        1
039  -            |       30
040  RCL 3        |    45  3
041  1            |        1
042  +            |       40
043  /            |       10
044  LOG          |   43  13
045  2            |        2
046  0            |        0
047  CHS          |       16
048  *            |       20
049  STO 4        |    44  4
050  RCL 3        |    45  3
051  RTN          |   43  32

&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;\&amp;quot;Normal\&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;normal&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;4997-7916&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;n-queens_benchmark_27_7_22&quot;&gt;N-Queens Benchmark 27/7/22&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;DM15_M1B
00  08000000000000  08000000000000  00000000000000  00000000000000
04  065140fffff000  00000000000008  0000000000000c  00000000999eae
08  00000000000000  22af8d9e7e0080  00000000000000  00000000000000
10  08000000000000  08000000000000  01000000000000  01000000000000
14  f0000000000537  1b2d2d2d2d2d2d  000000000007f7  00000000000000
18  00000000000000  0000000000007f  00000000a00000  04000000000000
1c  01000000000000  03000000000000  06000000000000  02000000000000
20  07000000000000  05000000000000  00000000000000  08000000000000
24  08760000000002  00000000000000  00000000000000  00000000000000
f4  00000000000000  00000000000000  00000000000000  b25104137030a0
f8  dff1117086bddf  f19730031276fb  3930b313ecfb86  c4973986973010
fc  ec39a9dff10249  3091dff1019650  973080dff11475  50300060f8a50a
A: 065140fffff000  B: 065140fffffeae  C: 00000000999eae
S: 00000000000000
M: aaaaaaaaaaaaaa  N: 06514000000000  G: 04
&lt;/pre&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2d13a53cccf5c8b46f606f7b278e4407_3&quot;&gt;Decoded Dump &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2d13a53cccf5c8b46f606f7b278e4407_3&quot;&gt;&lt;pre class=&quot;code&quot;&gt;LBL A
CLR_REG
8
STO .0
LBL 0
RCL 0
RCL .0
TEST 5
GTO 4
1
STO+0
RCL 0
STO I
RCL .0
STO (i)
LBL 1
1
STO+.1
RCL 0
STO 9
LBL 2
1
STO-9
RCL 9
x=0
GTO 0
RCL 0
STO I
RCL (i)
RCL 9
STO I
R_down
RCL (i)
-
x=0
GTO 3
ABS
RCL 0
RCL 9
-
TEST 6
GTO 2
LBL 3
RCL 0
STO I
1
STO-(i)
RCL (i)
TEST 0
GTO 1
1
STO-0
RCL 0
TEST 0
GTO 3
LBL 4
RCL .1
RTN
&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;
001  LBL A        | 42,21,11
002  CLR_REG      |   42  34
003  8            |        8
004  STO .0       |    44 .0
005  LBL 0        | 42,21, 0
006  RCL 0        |    45  0
007  RCL .0       |    45 .0
008  TEST 5       | 43,30, 5
009  GTO 4        |    22  4
010  1            |        1
011  STO+0        | 44,40, 0
012  RCL 0        |    45  0
013  STO I        |   44  25
014  RCL .0       |    45 .0
015  STO (i)      |   44  24
016  LBL 1        | 42,21, 1
017  1            |        1
018  STO+.1       | 44,40,.1
019  RCL 0        |    45  0
020  STO 9        |    44  9
021  LBL 2        | 42,21, 2
022  1            |        1
023  STO-9        | 44,30, 9
024  RCL 9        |    45  9
025  x=0          |   43  20
026  GTO 0        |    22  0
027  RCL 0        |    45  0
028  STO I        |   44  25
029  RCL (i)      |   45  24
030  RCL 9        |    45  9
031  STO I        |   44  25
032  R_down       |       33
033  RCL (i)      |   45  24
034  -            |       30
035  x=0          |   43  20
036  GTO 3        |    22  3
037  ABS          |   43  16
038  RCL 0        |    45  0
039  RCL 9        |    45  9
040  -            |       30
041  TEST 6       | 43,30, 6
042  GTO 2        |    22  2
043  LBL 3        | 42,21, 3
044  RCL 0        |    45  0
045  STO I        |   44  25
046  1            |        1
047  STO-(i)      | 44,30,24
048  RCL (i)      |   45  24
049  TEST 0       | 43,30, 0
050  GTO 1        |    22  1
051  1            |        1
052  STO-0        | 44,30, 0
053  RCL 0        |    45  0
054  TEST 0       | 43,30, 0
055  GTO 3        |    22  3
056  LBL 4        | 42,21, 4
057  RCL .1       |    45 .1
058  RTN          |   43  32
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;N-Queens Benchmark 27\/7\/22&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;n-queens_benchmark_27_7_22&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:6,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;7917-10978&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;savage_benchmark_23_01_26&quot;&gt;Savage Benchmark 23/01/26&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;DM15_M1B
00  01000000000000  01000000000000  01000000000000  00000000000000
04  32499970322000  00000000000008  0000000000000c  40997997010eae
08  00000000000000  3ebeefb6e4228f  e79282e8bc2ac0  00000000000000
10  00000000000000  08000000000000  06000000000000  02498970322003
14  f0000000000504  1b2d2d2d2d2d2d  000000000001fc  00000000000000
18  00000000000000  0000000000007f  00000000a00000  06000000000000
1c  04000000000000  07000000000000  05000000000000  03000000000000
20  00000000000000  00000000000000  04000000000000  08000000000000
24  02100000000001  00000000000000  00000000000000  00000000000000
fc  000000000000b2  1b82fac9b9cbbb  caba0bc1c1c1f1  40f9f9f4f2e80a
A: 32499970322000  B: 32499970322eae  C: 40997997010eae
S: 00000000000000
M: 00000000000000  N: 02499970322003  G: 09
&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Savage Benchmark 23\/01\/26&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;savage_benchmark_23_01_26&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:9,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;10979-11832&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;updated_butterworth_program_12_2_22&quot;&gt;UPDATED &amp;quot;Butterworth&amp;quot; program 12/2/22&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;############################
#
#  Updated 12/2/22 : change to reduce amount of looping/storing 
#  Sub routine &amp;quot;LBL 8&amp;quot; changed
DM15_M1B
00  05108827280994  05000000000999  05000000000999  00000000000000
04  24547fff912000  00000000000008  0000000000000c  00012012012eae
08  00000000000000  b6000a9eda000f  e6220040000000  00000000000000
10  07000000000000  05108827295994  08007000000000  05000000000001
14  f0000000012435  1b2d2d2d2d2d2d  000000000006f1  00000000000000
18  00000000000000  0000000000007f  00000000a00300  07293277408990
1c  01261776142994  04547284088990  01261776142994  07293277408990
20  05108827280994  01103787069994  04026420096990  08509227540993
24  02583151782990  04031222906993  05481145266989  07025940305993
28  09506412356989  00000000000000  00000000000000  00000000000000
2c  03500000000006  00000000000000  00000000000000  00000000000000
f0  00000000000000  00b2fcf2c7fdfc  f230fcf0f8f1fb  f1fcf200171195
f4  96ce50ff20eb87  012640b340ff72  c56930ff83ff0a  17b2139596fdf0
f8  f52805b2139596  fcf0f5280410ff  1950ffa3fdf2eb  87032607b297fa
fc  f1fdf0f0f0f130  06b21514ec00ff  b21415ec09b2fd  fcb6fcf2598608
A: 24547fff912000  B: 24547fff912eae  C: 00012012012eae
S: 00000100000000
M: 05108827280994  N: 04547284088990  G: 23
&lt;/pre&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2d13a53cccf5c8b46f606f7b278e4407_4&quot;&gt;Dump above decoded at Swiss micros &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2d13a53cccf5c8b46f606f7b278e4407_4&quot;&gt;&lt;pre class=&quot;code&quot;&gt;001  LBL 8        | 42,21, 8
002  RCL (i)      |   45  24
003  RCL .9       |    45 .9
004  2            |        2
005  *            |       20
006  PI           |   43  26
007  *            |       20
008  /            |       10
009  RTN          |   43  32
010  LBL 9        | 42,21, 9
011  x=0          |   43  20
012  GTO 5        |    22  5
013  GTO 4        |    22  4
014  RTN          |   43  32
015  LBL .0       | 42,21,.0
016  x=0          |   43  20
017  GTO 4        |    22  4
018  GTO 5        |    22  5
019  RTN          |   43  32
020  LBL 6        | 42,21, 6
021  RCL 0        |    45  0
022  1            |        1
023  0            |        0
024  0            |        0
025  0            |        0
026  /            |       10
027  1            |        1
028  +            |       40
029  STO I        |   44  25
030  RTN          |   43  32
031  LBL 7        | 42,21, 7
032  GSB 6        |    32  6
033  LBL 3        | 42,21, 3
034  RCL I        |   45  25
035  INT          |   43  44
036  2            |        2
037  /            |       10
038  FRAC         |   42  44
039  F? 0         | 43, 6, 0
040  GTO 9        |    22  9
041  GTO .0       |    22 .0
042  LBL 4        | 42,21, 4
043  GSB 8        |    32  8
044  5            |        5
045  0            |        0
046  *            |       20
047  STO (i)      |   44  24
048  ISG I        | 42, 6,25
049  GTO 3        |    22  3
050  RTN          |   43  32
051  LBL 5        | 42,21, 5
052  GSB 8        |    32  8
053  5            |        5
054  0            |        0
055  /            |       10
056  STO (i)      |   44  24
057  ISG I        | 42, 6,25
058  GTO 3        |    22  3
059  RTN          |   43  32
060  GTO 7        |    22  7
061  LBL A        | 42,21,11
062  ENG 3        | 42, 9, 3
063  SF 0         | 43, 4, 0
064  STO .9       |    44 .9
065  x&amp;lt;&amp;gt;y         |       34
066  TEST 2       | 43,30, 2
067  CF 0         | 43, 5, 0
068  ABS          |   43  16
069  STO 0        |    44  0
070  GSB 6        |    32  6
071  LBL 1        | 42,21, 1
072  RCL I        |   45  25
073  INT          |   43  44
074  GSB 0        |    32  0
075  F? 0         | 43, 6, 0
076  1/x          |       15
077  STO (i)      |   44  24
078  ISG I        | 42, 6,25
079  GTO 1        |    22  1
080  GTO 7        |    22  7
081  LBL 0        | 42,21, 0
082  2            |        2
083  *            |       20
084  1            |        1
085  -            |       30
086  1            |        1
087  8            |        8
088  0            |        0
089  *            |       20
090  RCL 0        |    45  0
091  2            |        2
092  *            |       20
093  /            |       10
094  SIN          |       23
095  2            |        2
096  *            |       20
097  RTN          |   43  32

&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;UPDATED \&amp;quot;Butterworth\&amp;quot; program 12\/2\/22&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;updated_butterworth_program_12_2_22&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:10,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;11833-16037&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;dump&quot;&gt;Dump&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;################################

DM15_M1B
00  01040000000003  01750000000002  01750000000002  00000000000000
04  08200000910000  00000000000008  0000000000000c  00002000009eae
08  00000000000000  2faf8bf9fe2280  be220040bcaf80  00000000000000
10  00000000000000  00000000000000  00000000000000  06283185308000
14  f7365289446075  1b2d2d2d2d2d2d  000000000007f2  000000000003ff
18  00000000000000  0000000000007f  00000000a00000  01924950591000
1c  01924950591000  01000000000001  05000000000001  02500000000003
20  01800000000002  00000000000000  00000000000000  00000000000000
f0  00000000000000  00000000000000  b23344fcc3f0f2  bcfdfaf133fbf1
f4  43fda2cff182cf  f142cafd0ab2c3  fcf0f2bcfdfaf1  32fbf1420bb2fd
f8  fbf132faf142cc  fdf0f20cb2fcf0  f1bcfdc3f3c6f1  fdf0f5ba0db2ca
fc  fcf0f5fcc3f3c6  f1ccfdf0f10eb2  c3fcf0f2bcfdfa  f1c5fbf1c1c100
A: 08200000910000  B: 08200000910eae  C: 00002000009eae
S: 00000100000000
M: 00000000000990  N: 08200000000990  G: 19
&lt;/pre&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2d13a53cccf5c8b46f606f7b278e4407_5&quot;&gt;Dump above decoded @ Swiss Micros &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2d13a53cccf5c8b46f606f7b278e4407_5&quot;&gt;&lt;pre class=&quot;code&quot;&gt;
# https://technical.swissmicros.com/decoders/nut/
#
001  LBL 0        | 42,21, 0
002  ENTER        |       36
003  ENTER        |       36
004  1            |        1
005  -            |       30
006  x&amp;lt;&amp;gt;y         |       34
007  1            |        1
008  +            |       40
009  /            |       10
010  LOG          |   43  13
011  2            |        2
012  0            |        0
013  *            |       20
014  CHS          |       16
015  RTN          |   43  32
016  LBL E        | 42,21,15
017  1            |        1
018  0            |        0
019  /            |       10
020  10^x         |       13
021  1            |        1
022  EEX          |       26
023  3            |        3
024  CHS          |       16
025  *            |       20
026  5            |        5
027  0            |        0
028  *            |       20
029  sqrt         |       11
030  RTN          |   43  32
031  LBL D        | 42,21,14
032  x^2          |   43  11
033  5            |        5
034  0            |        0
035  /            |       10
036  1            |        1
037  EEX          |       26
038  3            |        3
039  CHS          |       16
040  /            |       10
041  LOG          |   43  13
042  1            |        1
043  0            |        0
044  *            |       20
045  RTN          |   43  32
046  LBL C        | 42,21,13
047  2            |        2
048  0            |        0
049  /            |       10
050  10^x         |       13
051  STO 2        |    44  2
052  1            |        1
053  +            |       40
054  RCL 2        |    45  2
055  1            |        1
056  -            |       30
057  /            |       10
058  RTN          |   43  32
059  LBL B        | 42,21,12
060  STO 2        |    44  2
061  1            |        1
062  -            |       30
063  RCL 2        |    45  2
064  1            |        1
065  +            |       40
066  /            |       10
067  LOG          |   43  13
068  2            |        2
069  0            |        0
070  *            |       20
071  CHS          |       16
072  RTN          |   43  32
073  LBL A        | 42,21,11
074  /            |       10
075  sqrt         |       11
076  STO 2        |    44  2
077  1            |        1
078  RCL+2        | 45,40, 2
079  1            |        1
080  RCL-2        | 45,30, 2
081  /            |       10
082  STO 3        |    44  3
083  1            |        1
084  -            |       30
085  RCL 3        |    45  3
086  1            |        1
087  +            |       40
088  /            |       10
089  LOG          |   43  13
090  2            |        2
091  0            |        0
092  CHS          |       16
093  *            |       20
094  STO 4        |    44  4
095  RCL 3        |    45  3
096  RTN          |   43  32
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Dump&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dump&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:12,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;16038-19936&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit9&quot; id=&quot;dump1&quot;&gt;Dump&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;
######################################################


DM15
00  01544068044001  01544068044001  01544068044001  00000000000000
04  1154407ffff000  00000000000008  0000000000000c  00000000000eae
08  00000000000000  362f0d9e8a808f  00000000002a00  00000000000000
10  00000000000000  00000000000000  00000000000000  02000000000001
14  f0000000000027  c0d2d2d2d2d2d2  000000000004f8  00000000000000
18  00000000000000  0000000000007f  00000000a00000  00000000000000
c0  01406828223000  01406828223000  01544068044001  00000000000000
f8  000000b23344fc  c3f0f2bcfdfaf1  33fbf143fda2cf  f182cff142cafd
fc  0ab2c3fcf0f2bc  fdfaf132fbf142  0bb2fdfbf132fa  f142ccfdf0f20c
A: 1154407ffff000  B: 1154407ffffeae  C: 00000000000eae
S: 00000000000000
M: 15440680436000  N: 01544068044001  G: 04
&lt;/pre&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2d13a53cccf5c8b46f606f7b278e4407_6&quot;&gt;Decode of Dump above &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2d13a53cccf5c8b46f606f7b278e4407_6&quot;&gt;&lt;pre class=&quot;code&quot;&gt;#
001  LBL C        | 42,21,13
002  2            |        2
003  0            |        0
004  /            |       10
005  10^x         |       13
006  STO 2        |    44  2
007  1            |        1
008  +            |       40
009  RCL 2        |    45  2
010  1            |        1
011  -            |       30
012  /            |       10
013  RTN          |   43  32
014  LBL B        | 42,21,12
015  STO 2        |    44  2
016  1            |        1
017  -            |       30
018  RCL 2        |    45  2
019  1            |        1
020  +            |       40
021  /            |       10
022  LOG          |   43  13
023  2            |        2
024  0            |        0
025  *            |       20
026  CHS          |       16
027  RTN          |   43  32
028  LBL A        | 42,21,11
029  /            |       10
030  sqrt         |       11
031  STO 2        |    44  2
032  1            |        1
033  RCL+2        | 45,40, 2
034  1            |        1
035  RCL-2        | 45,30, 2
036  /            |       10
037  STO 3        |    44  3
038  1            |        1
039  -            |       30
040  RCL 3        |    45  3
041  1            |        1
042  +            |       40
043  /            |       10
044  LOG          |   43  13
045  2            |        2
046  0            |        0
047  CHS          |       16
048  *            |       20
049  STO 4        |    44  4
050  RCL 3        |    45  3
051  RTN          |   43  32
########################################################################

&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Dump&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dump1&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:14,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;19937-22359&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit10&quot; id=&quot;dump_23_12_21&quot;&gt;Dump 23/12/21&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;### 23/12/21
# A = Stack Y -&amp;gt; Ref, Stack X -&amp;gt;Fwd -&amp;gt; [f][A] -&amp;gt; Stack Y = RL, Stack X = SWR
# B = SWR -&amp;gt; RL
# C = RL -&amp;gt; SWR
# D = PiAttn : (y = attn, x = Zo) -&amp;gt; [f][D] -&amp;gt; (y = series R, x = shunt Rs)
# E = Fibonacci Number x = n -&amp;gt; f(n)
# 


DM15_M1B
00  03400000000001  01000000000001  08000000000000  00000000000000
04  155000000ff000  00000000000008  0000000000000c  00002000010eae
08  00000000000000  2faf0bde7aa28f  000080bcbcaf80  00000000000000
10  00000000000000  01000000000001  00000000000000  03400000000001
14  f7365289446057  1b2d2d2d2d2d2d  000000000001f1  00000000000000
18  00000000000000  0000000000007f  00000000a00000  01387265622000
1c  01387265622000  01579783596001  05000000000001  02500000000003
20  01800000000002  00000000000000  00000000000000  00000000000000
f0  00000000000000  000000000000b2  3344fcc3f0f2bc  fdfaf133fbf143
f4  fda2cff182cff1  42cafd0ab2c3fc  f0f2bcfdfaf132  fbf1420bb2fdfb
f8  f132faf142ccfd  f0f20cb2333444  c0cffdc2cff2fb  ba32f143c0cffd
fc  a2cff182cff142  ccfdc3f0f241c5  400db21182c5b1  fa01f0c1f1400e
A: 155000000ff000  B: 155000000ffeae  C: 00002000010eae
S: 00000000000000
M: 00000000000000  N: 05500000000001  G: 06
&lt;/pre&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2d13a53cccf5c8b46f606f7b278e4407_7&quot;&gt;Decode of dump above &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2d13a53cccf5c8b46f606f7b278e4407_7&quot;&gt;&lt;pre class=&quot;code&quot;&gt;
# 
#
001  LBL E        | 42,21,15
002  STO 0        |    44  0
003  1            |        1
004  ENTER        |       36
005  0            |        0
006  LBL 1        | 42,21, 1
007  +            |       40
008  LSTx         |   43  36
009  x&amp;lt;&amp;gt;y         |       34
010  DSE 0        | 42, 5, 0
011  GTO 1        |    22  1
012  RTN          |   43  32
013  LBL D        | 42,21,14
014  STO 0        |    44  0
015  x&amp;lt;&amp;gt;y         |       34
016  STO 1        |    44  1
017  2            |        2
018  0            |        0
019  CHS          |       16
020  /            |       10
021  10^x         |       13
022  STO 2        |    44  2
023  1            |        1
024  RCL+2        | 45,40, 2
025  1            |        1
026  RCL-2        | 45,30, 2
027  /            |       10
028  RCL*0        | 45,20, 0
029  STO 3        |    44  3
030  1            |        1
031  RCL 2        |    45  2
032  x^2          |   43  11
033  -            |       30
034  2            |        2
035  RCL*2        | 45,20, 2
036  /            |       10
037  RCL*0        | 45,20, 0
038  STO 4        |    44  4
039  RCL 4        |    45  4
040  RCL 3        |    45  3
041  RTN          |   43  32
042  LBL C        | 42,21,13
043  2            |        2
044  0            |        0
045  /            |       10
046  10^x         |       13
047  STO 2        |    44  2
048  1            |        1
049  +            |       40
050  RCL 2        |    45  2
051  1            |        1
052  -            |       30
053  /            |       10
054  RTN          |   43  32
055  LBL B        | 42,21,12
056  STO 2        |    44  2
057  1            |        1
058  -            |       30
059  RCL 2        |    45  2
060  1            |        1
061  +            |       40
062  /            |       10
063  LOG          |   43  13
064  2            |        2
065  0            |        0
066  *            |       20
067  CHS          |       16
068  RTN          |   43  32
069  LBL A        | 42,21,11
070  /            |       10
071  sqrt         |       11
072  STO 2        |    44  2
073  1            |        1
074  RCL+2        | 45,40, 2
075  1            |        1
076  RCL-2        | 45,30, 2
077  /            |       10
078  STO 3        |    44  3
079  1            |        1
080  -            |       30
081  RCL 3        |    45  3
082  1            |        1
083  +            |       40
084  /            |       10
085  LOG          |   43  13
086  2            |        2
087  0            |        0
088  CHS          |       16
089  *            |       20
090  STO 4        |    44  4
091  RCL 3        |    45  3
092  RTN          |   43  32
=======================================================================
#
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Dump 23\/12\/21&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dump_23_12_21&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:16,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;22360-26372&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit11&quot; id=&quot;dump_10_2_22&quot;&gt;Dump 10/2/22&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;
#
#    10 Feb 2022
#    Butterworth Filter designer
#    enter filter order (n) into Y register (+ = HPF, - = LPF) , 
#    enter Freq into X register
#    execute program with [f] [A]
#    Values for each component are obtained from registers R1 -&amp;gt; Rn 

DM15_M1B
00  02251666050002  03218976343993  03218976343993  00000000000000
04  16640fff000000  00000000000008  0000000000000c  00012012012eae
08  00000000000000  36800bdf7e820f  bef20200000000  00000000000000
10  05000000000000  03218976343993  06005000000000  02000000000000
14  f0000000012377  1b2d2d2d2d2d2d  000000000005f0  00000000000000
18  00000000000000  0000000000007f  00000000a00300  04918158214989
1c  09947183945992  04918158214989  03218976343993  01103787069994
20  04547284088990  01103787069994  04026420096990  08509227540993
24  02583151782990  04031222906993  05481145266989  07025940305993
28  09506412356989  00000000000000  00000000000000  00000000000000
2c  04000000000007  00000000000000  00000000000000  00000000000000
f0  0000b2fcf2c7fd  fcf230fcf0f8f1  fbf1fcf2001811  9596ce50ff20eb
f4  87012640b340ff  72c56930ff83ff  0a17129596fdfc  b6fcf25986eb87
f8  022608b2139596  fdf0f58605b213  9596fcf0f58604  10ff1950ffa3fd
fc  f2eb87032607b2  97faf1fdf0f0f0  f13006b21514ec  00ffb21415ec09
A: 16640fff000000  B: 16640fff000eae  C: 00012012012eae
S: 00000100000000
M: 02000000000001  N: 06639528095001  G: 23
&lt;/pre&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2d13a53cccf5c8b46f606f7b278e4407_8&quot;&gt;Decode of dump above &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2d13a53cccf5c8b46f606f7b278e4407_8&quot;&gt;&lt;pre class=&quot;code&quot;&gt;=====================================================================
001  LBL 9        | 42,21, 9
002  x=0          |   43  20
003  GTO 5        |    22  5
004  GTO 4        |    22  4
005  RTN          |   43  32
006  LBL .0       | 42,21,.0
007  x=0          |   43  20
008  GTO 4        |    22  4
009  GTO 5        |    22  5
010  RTN          |   43  32
011  LBL 6        | 42,21, 6
012  RCL 0        |    45  0
013  1            |        1
014  0            |        0
015  0            |        0
016  0            |        0
017  /            |       10
018  1            |        1
019  +            |       40
020  STO I        |   44  25
021  RTN          |   43  32
022  LBL 7        | 42,21, 7
023  GSB 6        |    32  6
024  LBL 3        | 42,21, 3
025  RCL I        |   45  25
026  INT          |   43  44
027  2            |        2
028  /            |       10
029  FRAC         |   42  44
030  F? 0         | 43, 6, 0
031  GTO 9        |    22  9
032  GTO .0       |    22 .0
033  LBL 4        | 42,21, 4
034  RCL (i)      |   45  24
035  5            |        5
036  0            |        0
037  *            |       20
038  STO (i)      |   44  24
039  ISG I        | 42, 6,25
040  GTO 3        |    22  3
041  RTN          |   43  32
042  LBL 5        | 42,21, 5
043  RCL (i)      |   45  24
044  5            |        5
045  0            |        0
046  /            |       10
047  STO (i)      |   44  24
048  ISG I        | 42, 6,25
049  GTO 3        |    22  3
050  RTN          |   43  32
051  LBL 8        | 42,21, 8
052  GSB 6        |    32  6
053  LBL 2        | 42,21, 2
054  RCL I        |   45  25
055  INT          |   43  44
056  RCL (i)      |   45  24
057  RCL .9       |    45 .9
058  2            |        2
059  *            |       20
060  PI           |   43  26
061  *            |       20
062  /            |       10
063  STO (i)      |   44  24
064  ISG I        | 42, 6,25
065  GTO 2        |    22  2
066  GTO 7        |    22  7
067  LBL A        | 42,21,11
068  ENG 3        | 42, 9, 3
069  SF 0         | 43, 4, 0
070  STO .9       |    44 .9
071  x&amp;lt;&amp;gt;y         |       34
072  TEST 2       | 43,30, 2
073  CF 0         | 43, 5, 0
074  ABS          |   43  16
075  STO 0        |    44  0
076  GSB 6        |    32  6
077  LBL 1        | 42,21, 1
078  RCL I        |   45  25
079  INT          |   43  44
080  GSB 0        |    32  0
081  F? 0         | 43, 6, 0
082  1/x          |       15
083  STO (i)      |   44  24
084  ISG I        | 42, 6,25
085  GTO 1        |    22  1
086  GTO 8        |    22  8
087  LBL 0        | 42,21, 0
088  2            |        2
089  *            |       20
090  1            |        1
091  -            |       30
092  1            |        1
093  8            |        8
094  0            |        0
095  *            |       20
096  RCL 0        |    45  0
097  2            |        2
098  *            |       20
099  /            |       10
100  SIN          |       23
101  2            |        2
102  *            |       20
103  RTN          |   43  32&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Dump 10\/2\/22&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dump_10_2_22&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:18,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;26373-30910&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit12&quot; id=&quot;dump_07_02_25&quot;&gt;Dump 07/02/25&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;
###############
# 7 Feb 2025
# LBL A = y : ref/ x : fwd fA -&amp;gt; y : RL / x : SWR
# LBL B = SWR -&amp;gt; RL
# LBL C = RL -&amp;gt; SWR
# LBL D = Gas calc (tare ENTER gross ENTER cylinder &amp;quot;full gas weight&amp;quot; (i.e. 6/13/19kg) f D -&amp;gt; percentage full
# LBL E = DTT Freq &amp;lt;-&amp;gt; Channel conversion

DM15_M1B
00  09806650000000  02200000000001  03060000000002  00000000000000
04  066261ff934000  00000000000008  0000000000000c  00000991000eae
08  00000000000000  39a287df7e2200  dba00240000000  00000000000000
10  01579783596001  01579783596001  00000000000000  08000000000000
14  f0000000000014  1b2d2d2d2d2d2d  000000000005f0  00000000000000
18  00000000000000  0000000000007f  00000000a00000  01387265619000
1c  01387265622000  01579783596001  00000000000000  00000000000000
f0  0000b2fdfbf1c5  faf1c1c1ccfdf0  f20cb2c3fcf0f2  bcfdfaf1c5fbf1
f4  c1c10bb23344c3  fcf0f2bcfdfaf1  33fbf143fda2cf  f182cff142cafd
f8  0ab2fcf0f0f1fd  32fbc531fcf4f5  f4c0fafdf6f1fc  f0f0f1a3c5ebc1
fc  40c441c4420db2  faf6f0f3fcf809  b2fdf8fbf6f0f3  1978c5f6f0f30e
A: 066261ff934000  B: 066261ff934eae  C: 00000991000eae
S: 00000100000000
M: 03060000000002  N: 06626070150966  G: 04
&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Dump 07\/02\/25&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dump_07_02_25&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:20,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;30911-32090&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit13&quot; id=&quot;work_tools_23_01_26&quot;&gt;Work Tools 23/01/26&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;
###################################
#
#   Label A = DTT : Freq / Channel conversion
#   Label B = Gas : Tare/Gross/Size to calculate percentage-full
#   Label C = Return Loss to SWR conversion
#   Label D = SWR to Return Loss conversion
#   Label E = Reflected &amp;amp; Forward power to Return Loss and SWR calculation

DM15_M1B
00  03060000000002  04925000000001  04925000000001  00000000000000
04  2698000000f000  00000000000008  0000000000000c  00002001001eae
08  00000000000000  bfaf0bfe7e228f  02f082bcbcaf80  00000000000000
10  04002000000001  03650000000001  06000000000000  03060000000002
14  f0000000000100  1b2d2d2d2d2d2d  000000000005f0  00000000000000
18  00000000000000  0000000000007f  00000000a00000  01622214211999
1c  01387265622000  01579783596001  05000000000000  03000000000000
20  00000000000000  00000000000000  04000000000000  08000000000000
24  02100000000001  00000000000000  00000000000000  00000000000000
f0  0000b2faf6f0f3  fcf809b2fdf8fb  f6f0f31978c5f6  f0f30ab2fcf0f0
f4  f1fd32fbc531fc  f4f5f4c0fafdf6  f1fcf0f0f1a3c5  ebc140c441c442
f8  0bb2c3fcf0f2bc  fdfaf1c5fbf1c1  c10db2fdfbf1c5  faf1c1c1ccfdf0
fc  f20cb23344c3fc  f0f2bcfdfaf133  fbf143fda2cff1  82cff142cafd0e
A: 2698000000f000  B: 2698000000feae  C: 00002001001eae
S: 00000000000000
M: 06980000000000  N: 06980000000002  G: 06
&lt;/pre&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2d13a53cccf5c8b46f606f7b278e4407_9&quot;&gt;Decoded Dump &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2d13a53cccf5c8b46f606f7b278e4407_9&quot;&gt;&lt;pre class=&quot;code&quot;&gt;001  LBL E        | 42,21,15
002  /            |       10
003  sqrt         |       11
004  STO 2        |    44  2
005  1            |        1
006  RCL+2        | 45,40, 2
007  1            |        1
008  RCL-2        | 45,30, 2
009  /            |       10
010  STO 3        |    44  3
011  1            |        1
012  -            |       30
013  RCL 3        |    45  3
014  1            |        1
015  +            |       40
016  /            |       10
017  LOG          |   43  13
018  2            |        2
019  0            |        0
020  *            |       20
021  CHS          |       16
022  STO 4        |    44  4
023  RCL 3        |    45  3
024  RTN          |   43  32
025  LBL C        | 42,21,13
026  2            |        2
027  0            |        0
028  /            |       10
029  10^x         |       13
030  ENTER        |       36
031  ENTER        |       36
032  1            |        1
033  +            |       40
034  x&amp;lt;&amp;gt;y         |       34
035  1            |        1
036  -            |       30
037  /            |       10
038  RTN          |   43  32
039  LBL D        | 42,21,14
040  ENTER        |       36
041  ENTER        |       36
042  1            |        1
043  -            |       30
044  x&amp;lt;&amp;gt;y         |       34
045  1            |        1
046  +            |       40
047  /            |       10
048  LOG          |   43  13
049  2            |        2
050  0            |        0
051  *            |       20
052  CHS          |       16
053  RTN          |   43  32
054  LBL B        | 42,21,12
055  STO 2        |    44  2
056  R_down       |       33
057  STO 1        |    44  1
058  R_down       |       33
059  STO 0        |    44  0
060  ENTER        |       36
061  INT          |   43  44
062  x&amp;lt;&amp;gt;y         |       34
063  FRAC         |   42  44
064  1            |        1
065  0            |        0
066  0            |        0
067  *            |       20
068  1            |        1
069  6            |        6
070  /            |       10
071  +            |       40
072  .            |       48
073  4            |        4
074  5            |        5
075  4            |        4
076  *            |       20
077  RCL 1        |    45  1
078  x&amp;lt;&amp;gt;y         |       34
079  -            |       30
080  RCL 2        |    45  2
081  /            |       10
082  1            |        1
083  0            |        0
084  0            |        0
085  *            |       20
086  RTN          |   43  32
087  LBL A        | 42,21,11
088  3            |        3
089  0            |        0
090  6            |        6
091  x&amp;lt;&amp;gt;y         |       34
092  TEST 8       | 43,30, 8
093  GTO 9        |    22  9
094  3            |        3
095  0            |        0
096  6            |        6
097  -            |       30
098  8            |        8
099  /            |       10
100  RTN          |   43  32
101  LBL 9        | 42,21, 9
102  8            |        8
103  *            |       20
104  3            |        3
105  0            |        0
106  6            |        6
107  +            |       40
108  RTN          |   43  32

&lt;/pre&gt;
&lt;/div&gt;&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;LBL A&lt;/code&gt; = DTT  &lt;code&gt;MHz&lt;/code&gt; or &lt;code&gt;Channel No&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;A&lt;/kbd&gt; → &lt;code&gt;Channel No&lt;/code&gt; or &lt;code&gt;MHz&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;LBL B&lt;/code&gt; = Gas :  &lt;code&gt;tare weight&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;code&gt;gross kg&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;code&gt;cylinder size kg&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;B&lt;/kbd&gt; → Fill percentage &lt;code&gt;%&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;LBL C&lt;/code&gt; = &lt;code&gt;Return Loss dB&lt;/code&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;C&lt;/kbd&gt; → &lt;code&gt;SWR&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;LBL D&lt;/code&gt; = &lt;code&gt;SWR&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;D&lt;/kbd&gt; → &lt;code&gt;Return Loss dB&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;LBL E&lt;/code&gt; = &lt;code&gt;Reflected Power&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;code&gt;Forward Power&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;E&lt;/kbd&gt; → &lt;code&gt;Return Loss dB&lt;/code&gt; (y),  &lt;code&gt;SWR&lt;/code&gt; (x)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Work Tools 23\/01\/26&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;work_tools_23_01_26&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:21,&amp;quot;secid&amp;quot;:13,&amp;quot;range&amp;quot;:&amp;quot;32091-37190&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit14&quot; id=&quot;solve_with_an_integral&quot;&gt;Solve with an Integral&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; from HP34C manual pp233&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Solves Bessel function for Bessel-zero mod. index value&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code&quot;&gt;
DM15_M1B
00  02404827787000  00000000000000  01570796327996  30001fd33ff996
04  024048fffff000  00000000000008  0000000000000c  40999997000eae
08  00000000000000  2fbf8db6e42080  00000000000040  00000000000000
10  02404827787000  00000000000000  00000000000000  95139629874993
14  00000000000000  1b2d2d2d2d2d2d  000000000006fd  00000000000000
18  00000000000000  0000000000007f  00000000a00000  00000000000000
fc  00000000000000  00b2fdb6c8fc30  c703b2b170a2ed  b333efb6f0400a
A: 024048fffff000  B: 024048fffffeae  C: 40999997000eae
S: 00000000000000
M: 000000000060fd  N: 02404827787000  G: 04

&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;

LBL A
STO 0
0
PI
∫ 3
ABS
         // THIS IS A METHOD OF RESTRICTING SOLVE TO A CERTAIN ACCURACY TO REDUCE THE TIME..
x&amp;lt;=y?    // y has the Integration accuracy estimate. We test if our &amp;quot;zero&amp;quot; is &amp;lt;= this. No point in trying further. Limits search time
CLx      // if our current guess for &amp;quot;zero&amp;quot; is better than the integration accuracy estimate we wipe &amp;quot;x&amp;quot; to an &amp;quot;actual&amp;quot; zero so that the SOLVE will complete
x≠0?     // if it wasn&amp;#039;t &amp;quot;zero&amp;quot; we replace the last estimate of the integration and the SOLVE continues
LASTx
RTN

LBL 3
SIN
RCL 0
*
COS
PI
/
RTN
&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; be in &lt;code&gt;RAD&lt;/code&gt; angle mode&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; put initial guesses of &lt;kbd class=&quot;__keyboard&quot;&gt;0&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;1&lt;/kbd&gt; and then &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SOLVE&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;A&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; first bessel zero at mod index &lt;code&gt;2.405&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Solve with an Integral&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;solve_with_an_integral&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:23,&amp;quot;secid&amp;quot;:14,&amp;quot;range&amp;quot;:&amp;quot;37191-38713&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit15&quot; id=&quot;program_dumps_for_lf15c&quot;&gt;Program dumps for LF15C&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Program dumps for LF15C&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;program_dumps_for_lf15c&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:25,&amp;quot;secid&amp;quot;:15,&amp;quot;range&amp;quot;:&amp;quot;38714-38750&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit16&quot; id=&quot;firmware_details&quot;&gt;Firmware details&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:3rd:lf15c&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:3rd:lf15c&quot; data-wiki-id=&quot;public:calculator:3rd:lf15c&quot;&gt;LF15C - firmware for the DM15&lt;/a&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Start of thread : &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046.html&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046.html&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.hpmuseum.org/forum/thread-20046.html&lt;/a&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Serial Port dump info : &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-194697.html#pid194697&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-194697.html#pid194697&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.hpmuseum.org/forum/thread-20046-post-194697.html#pid194697&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Serial Port settings&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Rate : 57600&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Data : 8 bit&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Stop : 1 bit&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Parity : None&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Flow Control : None&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; To extract a dump from calculator press and hold &lt;kbd class=&quot;__keyboard&quot;&gt;STO&lt;/kbd&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; the non-zero digits can be copy/pasted into a text file for storage&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; To upload a previously saved dump &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; copy it to clipboard and then &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; press and hold &lt;kbd class=&quot;__keyboard&quot;&gt;RCL&lt;/kbd&gt; until the terminal shows &lt;code&gt;Paste PrgMemory:&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; in Putty &lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Fn&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Insert&lt;/kbd&gt; to paste clipboard text into terminal&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Firmware details&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;firmware_details&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:25,&amp;quot;secid&amp;quot;:16,&amp;quot;range&amp;quot;:&amp;quot;38751-39508&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit17&quot; id=&quot;butterworth_filter&quot;&gt;Butterworth Filter&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;

43 8 17 255 17 19 30 39 103 39 40 86 43 9 118 12 7 5 7 4 86 43 10 118 12 7 4 7 5 86 43 6 17 0 26 25 25 25 40 26 37 13 254 86 43 7 6 6 43 3 17 254 93 30 40 53 115 0 7 9 7 10 43 4 6 8 31 25 39 13 255 75 254 7 3 86 43 5 6 8 31 25 40 13 255 75 254 7 3 86 7 7 43 100 76 3 107 0 13 19 14 118 3 111 0 104 13 0 6 6 43 1 17 254 93 6 0 115 0 20 13 255 75 254 7 1 7 7 43 0 30 39 26 38 26 32 25 39 17 0 30 39 40 11 30 39 86 0 

&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Order n (+ is HPF, - is LPF) → y&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Frequency (Hz) → X&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;A&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Results are in R01 … R0n&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Butterworth Filter&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;butterworth_filter&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:25,&amp;quot;secid&amp;quot;:17,&amp;quot;range&amp;quot;:&amp;quot;39509-40087&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit18&quot; id=&quot;benchmarks&quot;&gt;Benchmarks&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;

&lt;h4 id=&quot;savage_8-queens_hp_maths_and_hp_trig&quot;&gt;Savage, 8-queens, HP Maths and HP Trig&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

43 77 31 35 29 30 35 13 0 25 13 2 43 78 17 0 11 91 15 95 19 99 88 8 26 121 2 7 78 86 43 104 25 13 2 26 29 25 26 30 34 27 23 35 13 0 30 29 34 27 31 13 1 43 2 17 1 17 0 39 17 1 38 17 0 40 17 1 39 34 29 31 40 4 26 121 2 7 2 86 43 88 54 32 13 10 43 80 17 0 17 10 118 6 7 84 26 121 0 17 0 13 254 17 10 13 255 43 81 26 121 11 17 0 13 9 43 82 26 122 9 17 9 118 12 7 80 17 0 13 254 17 255 17 9 13 254 10 17 255 38 118 12 7 83 104 17 0 17 9 38 118 7 7 82 43 83 17 0 13 254 26 122 255 17 255 118 1 7 81 26 122 0 17 0 118 1 7 83 43 84 17 11 58 86 43 100 112 30 27 36 36 13 0 26 22 22 22 43 101 84 4 88 8 99 19 37 71 0 7 101 58 86 0 

&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:benchmarking:start#the_savage_benchmark&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:benchmarking:start&quot; data-wiki-id=&quot;public:calculator:benchmarking:start&quot;&gt;Savage&lt;/a&gt; is prog &lt;code&gt;A&lt;/code&gt; : &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;A&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:benchmarking:start#n-queens&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:benchmarking:start&quot; data-wiki-id=&quot;public:calculator:benchmarking:start&quot;&gt;8-Queens&lt;/a&gt; is prog &lt;code&gt;88&lt;/code&gt; : &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;LBL&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;8&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;8&lt;/kbd&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Both the above use &lt;code&gt;runTime&lt;/code&gt; to measure execution time - returns result in y and time in x&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:benchmarking:start#hp_museum_maths_benchmark&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:benchmarking:start&quot; data-wiki-id=&quot;public:calculator:benchmarking:start&quot;&gt;HP Museum Maths Benchmark&lt;/a&gt; is prog &lt;code&gt;E&lt;/code&gt; : &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;E&lt;/kbd&gt;. &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Run for 60 seconds, press &lt;kbd class=&quot;__keyboard&quot;&gt;R/S&lt;/kbd&gt; and find result in reg 02 &lt;kbd class=&quot;__keyboard&quot;&gt;RCL&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;0&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;2&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:benchmarking:start#hp_museum_trig_benchmark&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:benchmarking:start&quot; data-wiki-id=&quot;public:calculator:benchmarking:start&quot;&gt;HP Museum Trig Benchmark&lt;/a&gt; is prog &lt;code&gt;77&lt;/code&gt; :  &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;LBL&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;7&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;7&lt;/kbd&gt;. &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Run for 60 seconds, press &lt;kbd class=&quot;__keyboard&quot;&gt;R/S&lt;/kbd&gt; and find result in reg 02 &lt;kbd class=&quot;__keyboard&quot;&gt;RCL&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;0&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;2&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Benchmarks&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;benchmarks&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:25,&amp;quot;secid&amp;quot;:18,&amp;quot;range&amp;quot;:&amp;quot;40088-41572&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit19&quot; id=&quot;work_tools&quot;&gt;Work Tools&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;

43 104 40 4 13 2 26 125 2 26 126 2 40 13 3 26 38 17 3 26 37 40 92 30 25 39 24 17 3 86 43 103 22 22 26 38 14 26 37 40 92 30 25 39 24 86 43 102 30 25 40 12 22 22 26 37 14 26 38 40 86 43 101 13 2 10 13 1 10 13 0 22 93 14 53 26 25 25 39 26 35 40 37 29 27 31 27 39 17 1 14 38 17 2 40 26 25 25 39 86 43 100 34 25 31 14 118 8 7 1 32 39 34 25 35 37 86 43 1 34 25 35 38 32 40 86 0

&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; LBL A = DTT (Channel ↔ Freq )&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; LBL B = Gas&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; LBL C = Return Loss → SWR&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; LBL D = SWR → Return Loss&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; LBL E = Reflected Power &amp;amp; Forward Power → Return Loss &amp;amp; SWR&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Work Tools&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;work_tools&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:25,&amp;quot;secid&amp;quot;:19,&amp;quot;range&amp;quot;:&amp;quot;41573-42155&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit20&quot; id=&quot;work_tools_benchmarks&quot;&gt;Work Tools &amp;amp; Benchmarks&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;

43 55 31 35 29 30 35 13 0 25 13 2 43 56 17 0 11 91 15 95 19 99 88 8 26 121 2 7 56 86 43 44 25 13 2 26 29 25 26 30 34 27 23 35 13 0 30 29 34 27 31 13 1 43 45 17 1 17 0 39 17 1 38 17 0 40 17 1 39 34 29 31 40 4 26 121 2 7 45 86 43 88 54 32 13 10 43 80 17 0 17 10 118 6 7 84 26 121 0 17 0 13 254 17 10 13 255 43 81 26 121 11 17 0 13 9 43 82 26 122 9 17 9 118 12 7 80 17 0 13 254 17 255 17 9 13 254 10 17 255 38 118 12 7 83 104 17 0 17 9 38 118 7 7 82 43 83 17 0 13 254 26 122 255 17 255 118 1 7 81 26 122 0 17 0 118 1 7 83 43 84 17 11 58 86 43 66 112 30 27 36 36 13 0 26 22 22 22 43 67 84 4 88 8 99 19 37 71 0 7 67 58 86 43 104 40 4 13 2 26 125 2 26 126 2 40 13 3 26 38 17 3 26 37 40 92 30 25 39 24 17 3 86 43 103 22 22 26 38 14 26 37 40 92 30 25 39 24 86 43 102 30 25 40 12 22 22 26 37 14 26 38 40 86 43 101 13 2 10 13 1 10 13 0 22 93 14 53 26 25 25 39 26 35 40 37 29 27 31 27 39 17 1 14 38 17 2 40 26 25 25 39 86 43 100 34 25 31 14 118 8 7 1 32 39 34 25 35 37 86 43 1 34 25 35 38 32 40 86 0 0

&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; LBL A = DTT (Channel ↔ Freq )&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; LBL B = Gas&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; LBL C = Return Loss → SWR&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; LBL D = SWR → Return Loss&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; LBL E = Reflected Power &amp;amp; Forward Power → Return Loss &amp;amp; SWR&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:benchmarking:start#the_savage_benchmark&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:benchmarking:start&quot; data-wiki-id=&quot;public:calculator:benchmarking:start&quot;&gt;Savage&lt;/a&gt; is prog is prog &lt;code&gt;66&lt;/code&gt; : &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;LBL&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;6&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;6&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:benchmarking:start#n-queens&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:benchmarking:start&quot; data-wiki-id=&quot;public:calculator:benchmarking:start&quot;&gt;8-Queens&lt;/a&gt; is prog &lt;code&gt;88&lt;/code&gt; : &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;LBL&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;8&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;8&lt;/kbd&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Both the above use &lt;code&gt;runTime&lt;/code&gt; to measure execution time - returns result in y and time in x&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:benchmarking:start#hp_museum_maths_benchmark&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:benchmarking:start&quot; data-wiki-id=&quot;public:calculator:benchmarking:start&quot;&gt;HP Museum Maths Benchmark&lt;/a&gt; is prog is prog &lt;code&gt;44&lt;/code&gt; : &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;LBL&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;4&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;4&lt;/kbd&gt; &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Run for 60 seconds, press &lt;kbd class=&quot;__keyboard&quot;&gt;R/S&lt;/kbd&gt; and find result in reg 02 &lt;kbd class=&quot;__keyboard&quot;&gt;RCL&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;0&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;2&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:benchmarking:start#hp_museum_trig_benchmark&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:benchmarking:start&quot; data-wiki-id=&quot;public:calculator:benchmarking:start&quot;&gt;HP Museum Trig Benchmark&lt;/a&gt; is prog &lt;code&gt;55&lt;/code&gt; :  &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;LBL&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;5&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;5&lt;/kbd&gt;. &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Run for 60 seconds, press &lt;kbd class=&quot;__keyboard&quot;&gt;R/S&lt;/kbd&gt; and find result in reg 02 &lt;kbd class=&quot;__keyboard&quot;&gt;RCL&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;0&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;2&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Work Tools &amp;amp; Benchmarks&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;work_tools_benchmarks&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:25,&amp;quot;secid&amp;quot;:20,&amp;quot;range&amp;quot;:&amp;quot;42156-44224&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit21&quot; id=&quot;dot_cross_uvec&quot;&gt;Dot/Cross/Uvec&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;

43 12 22 104 40 86 43 11 13 99 10 13 98 55 17 99 39 17 98 17 99 55 39 38 30 78 40 86 43 10 13 98 10 13 99 17 98 55 39 17 98 17 99 55 39 37 30 40 86 0 0 

&lt;/p&gt;

&lt;p&gt;
* Dot Product of 2 complex numbers in y and x
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;|Y||X|Cosθ&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Y = Y&lt;sub&gt;re&lt;/sub&gt; + j Y&lt;sub&gt;im&lt;/sub&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; X = X&lt;sub&gt;re&lt;/sub&gt; + j X&lt;sub&gt;im&lt;/sub&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Dot Product Y ⋅ X = Y&lt;sub&gt;re&lt;/sub&gt;X&lt;sub&gt;re&lt;/sub&gt; + Y&lt;sub&gt;im&lt;/sub&gt;X&lt;sub&gt;im&lt;/sub&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Another way without splitting the complex number into its real &amp;amp; imaginary parts&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Dot Product Y ⋅ X = (Y&lt;sup&gt;*&lt;/sup&gt;.X + Y.X&lt;sup&gt;*&lt;/sup&gt;) / 2&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;LBL&lt;/kbd&gt; &lt;code&gt;10&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Cross Product of 2 complex numbers in y and x&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;|Y||X|Sinθ&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Y = Y&lt;sub&gt;re&lt;/sub&gt; + j Y&lt;sub&gt;im&lt;/sub&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; X = X&lt;sub&gt;re&lt;/sub&gt; + j X&lt;sub&gt;im&lt;/sub&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Cross Product Y ⊗ X = Y&lt;sub&gt;re&lt;/sub&gt;X&lt;sub&gt;im&lt;/sub&gt; - Y&lt;sub&gt;im&lt;/sub&gt;X&lt;sub&gt;re&lt;/sub&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Another way without splitting the complex number into its real &amp;amp; imaginary parts&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Cross Product Y ⊗ X = (Y&lt;sup&gt;*&lt;/sup&gt;.X - Y.X&lt;sup&gt;*&lt;/sup&gt;) / 2i&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;LBL&lt;/kbd&gt; &lt;code&gt;11&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Unit Vector of a complex number in x : &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;LBL&lt;/kbd&gt; &lt;code&gt;12&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h4 id=&quot;dot_product&quot;&gt;Dot Product&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;LBL 10
STO 98
R↓
STO 99
RCL 98
f (i)
x
RCL 98
RCL 99
f (i)
x
+
2
/
RTN
&lt;/pre&gt;

&lt;/div&gt;

&lt;h4 id=&quot;cross_product&quot;&gt;Cross Product&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;LBL 11
STO 99
R↓
STO 98
f (i)
RCL 99
x
RCL 98
RCL 99
f (i)
x
-
2
f Re&amp;lt;&amp;gt;Im
/
RTN
&lt;/pre&gt;

&lt;/div&gt;

&lt;h4 id=&quot;uvec&quot;&gt;UVEC&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;
LBL 12
ENTER
ABS
/
RTN
&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Dot\/Cross\/Uvec&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dot_cross_uvec&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:25,&amp;quot;secid&amp;quot;:21,&amp;quot;range&amp;quot;:&amp;quot;44225-45709&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit22&quot; id=&quot;work_tools_dot_cross_uvec&quot;&gt;Work Tools &amp;amp; Dot/Cross/UVEC&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;

43 104 40 4 13 2 26 125 2 26 126 2 40 13 3 26 38 17 3 26 37 40 92 30 25 39 24 13 4 17 3 86 43 102 30 25 40 12 22 22 26 37 14 26 38 40 86 43 103 22 22 26 38 14 26 37 40 92 30 25 39 24 86 43 101 13 2 10 13 1 10 13 0 22 93 14 53 26 25 25 39 26 35 40 37 29 27 31 27 39 17 1 14 38 17 2 40 26 25 25 39 86 43 100 34 25 35 14 118 9 7 9 34 25 35 38 32 40 86 43 9 32 39 34 25 35 37 86 43 12 22 104 40 86 43 11 13 99 10 13 98 55 17 99 39 17 98 17 99 55 39 38 30 78 40 86 43 10 13 98 10 13 99 17 98 55 39 17 98 17 99 55 39 37 30 40 86 0 0 

&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;LBL A&lt;/code&gt; = DTT  &lt;code&gt;MHz&lt;/code&gt; or &lt;code&gt;Channel No&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;A&lt;/kbd&gt; → &lt;code&gt;Channel No&lt;/code&gt; or &lt;code&gt;MHz&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;LBL B&lt;/code&gt; = Gas :  &lt;code&gt;tare weight&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;code&gt;gross kg&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;code&gt;cylinder size kg&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;B&lt;/kbd&gt; → Fill percentage &lt;code&gt;%&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;LBL C&lt;/code&gt; = &lt;code&gt;Return Loss dB&lt;/code&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;C&lt;/kbd&gt; → &lt;code&gt;SWR&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;LBL D&lt;/code&gt; = &lt;code&gt;SWR&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;D&lt;/kbd&gt; → &lt;code&gt;Return Loss dB&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;LBL E&lt;/code&gt; = &lt;code&gt;Reflected Power&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;code&gt;Forward Power&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;E&lt;/kbd&gt; → &lt;code&gt;Return Loss dB&lt;/code&gt; (y),  &lt;code&gt;SWR&lt;/code&gt; (x)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;LBL 10&lt;/code&gt; = Dot Product&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;LBL 11&lt;/code&gt; = Cross Product&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;LBL 12&lt;/code&gt; = Unit Vector&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Work Tools &amp;amp; Dot\/Cross\/UVEC&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;work_tools_dot_cross_uvec&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:28,&amp;quot;secid&amp;quot;:22,&amp;quot;range&amp;quot;:&amp;quot;45710-46937&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit23&quot; id=&quot;solve_with_an_integral1&quot;&gt;Solve with an Integral&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; from HP34C manual pp233&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Solves Bessel function for Bessel-zero mod. index value&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; differs from the DM15L (HP15C) version because the Integration Accuracy estimate is &lt;em&gt;very small&lt;/em&gt; so the test of &lt;code&gt;x &amp;lt; = y?&lt;/code&gt; will never be true&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; instead we store a required &lt;code&gt;ACC&lt;/code&gt; value (much like in the HP42S/DM42) in R001 and test against &lt;em&gt;this&lt;/em&gt; instead&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h4 id=&quot;memory_dump&quot;&gt;Memory Dump&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

43 100 13 0 25 103 79 3 104 17 1 118 8 98 118 1 102 86 43 3 11 17 0 39 15 103 40 86 0 0 

&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;code&quot;&gt;Code&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;

LBL A
STO 0
0
PI
∫ 3
ABS
RCL 1
x&amp;gt;y? // test if current guess (y) is better (lower) than our required accuracy (x)
CLx   // if it is, we&amp;#039;re near enough, put a real zero in x
x≠0   // if it isn&amp;#039;t zero we need to continue
LASTx // put back the last guess into x and the SOLVE goes on
RTN


LBL 3
SIN
RCL 0
*
COS
PI
/
RTN
&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; be in &lt;code&gt;RAD&lt;/code&gt; angle mode&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; put your &lt;code&gt;ACC&lt;/code&gt; value in &lt;code&gt;R001&lt;/code&gt; (e.g. 0.0001 or 0.00001)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; put initial guesses of &lt;kbd class=&quot;__keyboard&quot;&gt;1&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;2&lt;/kbd&gt; and then &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SOLVE&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;A&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; first bessel zero at mod index &lt;code&gt;2.4048&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Solve with an Integral&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;solve_with_an_integral1&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:28,&amp;quot;secid&amp;quot;:23,&amp;quot;range&amp;quot;:&amp;quot;46938-48072&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit24&quot; id=&quot;integrate_tests&quot;&gt;Integrate Tests&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
The 12 Integration examples from the PPC ROM handbook section &lt;code&gt;IG&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;

43 12 84 24 26 37 14 24 30 37 39 4 86 43 11 28 16 14 84 24 26 37 4 39 14 24 30 37 26 34 22 30 40 16 40 86 43 10 84 24 26 37 4 86 43 9 30 20 24 16 86 43 8 88 15 86 43 7 35 25 25 103 39 37 4 14 4 37 14 11 84 35 25 25 39 14 40 86 43 6 24 27 37 14 39 4 86 43 5 4 14 26 38 40 14 88 20 38 86 43 4 88 86 43 3 103 39 11 86 43 2 4 86 43 1 27 14 84 26 37 40 86 0 0

&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;SCI04&lt;/code&gt; display mode
&lt;/p&gt;

&lt;p&gt;
12 programs. Set limits and then execute &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;∫&lt;/kbd&gt; &lt;code&gt;prog number&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
For example for program 1 
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;0&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;1&lt;/kbd&gt;  &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;∫&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;0&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;1&lt;/kbd&gt; gives answer &lt;code&gt;3.1416&lt;/code&gt;
&lt;/p&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Limits  0 → 1 answer 3.1416&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Limits  0 → 1 answer 6.6667 E-1&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Limits  0 → 1 answer 6.3662 E-1 (rads mode)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Limits  0 → 1 answer -1.000&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Limits  0 → 1 answer 3.6490 E-2&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Limits  0 → 2 answer 3.1416&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Limits  0 → π answer 2.1102 E1&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Limits  0 → 1 answer 5.0000 E-1 (rads mode)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Limits  0 → 1 answer 2.0000&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Limits  0 → 1 answer 7.8540 E-1&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Limits -1 → 1 answer 2.3857 E-2&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Limits -1 → 1 answer 2.2033&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;
Using &lt;code&gt;FIX10&lt;/code&gt; still allows the integrations to complete almost instantly except for Program 8 which takes around 8 seconds!
&lt;/p&gt;

&lt;p&gt;
Dropping to &lt;code&gt;FIX08&lt;/code&gt; and program 8 integration completes almost instantaneously too.
Strangely Program 8 has some odd behaviour regarding display precision.
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;FIX04&lt;/code&gt; → &lt;code&gt;FIX07&lt;/code&gt; → instantaneous answer 0.5000….&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;FIX08&lt;/code&gt; → instantaneous answer 0.50000….&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;FIX09&lt;/code&gt; → 8 seconds  answer 0.499964689&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;FIX10&lt;/code&gt; → 8 seconds  answer 0.4999747623&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;FIX11&lt;/code&gt; → 10 seconds answer 0.49999489949&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;FIX12&lt;/code&gt; → 10 seconds answer 0.499999962001&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;FIX13&lt;/code&gt; → instantaneous answer 0.5000……&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;FIX14&lt;/code&gt; → instantaneous answer 0.500000……&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;FIX15&lt;/code&gt; → instantaneous answer 0.5000000……&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Integrate Tests&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;integrate_tests&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:29,&amp;quot;secid&amp;quot;:24,&amp;quot;range&amp;quot;:&amp;quot;48073-50006&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit25&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Page created Thu May 26 17:35:39 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 16/04/26 16:01 BST
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:29,&amp;quot;secid&amp;quot;:25,&amp;quot;range&amp;quot;:&amp;quot;50007-50124&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit26&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:calculator&amp;amp;do=showtag&amp;amp;tag=calculator&quot; class=&quot;wikilink1&quot; title=&quot;tag:calculator&quot; rel=&quot;tag&quot;&gt;calculator&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dm15l&amp;amp;do=showtag&amp;amp;tag=dm15l&quot; class=&quot;wikilink1&quot; title=&quot;tag:dm15l&quot; rel=&quot;tag&quot;&gt;dm15l&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:lf15c&amp;amp;do=showtag&amp;amp;tag=lf15c&quot; class=&quot;wikilink1&quot; title=&quot;tag:lf15c&quot; rel=&quot;tag&quot;&gt;lf15c&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:29,&amp;quot;secid&amp;quot;:26,&amp;quot;range&amp;quot;:&amp;quot;50125-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 16 Apr 2026 15:01:20 +0000</pubDate>
        </item>
        <item>
            <title>Damasko DA36 Tests 1 (2019)</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:da36tests1</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:start&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:start&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:start&quot;&gt;Damasko DA36&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;damasko_da36_tests_1_2019&quot;&gt;Damasko DA36 Tests 1 (2019)&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Created Thursday 31 October 2019
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Damasko DA36 Tests 1 (2019)&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;damasko_da36_tests_1_2019&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-92&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;investigation_into_fault_last_seen_aug_2018&quot;&gt;Investigation into fault last seen Aug 2018&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Fault symptoms from 30/8/18
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; rate error high (&amp;gt; 30s/d) and dependant on position&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; amplitude low ≤200°&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; hand-winding would not increase amplitude or improve random fluctuating rate.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Investigation into fault last seen Aug 2018&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;investigation_into_fault_last_seen_aug_2018&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;93-344&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;investigation_to_confirm_fault_prior_to_arranging_repair30_10_19&quot;&gt;Investigation to confirm fault prior to arranging repair : 30/10/19&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; wind 40 turns manually &amp;amp; set time: Δ = -0.7s&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; on wrist 19:00&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; take TG measurements as auto power builds up over evening&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Investigation to confirm fault prior to arranging repair : 30\/10\/19&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;investigation_to_confirm_fault_prior_to_arranging_repair30_10_19&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;345-555&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;reference_values_for_comparison_to_normal_behaviour&quot;&gt;Reference Values for comparison to &amp;quot;Normal&amp;quot; behaviour&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Last known full set of amplitude / rate measurements:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;16/12/17
Dial up	: 274° : 0
Dial dn	: 278° : 0
6H	: 256° : -6	: D = -6
3H	: 263° : 0
9H	: 262° : -2
12H	: 261° : +4
Mean	: -0.7
&lt;/pre&gt;

&lt;p&gt;
Last known good “full power” TG rate measurements:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;8/3/18 13:30
Dial up	: 291°	: +1
Dial dn	:	: 0
6H	:	: -3	D = -4
3H	:	: +2
9H	:	: 0
12H	:	: +1
Mean	: +0.7
&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Reference Values for comparison to \&amp;quot;Normal\&amp;quot; behaviour&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;reference_values_for_comparison_to_normal_behaviour&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;556-1002&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;tg_measurements_1st_day_30_10_19&quot;&gt;TG measurements 1st day 30/10/19&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;19:25
Dial up : 231° : -11

20:15
Dial up : 271° : -3
Dial dn : 263° : -3

21:15
Dial up : 282° : -1
Dial dn : 271° : 0

22:15
Dial up : 270° : -2
Dial dn : 259° : -1
6H	: 252° : -6	: D = -4
3H	: 257° : 0
9H	: 241° : -3
12H	: 262° : +1
Mean	: -1.8

23:15
Dial up : 287° : 0
Dial dn : 263° : 0
6H	: 249° : -7	: D = -7
3H	: 271° : 0
9H	: 261° : -3
12H	: 266° : +1
Mean	: -1.5


00:15
Dial up : 302° : 0
Dial dn : 295° : 0
6H	: 260° : -6	: D = -6
3H	: 278° : 0
9H	: 271° : 0
12H	: 291° : +1
Mean	: +0.8
&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;TG measurements 1st day 30\/10\/19&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tg_measurements_1st_day_30_10_19&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1003-1587&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;tg_measurements_2nd_day_31_10_19&quot;&gt;TG measurements 2nd day 31/10/19&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;06:10
Dial up : 272° : -2
Dial dn : 282° : 0
6H	: 249° : -7	: D = -5
3H	: 260° : 0
9H	: 261° : -2
12H	: 259° : +3
Mean	: -1.3


07:10
Dial up : 276° : 0
Dial dn : 275° : +1
6H	: 249° : -5	: D = -5
3H	: 266° : +1
9H	: 252° : -4
12H	: 252° : +2
Mean	: -0.8

08:30
Dial up : 275° : 0
Dial dn : 274° : +2
6H	: 258° : -5	: D = -5
3H	: 264° : +1
9H	: 256° : -1
12H	: 257° : +4
Mean	: -0.16

09:35
Dial up : 279° : -1
Dial dn : 281° : +1
6H	: 266° : -4	: D = -3
3H	: 270° : +1
9H	: 261° : -3
12H	: 267° : +4
Mean	: -0.33

10:30
Dial up : 265° : -2
Dial dn : 261° : 0
6H	: 240° : -8	: D = -6
3H	: 248° : -1
9H	: 236° : -5
12H	: 259° : +3
Mean	: -2.3

13:10
Dial up : 283° : 0
Dial dn : 276° : 0
6H	: 262° : -3	: D = -3
3H	: 258° : +2
9H	: 248° : 0
12H	: 259° : +4
Mean	: +0.5

14:55
Dial up : 278° : -2
Dial dn : 275° : -1
6H	: 257° : -7	: D = -5
3H	: 266° : 0
9H	: 257° : -1
12H	: 266° : +2
Mean	: -1.6

17:10
Dial up : 288° : 0
Dial dn : 277° : 0
6H	: 264° : -3	: D = -3
3H	: 268° : 0
9H	: 261° : -4
12H	: 269° : +2
Mean	: -0.8

21:30
Dial up : 272° : -2
Dial dn : 277° : -1
6H	: 252° : -8	: D = -6
3H	: 262° : -1
9H	: 256° : -4
12H	: 277° : +1
Mean	: -1.8&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;TG measurements 2nd day 31\/10\/19&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tg_measurements_2nd_day_31_10_19&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;1588-2853&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;tg_measurements_3rd_day_1_11_19&quot;&gt;TG measurements 3rd day 1/11/19&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;06:00
Dial up : 262° : +1
Dial dn : 260° : +3
6H	: 248° : -4	: D = -5
3H	: 257° : +3
9H	: 251° : 0
12H	: 251° : +7
Mean	: +1.6

16:35
Dial up : 283° : 0
Dial dn : 283° : 0
6H	: 271° : -5	: D = -5
3H	: 271° : 0
9H	: 264° : 0
12H	: 279° : +1
Mean	: -0.6
&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;TG measurements 3rd day 1\/11\/19&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tg_measurements_3rd_day_1_11_19&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;2854-3176&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;tg_measurements_4rd_day_2_11_19&quot;&gt;TG measurements 4rd day 2/11/19&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;07:45
Dial up : 260° : +1
Dial dn : 268° : +4
6H	: 245° : -5	: D = -6
3H	: 250° : +1
9H	: 249° : 0
12H	: 251° : +3
Mean	: -0.6

16:15
Dial up : 294° : -1
Dial dn : 293° : 0
6H	: 268° : -5	: D = -6
3H	: 266° : 0
9H	: 273° : -2
12H	: 273° : +1
Mean	: -1.6

19:30
Dial up : 299° : -1
Dial dn : 298° : 0
6H	: 267° : -5	: D = -4
3H	: 267° : 0
9H	: 273° : -4
12H	: 272° : +1
Mean	: -1.5&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;TG measurements 4rd day 2\/11\/19&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tg_measurements_4rd_day_2_11_19&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:5,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;3177-3635&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit9&quot; id=&quot;tg_measurements_5th_day_3_11_19&quot;&gt;TG measurements 5th day 3/11/19&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;07:00
Dial up : 258° : +1
Dial dn : 264° : +6
6H	: 251° : -1	: D = -2
3H	: 255° : +1
9H	: 254° : 0
12H	: 251° : +3
Mean	: +1.6

16:10
Dial up : 291° : 0
Dial dn : 281° : 0
6H	: 271° : -4	: D = -4
3H	: 264° : 0
9H	: 259° : -2
12H	: 271° : +3
Mean	: -0.5

21:00
Dial up : 289° : -1
Dial dn : 278° : 0
6H	: 261° : -5	: D = -4
3H	: 262° : 0
9H	: 258° : -1
12H	: 260° : +2
Mean	: -0.8

&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;TG measurements 5th day 3\/11\/19&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tg_measurements_5th_day_3_11_19&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:6,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;3636-4093&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit10&quot; id=&quot;tg_measurements_6th_day_4_11_19&quot;&gt;TG measurements 6th day 4/11/19&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;06:15
Dial up : 264° : +1
Dial dn : 256° : +3
6H	: 240° : -5	: D = -6
3H	: 249° : 0
9H	: 256° : 0
12H	: 248° : +4
Mean	: +0.5

11:25
Dial up : 292° : 0
Dial dn : 283° : +1
6H	: 267° : -4	: D = -4
3H	: 277° : +1
9H	: 262° : -1
12H	: 268° : +3
Mean	: +0.0

&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;TG measurements 6th day 4\/11\/19&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tg_measurements_6th_day_4_11_19&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:7,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;4094-4419&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit11&quot; id=&quot;amplitude_vs_position_vs_mean_rate&quot;&gt;Amplitude vs Position vs Mean Rate&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;Date     	Time		Du	Dd	6h	3h	9h	12h	Av	M
=============================================================================================	
30/10/19 	22:15		270	259	252	257	241	262	257	-1.8	
30/10/19 	23:15		287	263	249	271	261	266	266	-1.5&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;31/10/19 	00:15		302	295	260	278	271	291	283	+0.8	
31/10/19 	06:10		272	282	249	260	261	259	263	-1.3
31/10/19 	07:10		276	275	249	266	252	252	262	-0.8
31/10/19 	08:30		275	274	258	264	256	257	263	+0.2
31/10/19 	09:35		279	281	266	270	261	267	271	-0.3
31/10/19 	10:30		265	261	240	248	236	259	252	-2.3
31/10/19 	13:10		283	276	262	258	248	259	264	+0.5
31/10/19 	14:55		278	275	257	266	257	266	267	-1.6
31/10/19 	17:10		288	277	264	268	261	269	271	-0.8
31/10/19 	21:30		272	277	252	262	256	277	266	-1.8&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;01/11/19 	06:00		262	260	248	257	251	251	255	+1.6
01/11/19 	16:35		283	283	271	271	264	279	275	-0.6

02/11/19 	07:45		260	268	245	250	249	251	254	+0.6
02/11/19	16:15		294	293	268	266	273	273	279	-1.6
02/11/19	19:30		299	298	267	267	273	272	279	-1.5

03/11/19	07:00		258	264	251	255	254	251	256	+1.6
03/11/19	16:10		291	281	271	264	259	270	273	-0.5
03/11/19	21:00		289	278	261	262	258	260	268	-0.8

04/11/19	06:15		264	256	240	249	256	248	252	+0.5
04/11/19	11:25		292	283	267	277	262	268	275	+0.0&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Amplitude vs Position vs Mean Rate&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;amplitude_vs_position_vs_mean_rate&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:8,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;4420-5733&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit12&quot; id=&quot;watchcheck_data&quot;&gt;Watchcheck data&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;Date		Time	Δ(s)	Error(s/d)	Ave(s/d)	Comment
31/10/19 	06:17 	-2.2
01/11/19 	06:06 	-4.2	-2.0		-2.0		Dial up overnight
02/11/19 	07:43	-6.7	-2.3		-2.2		Dial up overnight
03/11/19 	06:54	-7.5	-0.8		-1.8		Dial down overnight
04/11/19	06:32	-8.5	-1.0		-1.6		Dial down overnight

&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Watchcheck data&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;watchcheck_data&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:8,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;5734-6054&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit13&quot; id=&quot;timegrapher_pseudo-cosc_test&quot;&gt;TimeGrapher Pseudo-COSC Test&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
16:00 1/11/19 (Full Power) &amp;amp; 07:45 2/11/19 (After overnight resting dial-up)
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;M1	-5
M2	-5	Mean 6H	: -5	V1 : 0
M3	+2
M4	+1	Mean 3H	: +1.5	V2 : 1
M5	0
M6	0	Mean 9H	: 0	V3 : 0
M7	+2
M8	+4	Mean DD	: +3	V4 : 2
M9	0
M10	+1	Mean DU : +0.5	V5 : 1
M11	n/a
M12	-5&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;                         Limit		
M	0	Pass	(+6/-4) 	Mean Daily Rate			: Ave of M1..M10
Vavg	0.8	Pass	(2)		Mean Variation			: Ave of V1..V5
Vmax	2	Pass	(5)		Max Variation 			: Max of V1..V5
D	-5.5	Pass*	(+8/-6) 	Difference Vert-Horiz		: Ave of M1..M2 minus Ave of M9..M10
P	5	Pass	(10)		Largest Variation from mean	: Value of M1.. M10 with largest difference from overall M
R	+0	Pass	(+5/-5) 	Rate Resumption			: M12 minus Ave of M1..M2 &lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;TimeGrapher Pseudo-COSC Test&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;timegrapher_pseudo-cosc_test&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:9,&amp;quot;secid&amp;quot;:13,&amp;quot;range&amp;quot;:&amp;quot;6055-6817&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit14&quot; id=&quot;power_reserve_test&quot;&gt;Power Reserve Test&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Start fully wound  : “day 0”
&lt;/p&gt;

&lt;p&gt;
Put on Timegrapher, dial up, to observe rate/amplitude during period of test
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;ETA 2836-2 spec = 38 hours&lt;/em&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;Off wrist date time 	:	04/11/19	11:35
Stopped date time	:	05/11/19	21:27
Elapsed time		:	33:52&lt;/pre&gt;

&lt;p&gt;
TG Checks during Power Reserve test, Dial Up
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;	
Date		Time	Elapsed	Amp	Rate	Δ-NTP
04/11/19	11:35	0:00	279	0	-8.5
04/11/19	14:35	3:00	270	+1		
04/11/19	17:35	6:00	271	0
04/11/19	21:10	8:35	260	0
04/11/19	23:20	11:45	251	0
05/11/19	06:20	18:45	243	0
05/11/19	08:35	21:00	233	-1
05/11/19	09:30	21:55	234	-1	-9.4
05/11/19	13:55	26:20	213	-6
05/11/19	15:00	27:25	212	-7	-10.9
05/11/19	16:45	29:10	203	-10
05/11/19 	17:35	30:00	198	-12
05/11/19	18:35	31:00	191	-14
05/11/19	19:35	32:00	179	-19	-13.3
05/11/19	20:35	33:00	168	-27
05/11/19	21:27	33:52	STOPPED....

Power reserve	:	33:52&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Power Reserve Test&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;power_reserve_test&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:11,&amp;quot;secid&amp;quot;:14,&amp;quot;range&amp;quot;:&amp;quot;6818-7687&amp;quot;} --&gt;
&lt;h1 class=&quot;sectionedit15&quot; id=&quot;da36measurements&quot;&gt;DA36Measurements&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Created Friday 08 November 2019
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DA36Measurements&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;da36measurements&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:12,&amp;quot;secid&amp;quot;:15,&amp;quot;range&amp;quot;:&amp;quot;7688-7752&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit16&quot; id=&quot;november_2019&quot;&gt;8 November 2019&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;	08/11/19 : 06:15
	Dial up : 254° : -1
	Dial dn : 261° : +4
	6H	: 243° : -6
	3H	: 237° : -1
	9H	: 222° : -6
	12H	: 226° : 0
	D 	: -5
	Mean	: 241° : -1.6&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;	08/11/19 : 12:45
	Dial up : 284° : 0
	Dial dn : 281° : +1
	6H	: 266° : -3	
	3H	: 263° : 0
	9H	: 259° : -1
	12H	: 266° : +3
	D 	: -3
	Mean	: 270° : 0&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;	08/11/19 : 23:20
	Dial up : 280° : -2
	Dial dn : 277° : 0
	6H	: 260° : -3	
	3H	: 261° : 0
	9H	: 254° : -2
	12H	: 259° : +3
	D 	: -1
	Mean	: 265° : 0&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;8 November 2019&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;november_2019&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:12,&amp;quot;secid&amp;quot;:16,&amp;quot;range&amp;quot;:&amp;quot;7753-8287&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit17&quot; id=&quot;th_november_2019&quot;&gt;9th November 2019&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;09/11/19 : 06:50
Dial up : 256° : +1
Dial dn : 254° : +3
6H	: 230° : -7	
3H	: 227° : -4
9H	: 234° : -2
12H	: 227° : +1
D 	: -8
Mean	: 238° : -1.3&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;09/11/19 : 13:10
Dial up : 281° : 0
Dial dn : 282° : 0
6H	: 264° : -4	
3H	: 263° : 0
9H	: 268° : 0
12H	: 260° : +3
D 	: -4
Mean	: 270° : -0.2&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;09/11/19 : 23:00
Dial up : 286° : -2
Dial dn : 280° : 0
6H	: 260° : -6	
3H	: 256° : -2
9H	: 272° : 0
12H	: 263° : +1
D 	: -4
Mean	: 270° : -1.5&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;9th November 2019&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;th_november_2019&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:12,&amp;quot;secid&amp;quot;:17,&amp;quot;range&amp;quot;:&amp;quot;8288-8805&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit18&quot; id=&quot;th_november_20191&quot;&gt;10th November 2019&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;10/11/19 : 07:05
Dial up : 251° : 0
Dial dn : 246° : +1
6H	: 232° : -8	
3H	: 220° : -8
9H	: 230° : -3
12H	: 230° : 0
D 	: -8
Mean	: 236° : -3&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;10/11/19 : 14:20	
Dial up : 256° : -4
Dial dn : 248° : -5
6H	: 233° : -13	
3H	: 228° : -6
9H	: 227° : -8
12H	: 226° : -5
D 	: -9
Mean	: 236° : -6.8&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;Wound manually 40 turns:

Dial up	: 238°	: -5
Dial dn	: 234°	: -6
6H	: 225° 	: -14&lt;/pre&gt;

&lt;p&gt;
Amplitude still low…..
&lt;/p&gt;

&lt;p&gt;
Wound manually &amp;gt; 100 turns:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;	
Dial up : 263° : -1
Dial dn : 264° : 0
6H	: 244° : -9	
3H	: 245° : -3
9H	: 256° : -2
12H	: 249° : 0
D 	: -8
Mean	: 253° : -5.0&lt;/pre&gt;

&lt;p&gt;
Rate improved but amplitude still low - can&amp;#039;t achieve “full wind power”?
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;10/11/19 : 16:30
Dial up : 274° : 0
Dial dn : 259° : 0
6H	: 238° : -9	
3H	: 250° : -2
9H	: 245° : -3
12H	: 242° : 0
D 	: -9
Mean	: 251° : -2.3&lt;/pre&gt;

&lt;p&gt;
Back to on-wrist for further observations @ 16:50
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;10th November 2019&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;th_november_20191&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:12,&amp;quot;secid&amp;quot;:18,&amp;quot;range&amp;quot;:&amp;quot;8806-9740&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit19&quot; id=&quot;amplitude_vs_position_vs_mean_rate_error&quot;&gt;Amplitude vs position vs mean rate error&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;	Date     	Time		Du	Dd	6h	3h	9h	12h	Av	M	
	============================================================================================
	08/11/19	06:15		254	261	243	237	222	226	241	-1.6
	08/11/19	12:45		284	281	266	263	259	266	270	+0.0
	08/11/19	23:20		280	277	260	261	254	259	265	+0.0	&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;	09/11/19	06:50		256	254	230	227	234	227	238	-1.3
	09/11/19	13:10		281	282	264	263	268	260	270	-0.2
	09/11/19	23:00		286	280	260	256	272	263	270	-1.5
	
	10/11/19	07:05		251	246	232	220	230	230	236	-3.0
	10/11/19	14:20		256	248	233	228	227	226	236	-6.8 !!!!!
	10/11/19	16:30		274	259	238	250	245	242	251	-2.3
	10/11/19	17:30		286	281	265	268	259	263	270	-1.
	10/11/19	19:10		259	269	248	249	260	253	256	-1.8
	10/11/19	21:00		293	284	264	260	266	267	272	-2.5
	10/11/19	23:00		270	277	266	250	261	252	262	-3.0&lt;/pre&gt;

&lt;p&gt;
Over to &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:da36tests2&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:da36tests2&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:da36tests2&quot;&gt;Damasko DA36 Tests 2 (2019)&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Amplitude vs position vs mean rate error&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;amplitude_vs_position_vs_mean_rate_error&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:12,&amp;quot;secid&amp;quot;:19,&amp;quot;range&amp;quot;:&amp;quot;9741-10635&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit20&quot; id=&quot;dial-up_amplitude_rate&quot;&gt;Dial-Up Amplitude &amp;amp; Rate&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;Date		Time	Amp.	Rate
=====================================
08/11/19	06:15	254	-1
08/11/19	12:45	284	0	
08/11/19	15:40	281	0
08/11/19	17:00	272	0
08/11/19	23:20	280	-2&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;09/11/19	06:50	256	+1
09/11/19	10:40	270	-1
09/11/19	13:10	281	0
09/11/19	20:30	288	-1
09/11/19	23:00	286	-2

10/11/19	07:05	251	0
10/11/19	10:10	267	-3
10/11/19	14:20	256	-4 !!! Low amplitude all positions after several hours on wrist.&lt;/pre&gt;

&lt;p&gt;
Goto &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:da36tests2&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:da36tests2&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:da36tests2&quot;&gt;Damasko DA36 Tests 2 (2019)&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Dial-Up Amplitude &amp;amp; Rate&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dial-up_amplitude_rate&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:12,&amp;quot;secid&amp;quot;:20,&amp;quot;range&amp;quot;:&amp;quot;10636-11121&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit21&quot; id=&quot;watchcheck_measurements&quot;&gt;Watchcheck measurements&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;Android Watchcheck (one per day to show overall rate):&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;Date		Time	Δ(s)	Error(s/d)	Ave(s/d)	Comment
=======================================================================================&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;08/11/19	06:24	-7.7	-1.6		-2.0		overnight dial down
09/11/19	07:04	-9.5	-1.7		-1.9		overnight dial down
10/11/19	07:02	-11.9	-2.4		-2.1		overnight dial down
11/11/19	06:25	-14.1	-2.3		-2.1		overnight dial up


Python Watchcheck (2 per day to show difference between on-wrist and resting position):

dd/mm/yyyy HH:MM:SS	Δ(s)        Error(s/d)       Ave(s/d)	Comment
===================================================================&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;08/11/2019 06:25:07     -7.8            +3.6            -1.3	Nighttime dial down = positive
08/11/2019 23:19:10     -10.3           -3.6            -2.0 	daytime on wrist = negative
09/11/2019 07:05:09     -9.5            +2.6            -1.4	Nighttime dial down = positive
09/11/2019 23:05:12     -12.6           -4.8            -2.1	Daytime on wrist = negative
10/11/2019 07:03:11     -11.6           +3.1            -1.6	Nighttime dial down = positive
10/11/2019 23:10:14     -14.2           -3.8            -2.0 	Daytime worn = negative
11/11/2019 06:23:14     -14.1           +0.1            -1.8 	Dial Up overnight. Zero&lt;/pre&gt;

&lt;p&gt;
@watches
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Watchcheck measurements&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;watchcheck_measurements&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:12,&amp;quot;secid&amp;quot;:21,&amp;quot;range&amp;quot;:&amp;quot;11122-12446&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit22&quot; id=&quot;post_power_test_measurements&quot;&gt;Post Power Test Measurements&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Return to wrist and allow to reach adequate auto-winding power.
Set time &amp;amp; take new Watchcheck reading once amplitude and rate have settled.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;21:50 On wrist

22:00
Dial up : 235° : -15
Dial dn : 221° : -17
6H	: 214° : -21	: D = -6
3H	: 229° : -15
9H	: 225° : -16
12H	: 220° : -19
Mean	: -17

* worn overnight in bed - MINIMAL ADDITIONAL AUTO-WINDING? *&lt;/pre&gt;

&lt;/div&gt;

&lt;h4 id=&quot;day_1_6_11_19&quot;&gt;Day 1 6/11/19&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;06:00 	
Dial up : 226° : -10
Dial dn : 233° : -10
6H	: 214° : -20	: D = -10
3H	: 235° : -7
9H	: 210° : -15
12H	: 223° : -6
Mean	: -11

12:15 	
Dial up : 265° : -1
Dial dn : 252° : 0
6H	: 242° : -7	: D = -6
3H	: 241° : -1
9H	: 238° : -4
12H	: 249° : +1
Mean	: -2

15:50	 	
Dial up : 289° : 0
Dial dn : 276° : 0
6H	: 259° : -6	: D = -6
3H	: 267° : 0
9H	: 273° : -1
12H	: 269° : +1
Mean	: -1

19:50	 	
Dial up : 277° : 0
Dial dn : 283° : 0
6H	: 254° : -6	: D = -6
3H	: 251° : -2
9H	: 241° : -3
12H	: 266° : +4
Mean	: -1.5&lt;/pre&gt;

&lt;/div&gt;

&lt;h4 id=&quot;day_2_7_11_19&quot;&gt;Day 2 7/11/19&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;06:00	 	
Dial up : 260° : +1
Dial dn : 252° : +4
6H	: 241° : -4	: D = -5
3H	: 230° : -4
9H	: 199° : -17	********
12H	: 200° : -11    ********
Mean	: -5.2

07:00	 	
Dial up : 270° : -1
Dial dn : 260° : 0
6H	: 246° : -7	: D = -6
3H	: 245° : -2
9H	: 240° : -5
12H	: 245° : 0
Mean	: -2.5

09:20	 	
Dial up : 284° : -1
Dial dn : 281° : +1
6H	: 269° : -2	: D = -1
3H	: 265° : +1
9H	: 265° : 0
12H	: 261° : +3
Mean	: +0.3

21:30		 	
Dial up : 287° : -2
Dial dn : 281° : 0
6H	: 254° : -6	: D = -4
3H	: 262° : -1
9H	: 265° : -2
12H	: 261° : +2
Mean	: -1.5&lt;/pre&gt;

&lt;/div&gt;

&lt;h4 id=&quot;day_3_8_11_19&quot;&gt;Day 3 8/11/19&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;06:15
Dial up : 254° : -1
Dial dn : 261° : +4
6H	: 243° : -6	: D = -5
3H	: 237° : -1
9H	: 222° : -6
12H	: 226° : 0
Mean	: -1.6&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;12:45
Dial up : 284° : 0
Dial dn : 281° : +1
6H	: 266° : -3	: D = -3
3H	: 263° : 0
9H	: 259° : -1
12H	: 266° : +3
Mean	: 270° : 0&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;Date     	Time		Du	Dd	6h	3h	9h	12h	Av	M
=============================================================================================
06/11/19	06:30		226	233	214	235	210	223	223	-11.0
06/11/19	12:15		265	252	242	241	238	249	248	-2.0
06/11/19	15:50		289	276	259	267	273	269	272	-1.0
06/11/19	19:50		277	283	254	251	241	266	262	-1.5

07/11/19	06:00		260	252	241	230	199!!	200!!	230	-5.2
07/11/19	07:00		270	260	246	245	240	245	251	-2.5
07/11/19	09:20		284	281	269	265	265	261	271	+0.3
07/11/19	21:30		287	281	254	262	265	261	268	-1.5

08/11/19	06:15		254	261	243	237	222	226	241	-1.6
08/11/19	12:45		284	281	266	263	259	266	270	+0.0




Android Watchcheck:&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;Date		Time	Δ(s)	Error(s/d)	Ave(s/d)	Comment
=======================================================================================
06/11/19 	06:41 	-3.6					New period started
06/11/19	12:32	-5.4	-7.4		-7.4		after ~6 hours
06/11/19	20:02	-6.2	-2.5		-4.6		after further 7.5 hours
07/11/19	05:55	-6.1	+0.2		-2.6		overnight dial down
08/11/19	06:24	-7.7	-1.6		-2.0		overnight dial down



Python Watchcheck:

dd/mm/yyyy HH:MM:SS	Δ(s)        Error(s/d)       Ave(s/d)	Comment
===================================================================
06/11/2019 20:22:06     -6.2            -2.5            -2.5	Daytime = negative
07/11/2019 05:56:06     -6.1            +0.3            -0.8	Nighttime dial down = positive
08/11/2019 00:36:08     -8.6            -3.3            -2.1	Daytime = negative
08/11/2019 06:25:07     -7.8            +3.6            -1.3	Nighttime dial down = positive&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Post Power Test Measurements&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;post_power_test_measurements&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:12,&amp;quot;secid&amp;quot;:22,&amp;quot;range&amp;quot;:&amp;quot;12447-16012&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit23&quot; id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
There seems to be nothing wrong.
&lt;/p&gt;

&lt;p&gt;
4 full days of on-wrist testing shows normal amplitude and rate error.
&lt;/p&gt;

&lt;p&gt;
Power-run-down test gives a reserve time of ≥33 hours. This is less than the ETA 2836-2 spec of 38 hours. This may be due to starting the test with less than full wind? 33 hours is still acceptable. Rate and amplitude drops after 24 hours, but accumulated error is still acceptable if the test had been stopped before completion and the watch worn (an additional ~5 seconds of loss over the 33 hours of testing).
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Restarting and achieving full-power/amplitude &amp;amp; normal rate error takes some time on-wrist - avoiding manually winding as far as possible, just enough to start the movement running. Is there still an intermittent problem with the winding or power?&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Time will tell.
&lt;/p&gt;

&lt;p&gt;
Further monitoring under &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:da36measurements&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:da36measurements&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:da36measurements&quot;&gt;Damasko DA36 Measurements (2019)&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Page Updated: 30/12/25 09:55 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:watch&amp;amp;do=showtag&amp;amp;tag=watch&quot; class=&quot;wikilink1&quot; title=&quot;tag:watch&quot; rel=&quot;tag&quot;&gt;watch&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:damasko&amp;amp;do=showtag&amp;amp;tag=damasko&quot; class=&quot;wikilink1&quot; title=&quot;tag:damasko&quot; rel=&quot;tag&quot;&gt;damasko&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Conclusion&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;conclusion&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:12,&amp;quot;secid&amp;quot;:23,&amp;quot;range&amp;quot;:&amp;quot;16013-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>Damasko DA36</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:start</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:start&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:start&quot; data-wiki-id=&quot;public:miscellany:watches:start&quot;&gt;Watches&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;damasko_da36&quot;&gt;Damasko DA36&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;div class=&quot;table sectionedit2&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Bought Date  &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;25/10/2016&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Bought From  &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Damasko, Germany&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Price        &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;€1796 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Movement     &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;ETA2836-2 : 25 Jewels, Automatic, Day/Date, 28,800vph &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Serial Number&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;DA36-1981&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Anti-magnetic&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;80,000A/m,1000 Gauss&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Water Resistance&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;100m&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Strap&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Damasko Steel Bracelet&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;43-317&amp;quot;} --&gt;
&lt;p&gt;
&lt;script type=&quot;text/javascript&quot;&gt; catlist_baseurl = &quot;https://www.g4slv.info/dokuwiki/&quot;; catlist_basescript = &quot;doku.php&quot;; catlist_useslash = 0; catlist_userewrite = 0; catlist_sepchar = &quot;_&quot;; catlist_deaccent = 1; catlist_pagename_sanitize = 1; &lt;/script&gt;&lt;ul style=&quot;-webkit-column-count: 3; -moz-column-count: 3; column-count: 3;&quot; class=&quot;catlist_columns catlist-nslist&quot; &gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:da36dailyrates&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:da36dailyrates&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:da36dailyrates&quot;&gt;Damasko DA36 Daily Rates (2016-2019)&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:da36measurements&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:da36measurements&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:da36measurements&quot;&gt;Damasko DA36 Measurements (2019)&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:da36repair&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:da36repair&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:da36repair&quot;&gt;Damasko DA36 Repair (2019)&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:da36tests1&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:da36tests1&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:da36tests1&quot;&gt;Damasko DA36 Tests 1 (2019)&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:da36tests2&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:da36tests2&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:da36tests2&quot;&gt;Damasko DA36 Tests 2 (2019)&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:measurements_2022&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:measurements_2022&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:measurements_2022&quot;&gt;Measurements (2022)&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:repair_service_2022&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:repair_service_2022&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:repair_service_2022&quot;&gt;Repair and Service 2022&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Damasko DA36&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;damasko_da36&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;13-360&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;the_da36&quot;&gt;The DA36&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I see this watch as a modern version of Rolex&amp;#039;s &lt;em&gt;Milgauss&lt;/em&gt; - tough with the same level of Magnetic Resistance as the original &lt;em&gt;Milgauss&lt;/em&gt; (1000 Gauss). The original anti-magnetic engineer&amp;#039;s watch from Rolex wasn&amp;#039;t the &lt;em&gt;multi-thousands-of-pounds&lt;/em&gt; bauble they sell today.
&lt;/p&gt;

&lt;p&gt;
Originally Rolex produced &lt;em&gt;relatively expensive&lt;/em&gt;, but &lt;em class=&quot;u&quot;&gt;still affordable&lt;/em&gt;, tool-watches. 
&lt;/p&gt;

&lt;p&gt;
Unlike the &lt;a href=&quot;https://en.wikipedia.org/wiki/veblen_good&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/veblen_good&quot;&gt;Veblen Goods&lt;/a&gt; they churn out today.
&lt;/p&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;group wrap__dark plugin_wrap&quot;&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_half wrap_column wrap__dark plugin_wrap&quot;&gt;
&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:watches:damasko:da36_1.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:damasko:da36_1.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=d6bf65&amp;amp;media=public:watches:damasko:da36_1.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_half wrap_column wrap__dark plugin_wrap&quot;&gt;
&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:watches:damasko:da36_2.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:damasko:da36_2.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=45864e&amp;amp;media=public:watches:damasko:da36_2.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;group wrap__dark plugin_wrap&quot;&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_half wrap_column wrap__dark plugin_wrap&quot;&gt;
&lt;p&gt;
Damasko&amp;#039;s original and iconic watch, the DA36, is something akin to an early Rolex. Not &lt;em&gt;cheap&lt;/em&gt;, but also not ridiculously over-priced. It has no obvious external frills, but has plenty of technology inside to justify the price and to add functional value. 
&lt;/p&gt;

&lt;p&gt;
I often ponder whether I&amp;#039;d buy a &lt;em&gt;Milgauss&lt;/em&gt; if I could afford the £7000+ price tag. And now I&amp;#039;ve lived with the DA36 for almost 6 years I don&amp;#039;t know that I would. My watch is now &lt;em class=&quot;u&quot;&gt;my&lt;/em&gt; watch.  Why swap for another expensive toy?
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:13,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:14,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_half wrap_column wrap__dark plugin_wrap&quot;&gt;
&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:watches:damasko:2022-05-24_11.39.55.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:damasko:2022-05-24_11.39.55.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=7007ed&amp;amp;media=public:watches:damasko:2022-05-24_11.39.55.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:15,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:16,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;group wrap__dark plugin_wrap&quot;&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:18,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_half wrap_column wrap__dark plugin_wrap&quot;&gt;
&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:watches:damasko:da36_3.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:damasko:da36_3.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=e9cc25&amp;amp;media=public:watches:damasko:da36_3.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:19,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:20,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_half wrap_column wrap__dark plugin_wrap&quot;&gt;
&lt;p&gt;
Damasko have recently re-configured their range of watches and dropped the DA36, and most of the others from their early years of production, as they move upwards, into making higher price watches with &lt;a href=&quot;https://en.wikipedia.org/wiki/Manufacture_d%27horlogerie&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://en.wikipedia.org/wiki/Manufacture_d%27horlogerie&quot; rel=&quot;ugc nofollow noopener&quot;&gt; in-house&lt;/a&gt; movements, rather than using off-the-shelf ETA units. 
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;d love a DA36 to appear with the &lt;em&gt;in-house&lt;/em&gt; movement, but I don&amp;#039;t know that this is going to happen.
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;UPDATE&lt;/strong&gt;
— &lt;em&gt;John Pumford-Green 24/04/23 17:45&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
The DA36 has now reappeared - as the &lt;strong&gt;DK36&lt;/strong&gt; with the new in-house &lt;strong&gt;A26-3&lt;/strong&gt; movement.
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.damasko-watches.com/en/DK36/SW10053.10&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.damasko-watches.com/en/DK36/SW10053.10&quot; rel=&quot;ugc nofollow noopener&quot;&gt; DK36 at Damasko&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
My watch developed a fault after a couple of years but this was easily repaired by Damasko. I &lt;em&gt;might&lt;/em&gt; have introduced the fault myself after opening it up a few times to regulate it - perhaps I let in some dirt that found its way to the escapement and caused some abrasion? 
&lt;/p&gt;

&lt;p&gt;
I don&amp;#039;t know. 
&lt;/p&gt;

&lt;p&gt;
It&amp;#039;s now working perfectly well after 2½ years of continuous daily wear. I only take it off to have a bath/shower and (usually) to sleep, and very rarely if I need to squeeze my left hand into a tight space when working on cars, Land Rovers or transmitters. I don&amp;#039;t think I&amp;#039;ve let it run down since the repair in December 2019.
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:21,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:17,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;The DA36&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;the_da36&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;361-3056&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit22&quot; id=&quot;the_milgauss&quot;&gt;The Milgauss&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:23,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;group wrap__dark plugin_wrap&quot;&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:25,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_half wrap_column wrap__dark plugin_wrap&quot;&gt;
&lt;p&gt;
A modern Milgauss for comparison. There&amp;#039;s not a lot of aesthetic similarity, the modern Milgauss is quite gaudy, with its green sapphire crystal and shiny dial. 
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:watches:damasko:milgauss.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:damasko:milgauss.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=79abe0&amp;amp;media=public:watches:damasko:milgauss.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:26,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:27,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_half wrap_column wrap__dark plugin_wrap&quot;&gt;
&lt;p&gt;
The 1960&amp;#039;s version ref. 1019 (not the original &lt;em&gt;submariner style&lt;/em&gt; with a timing bezel) looks more workmanlike and is the one I&amp;#039;d go for if I had the money. When I last looked a &lt;em&gt;birth year&lt;/em&gt; 1966 Milgauss fetches around £22,000…. so I&amp;#039;ll stick with &lt;em&gt;my&lt;/em&gt; DA36 and let it age with me.
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Amiscellany%3Awatches%3Adamasko%3Astart&amp;amp;media=public:watches:damasko:mil_1019.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:damasko:mil_1019.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=f04c19&amp;amp;media=public:watches:damasko:mil_1019.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:28,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:24,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;The Milgauss&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;the_milgauss&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:22,&amp;quot;range&amp;quot;:&amp;quot;3057-3718&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit29&quot; id=&quot;the_damasko_steel_bracelet&quot;&gt;The Damasko Steel Bracelet&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
The DA36 was bought &lt;em&gt;with&lt;/em&gt; the &lt;a href=&quot;https://www.damasko-watches.com/en/accessories/manufactory-steel-bracelets/158/manufactory-steel-bracelet-ice-hardened-stainless-steel&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.damasko-watches.com/en/accessories/manufactory-steel-bracelets/158/manufactory-steel-bracelet-ice-hardened-stainless-steel&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Damasko steel bracelet&lt;/a&gt; and initially I was happy with it. 
&lt;/p&gt;

&lt;p&gt;
It is super-engineered. Each link, of &lt;em&gt;ice hardened&lt;/em&gt; bead-blasted steel to match the watch&amp;#039;s case, is fixed with strong torx secured pivot pins. The whole bracelet can be dismantled for cleaning. It&amp;#039;s very strong, very well designed and very well made.  
&lt;/p&gt;

&lt;p&gt;
After time though the lack of adjustment (even &lt;em&gt;with&lt;/em&gt; the two supplied “long” links) meant it became difficult to find a good comfortable fit.
&lt;/p&gt;

&lt;p&gt;
The DA36 was then worn mostly on the Damasko leather strap or a variety of NATO straps, including some elastic &lt;em&gt;MN&lt;/em&gt; types, which are certainly very comfortable. 
&lt;/p&gt;

&lt;p&gt;
The steel bracelet was sold in 2017, to someone in the USA, after I decided I couldn&amp;#039;t get on with it. 
&lt;/p&gt;

&lt;p&gt;
Following the appearance of the rate-error fault in 2018, I switched to my &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:inventory:seiko_skx007&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:inventory:seiko_skx007&quot; data-wiki-id=&quot;public:miscellany:watches:inventory:seiko_skx007&quot;&gt;Seiko SKX007&lt;/a&gt; on a Strapcode Oyster steel bracelet, and liked it so much I decided to buy another Damasko steel bracelet for the DA36, and to request a set of &lt;em&gt;additional&lt;/em&gt; adjustment links to allow more variation in size. The longer links can be bought in sets of 2 pairs, which along with the 2 pairs that come with the bracelet, allow a smooth adjustment in tiny steps, almost matching the difference made by adding or removing a normal link. 
&lt;/p&gt;

&lt;p&gt;
The new bracelet and links were bought in November 2019.
&lt;/p&gt;

&lt;p&gt;
This allowed the use of up to 5 &lt;sup&gt;&lt;a href=&quot;#fn__1&quot; id=&quot;fnt__1&quot; class=&quot;fn_top&quot;&gt;1)&lt;/a&gt;&lt;/sup&gt; &lt;em&gt;adjustment&lt;/em&gt; links to step smoothly between the jump in one &lt;em&gt;normal&lt;/em&gt; link. A good fit was obtained with 3 or 4 added &lt;em&gt;long links&lt;/em&gt;. After some time I found I could wear the bracelet with &lt;strong&gt;no&lt;/strong&gt; adjustment links, my wrist settled to a size that suited a whole number of &lt;em&gt;normal&lt;/em&gt; links, but I have the option of a good range of adjustment, if things should change in future. 
&lt;/p&gt;

&lt;p&gt;
I occasionally put a NATO strap on, but it rarely stays for more than a day or two before the pull of the super-strong super-engineered bracelet wins out.
&lt;/p&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:30,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;group wrap__dark plugin_wrap&quot;&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:32,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_half wrap_column wrap__dark plugin_wrap&quot;&gt;
&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:watches:damasko:2022-05-24_11.37.46.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:damasko:2022-05-24_11.37.46.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=487679&amp;amp;media=public:watches:damasko:2022-05-24_11.37.46.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:watches:damasko:2022-05-24_11.36.48.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:damasko:2022-05-24_11.36.48.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=65c201&amp;amp;media=public:watches:damasko:2022-05-24_11.36.48.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:watches:damasko:2022-05-24_11.36.39.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:damasko:2022-05-24_11.36.39.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=443571&amp;amp;media=public:watches:damasko:2022-05-24_11.36.39.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:33,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:34,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_half wrap_column wrap__dark plugin_wrap&quot;&gt;
&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:watches:damasko:2022-05-24_11.35.42.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:damasko:2022-05-24_11.35.42.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=937a70&amp;amp;media=public:watches:damasko:2022-05-24_11.35.42.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:watches:damasko:2022-05-24_11.35.18.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:damasko:2022-05-24_11.35.18.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=462371&amp;amp;media=public:watches:damasko:2022-05-24_11.35.18.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:35,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:31,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;p&gt;
&lt;span class=&quot;todo&quot;&gt;&lt;input type=&quot;checkbox&quot; class=&quot;todocheckbox&quot; data-index=&quot;0&quot; data-date=&quot;1767088507&quot; data-pageid=&quot;public:miscellany:watches:damasko:start&quot; data-strikethrough=&quot;1&quot; checked=&quot;checked&quot; /&gt; &lt;span class=&quot;todouser&quot;&gt;[✓ John Pumford-Green, 2025-03-09]&lt;/span&gt;&lt;span class=&quot;todotext clickabletodo todohlght&quot;&gt;&lt;del&gt;&lt;span class=&quot;todoinnertext&quot;&gt; add some photos of the DA36&lt;/span&gt;&lt;/del&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;The Damasko Steel Bracelet&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;the_damasko_steel_bracelet&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:29,&amp;quot;range&amp;quot;:&amp;quot;3719-6396&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit36&quot; id=&quot;watch-u-seek_threads&quot;&gt;Watch-u-seek threads&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.watchuseek.com/threads/da36-a-year-on-the-wrist.4590983/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.watchuseek.com/threads/da36-a-year-on-the-wrist.4590983/&quot; rel=&quot;ugc nofollow noopener&quot;&gt; A Year On the Wrist&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.watchuseek.com/threads/show-your-damasko-the-second-and-new-thread.3106906/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.watchuseek.com/threads/show-your-damasko-the-second-and-new-thread.3106906/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Damasko Pics.....&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Watch-u-seek threads&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;watch-u-seek_threads&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:36,&amp;quot;range&amp;quot;:&amp;quot;6397-6640&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit37&quot; id=&quot;history&quot;&gt;History&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Bought : 25/10/16
Arrived : 2/11/16
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;History&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;history&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:37,&amp;quot;range&amp;quot;:&amp;quot;6641-6698&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit38&quot; id=&quot;initial_rate_tests&quot;&gt;Initial Rate Tests&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;First 20 Days : Δ +11.4s -&amp;gt; +0.6s/d&lt;/pre&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_4d8bb2a5ab9f9749281d28f64c749147_1&quot;&gt;Watchcheck data etc .... &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_4d8bb2a5ab9f9749281d28f64c749147_1&quot;&gt;&lt;div class=&quot;table sectionedit39&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Month&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Δ / s&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Average Rate s/d&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Nov 2016&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;+19.2&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+0.7&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Dec 2016&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;+28.0&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+1.2&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Jan 2017&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;+50.2&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+1.4&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Feb 2017&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;+7.4&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+0.2&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Mar 2017&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;+6.9&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+0.3&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Apr 2017&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;-1.3&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;0.0&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;May 2017&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;-47.4&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-1.4&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Jun 2017&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;-43.4&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-1.6&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Jul 2017&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;-79.4&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-2.6&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row10&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Aug 2017&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;-84.3&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-2.7&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row11&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Sep 2017&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;-67.5&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-3.9&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table1&amp;quot;,&amp;quot;secid&amp;quot;:39,&amp;quot;range&amp;quot;:&amp;quot;6800-7069&amp;quot;} --&gt;
&lt;h4&gt;First Regulation after 12 months&lt;/h4&gt;
&lt;pre class=&quot;code&quot;&gt;18/12/17	+22.0	-2.3
19/12/17	+20.9	-1.1		__1st attempt to regulate → __
20/12/17	+22.1	+4.0		after regulation and dial-down overnight
21/12/17	+22.5	+0.4		dial-up overnight (usual position)
22/12/17	+22.7	+0.1		regulation seems to have corrected rate error
23/12/17	+22.3	-0.4		time reset to -0.3 s&lt;/pre&gt;

&lt;h4&gt;Second Regulation&lt;/h4&gt;
&lt;pre class=&quot;code&quot;&gt;19/01/18	-11.0	-2.2
20/01/18	-16.1	-5.1		???
21/01/18	-19.2	-3.0		??
22/01/18	-22.2	-3.7		regulated later in day to attempt to correct recent -ve rate
23/01/18	-22.1	+0.8		timegrapher showed odd spells of low amplitude.
24/01/18	-20.5	+1.5&lt;/pre&gt;

&lt;h4&gt;Third Regulation&lt;/h4&gt;
&lt;pre class=&quot;code&quot;&gt;05/03/18	+24.1	+5.8
06/03/18	+31.9	+8.1
07/03/18	+37.2	+5.4
08/03/18	+44.6	+6.9		__Regulated for 3rd time__ to reduce rate.
09/03/18	+44.4	-0.1
10/03/18	+42.8	-1.6		too far?&lt;/pre&gt;

&lt;h4&gt;Fourth Regulation&lt;/h4&gt;
&lt;pre class=&quot;code&quot;&gt;21/03/18	+18.4	-0.9
22/03/18	+17.7	-0.7
23/03/18	+13.8	-4.1		__regulated for 4th time__ to increase rate
24/03/18	+13.2	-0.5
25/03/18	+12.6	-0.6		reset to DST. -0.7s
26/03/18	+0.3	+1.2
27/03/18	+0.5	+0.2&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Initial Rate Tests&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;initial_rate_tests&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:38,&amp;quot;range&amp;quot;:&amp;quot;6699-8177&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit40&quot; id=&quot;fault_apparent&quot;&gt;Fault apparent&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;29/08/18	-5.7	-2.1
30/08/18	-36.3	-31.4		????? Massive loss in one day!!! 
&lt;/pre&gt;

&lt;p&gt;
Rate and amplitude errors v. bad on Timegrapher.
&lt;/p&gt;

&lt;p&gt;
Watch put aside and not worn, until October 2019!!
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Fault apparent&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;fault_apparent&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:40,&amp;quot;range&amp;quot;:&amp;quot;8178-8399&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit41&quot; id=&quot;worn_again_after_12_months&quot;&gt;Worn again after 12 months&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;10/11/19	-11.9	-2.4		dial down overnight
11/11/19	-14.1	-2.3		dial up overnight. Low amp. observed during the previous day?
12/11/19	-16.2	-2.2		Overnight on winder. Low amp. observed during the previous day
13/11/19	-18.6	-2.3		overnight on winder. being consistent day → day despite amplitude concerns.
14/11/19	-21.0	-2.3		overnight on winder.&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Worn again after 12 months&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;worn_again_after_12_months&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:5,&amp;quot;secid&amp;quot;:41,&amp;quot;range&amp;quot;:&amp;quot;8400-8802&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit42&quot; id=&quot;fault_re-appears&quot;&gt;Fault Re-appears&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;New period - fault re-appearing

14/11/19	-32.6	-44.9 		(21:04:32) on winder for previous hour. 2 seconds lost.    	      
15/11/19	-45.2	-19.5  		(17:36:45) on TG since 06:30.... variable amp. &amp;amp; poor rate
&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Fault Re-appears&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;fault_re-appears&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:6,&amp;quot;secid&amp;quot;:42,&amp;quot;range&amp;quot;:&amp;quot;8803-9054&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit43&quot; id=&quot;repair_details&quot;&gt;2019 Repair Details&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:da36dailyrates&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:da36dailyrates&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:da36dailyrates&quot;&gt;Damasko DA36 Daily Rates (2016-2019)&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:da36tests1&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:da36tests1&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:da36tests1&quot;&gt;Damasko DA36 Tests 1 (2019)&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:da36tests2&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:da36tests2&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:da36tests2&quot;&gt;Damasko DA36 Tests 2 (2019)&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:da36measurements&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:da36measurements&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:da36measurements&quot;&gt;Damasko DA36 Measurements (2019)&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:da36repair&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:da36repair&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:da36repair&quot;&gt;Damasko DA36 Repair (2019)&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Sent to Damasko for inspection and repair : &lt;strong&gt;18/11/19&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
Damasko confirm fault as 
&lt;/p&gt;
&lt;blockquote  class=&quot;wrap__dark blockquote-plugin&quot;&gt;
&lt;p&gt;
After checking it our watchmaker told us that there is many abrasion in the movement.
&lt;/p&gt;

&lt;/blockquote&gt;
&lt;p&gt;
Repair details
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;Cleaning, and oiling the escapement

Regulate DA36.1981 €120

Shipping costs UK €50

Total amount €170&lt;/pre&gt;

&lt;p&gt;
Returned from Damasko : &lt;strong&gt;14/12/19&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;&lt;strong&gt;Fault now absent &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/smile.svg&quot; class=&quot;icon smiley&quot; alt=&quot;:-)&quot; /&gt; &lt;/strong&gt;&lt;/em&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;2019 Repair Details&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;repair_details&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:7,&amp;quot;secid&amp;quot;:43,&amp;quot;range&amp;quot;:&amp;quot;9055-9592&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit44&quot; id=&quot;performance_after_repair&quot;&gt;Performance after repair&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:45,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;group wrap__dark plugin_wrap&quot;&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:47,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_third wrap_column wrap__dark plugin_wrap&quot;&gt;
&lt;h4 id=&quot;timegrapher_check_20_11_20&quot;&gt;Timegrapher Check 20/11/20&lt;/h4&gt;

&lt;p&gt;
After 11 months of daily wear
&lt;/p&gt;
&lt;div class=&quot;table sectionedit49&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Pos&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Amp&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Rate&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Dial Up&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;321&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+8&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Dial Down&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;290&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+6&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;6H&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;278&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+2&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;3H&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;283&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+2&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;9H&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;295&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+5&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;12H&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;302&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+4&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Ave&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;(294)&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+4&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;D&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; -6&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table2&amp;quot;,&amp;quot;secid&amp;quot;:49,&amp;quot;range&amp;quot;:&amp;quot;9732-9856&amp;quot;} --&gt;&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:48,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:50,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_third wrap_column wrap__dark plugin_wrap&quot;&gt;
&lt;h4 id=&quot;timegrapher_check_19_12_21&quot;&gt;Timegrapher Check 19/12/21&lt;/h4&gt;

&lt;p&gt;
2 Years after repair. Worn Daily
&lt;/p&gt;
&lt;div class=&quot;table sectionedit52&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Pos&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Amp&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Rate&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;D up&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;321&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+5&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;D dn&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;308&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+3&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;6H&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;305&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+2&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;3H&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;306&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+1&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;9H&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;291&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+1&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;12H&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;303&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;0&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Ave&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;(305)&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+2&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;D&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-3&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table3&amp;quot;,&amp;quot;secid&amp;quot;:52,&amp;quot;range&amp;quot;:&amp;quot;9957-10071&amp;quot;} --&gt;&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:51,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:53,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_third wrap_column wrap__dark plugin_wrap&quot;&gt;
&lt;h2 class=&quot;sectionedit55&quot; id=&quot;timegrapher_check_18_1_22&quot;&gt;Timegrapher Check 18/1/22&lt;/h2&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Timegrapher Check 18\/1\/22&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;timegrapher_check_18_1_22&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:8,&amp;quot;secid&amp;quot;:55,&amp;quot;range&amp;quot;:&amp;quot;10102-&amp;quot;} --&gt;
&lt;p&gt;
Still wearing daily
&lt;/p&gt;
&lt;div class=&quot;table sectionedit56&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Pos&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Amp&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Rate&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;D up&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;313 &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;+2  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;D dn&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;316  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;+1  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;6H&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;296  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;+1  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;3H&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;292  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;0 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;9H&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;278  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;0  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;12H&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;286  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;0  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Ave&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;(297)&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;+1  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;D&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-1&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table4&amp;quot;,&amp;quot;secid&amp;quot;:56,&amp;quot;range&amp;quot;:&amp;quot;10162-10299&amp;quot;} --&gt;&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:54,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:46,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Performance after repair&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;performance_after_repair&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:8,&amp;quot;secid&amp;quot;:44,&amp;quot;range&amp;quot;:&amp;quot;9593-10317&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit57&quot; id=&quot;watchcheck_2022&quot;&gt;Watchcheck 2022&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;table sectionedit58&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Start&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Stop&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Average&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;1/1/22&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;1/2/22&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+0.9&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;1/2/22&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;1/3/22&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+1.2&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;1/3/22&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;27/3/22&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+0.3&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;27/3/22&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;17/5/22&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-1.0&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;17/5/22&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;22/5/22&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-2.1&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table5&amp;quot;,&amp;quot;secid&amp;quot;:58,&amp;quot;range&amp;quot;:&amp;quot;10347-10477&amp;quot;} --&gt;
&lt;p&gt;
Rate is now dropping after 2½ years of daily wear. Will monitor and wait for rate to exceed manufacturer&amp;#039;s specification before sending for service/regulation.
&lt;/p&gt;

&lt;p&gt;
See dedicated page &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:repair_service_2022&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:repair_service_2022&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:repair_service_2022&quot;&gt;Repair and Service 2022&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Watchcheck 2022&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;watchcheck_2022&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:8,&amp;quot;secid&amp;quot;:57,&amp;quot;range&amp;quot;:&amp;quot;10318-10684&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit59&quot; id=&quot;timegrapher_check_22_5_22&quot;&gt;Timegrapher Check 22/5/22&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
A morning and afternoon test to compare readings of different levels of power.
&lt;/p&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:60,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;group wrap__dark plugin_wrap&quot;&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:62,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_half wrap_column wrap__dark plugin_wrap&quot;&gt;&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Time : 10:15&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; After overnight Dial Up&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;table sectionedit64&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Pos&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Amp&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Rate&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;D up&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;299  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;-3  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;D dn&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;300  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;-1  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;6H&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;277  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;-4  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;3H&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;272  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;-4  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;9H&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;269  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;-3  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;12H&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;277  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;-4  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Ave&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;(282)&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;-3.3  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;D&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; -1&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table6&amp;quot;,&amp;quot;secid&amp;quot;:64,&amp;quot;range&amp;quot;:&amp;quot;10888-11033&amp;quot;} --&gt;&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:63,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:65,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_half wrap_column wrap__dark plugin_wrap&quot;&gt;&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Time : 15:45&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; worn for 7 hours&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;table sectionedit67&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Pos&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Amp&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Rate&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;D up&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;317  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;+1  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;D dn&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;307  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;+3  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;6H&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;289  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;-1  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;3H&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;302  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;0  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;9H&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;301  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;0  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;12H&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;299  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;-1  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Ave&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;(303)&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;+0.3  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;D&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; -2&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table7&amp;quot;,&amp;quot;secid&amp;quot;:67,&amp;quot;range&amp;quot;:&amp;quot;11104-11247&amp;quot;} --&gt;&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:66,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:61,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Timegrapher Check 22\/5\/22&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;timegrapher_check_22_5_22&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:8,&amp;quot;secid&amp;quot;:59,&amp;quot;range&amp;quot;:&amp;quot;10685-11265&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit68&quot; id=&quot;update_may_2022&quot;&gt;Update May 2022&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I&amp;#039;ve owned the DA36 now for over 5 years. After the repair, and getting the 2&lt;sup&gt;nd&lt;/sup&gt; bracelet, it&amp;#039;s rarely off my wrist. I&amp;#039;ll occasionally wear another watch (typically a &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:inventory:casio_gm-w5610&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:inventory:casio_gm-w5610&quot; data-wiki-id=&quot;public:miscellany:watches:inventory:casio_gm-w5610&quot;&gt;Casio GW-M5610&lt;/a&gt;) on my &lt;strong&gt;right&lt;/strong&gt; wrist. 
&lt;/p&gt;

&lt;p&gt;
The DA36 stays on the &lt;strong&gt;left&lt;/strong&gt;. 
&lt;/p&gt;

&lt;p&gt;
The &lt;em&gt;ice-hardened&lt;/em&gt; steel is very resistant to scratching or other marks. After 5 years I &lt;em&gt;can&lt;/em&gt; see some slight blemishes - just signs of an active life. The bracelet has more marks than the watch case itself - links rub against each other and the bracelet is more likely to be rubbed against hard surfaces than the watch - and as time goes by it slowly (very slowly) starts to look less like a new watch and more like a &lt;em&gt;tool watch&lt;/em&gt;. 
&lt;/p&gt;

&lt;p&gt;
There are marks on the bezel, and on the bracelet end-link, at the 12 o&amp;#039;clock position, I guess I caught it on something abrasive at some time…. more &lt;a href=&quot;https://en.wikipedia.org/wiki/wabi-sabi&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/wabi-sabi&quot;&gt;wabi-sabi&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
The hardened steel, and matte bead-blasted finish, mean that there is no slow development of a general &lt;em&gt;swirly patina&lt;/em&gt;. A scratch shows up, in the right light, as a shiny area of un-bead-blasted reflective steel. It&amp;#039;s just the characteristic of the material. I wonder what it&amp;#039;ll look like in another 10 years?
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Update May 2022&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;update_may_2022&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:8,&amp;quot;secid&amp;quot;:68,&amp;quot;range&amp;quot;:&amp;quot;11266-12489&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit69&quot; id=&quot;time_keeping_performance&quot;&gt;Time Keeping performance&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Still well within &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:cosc&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:cosc&quot; data-wiki-id=&quot;public:miscellany:watches:cosc&quot;&gt;COSC&lt;/a&gt; standards ( -4 / +6 ) at around -2s/d as of May 2022. Rolex now guarantee their watches to run better than COSC, at ±2 s/d. My DA36 has been within this range for the last few years, and is only now starting to fall outside that range. It may wander back towards &lt;em&gt;zero&lt;/em&gt; over time. Who knows how all the different variables inter-react to make up the overall rate error, and how they vary with time?
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Time Keeping performance&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;time_keeping_performance&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:8,&amp;quot;secid&amp;quot;:69,&amp;quot;range&amp;quot;:&amp;quot;12490-12962&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit70&quot; id=&quot;time_grapher_23_5_22&quot;&gt;Time Grapher 23/5/22&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:71,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;group wrap__dark plugin_wrap&quot;&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:73,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_half wrap_column wrap__dark plugin_wrap&quot;&gt;&lt;div class=&quot;table sectionedit75&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Pos&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Amp&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Rate&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Dial Up&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;316&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+2&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Dial Down&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;315&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+4&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;6H&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;283&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-2&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;3H&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;288&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-1&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;9H&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;288&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;0&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;12H&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;288&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;0&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Ave&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;(299)&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;+0.5&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;D&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-4&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table8&amp;quot;,&amp;quot;secid&amp;quot;:75,&amp;quot;range&amp;quot;:&amp;quot;13028-13151&amp;quot;} --&gt;&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:74,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:76,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_half wrap_column wrap__dark plugin_wrap&quot;&gt;
&lt;p&gt;
Quick shot on the TimeGrapher…
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:watches:damasko:2022-05-23_23.02.16.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:damasko:2022-05-23_23.02.16.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=93420f&amp;amp;media=public:watches:damasko:2022-05-23_23.02.16.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:77,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:72,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Time Grapher 23\/5\/22&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;time_grapher_23_5_22&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:8,&amp;quot;secid&amp;quot;:70,&amp;quot;range&amp;quot;:&amp;quot;12963-13295&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit78&quot; id=&quot;photos&quot;&gt;Photos&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:79,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;group wrap__dark plugin_wrap&quot;&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:81,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_half wrap_column wrap__dark plugin_wrap&quot;&gt;
&lt;h3 class=&quot;sectionedit83&quot; id=&quot;on_a_marine-nationale_green_yellow_nato&quot;&gt;On a Marine-Nationale Green/Yellow NATO&lt;/h3&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;On a Marine-Nationale Green\/Yellow NATO&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;on_a_marine-nationale_green_yellow_nato&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:8,&amp;quot;secid&amp;quot;:83,&amp;quot;range&amp;quot;:&amp;quot;13350-&amp;quot;} --&gt;
&lt;p&gt;
— &lt;em&gt;John Pumford-Green 31/05/22 12:54&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
A change from the super-tough steel bracelet.
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:watches:damasko:2022-05-31_12.48.37.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:damasko:2022-05-31_12.48.37.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=5beaa0&amp;amp;media=public:watches:damasko:2022-05-31_12.48.37.jpg&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:82,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:84,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_half wrap_column wrap__dark plugin_wrap&quot;&gt;
&lt;h3 class=&quot;sectionedit86&quot; id=&quot;new_watchgecko_nato&quot;&gt;New WatchGecko NATO&lt;/h3&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;New WatchGecko NATO&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;new_watchgecko_nato&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:8,&amp;quot;secid&amp;quot;:86,&amp;quot;range&amp;quot;:&amp;quot;13588-&amp;quot;} --&gt;
&lt;p&gt;
— &lt;em&gt;John Pumford-Green 05/06/22 17:25&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.watchgecko.com/watchgecko-signature-nato-strap-olive-green&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.watchgecko.com/watchgecko-signature-nato-strap-olive-green&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.watchgecko.com/watchgecko-signature-nato-strap-olive-green&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:watches:damasko:img_20220605_163525_7.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:damasko:img_20220605_163525_7.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=b44564&amp;amp;media=public:watches:damasko:img_20220605_163525_7.jpg&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:85,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:80,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;p&gt;
Page created Sun May 22 00:25:30 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 30/12/25 09:55 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:watch&amp;amp;do=showtag&amp;amp;tag=watch&quot; class=&quot;wikilink1&quot; title=&quot;tag:watch&quot; rel=&quot;tag&quot;&gt;watch&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:damasko&amp;amp;do=showtag&amp;amp;tag=damasko&quot; class=&quot;wikilink1&quot; title=&quot;tag:damasko&quot; rel=&quot;tag&quot;&gt;damasko&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Photos&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;photos&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:8,&amp;quot;secid&amp;quot;:78,&amp;quot;range&amp;quot;:&amp;quot;13296-&amp;quot;} --&gt;&lt;div class=&quot;footnotes&quot;&gt;
&lt;div class=&quot;fn&quot;&gt;&lt;sup&gt;&lt;a href=&quot;#fnt__1&quot; id=&quot;fn__1&quot; class=&quot;fn_bot&quot;&gt;1)&lt;/a&gt;&lt;/sup&gt; 
&lt;div class=&quot;content&quot;&gt;yes, I&amp;#039;ve actually got 5 pairs in total, can&amp;#039;t remember the details of how this happened!&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>Allstar &amp; Echolink</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:allstar_echolink</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:allstar:start&quot; data-wiki-id=&quot;public:radio:topics:allstar:start&quot;&gt;AllStar Linking&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;allstar_echolink&quot;&gt;Allstar &amp;amp; Echolink&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt; Revisiting Allstar with Node 48148 for 2024 &lt;/strong&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Allstar &amp;amp; Echolink&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;allstar_echolink&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-101&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;node_48148&quot;&gt;Node 48148&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I&amp;#039;ve set up an Allstar node/gateway - in place of the Svxlink node I did yesterday &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:svxlink&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:svxlink:svxlink&quot; data-wiki-id=&quot;public:radio:topics:svxlink:svxlink&quot;&gt;SVXLink : Install from source&lt;/a&gt;
&lt;/p&gt;
&lt;div class=&quot;table sectionedit3&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Platform&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Rapsberry Pi&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Interface&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;CM108 Soundcard&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Radio&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;FT-8900&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Frequency&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;144.9125 MHz&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Monitor&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;&lt;a href=&quot;http://gm4slv.plus.com:42111/supermon/link.php?nodes=48148&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://gm4slv.plus.com:42111/supermon/link.php?nodes=48148&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Supermon&lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;AllStar &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;a href=&quot;http://stats.allstarlink.org/stats/48148&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://stats.allstarlink.org/stats/48148&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://stats.allstarlink.org/stats/48148&lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;252-483&amp;quot;} --&gt;
&lt;p&gt;
It turned out to be not too difficult, as I already had all the correct working configs from &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:gm4slv_allstar&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:allstar:gm4slv_allstar&quot; data-wiki-id=&quot;public:radio:topics:allstar:gm4slv_allstar&quot;&gt; the last time&lt;/a&gt; I used Allstar, so I was able to copy them onto the new SD card image and have a working node straight from boot up!
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Node 48148&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;node_48148&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;102-758&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;editing_the_image&quot;&gt;Editing the image&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
I downloaded the most recent V2.0 beta image for Raspberry Pi here : &lt;a href=&quot;http://downloads.allstarlink.org/ASL_Images_Beta/Raspberry_Pi2_3_4/asl-2.0.0-beta.6-kc1kcc-20210324-rpi-armhf.img.zip&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://downloads.allstarlink.org/ASL_Images_Beta/Raspberry_Pi2_3_4/asl-2.0.0-beta.6-kc1kcc-20210324-rpi-armhf.img.zip&quot; rel=&quot;ugc nofollow noopener&quot;&gt; 2.0.0-beta.6&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Once I had the &lt;code&gt;img&lt;/code&gt; file unzipped I thought it would be fun to try and add my config to the image &lt;em&gt;before&lt;/em&gt; writing it to the SD Card. I had enough information &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:rpi_image&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:rpi_image&quot; data-wiki-id=&quot;public:computers:archive:rpi_image&quot;&gt; here&lt;/a&gt; to show me how to mount an image as a block device (ie disk). Once that was done I could simply copy any files onto the mounted image and then unmount it. The image could then be &lt;code&gt;dd&lt;/code&gt; to the SD card in the usual way.
&lt;/p&gt;

&lt;p&gt;
So I retrieved the last set of config file backups and copied all the &lt;code&gt;*.conf&lt;/code&gt; files that go in &lt;code&gt;/etc/asterisk&lt;/code&gt; into the mounted image device i.e. to &lt;code&gt;/mnt/etc/asterisk/&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Unmount the image from the filesystem &lt;code&gt;sudo umount /mnt&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Then
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;sudo dd if=my_new_image.img of=/dev/mmblblahblah bs=4M&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
and wait.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Editing the image&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;editing_the_image&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;759-1741&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;it_s_alive&quot;&gt;It&amp;#039;s alive&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Once written I put the CD card into the Pi. Booted up, and heard my callsign ID on the radio - it worked, without having to go through the rigmarole of a new install configuration.
&lt;/p&gt;

&lt;p&gt;
I SSH&amp;#039;d in via the DHCP address it had been given, and to change the IP to a static one I checked the peculiar name of the Ethernet interface: &lt;code&gt;enxb827eb6f9954&lt;/code&gt; and edited &lt;code&gt;/etc/dhcpcd.conf&lt;/code&gt; to use a static IP address on this device. Using &lt;code&gt;eth0&lt;/code&gt; didn&amp;#039;t work, as the interface wasn&amp;#039;t called &lt;code&gt;eth0&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;# Example static IP configuration:&lt;/span&gt;
interface enxb827eb6f9954
static &lt;span class=&quot;re2&quot;&gt;ip_address&lt;/span&gt;=192.168.21.109&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;
static &lt;span class=&quot;re2&quot;&gt;routers&lt;/span&gt;=192.168.21.1
static &lt;span class=&quot;re2&quot;&gt;domain_name_servers&lt;/span&gt;=192.168.21.1 8.8.8.8&lt;/pre&gt;

&lt;p&gt;
Reboot again, and now I can SSH via the correct static IP address
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;It&amp;#039;s alive&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;it_s_alive&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1742-2513&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;next_steps&quot;&gt;Next Steps&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Add my own user (don&amp;#039;t want to use the built in &lt;code&gt;repeater&lt;/code&gt; user)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Add myself to the necessary groups (sudo etc.)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; change the hostname from &lt;code&gt;repeater&lt;/code&gt; → &lt;code&gt;asterisk&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; remember to edit &lt;code&gt;/etc/hosts&lt;/code&gt; as well as &lt;code&gt;/etc/hostname&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; set timezone to &lt;code&gt;Europe/London&lt;/code&gt; &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Check the RX/TX levels/deviation with &lt;code&gt;/usr/sbin/simpleusb-tune-menu &lt;/code&gt; - the levels were spot on due to using the same setup, and the same config. files as the previous incarnation.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Enable Echolink by editing &lt;code&gt;/etc/asterisk/modules.conf&lt;/code&gt; to load the Echolink Module (last time I&amp;#039;d disabled it)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Copy any necessary &lt;code&gt;allmon2&lt;/code&gt; files to &lt;code&gt;/var/www/html/allmon2/&lt;/code&gt;  &amp;amp; set up &lt;code&gt;allmon2&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Port Forward on router:&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;UDP/4569&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;UDP/5198&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;UDP/5199&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; All working…!&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Next Steps&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;next_steps&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;2514-3326&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;first_qso&quot;&gt;First QSO&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
 * I was called on Echolink by &lt;code&gt;G0RAS&lt;/code&gt; while I was out walking the dogs. We had a good chat, so that was a good test that it&amp;#039;s all working 
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;First QSO&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;first_qso&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;3327-3489&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit8&quot; id=&quot;section_two&quot;&gt;Section Two&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/fixme.svg&quot; class=&quot;icon smiley&quot; alt=&quot;FIXME&quot; /&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; some macros as configured in &lt;code&gt;/etc/asterisk/rpt.conf&lt;/code&gt; for quick connect/disconnect&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;*&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;5&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;3&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;1&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;macro&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;141223&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; disc. hubnet&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;21&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;241223&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; monitor hubnet&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;31&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;341223&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; transceive hubnet&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;12197&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; disc Freedom Net&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;22&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;22197&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; monitor Freedom Net&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;32&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;32197&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; transceive Freedom Net&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;nu0&quot;&gt;13&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;129332&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; disc Alaska&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;23&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;229332&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; monitor Alaska&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;33&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;329332&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; transceive Alaska&lt;/span&gt;
&amp;nbsp;
;&lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;154383&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; disc CQ North&lt;/span&gt;
;&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;254383&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; monitor CQ North&lt;/span&gt;
;&lt;span class=&quot;nu0&quot;&gt;34&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;354383&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; transceive CQ North&lt;/span&gt;
&amp;nbsp;
;&lt;span class=&quot;nu0&quot;&gt;191&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;140894&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; disconnect hubnet Echo&lt;/span&gt;
;&lt;span class=&quot;nu0&quot;&gt;391&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;340894&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;# ; connect hubnet echo&lt;/span&gt;
&amp;nbsp;
;&lt;span class=&quot;nu0&quot;&gt;192&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;13009999&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#       ; dis echolink echotest&lt;/span&gt;
;&lt;span class=&quot;nu0&quot;&gt;392&lt;/span&gt; = &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;33009999&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#       ; con echolink echotest&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 07/04/24 10:03&lt;/em&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Section Two&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;section_two&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;3490-4318&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit9&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:allstar&amp;amp;do=showtag&amp;amp;tag=allstar&quot; class=&quot;wikilink1&quot; title=&quot;tag:allstar&quot; rel=&quot;tag&quot;&gt;allstar&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:echolink&amp;amp;do=showtag&amp;amp;tag=echolink&quot; class=&quot;wikilink1&quot; title=&quot;tag:echolink&quot; rel=&quot;tag&quot;&gt;echolink&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;4319-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 05 Jun 2026 07:46:15 +0000</pubDate>
        </item>
        <item>
            <title>Formatting Syntax</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=wiki:syntax</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;formatting_syntax&quot;&gt;Formatting Syntax&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.dokuwiki.org/DokuWiki&quot; class=&quot;interwiki iw_doku&quot; title=&quot;https://www.dokuwiki.org/DokuWiki&quot;&gt;DokuWiki&lt;/a&gt; supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing “Edit this page”. If you want to try something, just use the &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=playground:playground&quot; class=&quot;wikilink1&quot; title=&quot;playground:playground&quot; data-wiki-id=&quot;playground:playground&quot;&gt;playground&lt;/a&gt; page. The simpler markup is easily accessible via &lt;a href=&quot;https://www.dokuwiki.org/toolbar&quot; class=&quot;interwiki iw_doku&quot; title=&quot;https://www.dokuwiki.org/toolbar&quot;&gt;quickbuttons&lt;/a&gt;, too.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Formatting Syntax&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;formatting_syntax&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;1-472&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;basic_text_formatting&quot;&gt;Basic Text Formatting&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
DokuWiki supports &lt;strong&gt;bold&lt;/strong&gt;, &lt;em&gt;italic&lt;/em&gt;, &lt;em class=&quot;u&quot;&gt;underlined&lt;/em&gt; and &lt;code&gt;monospaced&lt;/code&gt; texts. Of course you can &lt;strong&gt;&lt;em class=&quot;u&quot;&gt;&lt;em&gt;&lt;code&gt;combine&lt;/code&gt;&lt;/em&gt;&lt;/em&gt;&lt;/strong&gt; all these.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;DokuWiki supports **bold**, //italic//, __underlined__ and &amp;#039;&amp;#039;monospaced&amp;#039;&amp;#039; texts.
Of course you can **__//&amp;#039;&amp;#039;combine&amp;#039;&amp;#039;//__** all these.&lt;/pre&gt;

&lt;p&gt;
You can use &lt;sub&gt;subscript&lt;/sub&gt; and &lt;sup&gt;superscript&lt;/sup&gt;, too.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;You can use &amp;lt;sub&amp;gt;subscript&amp;lt;/sub&amp;gt; and &amp;lt;sup&amp;gt;superscript&amp;lt;/sup&amp;gt;, too.&lt;/pre&gt;

&lt;p&gt;
You can mark something as &lt;del&gt;deleted&lt;/del&gt; as well.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;You can mark something as &amp;lt;del&amp;gt;deleted&amp;lt;/del&amp;gt; as well.&lt;/pre&gt;

&lt;p&gt;
&lt;strong&gt;Paragraphs&lt;/strong&gt; are created from blank lines. If you want to &lt;strong&gt;force a newline&lt;/strong&gt; without a paragraph, you can use two backslashes followed by a whitespace or the end of line.
&lt;/p&gt;

&lt;p&gt;
This is some text with some linebreaks&lt;br/&gt;
Note that the
two backslashes are only recognized at the end of a line&lt;br/&gt;

or followed by&lt;br/&gt;
a whitespace \\this happens without it.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;This is some text with some linebreaks\\ Note that the
two backslashes are only recognized at the end of a line\\
or followed by\\ a whitespace \\this happens without it.&lt;/pre&gt;

&lt;p&gt;
You should use forced newlines only if really needed.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Basic Text Formatting&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;basic_text_formatting&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;473-1609&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;links&quot;&gt;Links&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
DokuWiki supports multiple ways of creating links.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Links&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;links&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1610-1680&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;external&quot;&gt;External&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
External links are recognized automagically: &lt;a href=&quot;http://www.google.com&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://www.google.com&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://www.google.com&lt;/a&gt; or simply &lt;a href=&quot;http://www.google.com&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://www.google.com&quot; rel=&quot;ugc nofollow noopener&quot;&gt;www.google.com&lt;/a&gt; - You can set the link text as well: &lt;a href=&quot;http://www.google.com&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://www.google.com&quot; rel=&quot;ugc nofollow noopener&quot;&gt;This Link points to google&lt;/a&gt;. Email addresses like this one: &lt;a href=&quot;mailto:&amp;#97;&amp;#110;&amp;#100;&amp;#105;&amp;#64;&amp;#115;&amp;#112;&amp;#108;&amp;#105;&amp;#116;&amp;#98;&amp;#114;&amp;#97;&amp;#105;&amp;#110;&amp;#46;&amp;#111;&amp;#114;&amp;#103;&quot; class=&quot;mail&quot; title=&quot;&amp;#97;&amp;#110;&amp;#100;&amp;#105;&amp;#64;&amp;#115;&amp;#112;&amp;#108;&amp;#105;&amp;#116;&amp;#98;&amp;#114;&amp;#97;&amp;#105;&amp;#110;&amp;#46;&amp;#111;&amp;#114;&amp;#103;&quot;&gt;&amp;#97;&amp;#110;&amp;#100;&amp;#105;&amp;#64;&amp;#115;&amp;#112;&amp;#108;&amp;#105;&amp;#116;&amp;#98;&amp;#114;&amp;#97;&amp;#105;&amp;#110;&amp;#46;&amp;#111;&amp;#114;&amp;#103;&lt;/a&gt; are recognized, too.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;DokuWiki supports multiple ways of creating links. External links are recognized
automagically: http://www.google.com or simply www.google.com - You can set
link text as well: [[http://www.google.com|This Link points to google]]. Email
addresses like this one: &amp;lt;andi@splitbrain.org&amp;gt; are recognized, too.&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;External&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;external&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;1681-2271&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;internal&quot;&gt;Internal&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Internal links are created by using square brackets. You can either just give a &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=wiki:pagename&quot; class=&quot;wikilink2&quot; title=&quot;wiki:pagename&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;wiki:pagename&quot;&gt;pagename&lt;/a&gt; or use an additional &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=wiki:pagename&quot; class=&quot;wikilink2&quot; title=&quot;wiki:pagename&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;wiki:pagename&quot;&gt;link text&lt;/a&gt;.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;Internal links are created by using square brackets. You can either just give
a [[pagename]] or use an additional [[pagename|link text]].&lt;/pre&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.dokuwiki.org/pagename&quot; class=&quot;interwiki iw_doku&quot; title=&quot;https://www.dokuwiki.org/pagename&quot;&gt;Wiki pagenames&lt;/a&gt; are converted to lowercase automatically, special characters are not allowed.
&lt;/p&gt;

&lt;p&gt;
You can use &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=some:namespaces&quot; class=&quot;wikilink2&quot; title=&quot;some:namespaces&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;some:namespaces&quot;&gt;namespaces&lt;/a&gt; by using a colon in the pagename.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;You can use [[some:namespaces]] by using a colon in the pagename.&lt;/pre&gt;

&lt;p&gt;
For details about namespaces see &lt;a href=&quot;https://www.dokuwiki.org/namespaces&quot; class=&quot;interwiki iw_doku&quot; title=&quot;https://www.dokuwiki.org/namespaces&quot;&gt;namespaces&lt;/a&gt;.
&lt;/p&gt;

&lt;p&gt;
Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=wiki:syntax#internal&quot; class=&quot;wikilink1&quot; title=&quot;wiki:syntax&quot; data-wiki-id=&quot;wiki:syntax&quot;&gt;this Section&lt;/a&gt;.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;This links to [[syntax#internal|this Section]].&lt;/pre&gt;

&lt;p&gt;
Notes:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Links to &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=wiki:syntax&quot; class=&quot;wikilink1&quot; title=&quot;wiki:syntax&quot; data-wiki-id=&quot;wiki:syntax&quot;&gt;existing pages&lt;/a&gt; are shown in a different style from &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=wiki:nonexisting&quot; class=&quot;wikilink2&quot; title=&quot;wiki:nonexisting&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;wiki:nonexisting&quot;&gt;nonexisting&lt;/a&gt; ones.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; DokuWiki does not use &lt;a href=&quot;https://en.wikipedia.org/wiki/CamelCase&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/CamelCase&quot;&gt;CamelCase&lt;/a&gt; to automatically create links by default, but this behavior can be enabled in the &lt;a href=&quot;https://www.dokuwiki.org/config&quot; class=&quot;interwiki iw_doku&quot; title=&quot;https://www.dokuwiki.org/config&quot;&gt;config&lt;/a&gt; file. Hint: If DokuWiki is a link, then it&amp;#039;s enabled.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; When a section&amp;#039;s heading is changed, its bookmark changes, too. So don&amp;#039;t rely on section linking too much.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Internal&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;internal&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;2272-3506&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;interwiki&quot;&gt;Interwiki&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
DokuWiki supports &lt;a href=&quot;https://www.dokuwiki.org/Interwiki&quot; class=&quot;interwiki iw_doku&quot; title=&quot;https://www.dokuwiki.org/Interwiki&quot;&gt;Interwiki&lt;/a&gt; links. These are quick links to other Wikis. For example this is a link to Wikipedia&amp;#039;s page about Wikis: &lt;a href=&quot;https://en.wikipedia.org/wiki/Wiki&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/Wiki&quot;&gt;Wiki&lt;/a&gt;.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;DokuWiki supports [[doku&amp;gt;Interwiki]] links. These are quick links to other Wikis.
For example this is a link to Wikipedia&amp;#039;s page about Wikis: [[wp&amp;gt;Wiki]].&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Interwiki&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;interwiki&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;3507-3843&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;windows_shares&quot;&gt;Windows Shares&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Windows shares like &lt;a href=&quot;file://///server/share&quot; class=&quot;windows&quot; title=&quot;\\server\share&quot;&gt;this&lt;/a&gt; are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate &lt;a href=&quot;https://en.wikipedia.org/wiki/Intranet&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/Intranet&quot;&gt;Intranet&lt;/a&gt;.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;Windows Shares like [[\\server\share|this]] are recognized, too.&lt;/pre&gt;

&lt;p&gt;
Notes:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the “local zone”).&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; For Mozilla and Firefox it can be enabled through different workaround mentioned in the &lt;a href=&quot;http://kb.mozillazine.org/Links_to_local_pages_do_not_work&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://kb.mozillazine.org/Links_to_local_pages_do_not_work&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Mozilla Knowledge Base&lt;/a&gt;. However, there will still be a JavaScript warning about trying to open a Windows Share. To remove this warning (for all users), put the following line in &lt;code&gt;conf/lang/en/lang.php&lt;/code&gt; (more details at &lt;a href=&quot;https://www.dokuwiki.org/localization#changing_some_localized_texts_and_strings_in_your_installation&quot; class=&quot;interwiki iw_doku&quot; title=&quot;https://www.dokuwiki.org/localization#changing_some_localized_texts_and_strings_in_your_installation&quot;&gt;localization&lt;/a&gt;): &lt;dl class=&quot;code&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=wiki:syntax&amp;amp;codeblock=0&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_php&quot;&gt;conf/lang/en/lang.php&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code&quot;&gt;&amp;lt;?php
/**
 * Customization of the english language file
 * Copy only the strings that needs to be modified
 */
$lang[&amp;#039;js&amp;#039;][&amp;#039;nosmblinks&amp;#039;] = &amp;#039;&amp;#039;;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Windows Shares&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;windows_shares&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;3844-4916&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;image_links&quot;&gt;Image Links&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
You can also use an image to link to another internal or external page by combining the syntax for links and &lt;a href=&quot;#images_and_other_files&quot; title=&quot;wiki:syntax ↵&quot; class=&quot;wikilink1&quot;&gt;images&lt;/a&gt; (see below) like this:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;[[http://php.net|{{wiki:dokuwiki-128.png}}]]&lt;/pre&gt;

&lt;p&gt;
&lt;a href=&quot;http://php.net&quot; class=&quot;media&quot; target=&quot;_BLANK&quot; title=&quot;http://php.net&quot; rel=&quot;ugc nofollow noopener&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=wiki:dokuwiki-128.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Please note: The image formatting is the only formatting syntax accepted in link names.
&lt;/p&gt;

&lt;p&gt;
The whole &lt;a href=&quot;#images_and_other_files&quot; title=&quot;wiki:syntax ↵&quot; class=&quot;wikilink1&quot;&gt;image&lt;/a&gt; and &lt;a href=&quot;#links&quot; title=&quot;wiki:syntax ↵&quot; class=&quot;wikilink1&quot;&gt;link&lt;/a&gt; syntax is supported (including image resizing, internal and external images and URLs and interwiki links).
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Image Links&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;image_links&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;4917-5462&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit9&quot; id=&quot;footnotes&quot;&gt;Footnotes&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
You can add footnotes &lt;sup&gt;&lt;a href=&quot;#fn__1&quot; id=&quot;fnt__1&quot; class=&quot;fn_top&quot;&gt;1)&lt;/a&gt;&lt;/sup&gt; by using double parentheses.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;You can add footnotes ((This is a footnote)) by using double parentheses.&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Footnotes&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;footnotes&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;5463-5637&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit10&quot; id=&quot;sectioning&quot;&gt;Sectioning&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically – this can be disabled by including the string &lt;code&gt;~~NOTOC~~&lt;/code&gt; in the document.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Sectioning&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;sectioning&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;5638-5924&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit11&quot; id=&quot;headline_level_3&quot;&gt;Headline Level 3&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;

&lt;h4 id=&quot;headline_level_4&quot;&gt;Headline Level 4&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;/div&gt;

&lt;h5 id=&quot;headline_level_5&quot;&gt;Headline Level 5&lt;/h5&gt;
&lt;div class=&quot;level5&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;==== Headline Level 3 ====
=== Headline Level 4 ===
== Headline Level 5 ==&lt;/pre&gt;

&lt;p&gt;
By using four or more dashes, you can make a horizontal line:
&lt;/p&gt;
&lt;hr /&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Headline Level 3&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;headline_level_3&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;5925-6151&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit12&quot; id=&quot;media_files&quot;&gt;Media Files&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
You can include external and internal &lt;a href=&quot;https://www.dokuwiki.org/images&quot; class=&quot;interwiki iw_doku&quot; title=&quot;https://www.dokuwiki.org/images&quot;&gt;images, videos and audio files&lt;/a&gt; with curly brackets. Optionally you can specify the size of them.
&lt;/p&gt;

&lt;p&gt;
Real size:                        &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=wiki%3Asyntax&amp;amp;media=wiki:dokuwiki-128.png&quot; class=&quot;media wikilink2&quot; title=&quot;wiki:dokuwiki-128.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=wiki:dokuwiki-128.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Resize to given width:            &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=wiki%3Asyntax&amp;amp;media=wiki:dokuwiki-128.png&quot; class=&quot;media wikilink2&quot; title=&quot;wiki:dokuwiki-128.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=50&amp;amp;tok=0d33c8&amp;amp;media=wiki:dokuwiki-128.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Resize to given width and height&lt;sup&gt;&lt;a href=&quot;#fn__2&quot; id=&quot;fnt__2&quot; class=&quot;fn_top&quot;&gt;2)&lt;/a&gt;&lt;/sup&gt;: &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=wiki%3Asyntax&amp;amp;media=wiki:dokuwiki-128.png&quot; class=&quot;media wikilink2&quot; title=&quot;wiki:dokuwiki-128.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=200&amp;amp;h=50&amp;amp;tok=1677b0&amp;amp;media=wiki:dokuwiki-128.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;200&quot; height=&quot;50&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Resized external image:           &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?tok=e25b03&amp;amp;media=https%3A%2F%2Fwww.php.net%2Fimages%2Fphp.gif&quot; class=&quot;media&quot; title=&quot;https://www.php.net/images/php.gif&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=200&amp;amp;h=50&amp;amp;tok=3689af&amp;amp;media=https%3A%2F%2Fwww.php.net%2Fimages%2Fphp.gif&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;200&quot; height=&quot;50&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;Real size:                        {{wiki:dokuwiki-128.png}}
Resize to given width:            {{wiki:dokuwiki-128.png?50}}
Resize to given width and height: {{wiki:dokuwiki-128.png?200x50}}
Resized external image:           {{https://www.php.net/images/php.gif?200x50}}&lt;/pre&gt;

&lt;p&gt;
By using left or right whitespaces you can choose the alignment.
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=wiki%3Asyntax&amp;amp;media=wiki:dokuwiki-128.png&quot; class=&quot;media wikilink2&quot; title=&quot;wiki:dokuwiki-128.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=wiki:dokuwiki-128.png&quot; class=&quot;mediaright&quot; align=&quot;right&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=wiki%3Asyntax&amp;amp;media=wiki:dokuwiki-128.png&quot; class=&quot;media wikilink2&quot; title=&quot;wiki:dokuwiki-128.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=wiki:dokuwiki-128.png&quot; class=&quot;medialeft&quot; align=&quot;left&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=wiki%3Asyntax&amp;amp;media=wiki:dokuwiki-128.png&quot; class=&quot;media wikilink2&quot; title=&quot;wiki:dokuwiki-128.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=wiki:dokuwiki-128.png&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;{{ wiki:dokuwiki-128.png}}
{{wiki:dokuwiki-128.png }}
{{ wiki:dokuwiki-128.png }}&lt;/pre&gt;

&lt;p&gt;
Of course, you can add a title (displayed as a tooltip by most browsers), too.
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=wiki%3Asyntax&amp;amp;media=wiki:dokuwiki-128.png&quot; class=&quot;media wikilink2&quot; title=&quot;wiki:dokuwiki-128.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=wiki:dokuwiki-128.png&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; title=&quot;This is the caption&quot; alt=&quot;This is the caption&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;{{ wiki:dokuwiki-128.png |This is the caption}}&lt;/pre&gt;

&lt;p&gt;
For linking an image to another page see &lt;a href=&quot;#image_links&quot; title=&quot;wiki:syntax ↵&quot; class=&quot;wikilink1&quot;&gt;Image Links&lt;/a&gt; above.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Media Files&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;media_files&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;6152-7518&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit13&quot; id=&quot;supported_media_formats&quot;&gt;Supported Media Formats&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
DokuWiki can embed the following media formats directly.
&lt;/p&gt;
&lt;div class=&quot;table sectionedit14&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; Image &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; &lt;code&gt;gif&lt;/code&gt;, &lt;code&gt;jpg&lt;/code&gt;, &lt;code&gt;png&lt;/code&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; Video &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;code&gt;webm&lt;/code&gt;, &lt;code&gt;ogv&lt;/code&gt;, &lt;code&gt;mp4&lt;/code&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; Audio &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; &lt;code&gt;ogg&lt;/code&gt;, &lt;code&gt;mp3&lt;/code&gt;, &lt;code&gt;wav&lt;/code&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; Flash &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; &lt;code&gt;swf&lt;/code&gt;                    &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:14,&amp;quot;range&amp;quot;:&amp;quot;7612-7767&amp;quot;} --&gt;
&lt;p&gt;
If you specify a filename that is not a supported media format, then it will be displayed as a link instead.
&lt;/p&gt;

&lt;p&gt;
By adding &lt;code&gt;?linkonly&lt;/code&gt; you provide a link to the media without displaying it inline
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;{{wiki:dokuwiki-128.png?linkonly}}&lt;/pre&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=wiki:dokuwiki-128.png&quot; class=&quot;media mediafile mf_png wikilink2&quot; title=&quot;wiki:dokuwiki-128.png&quot;&gt;dokuwiki-128.png&lt;/a&gt; This is just a link to the image.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Supported Media Formats&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;supported_media_formats&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:13,&amp;quot;range&amp;quot;:&amp;quot;7519-8072&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit15&quot; id=&quot;fallback_formats&quot;&gt;Fallback Formats&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Unfortunately not all browsers understand all video and audio formats. To mitigate the problem, you can upload your file in different formats for maximum browser compatibility.
&lt;/p&gt;

&lt;p&gt;
For example consider this embedded mp4 video:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;{{video.mp4|A funny video}}&lt;/pre&gt;

&lt;p&gt;
When you upload a &lt;code&gt;video.webm&lt;/code&gt; and &lt;code&gt;video.ogv&lt;/code&gt; next to the referenced &lt;code&gt;video.mp4&lt;/code&gt;, DokuWiki will automatically add them as alternatives so that one of the three files is understood by your browser.
&lt;/p&gt;

&lt;p&gt;
Additionally DokuWiki supports a “poster” image which will be shown before the video has started. That image needs to have the same filename as the video and be either a jpg or png file. In the example above a &lt;code&gt;video.jpg&lt;/code&gt; file would work.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Fallback Formats&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;fallback_formats&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:15,&amp;quot;range&amp;quot;:&amp;quot;8073-8803&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit16&quot; id=&quot;lists&quot;&gt;Lists&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a &lt;code&gt;*&lt;/code&gt; for unordered lists or a &lt;code&gt;-&lt;/code&gt; for ordered ones.
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; This is a list&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; The second item&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; You may have different levels&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Another item&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; The same list but ordered&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Another item&lt;/div&gt;
&lt;ol&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Just use indention for deeper levels&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; That&amp;#039;s it&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class=&quot;code&quot;&gt;  * This is a list
  * The second item
    * You may have different levels
  * Another item

  - The same list but ordered
  - Another item
    - Just use indention for deeper levels
  - That&amp;#039;s it&lt;/pre&gt;

&lt;p&gt;
Also take a look at the &lt;a href=&quot;https://www.dokuwiki.org/faq%3Alists&quot; class=&quot;interwiki iw_doku&quot; title=&quot;https://www.dokuwiki.org/faq%3Alists&quot;&gt;FAQ on list items&lt;/a&gt;.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Lists&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;lists&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:16,&amp;quot;range&amp;quot;:&amp;quot;8804-9463&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit17&quot; id=&quot;text_conversions&quot;&gt;Text Conversions&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML.
&lt;/p&gt;

&lt;p&gt;
The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, but can be configured to use other HTML as well.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Text Conversions&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;text_conversions&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:17,&amp;quot;range&amp;quot;:&amp;quot;9464-9768&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit18&quot; id=&quot;text_to_image_conversions&quot;&gt;Text to Image Conversions&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
DokuWiki converts commonly used &lt;a href=&quot;https://en.wikipedia.org/wiki/emoticon&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/emoticon&quot;&gt;emoticon&lt;/a&gt;s to their graphical equivalents. Those &lt;a href=&quot;https://www.dokuwiki.org/Smileys&quot; class=&quot;interwiki iw_doku&quot; title=&quot;https://www.dokuwiki.org/Smileys&quot;&gt;Smileys&lt;/a&gt; and other images can be configured and extended. Here is an overview of Smileys included in DokuWiki:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/cool.svg&quot; class=&quot;icon smiley&quot; alt=&quot;8-)&quot; /&gt;   8-)  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/eek.svg&quot; class=&quot;icon smiley&quot; alt=&quot;8-O&quot; /&gt;   8-O  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/sad.svg&quot; class=&quot;icon smiley&quot; alt=&quot;:-(&quot; /&gt;   :-(  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/smile.svg&quot; class=&quot;icon smiley&quot; alt=&quot;:-)&quot; /&gt;   :-)  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/smile2.svg&quot; class=&quot;icon smiley&quot; alt=&quot;=)&quot; /&gt;    =)   &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/doubt.svg&quot; class=&quot;icon smiley&quot; alt=&quot;:-/&quot; /&gt;   :-/  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/doubt2.svg&quot; class=&quot;icon smiley&quot; alt=&quot;:-\&quot; /&gt;   :-\  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/confused.svg&quot; class=&quot;icon smiley&quot; alt=&quot;:-?&quot; /&gt;   :-?  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/biggrin.svg&quot; class=&quot;icon smiley&quot; alt=&quot;:-D&quot; /&gt;   :-D  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/razz.svg&quot; class=&quot;icon smiley&quot; alt=&quot;:-P&quot; /&gt;   :-P  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/surprised.svg&quot; class=&quot;icon smiley&quot; alt=&quot;:-O&quot; /&gt;   :-O  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/silenced.svg&quot; class=&quot;icon smiley&quot; alt=&quot;:-X&quot; /&gt;   :-X  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/neutral.svg&quot; class=&quot;icon smiley&quot; alt=&quot;:-|&quot; /&gt;   :-|  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/wink.svg&quot; class=&quot;icon smiley&quot; alt=&quot;;-)&quot; /&gt;   ;-)  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/fun.svg&quot; class=&quot;icon smiley&quot; alt=&quot;^_^&quot; /&gt;   ^_^  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/facepalm.svg&quot; class=&quot;icon smiley&quot; alt=&quot;m(&quot; /&gt;    m(   &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/question.svg&quot; class=&quot;icon smiley&quot; alt=&quot;:?:&quot; /&gt;   :?:  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/exclaim.svg&quot; class=&quot;icon smiley&quot; alt=&quot;:!:&quot; /&gt;   :!:  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/lol.svg&quot; class=&quot;icon smiley&quot; alt=&quot;LOL&quot; /&gt;   LOL  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/fixme.svg&quot; class=&quot;icon smiley&quot; alt=&quot;FIXME&quot; /&gt;   FIXME &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/deleteme.svg&quot; class=&quot;icon smiley&quot; alt=&quot;DELETEME&quot; /&gt;  DELETEME &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Text to Image Conversions&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;text_to_image_conversions&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:18,&amp;quot;range&amp;quot;:&amp;quot;9769-10444&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit19&quot; id=&quot;text_to_html_conversions&quot;&gt;Text to HTML Conversions&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Typography: &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=wiki:dokuwiki&quot; class=&quot;wikilink1&quot; title=&quot;wiki:dokuwiki&quot; data-wiki-id=&quot;wiki:dokuwiki&quot;&gt;DokuWiki&lt;/a&gt; can convert simple text characters to their typographically correct entities. Here is an example of recognized characters.
&lt;/p&gt;

&lt;p&gt;
→ ← ↔ ⇒ ⇐ ⇔ » « – — 640&amp;times;480 © ™ ®
“He thought &amp;#039;It&amp;#039;s a man&amp;#039;s world&amp;#039;…”
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;-&amp;gt; &amp;lt;- &amp;lt;-&amp;gt; =&amp;gt; &amp;lt;= &amp;lt;=&amp;gt; &amp;gt;&amp;gt; &amp;lt;&amp;lt; -- --- 640x480 (c) (tm) (r)
&amp;quot;He thought &amp;#039;It&amp;#039;s a man&amp;#039;s world&amp;#039;...&amp;quot;&lt;/pre&gt;

&lt;p&gt;
The same can be done to produce any kind of HTML, it just needs to be added to the &lt;a href=&quot;https://www.dokuwiki.org/entities&quot; class=&quot;interwiki iw_doku&quot; title=&quot;https://www.dokuwiki.org/entities&quot;&gt;pattern file&lt;/a&gt;.
&lt;/p&gt;

&lt;p&gt;
There are three exceptions which do not come from that pattern file: multiplication entity (640&amp;times;480), &amp;#039;single&amp;#039; and “double quotes”. They can be turned off through a &lt;a href=&quot;https://www.dokuwiki.org/config%3Atypography&quot; class=&quot;interwiki iw_doku&quot; title=&quot;https://www.dokuwiki.org/config%3Atypography&quot;&gt;config option&lt;/a&gt;.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Text to HTML Conversions&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;text_to_html_conversions&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:19,&amp;quot;range&amp;quot;:&amp;quot;10445-11152&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit20&quot; id=&quot;quoting&quot;&gt;Quoting&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Some times you want to mark some text to show it&amp;#039;s a reply or comment. You can use the following syntax:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;I think we should do it

&amp;gt; No we shouldn&amp;#039;t

&amp;gt;&amp;gt; Well, I say we should

&amp;gt; Really?

&amp;gt;&amp;gt; Yes!

&amp;gt;&amp;gt;&amp;gt; Then lets do it!&lt;/pre&gt;

&lt;p&gt;
I think we should do it
&lt;/p&gt;
&lt;blockquote&gt;&lt;div class=&quot;no&quot;&gt;
 No we shouldn&amp;#039;t&lt;/div&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;&lt;div class=&quot;no&quot;&gt;
&lt;blockquote&gt;&lt;div class=&quot;no&quot;&gt;
 Well, I say we should&lt;/div&gt;&lt;/blockquote&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;&lt;div class=&quot;no&quot;&gt;
 Really?&lt;/div&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;&lt;div class=&quot;no&quot;&gt;
&lt;blockquote&gt;&lt;div class=&quot;no&quot;&gt;
 Yes!&lt;/div&gt;&lt;/blockquote&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;&lt;div class=&quot;no&quot;&gt;
&lt;blockquote&gt;&lt;div class=&quot;no&quot;&gt;
&lt;blockquote&gt;&lt;div class=&quot;no&quot;&gt;
 Then lets do it!&lt;/div&gt;&lt;/blockquote&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/div&gt;&lt;/blockquote&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Quoting&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;quoting&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:20,&amp;quot;range&amp;quot;:&amp;quot;11153-11518&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit21&quot; id=&quot;tables&quot;&gt;Tables&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
DokuWiki supports a simple syntax to create tables.
&lt;/p&gt;
&lt;div class=&quot;table sectionedit22&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0 leftalign&quot;&gt; Heading 1      &lt;/th&gt;&lt;th class=&quot;col1 leftalign&quot;&gt; Heading 2       &lt;/th&gt;&lt;th class=&quot;col2 leftalign&quot;&gt; Heading 3          &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; Row 1 Col 1    &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; Row 1 Col 2     &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; Row 1 Col 3        &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; Row 2 Col 1    &lt;/td&gt;&lt;td class=&quot;col1&quot; colspan=&quot;2&quot;&gt; some colspan (note the double pipe) &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; Row 3 Col 1    &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; Row 3 Col 2     &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; Row 3 Col 3        &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table1&amp;quot;,&amp;quot;secid&amp;quot;:22,&amp;quot;range&amp;quot;:&amp;quot;11592-11823&amp;quot;} --&gt;
&lt;p&gt;
Table rows have to start and end with a &lt;code&gt;|&lt;/code&gt; for normal rows or a &lt;code&gt;^&lt;/code&gt; for headers.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;^ Heading 1      ^ Heading 2       ^ Heading 3          ^
| Row 1 Col 1    | Row 1 Col 2     | Row 1 Col 3        |
| Row 2 Col 1    | some colspan (note the double pipe) ||
| Row 3 Col 1    | Row 3 Col 2     | Row 3 Col 3        |&lt;/pre&gt;

&lt;p&gt;
To connect cells horizontally, just make the next cell completely empty as shown above. Be sure to have always the same amount of cell separators!
&lt;/p&gt;

&lt;p&gt;
Vertical tableheaders are possible, too.
&lt;/p&gt;
&lt;div class=&quot;table sectionedit23&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;              &lt;/td&gt;&lt;th class=&quot;col1 leftalign&quot;&gt; Heading 1            &lt;/th&gt;&lt;th class=&quot;col2 leftalign&quot;&gt; Heading 2          &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;th class=&quot;col0 leftalign&quot;&gt; Heading 3    &lt;/th&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; Row 1 Col 2          &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; Row 1 Col 3        &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;th class=&quot;col0 leftalign&quot;&gt; Heading 4    &lt;/th&gt;&lt;td class=&quot;col1&quot;&gt; no colspan this time &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;                    &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;th class=&quot;col0 leftalign&quot;&gt; Heading 5    &lt;/th&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; Row 2 Col 2          &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; Row 2 Col 3        &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table2&amp;quot;,&amp;quot;secid&amp;quot;:23,&amp;quot;range&amp;quot;:&amp;quot;12343-12586&amp;quot;} --&gt;
&lt;p&gt;
As you can see, it&amp;#039;s the cell separator before a cell which decides about the formatting:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;|              ^ Heading 1            ^ Heading 2          ^
^ Heading 3    | Row 1 Col 2          | Row 1 Col 3        |
^ Heading 4    | no colspan this time |                    |
^ Heading 5    | Row 2 Col 2          | Row 2 Col 3        |&lt;/pre&gt;

&lt;p&gt;
You can have rowspans (vertically connected cells) by adding &lt;code&gt;:::&lt;/code&gt; into the cells below the one to which they should connect.
&lt;/p&gt;
&lt;div class=&quot;table sectionedit24&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0 leftalign&quot;&gt; Heading 1      &lt;/th&gt;&lt;th class=&quot;col1 leftalign&quot;&gt; Heading 2                  &lt;/th&gt;&lt;th class=&quot;col2 leftalign&quot;&gt; Heading 3          &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; Row 1 Col 1    &lt;/td&gt;&lt;td class=&quot;col1&quot; rowspan=&quot;3&quot;&gt; this cell spans vertically &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; Row 1 Col 3        &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; Row 2 Col 1    &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; Row 2 Col 3        &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; Row 3 Col 1    &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; Row 2 Col 3        &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table3&amp;quot;,&amp;quot;secid&amp;quot;:24,&amp;quot;range&amp;quot;:&amp;quot;13065-13340&amp;quot;} --&gt;
&lt;p&gt;
Apart from the rowspan syntax those cells should not contain anything else.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;^ Heading 1      ^ Heading 2                  ^ Heading 3          ^
| Row 1 Col 1    | this cell spans vertically | Row 1 Col 3        |
| Row 2 Col 1    | :::                        | Row 2 Col 3        |
| Row 3 Col 1    | :::                        | Row 2 Col 3        |&lt;/pre&gt;

&lt;p&gt;
You can align the table contents, too. Just add at least two whitespaces at the opposite end of your text: Add two spaces on the left to align right, two spaces on the right to align left and two spaces at least at both ends for centered text.
&lt;/p&gt;
&lt;div class=&quot;table sectionedit25&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0 centeralign&quot; colspan=&quot;3&quot;&gt;           Table with alignment           &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0 rightalign&quot;&gt;         right&lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;    center    &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;left          &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;left          &lt;/td&gt;&lt;td class=&quot;col1 rightalign&quot;&gt;         right&lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;    center    &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; xxxxxxxxxxxx &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; xxxxxxxxxxxx &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; xxxxxxxxxxxx &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table4&amp;quot;,&amp;quot;secid&amp;quot;:25,&amp;quot;range&amp;quot;:&amp;quot;13949-14136&amp;quot;} --&gt;
&lt;p&gt;
This is how it looks in the source:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;^           Table with alignment           ^^^
|         right|    center    |left          |
|left          |         right|    center    |
| xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |&lt;/pre&gt;

&lt;p&gt;
Note: Vertical alignment is not supported.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Tables&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tables&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:21,&amp;quot;range&amp;quot;:&amp;quot;11519-14415&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit26&quot; id=&quot;no_formatting&quot;&gt;No Formatting&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
If you need to display text exactly like it is typed (without any formatting), enclose the area either with &lt;code&gt;&amp;lt;nowiki&amp;gt;&lt;/code&gt; tags or even simpler, with double percent signs &lt;code&gt;%%&lt;/code&gt;.
&lt;/p&gt;

&lt;p&gt;

This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it.

The same is true for //__this__ text// with a smiley ;-).
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;&amp;lt;nowiki&amp;gt;
This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it.
&amp;lt;/nowiki&amp;gt;
The same is true for %%//__this__ text// with a smiley ;-)%%.&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;No Formatting&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;no_formatting&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:26,&amp;quot;range&amp;quot;:&amp;quot;14416-15071&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit27&quot; id=&quot;code_blocks&quot;&gt;Code Blocks&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
You can include code blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags &lt;code&gt;&amp;lt;code&amp;gt;&lt;/code&gt; or &lt;code&gt;&amp;lt;file&amp;gt;&lt;/code&gt;.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;This is text is indented by two spaces.&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;This is preformatted code all spaces are preserved: like              &amp;lt;-this&lt;/pre&gt;
&lt;pre class=&quot;file&quot;&gt;This is pretty much the same, but you could use it to show that you quoted a file.&lt;/pre&gt;

&lt;p&gt;
Those blocks were created by this source:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  This is text is indented by two spaces.&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;&amp;lt;code&amp;gt;
This is preformatted code all spaces are preserved: like              &amp;lt;-this
&amp;lt;/code&amp;gt;&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;&amp;lt;file&amp;gt;
This is pretty much the same, but you could use it to show that you quoted a file.
&amp;lt;/file&amp;gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Code Blocks&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;code_blocks&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:27,&amp;quot;range&amp;quot;:&amp;quot;15072-15813&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit28&quot; id=&quot;syntax_highlighting&quot;&gt;Syntax Highlighting&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=wiki:dokuwiki&quot; class=&quot;wikilink1&quot; title=&quot;wiki:dokuwiki&quot; data-wiki-id=&quot;wiki:dokuwiki&quot;&gt;DokuWiki&lt;/a&gt; can highlight sourcecode, which makes it easier to read. It uses the &lt;a href=&quot;http://qbnz.com/highlighter/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://qbnz.com/highlighter/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;GeSHi&lt;/a&gt; Generic Syntax Highlighter – so any language supported by GeSHi is supported. The syntax uses the same code and file blocks described in the previous section, but this time the name of the language syntax to be highlighted is included inside the tag, e.g. &lt;code&gt;&amp;lt;code java&amp;gt;&lt;/code&gt; or &lt;code&gt;&amp;lt;file java&amp;gt;&lt;/code&gt;.
&lt;/p&gt;
&lt;pre class=&quot;code java&quot;&gt;&lt;span class=&quot;co3&quot;&gt;/**
 * The HelloWorldApp class implements an application that
 * simply displays &amp;quot;Hello World!&amp;quot; to the standard output.
 */&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; HelloWorldApp &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; main&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a target=&quot;_BLANK&quot; href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;String&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; args&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;a target=&quot;_BLANK&quot; href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+system&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;System&lt;/span&gt;&lt;/a&gt;.&lt;span class=&quot;me1&quot;&gt;out&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;println&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Hello World!&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;//Display the string.&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
The following language strings are currently recognized: &lt;em&gt;4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 actionscript ada aimms algol68 apache applescript apt_sources arm asm asp asymptote autoconf autohotkey autoit avisynth awk bascomavr bash basic4gl batch bf biblatex bibtex blitzbasic bnf boo caddcl cadlisp ceylon cfdg cfm chaiscript chapel cil c_loadrunner clojure c_mac cmake cobol coffeescript c cpp cpp-qt cpp-winapi csharp css cuesheet c_winapi dart dcl dcpu16 dcs delphi diff div dos dot d ecmascript eiffel email epc e erlang euphoria ezt f1 falcon fo fortran freebasic freeswitch fsharp gambas gdb genero genie gettext glsl gml gnuplot go groovy gwbasic haskell haxe hicest hq9plus html html4strict html5 icon idl ini inno intercal io ispfpanel java5 java javascript jcl j jquery julia kixtart klonec klonecpp kotlin latex lb ldif lisp llvm locobasic logtalk lolcode lotusformulas lotusscript lscript lsl2 lua m68k magiksf make mapbasic mathematica matlab mercury metapost mirc mk-61 mmix modula2 modula3 mpasm mxml mysql nagios netrexx newlisp nginx nimrod nsis oberon2 objc objeck ocaml-brief ocaml octave oobas oorexx oracle11 oracle8 oxygene oz parasail parigp pascal pcre perl6 perl per pf phix php-brief php pic16 pike pixelbender pli plsql postgresql postscript povray powerbuilder powershell proftpd progress prolog properties providex purebasic pycon pys60 python qbasic qml q racket rails rbs rebol reg rexx robots roff rpmspec rsplus ruby rust sas sass scala scheme scilab scl sdlbasic smalltalk smarty spark sparql sql sshconfig standardml stonescript swift systemverilog tclegg tcl teraterm texgraph text thinbasic tsql twig typoscript unicon upc urbi uscript vala vbnet vb vbscript vedit verilog vhdl vim visualfoxpro visualprolog whitespace whois winbatch wolfram xbasic xml xojo xorg_conf xpp yaml z80 zxbasic&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
There are additional &lt;a href=&quot;https://www.dokuwiki.org/syntax_highlighting&quot; class=&quot;interwiki iw_doku&quot; title=&quot;https://www.dokuwiki.org/syntax_highlighting&quot;&gt;advanced options&lt;/a&gt; available for syntax highlighting, such as highlighting lines or adding line numbers.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Syntax Highlighting&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;syntax_highlighting&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:6,&amp;quot;secid&amp;quot;:28,&amp;quot;range&amp;quot;:&amp;quot;15814-18599&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit29&quot; id=&quot;downloadable_code_blocks&quot;&gt;Downloadable Code Blocks&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
When you use the &lt;code&gt;&amp;lt;code&amp;gt;&lt;/code&gt; or &lt;code&gt;&amp;lt;file&amp;gt;&lt;/code&gt; syntax as above, you might want to make the shown code available for download as well. You can do this by specifying a file name after language code like this:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;&amp;lt;file php myexample.php&amp;gt;
&amp;lt;?php echo &amp;quot;hello world!&amp;quot;; ?&amp;gt;
&amp;lt;/file&amp;gt;&lt;/pre&gt;
&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=wiki:syntax&amp;amp;codeblock=8&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_php&quot;&gt;myexample.php&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file php&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;hello world!&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;

&lt;p&gt;
If you don&amp;#039;t want any highlighting but want a downloadable file, specify a dash (&lt;code&gt;-&lt;/code&gt;) as the language code: &lt;code&gt;&amp;lt;code - myfile.foo&amp;gt;&lt;/code&gt;.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Downloadable Code Blocks&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;downloadable_code_blocks&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:7,&amp;quot;secid&amp;quot;:29,&amp;quot;range&amp;quot;:&amp;quot;18600-19129&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit30&quot; id=&quot;rss_atom_feed_aggregation&quot;&gt;RSS/ATOM Feed Aggregation&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=wiki:dokuwiki&quot; class=&quot;wikilink1&quot; title=&quot;wiki:dokuwiki&quot; data-wiki-id=&quot;wiki:dokuwiki&quot;&gt;DokuWiki&lt;/a&gt; can integrate data from external XML feeds. For parsing the XML feeds, &lt;a href=&quot;http://simplepie.org/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://simplepie.org/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;SimplePie&lt;/a&gt; is used. All formats understood by SimplePie can be used in DokuWiki as well. You can influence the rendering by multiple additional space separated parameters:
&lt;/p&gt;
&lt;div class=&quot;table sectionedit31&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0 leftalign&quot;&gt; Parameter  &lt;/th&gt;&lt;th class=&quot;col1&quot;&gt; Description &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; any number &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; will be used as maximum number items to show, defaults to 8 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; reverse    &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; display the last items in the feed first &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; author     &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; show item authors names &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; date       &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; show item dates &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; description&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; show the item description. All HTML tags will be stripped &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; nosort     &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; do not sort the items in the feed &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; &lt;em&gt;n&lt;/em&gt;[dhm] &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table5&amp;quot;,&amp;quot;secid&amp;quot;:31,&amp;quot;range&amp;quot;:&amp;quot;19450-19903&amp;quot;} --&gt;
&lt;p&gt;
The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=wiki:dokuwiki&quot; class=&quot;wikilink1&quot; title=&quot;wiki:dokuwiki&quot; data-wiki-id=&quot;wiki:dokuwiki&quot;&gt;DokuWiki&lt;/a&gt; will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=wiki:dokuwiki&quot; class=&quot;wikilink1&quot; title=&quot;wiki:dokuwiki&quot; data-wiki-id=&quot;wiki:dokuwiki&quot;&gt;DokuWiki&lt;/a&gt; to re-render the page if it is more than &lt;em&gt;refresh period&lt;/em&gt; since the page was last rendered.
&lt;/p&gt;

&lt;p&gt;
By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the &lt;code&gt;reverse&lt;/code&gt; parameter, or display the feed as is with &lt;code&gt;nosort&lt;/code&gt;.
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Example:&lt;/strong&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;{{rss&amp;gt;http://slashdot.org/index.rss 5 author date 1h }}&lt;/pre&gt;
&lt;ul class=&quot;rss&quot;&gt;&lt;li&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://slashdot.org/story/26/07/13/2210232/over-200-economists-say-we-must-act-now-on-ais-economic-impact?utm_source=rss1.0mainlinkanon&amp;amp;utm_medium=feed&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://slashdot.org/story/26/07/13/2210232/over-200-economists-say-we-must-act-now-on-ais-economic-impact?utm_source=rss1.0mainlinkanon&amp;amp;utm_medium=feed&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Over 200 Economists Say &amp;#039;We Must Act Now&amp;#039; On AI&amp;#039;s Economic Impact&lt;/a&gt; by BeauHD (14/07/26 04:30 BST)&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://tech.slashdot.org/story/26/07/13/2149251/microsoft-promises-to-fix-search-with-major-windows-11-overhaul?utm_source=rss1.0mainlinkanon&amp;amp;utm_medium=feed&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://tech.slashdot.org/story/26/07/13/2149251/microsoft-promises-to-fix-search-with-major-windows-11-overhaul?utm_source=rss1.0mainlinkanon&amp;amp;utm_medium=feed&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Microsoft Promises To Fix Search With Major Windows 11 Overhaul&lt;/a&gt; by BeauHD (14/07/26 00:00 BST)&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://it.slashdot.org/story/26/07/13/2139254/us-government-warns-that-russia-state-hackers-are-coming-after-your-router?utm_source=rss1.0mainlinkanon&amp;amp;utm_medium=feed&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://it.slashdot.org/story/26/07/13/2139254/us-government-warns-that-russia-state-hackers-are-coming-after-your-router?utm_source=rss1.0mainlinkanon&amp;amp;utm_medium=feed&quot; rel=&quot;ugc nofollow noopener&quot;&gt;US Government Warns That Russia State Hackers Are Coming After Your Router&lt;/a&gt; by BeauHD (13/07/26 23:00 BST)&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://slashdot.org/story/26/07/13/2111209/german-firm-files-for-insolvency-after-cybercriminals-shut-down-production-for-6-weeks?utm_source=rss1.0mainlinkanon&amp;amp;utm_medium=feed&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://slashdot.org/story/26/07/13/2111209/german-firm-files-for-insolvency-after-cybercriminals-shut-down-production-for-6-weeks?utm_source=rss1.0mainlinkanon&amp;amp;utm_medium=feed&quot; rel=&quot;ugc nofollow noopener&quot;&gt;German Firm Files For Insolvency After Cybercriminals Shut Down Production For 6 Weeks&lt;/a&gt; by BeauHD (13/07/26 22:12 BST)&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://yro.slashdot.org/story/26/07/13/1740256/states-sue-to-block-paramount-warner-bros-merger-defying-doj?utm_source=rss1.0mainlinkanon&amp;amp;utm_medium=feed&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://yro.slashdot.org/story/26/07/13/1740256/states-sue-to-block-paramount-warner-bros-merger-defying-doj?utm_source=rss1.0mainlinkanon&amp;amp;utm_medium=feed&quot; rel=&quot;ugc nofollow noopener&quot;&gt;States Sue to Block Paramount-Warner Bros Merger, Defying DOJ&lt;/a&gt; by BeauHD (13/07/26 21:00 BST)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;RSS\/ATOM Feed Aggregation&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;rss_atom_feed_aggregation&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:9,&amp;quot;secid&amp;quot;:30,&amp;quot;range&amp;quot;:&amp;quot;19130-20595&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit32&quot; id=&quot;control_macros&quot;&gt;Control Macros&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble:
&lt;/p&gt;
&lt;div class=&quot;table sectionedit33&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0 leftalign&quot;&gt; Macro           &lt;/th&gt;&lt;th class=&quot;col1&quot;&gt; Description &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; ~~NOTOC~~   &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; If this macro is found on the page, no table of contents will be created &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; ~~NOCACHE~~ &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the &amp;lt;php&amp;gt; syntax above is used), adding this macro will force DokuWiki to rerender a page on every call &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table6&amp;quot;,&amp;quot;secid&amp;quot;:33,&amp;quot;range&amp;quot;:&amp;quot;20756-21098&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Control Macros&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;control_macros&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:9,&amp;quot;secid&amp;quot;:32,&amp;quot;range&amp;quot;:&amp;quot;20596-21099&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit34&quot; id=&quot;syntax_plugins&quot;&gt;Syntax Plugins&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
DokuWiki&amp;#039;s syntax can be extended by &lt;a href=&quot;https://www.dokuwiki.org/plugins&quot; class=&quot;interwiki iw_doku&quot; title=&quot;https://www.dokuwiki.org/plugins&quot;&gt;Plugins&lt;/a&gt;. How the installed plugins are used is described on their appropriate description pages. The following syntax plugins are available in this particular DokuWiki installation:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://www.dokuwiki.org/plugin:blockquote&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:blockquote&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Blockquote Plugin&lt;/a&gt; &lt;em&gt;2020-09-27&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#97;&amp;#110;&amp;#105;&amp;#107;&amp;#97;&amp;#64;&amp;#115;&amp;#101;&amp;#108;&amp;#102;&amp;#116;&amp;#104;&amp;#105;&amp;#110;&amp;#107;&amp;#101;&amp;#114;&amp;#46;&amp;#111;&amp;#114;&amp;#103;&quot; class=&quot;mail&quot; title=&quot;&amp;#97;&amp;#110;&amp;#105;&amp;#107;&amp;#97;&amp;#64;&amp;#115;&amp;#101;&amp;#108;&amp;#102;&amp;#116;&amp;#104;&amp;#105;&amp;#110;&amp;#107;&amp;#101;&amp;#114;&amp;#46;&amp;#111;&amp;#114;&amp;#103;&quot;&gt;Anika Henke (previous author: Gina Haeussge)&lt;/a&gt;&lt;br/&gt;
Write quotations in a semantically correct way&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://www.dokuwiki.org/plugin:blog&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:blog&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Blog&lt;/a&gt; &lt;em&gt;2023-10-24&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#109;&amp;#105;&amp;#99;&amp;#104;&amp;#97;&amp;#101;&amp;#108;&amp;#64;&amp;#99;&amp;#111;&amp;#110;&amp;#116;&amp;#101;&amp;#110;&amp;#116;&amp;#45;&amp;#115;&amp;#112;&amp;#97;&amp;#99;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot; class=&quot;mail&quot; title=&quot;&amp;#109;&amp;#105;&amp;#99;&amp;#104;&amp;#97;&amp;#101;&amp;#108;&amp;#64;&amp;#99;&amp;#111;&amp;#110;&amp;#116;&amp;#101;&amp;#110;&amp;#116;&amp;#45;&amp;#115;&amp;#112;&amp;#97;&amp;#99;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot;&gt;Michael Hamann, Michael Klier, Gina Haeussge&lt;/a&gt;&lt;br/&gt;
Use DokuWiki as blogging tool. (previous authors: Esther Brunner)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://www.dokuwiki.org/plugin:catlist&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:catlist&quot; rel=&quot;ugc nofollow noopener&quot;&gt;catlist plugin&lt;/a&gt; &lt;em&gt;2023-12-16&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#120;&amp;#99;&amp;#111;&amp;#100;&amp;#101;&amp;#120;&amp;#105;&amp;#102;&amp;#64;&amp;#120;&amp;#105;&amp;#102;&amp;#46;&amp;#102;&amp;#114;&quot; class=&quot;mail&quot; title=&quot;&amp;#120;&amp;#99;&amp;#111;&amp;#100;&amp;#101;&amp;#120;&amp;#105;&amp;#102;&amp;#64;&amp;#120;&amp;#105;&amp;#102;&amp;#46;&amp;#102;&amp;#114;&quot;&gt;Félix Faisant&lt;/a&gt;&lt;br/&gt;
List pages and namespaces recursively&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://www.dokuwiki.org/plugin:changes&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://www.dokuwiki.org/plugin:changes&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Changes Plugin&lt;/a&gt; &lt;em&gt;2023-12-14&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#100;&amp;#111;&amp;#107;&amp;#117;&amp;#119;&amp;#105;&amp;#107;&amp;#105;&amp;#64;&amp;#99;&amp;#111;&amp;#115;&amp;#109;&amp;#111;&amp;#99;&amp;#111;&amp;#100;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot; class=&quot;mail&quot; title=&quot;&amp;#100;&amp;#111;&amp;#107;&amp;#117;&amp;#119;&amp;#105;&amp;#107;&amp;#105;&amp;#64;&amp;#99;&amp;#111;&amp;#115;&amp;#109;&amp;#111;&amp;#99;&amp;#111;&amp;#100;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot;&gt;Andreas Gohr&lt;/a&gt;&lt;br/&gt;
List the most recent changes of the wiki&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://www.dokuwiki.org/plugin:cloud&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://www.dokuwiki.org/plugin:cloud&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Cloud Plugin&lt;/a&gt; &lt;em&gt;2023-02-11&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#109;&amp;#105;&amp;#99;&amp;#104;&amp;#97;&amp;#101;&amp;#108;&amp;#64;&amp;#99;&amp;#111;&amp;#110;&amp;#116;&amp;#101;&amp;#110;&amp;#116;&amp;#45;&amp;#115;&amp;#112;&amp;#97;&amp;#99;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot; class=&quot;mail&quot; title=&quot;&amp;#109;&amp;#105;&amp;#99;&amp;#104;&amp;#97;&amp;#101;&amp;#108;&amp;#64;&amp;#99;&amp;#111;&amp;#110;&amp;#116;&amp;#101;&amp;#110;&amp;#116;&amp;#45;&amp;#115;&amp;#112;&amp;#97;&amp;#99;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot;&gt;Michael Hamann, Michael Klier, Gina Haeussge&lt;/a&gt;&lt;br/&gt;
Displays the most used words in a word cloud.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://www.dokuwiki.org/plugin:color&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:color&quot; rel=&quot;ugc nofollow noopener&quot;&gt;color syntax plugin&lt;/a&gt; &lt;em&gt;2022-10-19&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#104;&amp;#97;&amp;#114;&amp;#97;&amp;#108;&amp;#100;&amp;#46;&amp;#104;&amp;#97;&amp;#110;&amp;#99;&amp;#104;&amp;#101;&amp;#45;&amp;#111;&amp;#108;&amp;#115;&amp;#101;&amp;#110;&amp;#64;&amp;#110;&amp;#116;&amp;#110;&amp;#117;&amp;#46;&amp;#110;&amp;#111;&quot; class=&quot;mail&quot; title=&quot;&amp;#104;&amp;#97;&amp;#114;&amp;#97;&amp;#108;&amp;#100;&amp;#46;&amp;#104;&amp;#97;&amp;#110;&amp;#99;&amp;#104;&amp;#101;&amp;#45;&amp;#111;&amp;#108;&amp;#115;&amp;#101;&amp;#110;&amp;#64;&amp;#110;&amp;#116;&amp;#110;&amp;#117;&amp;#46;&amp;#110;&amp;#111;&quot;&gt;Harald Hanche-Olsen&lt;/a&gt;&lt;br/&gt;
Write colored text in DokuWiki.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://www.dokuwiki.org/plugin:commentsyntax&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:commentsyntax&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Comment Syntax support&lt;/a&gt; &lt;em&gt;2022-01-01&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#38;&amp;#108;&amp;#116;&amp;#59;&amp;#115;&amp;#97;&amp;#104;&amp;#97;&amp;#114;&amp;#97;&amp;#46;&amp;#115;&amp;#97;&amp;#116;&amp;#111;&amp;#115;&amp;#104;&amp;#105;&amp;#64;&amp;#103;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#46;&amp;#99;&amp;#111;&amp;#109;&amp;#38;&amp;#103;&amp;#116;&amp;#59;&quot; class=&quot;mail&quot; title=&quot;&amp;#38;&amp;#108;&amp;#116;&amp;#59;&amp;#115;&amp;#97;&amp;#104;&amp;#97;&amp;#114;&amp;#97;&amp;#46;&amp;#115;&amp;#97;&amp;#116;&amp;#111;&amp;#115;&amp;#104;&amp;#105;&amp;#64;&amp;#103;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#46;&amp;#99;&amp;#111;&amp;#109;&amp;#38;&amp;#103;&amp;#116;&amp;#59;&quot;&gt;Satoshi Sahara&lt;/a&gt;&lt;br/&gt;
Allow to use source comment syntax to leave edit instructions of the page. Comments are visible only in the source view, not rendered as any page elements.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://dokuwiki.org/plugin:confightmlok&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://dokuwiki.org/plugin:confightmlok&quot; rel=&quot;ugc nofollow noopener&quot;&gt;config:htmlok Plugin&lt;/a&gt; &lt;em&gt;2023-07-12&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#108;&amp;#97;&amp;#109;&amp;#98;&amp;#97;&amp;#108;&amp;#105;&amp;#99;&amp;#105;&amp;#111;&amp;#117;&amp;#115;&amp;#32;&amp;#91;&amp;#97;&amp;#116;&amp;#93;&amp;#32;&amp;#116;&amp;#117;&amp;#116;&amp;#97;&amp;#32;&amp;#91;&amp;#100;&amp;#111;&amp;#116;&amp;#93;&amp;#32;&amp;#105;&amp;#111;&quot; class=&quot;mail&quot; title=&quot;&amp;#108;&amp;#97;&amp;#109;&amp;#98;&amp;#97;&amp;#108;&amp;#105;&amp;#99;&amp;#105;&amp;#111;&amp;#117;&amp;#115;&amp;#32;&amp;#91;&amp;#97;&amp;#116;&amp;#93;&amp;#32;&amp;#116;&amp;#117;&amp;#116;&amp;#97;&amp;#32;&amp;#91;&amp;#100;&amp;#111;&amp;#116;&amp;#93;&amp;#32;&amp;#105;&amp;#111;&quot;&gt;Luis Machuca Bezzaza&lt;/a&gt;&lt;br/&gt;
Enables raw HTML like the old &amp;#039;config:htmlok&amp;#039; behaviour.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://dokuwiki.org/plugin:discussion&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://dokuwiki.org/plugin:discussion&quot; rel=&quot;ugc nofollow noopener&quot;&gt;discussion plugin&lt;/a&gt; &lt;em&gt;2025-07-04&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#109;&amp;#105;&amp;#99;&amp;#104;&amp;#97;&amp;#101;&amp;#108;&amp;#64;&amp;#99;&amp;#111;&amp;#110;&amp;#116;&amp;#101;&amp;#110;&amp;#116;&amp;#45;&amp;#115;&amp;#112;&amp;#97;&amp;#99;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot; class=&quot;mail&quot; title=&quot;&amp;#109;&amp;#105;&amp;#99;&amp;#104;&amp;#97;&amp;#101;&amp;#108;&amp;#64;&amp;#99;&amp;#111;&amp;#110;&amp;#116;&amp;#101;&amp;#110;&amp;#116;&amp;#45;&amp;#115;&amp;#112;&amp;#97;&amp;#99;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot;&gt;Michael Hamann, Gerrit Uitslag, Gina Häussge, Christopher Smith, Michael Klier, Esther Brunner, Matthias Schulte&lt;/a&gt;&lt;br/&gt;
Provides discussion funtionality for wiki pages&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://www.dokuwiki.org/plugin:encryptedpasswords&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:encryptedpasswords&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Encrypted Passwords Plugin&lt;/a&gt; &lt;em&gt;2023-12-20&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#100;&amp;#111;&amp;#107;&amp;#117;&amp;#119;&amp;#105;&amp;#107;&amp;#105;&amp;#64;&amp;#99;&amp;#111;&amp;#115;&amp;#109;&amp;#111;&amp;#99;&amp;#111;&amp;#100;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot; class=&quot;mail&quot; title=&quot;&amp;#100;&amp;#111;&amp;#107;&amp;#117;&amp;#119;&amp;#105;&amp;#107;&amp;#105;&amp;#64;&amp;#99;&amp;#111;&amp;#115;&amp;#109;&amp;#111;&amp;#99;&amp;#111;&amp;#100;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot;&gt;Andreas Gohr&lt;/a&gt;&lt;br/&gt;
This plugin let you store 256 bit AES encrypted passwords in your DokuWiki pages. The password can be decrypted by clicking them (Javascript must be enabled).&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://dokuwiki.org/plugin:folded&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://dokuwiki.org/plugin:folded&quot; rel=&quot;ugc nofollow noopener&quot;&gt;folded plugin&lt;/a&gt; &lt;em&gt;2023-07-22&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#109;&amp;#105;&amp;#99;&amp;#104;&amp;#97;&amp;#101;&amp;#108;&amp;#64;&amp;#99;&amp;#111;&amp;#110;&amp;#116;&amp;#101;&amp;#110;&amp;#116;&amp;#45;&amp;#115;&amp;#112;&amp;#97;&amp;#99;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot; class=&quot;mail&quot; title=&quot;&amp;#109;&amp;#105;&amp;#99;&amp;#104;&amp;#97;&amp;#101;&amp;#108;&amp;#64;&amp;#99;&amp;#111;&amp;#110;&amp;#116;&amp;#101;&amp;#110;&amp;#116;&amp;#45;&amp;#115;&amp;#112;&amp;#97;&amp;#99;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot;&gt;Michael Hamann, Fabian van-de-l_Isle, Christopher Smith, Esther Brunner&lt;/a&gt;&lt;br/&gt;
Foldable page sections&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://www.dokuwiki.org/plugin:iframe&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://www.dokuwiki.org/plugin:iframe&quot; rel=&quot;ugc nofollow noopener&quot;&gt;iframe plugin&lt;/a&gt; &lt;em&gt;2023-08-17&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#99;&amp;#104;&amp;#114;&amp;#105;&amp;#115;&amp;#64;&amp;#106;&amp;#97;&amp;#108;&amp;#97;&amp;#107;&amp;#97;&amp;#105;&amp;#46;&amp;#99;&amp;#111;&amp;#46;&amp;#117;&amp;#107;&quot; class=&quot;mail&quot; title=&quot;&amp;#99;&amp;#104;&amp;#114;&amp;#105;&amp;#115;&amp;#64;&amp;#106;&amp;#97;&amp;#108;&amp;#97;&amp;#107;&amp;#97;&amp;#105;&amp;#46;&amp;#99;&amp;#111;&amp;#46;&amp;#117;&amp;#107;&quot;&gt;Christopher Smith&lt;/a&gt;&lt;br/&gt;
Allows external URLs to be loaded into an iframe in your DokuWiki page.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://dokuwiki.org/plugin:include&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://dokuwiki.org/plugin:include&quot; rel=&quot;ugc nofollow noopener&quot;&gt;include plugin&lt;/a&gt; &lt;em&gt;2025-07-22&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#109;&amp;#105;&amp;#99;&amp;#104;&amp;#97;&amp;#101;&amp;#108;&amp;#64;&amp;#99;&amp;#111;&amp;#110;&amp;#116;&amp;#101;&amp;#110;&amp;#116;&amp;#45;&amp;#115;&amp;#112;&amp;#97;&amp;#99;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot; class=&quot;mail&quot; title=&quot;&amp;#109;&amp;#105;&amp;#99;&amp;#104;&amp;#97;&amp;#101;&amp;#108;&amp;#64;&amp;#99;&amp;#111;&amp;#110;&amp;#116;&amp;#101;&amp;#110;&amp;#116;&amp;#45;&amp;#115;&amp;#112;&amp;#97;&amp;#99;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot;&gt;Michael Hamann, Gina Häussge, Christopher Smith, Michael Klier, Esther Brunner&lt;/a&gt;&lt;br/&gt;
Functions to include another page in a wiki page&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://www.dokuwiki.org/plugin:info&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:info&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Info Plugin&lt;/a&gt; &lt;em&gt;2020-06-04&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#97;&amp;#110;&amp;#100;&amp;#105;&amp;#64;&amp;#115;&amp;#112;&amp;#108;&amp;#105;&amp;#116;&amp;#98;&amp;#114;&amp;#97;&amp;#105;&amp;#110;&amp;#46;&amp;#111;&amp;#114;&amp;#103;&quot; class=&quot;mail&quot; title=&quot;&amp;#97;&amp;#110;&amp;#100;&amp;#105;&amp;#64;&amp;#115;&amp;#112;&amp;#108;&amp;#105;&amp;#116;&amp;#98;&amp;#114;&amp;#97;&amp;#105;&amp;#110;&amp;#46;&amp;#111;&amp;#114;&amp;#103;&quot;&gt;Andreas Gohr&lt;/a&gt;&lt;br/&gt;
Displays information about various DokuWiki internals&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://www.dokuwiki.org/plugin:keyboard&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:keyboard&quot; rel=&quot;ugc nofollow noopener&quot;&gt;keyboard&lt;/a&gt; &lt;em&gt;2023-02-23&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#111;&amp;#115;&amp;#100;&amp;#64;&amp;#102;&amp;#111;&amp;#111;&amp;#115;&amp;#101;&amp;#108;&amp;#46;&amp;#110;&amp;#101;&amp;#116;&quot; class=&quot;mail&quot; title=&quot;&amp;#111;&amp;#115;&amp;#100;&amp;#64;&amp;#102;&amp;#111;&amp;#111;&amp;#115;&amp;#101;&amp;#108;&amp;#46;&amp;#110;&amp;#101;&amp;#116;&quot;&gt;Gina Häußge&lt;/a&gt;&lt;br/&gt;
The keyboard plugin provides a combined syntax and action plugin in order to markup text as keyboard keys, similar to (and making use of) the existing (X)HTML tag &amp;lt;kbd&amp;gt;…&amp;lt;/kbd&amp;gt;. A quick button for the markup is automatically inserted into the toolbar of the edit form.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://www.dokuwiki.org/plugin:lastmod&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://www.dokuwiki.org/plugin:lastmod&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Lastmod Plugin&lt;/a&gt; &lt;em&gt;2016-02-03&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#100;&amp;#101;&amp;#118;&amp;#101;&amp;#108;&amp;#111;&amp;#112;&amp;#64;&amp;#100;&amp;#105;&amp;#101;&amp;#112;&amp;#108;&amp;#111;&amp;#101;&amp;#103;&amp;#101;&amp;#114;&amp;#115;&amp;#46;&amp;#100;&amp;#101;&quot; class=&quot;mail&quot; title=&quot;&amp;#100;&amp;#101;&amp;#118;&amp;#101;&amp;#108;&amp;#111;&amp;#112;&amp;#64;&amp;#100;&amp;#105;&amp;#101;&amp;#112;&amp;#108;&amp;#111;&amp;#101;&amp;#103;&amp;#101;&amp;#114;&amp;#115;&amp;#46;&amp;#100;&amp;#101;&quot;&gt;Dennis Ploeger&lt;/a&gt;&lt;br/&gt;
Displays the timestamp of the last modification of the current or another page.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://www.dokuwiki.org/plugin:log&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://www.dokuwiki.org/plugin:log&quot; rel=&quot;ugc nofollow noopener&quot;&gt;log plugin&lt;/a&gt; &lt;em&gt;2019-02-27&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#100;&amp;#111;&amp;#107;&amp;#117;&amp;#119;&amp;#105;&amp;#107;&amp;#105;&amp;#64;&amp;#99;&amp;#111;&amp;#115;&amp;#109;&amp;#111;&amp;#99;&amp;#111;&amp;#100;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot; class=&quot;mail&quot; title=&quot;&amp;#100;&amp;#111;&amp;#107;&amp;#117;&amp;#119;&amp;#105;&amp;#107;&amp;#105;&amp;#64;&amp;#99;&amp;#111;&amp;#115;&amp;#109;&amp;#111;&amp;#99;&amp;#111;&amp;#100;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot;&gt;Adrian Lang&lt;/a&gt;&lt;br/&gt;
Provide simple logs&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://www.dokuwiki.org/plugin:note&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:note&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Note Plugin&lt;/a&gt; &lt;em&gt;2024-04-15&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#99;&amp;#111;&amp;#110;&amp;#116;&amp;#114;&amp;#105;&amp;#98;&amp;#64;&amp;#97;&amp;#110;&amp;#97;&amp;#101;&amp;#108;&amp;#46;&amp;#101;&amp;#117;&quot; class=&quot;mail&quot; title=&quot;&amp;#99;&amp;#111;&amp;#110;&amp;#116;&amp;#114;&amp;#105;&amp;#98;&amp;#64;&amp;#97;&amp;#110;&amp;#97;&amp;#101;&amp;#108;&amp;#46;&amp;#101;&amp;#117;&quot;&gt;Anael Mobilia&lt;/a&gt;&lt;br/&gt;
Add Note/Important/Tip/Warning Capability (DIV+CSS box)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://www.dokuwiki.org/plugin:nspages&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://www.dokuwiki.org/plugin:nspages&quot; rel=&quot;ugc nofollow noopener&quot;&gt;nspages plugin&lt;/a&gt; &lt;em&gt;2024-11-22&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#103;&amp;#117;&amp;#105;&amp;#108;&amp;#108;&amp;#97;&amp;#117;&amp;#109;&amp;#101;&amp;#46;&amp;#116;&amp;#117;&amp;#114;&amp;#114;&amp;#105;&amp;#64;&amp;#103;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#46;&amp;#99;&amp;#111;&amp;#109;&quot; class=&quot;mail&quot; title=&quot;&amp;#103;&amp;#117;&amp;#105;&amp;#108;&amp;#108;&amp;#97;&amp;#117;&amp;#109;&amp;#101;&amp;#46;&amp;#116;&amp;#117;&amp;#114;&amp;#114;&amp;#105;&amp;#64;&amp;#103;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#46;&amp;#99;&amp;#111;&amp;#109;&quot;&gt;Guillaume Turri&lt;/a&gt;&lt;br/&gt;
Presents a toc of the selected namespace using &amp;lt;nspages&amp;gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://www.dokuwiki.org/plugin:NumberedHeadings&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:NumberedHeadings&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Numbered Headings&lt;/a&gt; &lt;em&gt;2023-09-12&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#115;&amp;#97;&amp;#104;&amp;#97;&amp;#114;&amp;#97;&amp;#46;&amp;#115;&amp;#97;&amp;#116;&amp;#111;&amp;#115;&amp;#104;&amp;#105;&amp;#64;&amp;#103;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#46;&amp;#99;&amp;#111;&amp;#109;&quot; class=&quot;mail&quot; title=&quot;&amp;#115;&amp;#97;&amp;#104;&amp;#97;&amp;#114;&amp;#97;&amp;#46;&amp;#115;&amp;#97;&amp;#116;&amp;#111;&amp;#115;&amp;#104;&amp;#105;&amp;#64;&amp;#103;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#46;&amp;#99;&amp;#111;&amp;#109;&quot;&gt;Satoshi Sahara&lt;/a&gt;&lt;br/&gt;
Prepend tiered numbers as indexes for hierarchical headings&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;http://dokuwiki.org/plugin:orphanswanted&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://dokuwiki.org/plugin:orphanswanted&quot; rel=&quot;ugc nofollow noopener&quot;&gt;orphanswanted plugin&lt;/a&gt; &lt;em&gt;2023-05-30&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#100;&amp;#111;&amp;#107;&amp;#117;&amp;#119;&amp;#105;&amp;#107;&amp;#105;&amp;#64;&amp;#108;&amp;#117;&amp;#112;&amp;#111;&amp;#52;&amp;#57;&amp;#46;&amp;#100;&amp;#101;&quot; class=&quot;mail&quot; title=&quot;&amp;#100;&amp;#111;&amp;#107;&amp;#117;&amp;#119;&amp;#105;&amp;#107;&amp;#105;&amp;#64;&amp;#108;&amp;#117;&amp;#112;&amp;#111;&amp;#52;&amp;#57;&amp;#46;&amp;#100;&amp;#101;&quot;&gt;Doug Edmunds, Cyrille37, Federico Ariel Castagnini, Andy Webber, Matthias Schulte, Christian Paul, alexdraconian&lt;/a&gt;&lt;br/&gt;
Display Orphans, Wanteds and Valid link tables&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://www.dokuwiki.org/plugin:pagelist&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:pagelist&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Pagelist Plugin&lt;/a&gt; &lt;em&gt;2023-08-27&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#109;&amp;#105;&amp;#99;&amp;#104;&amp;#97;&amp;#101;&amp;#108;&amp;#64;&amp;#99;&amp;#111;&amp;#110;&amp;#116;&amp;#101;&amp;#110;&amp;#116;&amp;#45;&amp;#115;&amp;#112;&amp;#97;&amp;#99;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot; class=&quot;mail&quot; title=&quot;&amp;#109;&amp;#105;&amp;#99;&amp;#104;&amp;#97;&amp;#101;&amp;#108;&amp;#64;&amp;#99;&amp;#111;&amp;#110;&amp;#116;&amp;#101;&amp;#110;&amp;#116;&amp;#45;&amp;#115;&amp;#112;&amp;#97;&amp;#99;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot;&gt;Matthias Schulte, Michael Hamann, Michael Klier, Gina Haeussge&lt;/a&gt;&lt;br/&gt;
Lists pages in a nice formatted way&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://www.dokuwiki.org/plugin:pagequery&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:pagequery&quot; rel=&quot;ugc nofollow noopener&quot;&gt;PageQuery Plugin&lt;/a&gt; &lt;em&gt;2025-03-04&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#109;&amp;#112;&amp;#114;&amp;#105;&amp;#110;&amp;#115;&amp;#64;&amp;#117;&amp;#115;&amp;#101;&amp;#114;&amp;#115;&amp;#46;&amp;#115;&amp;#102;&amp;#46;&amp;#110;&amp;#101;&amp;#116;&quot; class=&quot;mail&quot; title=&quot;&amp;#109;&amp;#112;&amp;#114;&amp;#105;&amp;#110;&amp;#115;&amp;#64;&amp;#117;&amp;#115;&amp;#101;&amp;#114;&amp;#115;&amp;#46;&amp;#115;&amp;#102;&amp;#46;&amp;#110;&amp;#101;&amp;#116;&quot;&gt;Mark C. Prins, previously Symon Bent&lt;/a&gt;&lt;br/&gt;
Search for (fulltext) and list wiki pages, sorted and optionally grouped by name, date, creator, abc, etc. in columns. Insert the pagequery markup wherever you want your list to appear.  E.g.{{pagequery&amp;gt;[query;fulltext;sort=key:direction,key2:direction;group;limit=??;cols=?;inwords;proper]}} [..] = optional&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://www.dokuwiki.org/plugin:tabbox&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:tabbox&quot; rel=&quot;ugc nofollow noopener&quot;&gt;tabbox plugin&lt;/a&gt; &lt;em&gt;2018-04-29&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#100;&amp;#111;&amp;#107;&amp;#117;&amp;#119;&amp;#105;&amp;#107;&amp;#105;&amp;#64;&amp;#99;&amp;#111;&amp;#115;&amp;#109;&amp;#111;&amp;#99;&amp;#111;&amp;#100;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot; class=&quot;mail&quot; title=&quot;&amp;#100;&amp;#111;&amp;#107;&amp;#117;&amp;#119;&amp;#105;&amp;#107;&amp;#105;&amp;#64;&amp;#99;&amp;#111;&amp;#115;&amp;#109;&amp;#111;&amp;#99;&amp;#111;&amp;#100;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot;&gt;Andreas Gohr&lt;/a&gt;&lt;br/&gt;
Insert a tabbed box in a page&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://www.dokuwiki.org/plugin:tag&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:tag&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Tag Plugin&lt;/a&gt; &lt;em&gt;2023-10-17&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#109;&amp;#105;&amp;#99;&amp;#104;&amp;#97;&amp;#101;&amp;#108;&amp;#64;&amp;#99;&amp;#111;&amp;#110;&amp;#116;&amp;#101;&amp;#110;&amp;#116;&amp;#45;&amp;#115;&amp;#112;&amp;#97;&amp;#99;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot; class=&quot;mail&quot; title=&quot;&amp;#109;&amp;#105;&amp;#99;&amp;#104;&amp;#97;&amp;#101;&amp;#108;&amp;#64;&amp;#99;&amp;#111;&amp;#110;&amp;#116;&amp;#101;&amp;#110;&amp;#116;&amp;#45;&amp;#115;&amp;#112;&amp;#97;&amp;#99;&amp;#101;&amp;#46;&amp;#100;&amp;#101;&quot;&gt;Michael Hamann, Gina Häussge, Christopher Smith, Michael Klier, Esther Brunner&lt;/a&gt;&lt;br/&gt;
tag wiki pages&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://www.dokuwiki.org/plugin:todo&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:todo&quot; rel=&quot;ugc nofollow noopener&quot;&gt;ToDo&lt;/a&gt; &lt;em&gt;2025-08-26&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#100;&amp;#111;&amp;#107;&amp;#117;&amp;#119;&amp;#105;&amp;#107;&amp;#105;&amp;#64;&amp;#115;&amp;#112;&amp;#114;&amp;#111;&amp;#115;&amp;#115;&amp;#101;&amp;#110;&amp;#119;&amp;#97;&amp;#110;&amp;#110;&amp;#101;&amp;#46;&amp;#97;&amp;#116;&amp;#44;&amp;#32;&amp;#109;&amp;#97;&amp;#114;&amp;#103;&amp;#64;&amp;#114;&amp;#122;&amp;#46;&amp;#116;&amp;#117;&amp;#45;&amp;#99;&amp;#108;&amp;#97;&amp;#117;&amp;#115;&amp;#116;&amp;#104;&amp;#97;&amp;#108;&amp;#46;&amp;#100;&amp;#101;&amp;#44;&amp;#32;&amp;#100;&amp;#101;&amp;#118;&amp;#101;&amp;#108;&amp;#111;&amp;#112;&amp;#64;&amp;#119;&amp;#101;&amp;#105;&amp;#110;&amp;#109;&amp;#101;&amp;#105;&amp;#115;&amp;#116;&amp;#101;&amp;#114;&amp;#46;&amp;#111;&amp;#114;&amp;#103;&quot; class=&quot;mail&quot; title=&quot;&amp;#100;&amp;#111;&amp;#107;&amp;#117;&amp;#119;&amp;#105;&amp;#107;&amp;#105;&amp;#64;&amp;#115;&amp;#112;&amp;#114;&amp;#111;&amp;#115;&amp;#115;&amp;#101;&amp;#110;&amp;#119;&amp;#97;&amp;#110;&amp;#110;&amp;#101;&amp;#46;&amp;#97;&amp;#116;&amp;#44;&amp;#32;&amp;#109;&amp;#97;&amp;#114;&amp;#103;&amp;#64;&amp;#114;&amp;#122;&amp;#46;&amp;#116;&amp;#117;&amp;#45;&amp;#99;&amp;#108;&amp;#97;&amp;#117;&amp;#115;&amp;#116;&amp;#104;&amp;#97;&amp;#108;&amp;#46;&amp;#100;&amp;#101;&amp;#44;&amp;#32;&amp;#100;&amp;#101;&amp;#118;&amp;#101;&amp;#108;&amp;#111;&amp;#112;&amp;#64;&amp;#119;&amp;#101;&amp;#105;&amp;#110;&amp;#109;&amp;#101;&amp;#105;&amp;#115;&amp;#116;&amp;#101;&amp;#114;&amp;#46;&amp;#111;&amp;#114;&amp;#103;&quot;&gt;Leo Eibler, Christian Marg, Markus Gschwendt, Robert Weinmeister&lt;/a&gt;&lt;br/&gt;
Create a checkbox based todo list with optional user assignment (basic syntax: &amp;lt;todo&amp;gt;This is a ToDo&amp;lt;/todo&amp;gt;). It can also be used as a lightweight task list management system.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;a href=&quot;https://www.dokuwiki.org/plugin:wrap&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:wrap&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Wrap Plugin&lt;/a&gt; &lt;em&gt;2023-08-13&lt;/em&gt; by &lt;a href=&quot;mailto:&amp;#97;&amp;#110;&amp;#105;&amp;#107;&amp;#97;&amp;#64;&amp;#115;&amp;#101;&amp;#108;&amp;#102;&amp;#116;&amp;#104;&amp;#105;&amp;#110;&amp;#107;&amp;#101;&amp;#114;&amp;#46;&amp;#111;&amp;#114;&amp;#103;&quot; class=&quot;mail&quot; title=&quot;&amp;#97;&amp;#110;&amp;#105;&amp;#107;&amp;#97;&amp;#64;&amp;#115;&amp;#101;&amp;#108;&amp;#102;&amp;#116;&amp;#104;&amp;#105;&amp;#110;&amp;#107;&amp;#101;&amp;#114;&amp;#46;&amp;#111;&amp;#114;&amp;#103;&quot;&gt;Anika Henke&lt;/a&gt;&lt;br/&gt;
Universal plugin which combines functionalities of many other plugins. Wrap wiki text inside containers (divs or spans) and give them a class (choose from a variety of preset classes), a width and/or a language with its associated text direction.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Syntax Plugins&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;syntax_plugins&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:9,&amp;quot;secid&amp;quot;:34,&amp;quot;range&amp;quot;:&amp;quot;21100-&amp;quot;} --&gt;&lt;div class=&quot;footnotes&quot;&gt;
&lt;div class=&quot;fn&quot;&gt;&lt;sup&gt;&lt;a href=&quot;#fnt__1&quot; id=&quot;fn__1&quot; class=&quot;fn_bot&quot;&gt;1)&lt;/a&gt;&lt;/sup&gt; 
&lt;div class=&quot;content&quot;&gt;This is a footnote&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;fn&quot;&gt;&lt;sup&gt;&lt;a href=&quot;#fnt__2&quot; id=&quot;fn__2&quot; class=&quot;fn_bot&quot;&gt;2)&lt;/a&gt;&lt;/sup&gt; 
&lt;div class=&quot;content&quot;&gt;when the aspect ratio of the given width and height doesn&amp;#039;t match that of the image, it will be cropped to the new ratio before resizing&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 04 Mar 2025 06:44:15 +0000</pubDate>
        </item>
        <item>
            <title>Radio Update - QRP etc</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:blog:radio_update_-_qrp_etc</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;radio_update_-_qrp_etc&quot;&gt;Radio Update - QRP etc&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
After setting up a basic station in the small “office” - just one rig and my keys - I decided to make a “real” hamshack with more radios, some tools, test equipment etc.
&lt;/p&gt;

&lt;p&gt;
I added two shelves above the desk to hold radios, PSUs, &amp;#039;scope, tools etc. I&amp;#039;ve now got a “one-desk shack” that can be used for operating on air and building &amp;amp; repairing equipment (on a small scale)
&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:blog:shack_now.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:shack_now.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=8493af&amp;amp;media=public:blog:shack_now.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
I found that the stock mic for my FT891 was faulty - the mic element is open-circuit - so I bought a Heil HMM fist mic and spent some time setting up the EQ for a reasonable “communications” quality audio. I&amp;#039;m not naturally a &amp;#039;phone operator, so I&amp;#039;ll not be having lots of “ragchew” QSOs, and “communications quality” is all I&amp;#039;m aiming for - to be audible - not quite as extreme as a Clansman but with enough HF emphasis, and enough compression to cut through the noise.
&lt;/p&gt;

&lt;p&gt;
I though briefly about limiting myself to SSB for a few months, to get used to talking on the radio, but that&amp;#039;s NEVER going to happen.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Radio Update - QRP etc&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;radio_update_-_qrp_etc&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;1-1073&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;the_qmx&quot;&gt;The QMX&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Then I found a box with an unbuilt &lt;a href=&quot;https://qrp-labs.com/qmx&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://qrp-labs.com/qmx&quot; rel=&quot;ugc nofollow noopener&quot;&gt; QRPLabs &amp;quot;QMX&amp;quot; kit&lt;/a&gt;! I&amp;#039;d bought it in August 2023, and hadn&amp;#039;t built it. I have a QCX-mini for 40m and it&amp;#039;s a great little radio, and I thought the QMX would be the next obvious step. Then I forgot about it.
&lt;/p&gt;

&lt;p&gt;
So, on Saturday I got the box, opened it. Printed out the Assembly Manual. Watched Hans&amp;#039;s You Tube video highlighting the pitfalls. And got started.
&lt;/p&gt;

&lt;p&gt;
The first thing was to check if my early (Rev 1) board has the “Power Board Short” issue - and it did - so I got out my hot-air station and moved the MOSFET a mm or two to remove the short.
&lt;/p&gt;

&lt;p&gt;
Then down to business…. building.
&lt;/p&gt;

&lt;p&gt;
I did it all in one day, with the occasional break for food, dog walk, etc….. The most challenging thing was winding the 2 binocular ferrite transformers - the PA output transformer and the SWR brigge transformer. The “normal” toroid cores were all straightforward. 
&lt;/p&gt;

&lt;p&gt;
I built it for 9V operation (this determines the form of the PA output transformer).
&lt;/p&gt;

&lt;p&gt;
I worked first time. Which is amazing given the small size and relatively dense component layout. 
&lt;/p&gt;

&lt;p&gt;
On a PSU set for 9V I get at least 5W on all bands. I made a string of 4 x 1N4001 diodes to drop ~2.4V and powered it from the normal shack supply. And used the handy config option “Limit PA Volts” to set a limit of 9.5V. This gives a comfortable 5W on all bands without any risk of overheating the finals etc.
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;ve used it on WSPR - both via WSJT-X and using the internal standalone WSPR Beacon mode. 
&lt;/p&gt;

&lt;p&gt;
I upgraded to the current beta firmware 1_04_002 and the main change seems to be the removal of the Beacon mode and its replacement with “Virtual U3S” - a mimic of the functionality of the U3S multi-function beacon TX. Currently only WSPR is supported - but the other modes will follow. This works well - and allows a “schedule” to change frequency / Mode etc on sequential TX periods.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;The QMX&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;the_qmx&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;1074-2991&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;back_to_qrp_cw&quot;&gt;Back to QRP CW&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Then I had to try it on CW. 
&lt;/p&gt;

&lt;p&gt;
My first CW QSO was on 30m with Rob, OK7SX, on Wednesday 29th.
&lt;/p&gt;

&lt;p&gt;
Last night I had 3 x CW QSOs : F/FK8IK (Mic nr Vichy), IK3/UY7LA (Alex, nr Venice) on 30m and the icing on the cake was a chat with Will GM0HKS on 40m.
&lt;/p&gt;

&lt;p&gt;
Will was using a K2 at 5W, but did mention that he still has the “wee K1” - that&amp;#039;s &lt;strong&gt;my&lt;/strong&gt; old K1 that I built back in 2003. I sold it (and deeply regret doing so) and it ended up in Will&amp;#039;s care. We&amp;#039;ve had a few QSOs over the years and he never fails to mention the “wee K1”.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Back to QRP CW&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;back_to_qrp_cw&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;2992-3541&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;the_next_step&quot;&gt;The next step&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
I&amp;#039;ve been thinking about where I want to go with radio recently. 
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;What actually gives me pleasure?&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;What can I do to avoid the aspects of the hobby that spoil it for me?&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
Building and using the QMX reminded me of the fun I got with I first built the “wee K1” in 2003. 
&lt;/p&gt;

&lt;p&gt;
I hadn&amp;#039;t been active in the hobby for many years, my log book shows a couple of FM contacts in 2002 with locals on the repeater, and prior to that I was using Packet Radio in 1994, while still living in Huddersfield and working at Holme Moss. The last time I&amp;#039;d actually been on HF CW was while I was at UMIST, in 1985 using the club station.
&lt;/p&gt;

&lt;p&gt;
I built the K1 in 2003 and went CW crazy!
&lt;/p&gt;

&lt;p&gt;
The basic chronology :
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; pre-2003&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; 1983  - first licensed as G4SLV, still at school. Used 10mFM and 2m CW before going away to University in 1984&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; 1984 - 1988 - at UMIST, and active in the Radio Society. Used club station for HF CW, as well as 70cm ATV and “other” things&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; 1988 - 1995 - not much radio - some Packet on 2m&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; 1995 - moved to Wick. Some HF SWL using my old AR88D. No “ham” radio&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; 1999 - moved to Shetland. Some 2m activity on local repeater. Some HF SWL with AR88D and AR7030.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; August 2003 - K1 - 2 bands - 40m / 20m - lots of QSOs. A very active phase on the hobby on-the-air.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Some time in 2004 - K1 - added 4 band board &amp;amp; concentrated on 40/30/20&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Some time in 2004 - IC706MK2G - all bands - 100W - K1 use still frequent - but the lure of 100W was strong for a while - plus digimodes (PSK31 etc)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; November 2004 - 60m use began - mostly SSB - K1 still in use for QRP CW&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 2007 - K2 added to the shack&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; July 2007 - Start of 500kHz “experiment”. All HF working stopped and lots of time spent with MF - Sold K1 &amp;amp; K2 and IC706. Bought IC718&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Jan 2009 - Back to HF, mix of QRO and QRP. Mostly CW, Some SSB and digimodes&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Nov 2010 - Back to 500kHz, with some HF mixed in.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Jan 2011 - Back to HF&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
At some point during the MF phase I sold the K1 and K2. 
&lt;/p&gt;

&lt;p&gt;
From 2012 I spent most of my time on 60m using digimodes, mostly Olivia. I still dabbled on HF CW. Mostly QRO. Bought IC7200 to add to the Shack.
&lt;/p&gt;

&lt;p&gt;
The three main phases were 
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; QRP CW on 40m/20m with K1&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 500kHz CW (and some WSPR etc)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 60m Digimodes&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Looking at my logbooks I can tell that I really delved deeply into QRP CW with the K1. I worked many, many people in many, many places and had a &lt;strong&gt;lot&lt;/strong&gt; of fun with such a simple little radio.
&lt;/p&gt;

&lt;p&gt;
The K2 was fun to build, but it got little use - I remember preferring the “wee K1” to its big brother. The 500kHz experiment in 2007 intervened and pushed the QRP HF rigs to the side and they were sold to fund “more important” items.
&lt;/p&gt;

&lt;p&gt;
On 60m I had a lot of fun, learning a lot about the propagation on the band, and about the different behaviour of the various digimodes.
&lt;/p&gt;

&lt;p&gt;
I came back to HF CW a few times - but nothing sparked joy like those early times with the K1.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;The next step&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;the_next_step&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;3542-6481&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;the_future&quot;&gt;The future?&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Building the QMX has shown me that it&amp;#039;s possible to have fun building and then have more fun using simple QRP radios. And this might be the push I need to get back into QRP. 
&lt;/p&gt;

&lt;p&gt;
It&amp;#039;s more challenging these days - as most people in urban environments have raised noise levels and struggle to hear “normal weak signals” - but there are still people actively using QRP, and only QRP, to fully enjoy the hobby.
&lt;/p&gt;

&lt;p&gt;
If I can&amp;#039;t work someone due to my weak signal, then so be it… move on… there&amp;#039;ll always be someone else to work.
&lt;/p&gt;

&lt;p&gt;
One area I&amp;#039;ve never tried is QRP SSB. So I&amp;#039;ve turned the power on my FT891 (the “SSB rig”) down to 10 watts. I&amp;#039;ll give it a try some time. But once more my focus is back to CW. And now with an additional slant - QRP, and only QRP.
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;ll write more as I explore.
&lt;/p&gt;

&lt;p&gt;
My G-QRP Club membership number is 2377, dating back to around 1984…. so I&amp;#039;ve been at it a long time, in fits and starts.
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:cw&amp;amp;do=showtag&amp;amp;tag=cw&quot; class=&quot;wikilink1&quot; title=&quot;tag:cw&quot; rel=&quot;tag&quot;&gt;cw&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:qrp&amp;amp;do=showtag&amp;amp;tag=qrp&quot; class=&quot;wikilink1&quot; title=&quot;tag:qrp&quot; rel=&quot;tag&quot;&gt;qrp&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:qmx&amp;amp;do=showtag&amp;amp;tag=qmx&quot; class=&quot;wikilink1&quot; title=&quot;tag:qmx&quot; rel=&quot;tag&quot;&gt;qmx&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;The future?&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;the_future&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;6482-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 07 Jul 2026 09:05:14 +0000</pubDate>
        </item>
        <item>
            <title>LF15C - firmware for the DM15</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:3rd:lf15c</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:3rd:start&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:3rd:start&quot; data-wiki-id=&quot;public:calculator:3rd:start&quot;&gt;3rd Party Firmware&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;lf15c_-_firmware_for_the_dm15&quot;&gt;LF15C - firmware for the DM15&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt; A 3rd Party Firmware for the DM15 family of calculators &lt;/strong&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;LF15C - firmware for the DM15&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;lf15c_-_firmware_for_the_dm15&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;13-122&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;overview_of_lf15c&quot;&gt;Overview of LF15C&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Full development history in HP Forum thread &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046.html&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046.html&quot; rel=&quot;ugc nofollow noopener&quot;&gt;New firmware for the Swissmicros DM15L&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; LF15C is written by HP Museum Forum member &lt;strong&gt;jebedeo&lt;/strong&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; It is a replacement firmware for the Swiss Micros &lt;a href=&quot;https://www.swissmicros.com/product/dm15c&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.swissmicros.com/product/dm15c&quot; rel=&quot;ugc nofollow noopener&quot;&gt; DM15C&lt;/a&gt; &amp;amp; &lt;a href=&quot;https://www.swissmicros.com/product/dm15l&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.swissmicros.com/product/dm15l&quot; rel=&quot;ugc nofollow noopener&quot;&gt; DM15L&lt;/a&gt; calculators.&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; also runs on the original &lt;a href=&quot;https://www.swissmicros.com/product/dm15&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.swissmicros.com/product/dm15&quot; rel=&quot;ugc nofollow noopener&quot;&gt; DM15&lt;/a&gt; credit card version no longer in production &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; It is not an emulation or an exact simulation of the HP15C&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; It runs directly on the hardware without an emulation layer.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; It is very much &lt;strong&gt;faster&lt;/strong&gt; than the stock firmware&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; It has full-time complex number support&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; including display of the full real &amp;amp; imaginary parts on the LCD together &lt;code&gt;3.345 +22.356 i&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; It has a 4-level stack with &lt;strong&gt;full-time 2-level display&lt;/strong&gt; of &lt;code&gt;X&lt;/code&gt; and &lt;code&gt;Y&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; All the main HP15C functions are included &lt;strong&gt;with the exception of Matrix support&lt;/strong&gt; &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Acalculator%3A3rd%3Alf15c&amp;amp;media=public:calculator:info:img_20260130_092509.jpg&quot; class=&quot;media&quot; title=&quot;public:calculator:info:img_20260130_092509.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=0e1825&amp;amp;media=public:calculator:info:img_20260130_092509.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Overview of LF15C&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;overview_of_lf15c&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;123-1211&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;installing_lf15c&quot;&gt;Installing LF15C&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Installing LF15C&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;installing_lf15c&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1212-1242&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;dm15l_running_v32_or_earlier_linux&quot;&gt;DM15L running V32 or earlier (Linux)&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;sudo lpc21isp LF15C_250408.hex /dev/ttyUSB0 115200 1200&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Press hidden &lt;code&gt;reset&lt;/code&gt; button&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; firmware is flashed&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; press hidden &lt;code&gt;reset&lt;/code&gt; button to start new firmware&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DM15L running V32 or earlier (Linux)&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dm15l_running_v32_or_earlier_linux&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;1243-1472&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;dm15l_running_v33_or_later_linux&quot;&gt;DM15L running V33 or later (Linux)&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;plugin_note noteclassic&quot;&gt;This behaviour isn&amp;#039;t consistent!
&lt;p&gt;
I&amp;#039;ve seen it be possible to flash and run LF15C directly after DM15 V34 with no problems.
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;ve also seen the problems described below, requiring downgrade to V32.
&lt;/p&gt;

&lt;p&gt;
Just bear it in mind if you have problems starting LF15C after flashing it on top of V33-onwards
&lt;/p&gt;

&lt;/div&gt;
&lt;p&gt;
The new Swiss Micros firmware V33 changes the behaviour of the bootloader, and it appears to be impossible to flash 3rd party firmware when the calculator is running V33 or later. 
&lt;/p&gt;

&lt;p&gt;
The firmware appears to flash correctly, but on &lt;code&gt;reset&lt;/code&gt; it will not start
&lt;/p&gt;

&lt;p&gt;
The solution is to downgrade to &lt;strong&gt;V32&lt;/strong&gt; first, and then install &lt;strong&gt;LF15C&lt;/strong&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;sudo lpc21isp DM15_M1B_32.hex /dev/ttyUSB0 115200 1200&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; press hidden &lt;code&gt;reset&lt;/code&gt; button&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; firmware is flashed&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; press hidden &lt;code&gt;reset&lt;/code&gt; button to start V32 firmware&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;sudo lpc21isp LF15C_250408.hex /dev/ttyUSB0 115200 1200&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; press hidden &lt;code&gt;reset&lt;/code&gt; button&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; firmware is flashed&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; press hidden &lt;code&gt;reset&lt;/code&gt; button to start new LF15C firmware&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DM15L running V33 or later (Linux)&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dm15l_running_v33_or_later_linux&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1473-2533&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;for_installation_using_windows&quot;&gt;For installation using Windows&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; The Swiss Micros &lt;strong&gt;Voyager Update Tool&lt;/strong&gt; will work to install LF15C&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Do not use the new Web Update tool&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; The same caveats regarding installation after using the Swiss Micros V33 apply&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;strong&gt;First downgrade to V32&lt;/strong&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Then flash with LF15C&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; You need to use the hidden &lt;code&gt;reset&lt;/code&gt; button in all cases.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;For installation using Windows&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;for_installation_using_windows&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;2534-2900&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;files&quot;&gt;Files&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;

&lt;h4 id=&quot;download_from_here&quot;&gt;Download from here&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;div class=&quot;table sectionedit8&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Latest LF15C firmware &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_250408.hex&quot; class=&quot;media mediafile mf_hex&quot; title=&quot;public:calculator:info:lf15c_250408.hex (175.8 KB)&quot;&gt;lf15c_250408.hex&lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;V32 firmware&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:dm15_m1b_32.hex&quot; class=&quot;media mediafile mf_hex&quot; title=&quot;public:calculator:info:dm15_m1b_32.hex (117.1 KB)&quot;&gt;dm15_m1b_32.hex&lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Swiss Micros Voyager Windows Update Tool&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:voyage_firmware_tool.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:voyage_firmware_tool.zip (368.8 KB)&quot;&gt;voyage_firmware_tool.zip&lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;2947-3180&amp;quot;} --&gt;
&lt;/div&gt;

&lt;h4 id=&quot;download_from_hp_forum_swiss_micros&quot;&gt;Download from HP Forum &amp;amp; Swiss Micros&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; The Firmware files are available from the HP Forum Thread for this firmware - at the foot of &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-173574.html#pid173574&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-173574.html#pid173574&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Post #1&lt;/a&gt; &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; the version attached to Post #1 is always the latest available. &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; At present (Jan &amp;#039;26) there is also a beta version which is being used to test various compiler optimizations, and is buggy and best avoided.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Swiss Micros &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; V32 Firmware &lt;a href=&quot;https://technical.swissmicros.com/voyager/firmware/old/DM15_M1B_32.hex&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://technical.swissmicros.com/voyager/firmware/old/DM15_M1B_32.hex&quot; rel=&quot;ugc nofollow noopener&quot;&gt; DM15_M1B_32.hex&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Voyager Update Tool &lt;a href=&quot;https://technical.swissmicros.com/voyager/firmware/Voyage_Firmware_Tool.zip&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://technical.swissmicros.com/voyager/firmware/Voyage_Firmware_Tool.zip&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Voyager Firmware Update Tool&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Files&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;files&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;2901-3897&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit9&quot; id=&quot;lf15c_general_info&quot;&gt;LF15C General Info&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Full time complex stack shows real &amp;amp; imaginary parts together as e.g. Rectangular: &lt;code&gt;3.45 +4.34 i&lt;/code&gt; or Polar: &lt;code&gt;5.5442 ∠51.5177&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; maximum number range approx. &lt;strong&gt;±1.797 x 10&lt;sup&gt;308&lt;/sup&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; largest integer factorial &lt;code&gt;170&lt;/code&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;x!&lt;/kbd&gt; = &lt;code&gt;7.2574 E306&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; smallest positive number approx. &lt;strong&gt;1.00 10&lt;sup&gt;-323&lt;/sup&gt;&lt;/strong&gt; before &lt;code&gt;0&lt;/code&gt; is returned&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Precision &lt;strong&gt;15&lt;/strong&gt; decimal places&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;strong&gt;π&lt;/strong&gt; displays as &lt;strong&gt;3.14159265358979&lt;/strong&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;strong&gt;e&lt;/strong&gt; displays as &lt;strong&gt;2.71828182845905&lt;/strong&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Fingerprinting  - see &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:benchmarking:start#fingerprinting&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:benchmarking:start&quot; data-wiki-id=&quot;public:calculator:benchmarking:start&quot;&gt;Fingerprinting&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;9&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;SIN&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;COS&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;TAN&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ATAN&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ACOS&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ASIN&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;9&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;-&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
 &lt;strong&gt;-1.6584 x10 &lt;sup&gt;-10&lt;/sup&gt;&lt;/strong&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; User Programs can be saved/loaded via USB Serial port using a terminal emulator such as Putty&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; LF15C uses &lt;strong&gt;binary&lt;/strong&gt; floating point representation, rather than the more common BCD.&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; This improves the speed but introduces occasional &lt;em&gt;&lt;strong&gt;small&lt;/strong&gt;&lt;/em&gt; rounding errors&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_d5850fee299d2647c10c431e35c31812_1&quot;&gt;Example (Click to view) &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_d5850fee299d2647c10c431e35c31812_1&quot;&gt;
&lt;p&gt;
Try to add 0.3 to itself twice to make 0.9 and subtract 0.9 from your calculated value
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;0.3&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;+&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;+&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
This shows &lt;code&gt;0.9000&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Now enter 0.9
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;0.9&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
and subtract
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;-&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
gives the answer &lt;code&gt;-1.1102 E-16&lt;/code&gt; instead of &lt;code&gt;0.000&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
A tiny error but visible on certain calculations where the binary cannot accurately represent a decimal fraction…. if you care of an error of the order of 10&lt;sup&gt;-16&lt;/sup&gt;
&lt;/p&gt;

&lt;p&gt;
This error is only significant if you need to multiply very small results of such calculations by very big numbers. 
&lt;/p&gt;

&lt;p&gt;
Most calculations are not affected by the binary representation issues and the benefit of faster calculations more than compensates.
&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;LF15C General Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;lf15c_general_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;3898-5699&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit10&quot; id=&quot;hp15c_functions&quot;&gt;HP15C functions&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Fix / Sci / Eng display formats&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; √x / x&lt;sup&gt;2&lt;/sup&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; e&lt;sup&gt;x&lt;/sup&gt; / Ln&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; 10&lt;sup&gt;x&lt;/sup&gt; / Log&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; y&lt;sup&gt;x&lt;/sup&gt; / %&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; 1/x / Δ%&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Sin / ASin&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Cos / ACos&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Tan / ATan&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Hyperbolics of Sin/Cos/Tan&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; CHS / ABS&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; EEX / π&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Deg / Rad / Grad Angle Mode&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; →H.ms / →H  Conversions&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; →Rad / →Deg Conversions&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; X!&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; integer, non-integer, negative and complex support&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Statistics&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Σ+ two variable accumulation&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; mean&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; standard deviation&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Linear Regression&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; slope / intercept&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; ŷ estimation / r correlation coefficient&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Combinations / Permutations&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Usual 4 level stack manipulations&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Last x&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Roll Down ↓&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Roll Up ↑&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Swap &lt;code&gt;x&lt;/code&gt; ↔ &lt;code&gt;y&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Swap &lt;code&gt;x&lt;/code&gt; ↔ any Storage Register&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;strong&gt;100&lt;/strong&gt; storage registers (numbered 00-99)&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; capable of saving Complex Numbers&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Indirect Register pair I / (i)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Indirect Program Label / Line number addressing via Register I&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Random Number Generator&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Rounding&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Fractional / Integer &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Usual Keystroke Programming features&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; SST/BST&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; LBL&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; LBL A - E&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; LBL &lt;strong&gt;00 - 99&lt;/strong&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level3 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; DSE / ISG&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; including usual loop control indexing&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Logical tests&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Branching&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; GTO&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; GSB&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; RTN&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; PSE&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; R/S&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; SF / CF / FS? &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; 10 user flags for program control&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Solver&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; can be used via a program&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Numerical Integration&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; variable precision via display digit format&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; can be used via a program&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; quick clear of&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Statistical data&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Individual Program&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; All stored Programs&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Storage Registers (0-99, I and (i))&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Full digit mantissa preview&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;HP15C functions&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;hp15c_functions&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;5700-7536&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit11&quot; id=&quot;hp15c_features_not_supported&quot;&gt;HP15C features not supported&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Matrix functions&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; User Mode&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Memory management&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; partitioning between Storage Registers and Program Space is not required or supported&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;HP15C features not supported&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;hp15c_features_not_supported&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;7537-7730&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit12&quot; id=&quot;dm15l_features_not_supported&quot;&gt;DM15L features not supported&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Real Time clock&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Switchable 1-line display option (V33 feature)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; CPU speed switching&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Display Font options&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Adjustable LCD contrast&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Various self-tests&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Conversions &amp;amp; Constants (V33 feature)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DM15L features not supported&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dm15l_features_not_supported&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;7731-7988&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit13&quot; id=&quot;speed_tests&quot;&gt;Speed tests&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Very much faster than stock DM15L firmware … see &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:benchmarking:start&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:benchmarking:start&quot; data-wiki-id=&quot;public:calculator:benchmarking:start&quot;&gt;Benchmarking&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Speed tests&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;speed_tests&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:13,&amp;quot;range&amp;quot;:&amp;quot;7989-8096&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit14&quot; id=&quot;n-queens&quot;&gt;n-Queens&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;table sectionedit15&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Calculator&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Firmware&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Time&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;DM15L&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; V34 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;202 seconds&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;DM42 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;3.23 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;7.30 seconds&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;DM15L*&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;LF15C 250408&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 0.992 seconds&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table1&amp;quot;,&amp;quot;secid&amp;quot;:15,&amp;quot;range&amp;quot;:&amp;quot;8116-8233&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;n-Queens&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;n-queens&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:14,&amp;quot;range&amp;quot;:&amp;quot;8097-8234&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit16&quot; id=&quot;savage&quot;&gt;Savage&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;table sectionedit17&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Calculator&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Firmware&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Time&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;DM15L &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; V34 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 247 seconds &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;DM42 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 3.23&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 14.9 seconds&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;DM15L* &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;LF15C 250408 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 4.008 seconds &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table2&amp;quot;,&amp;quot;secid&amp;quot;:17,&amp;quot;range&amp;quot;:&amp;quot;8253-8378&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Savage&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;savage&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:16,&amp;quot;range&amp;quot;:&amp;quot;8235-8381&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit18&quot; id=&quot;using_lf15c&quot;&gt;Using LF15C&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Using LF15C&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;using_lf15c&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:18,&amp;quot;range&amp;quot;:&amp;quot;8382-8407&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit19&quot; id=&quot;complex_numbers&quot;&gt;Complex Numbers&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; The stack is permanently in &lt;strong&gt;complex mode&lt;/strong&gt; and operates slightly differently to the stock HP15C&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h4 id=&quot;making_manipulating_a_complex_number&quot;&gt;Making &amp;amp; manipulating a complex number&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Press &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;I&lt;/kbd&gt; in normal mode to create &lt;strong&gt;&amp;amp; destroy&lt;/strong&gt; a complex number from ⇔ to &lt;code&gt;y&lt;/code&gt; and &lt;code&gt;x&lt;/code&gt; on the stack.
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_d5850fee299d2647c10c431e35c31812_2&quot;&gt;Example (click to view) &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_d5850fee299d2647c10c431e35c31812_2&quot;&gt;
&lt;p&gt;
&lt;code&gt;y&lt;/code&gt; → Real and &lt;code&gt;x&lt;/code&gt; → Imaginary
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;3&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;4&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;Y: 3.000&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;X: 4_&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;I&lt;/kbd&gt; creates 
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;X: 3.000 +4.000 i&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Press &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;(i)&lt;/kbd&gt; to change &lt;code&gt;x&lt;/code&gt; to its complex conjugate 
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;X: 3.000 -4.000 i&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Press &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Re&amp;lt;&amp;gt;Im&lt;/kbd&gt; to switch Real and Imaginary parts of complex number in &lt;code&gt;x&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;X: -4.000 +3.000 i&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Press &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;I&lt;/kbd&gt; will destroy the complex number back to separate real numbers on the stack. Real → &lt;code&gt;y&lt;/code&gt; and Imaginary → &lt;code&gt;x&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;Y: -4.000&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;X:  3.000&lt;/code&gt;
&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;
Make a pure imaginary number by using &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Re&amp;lt;&amp;gt;Im&lt;/kbd&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_d5850fee299d2647c10c431e35c31812_3&quot;&gt;Example (Click to view) &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_d5850fee299d2647c10c431e35c31812_3&quot;&gt;
&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;3&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;X: 3_&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Re&amp;lt;&amp;gt;Im&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;X: 0.0000 + 3.0000 i &lt;/code&gt;
&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;h4 id=&quot;rectangular_and_polar_modes_for_complex_numbers&quot;&gt;Rectangular and Polar modes for complex numbers&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;  &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;→R&lt;/kbd&gt; and &lt;kbd class=&quot;__keyboard&quot;&gt;g&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;→P&lt;/kbd&gt; do &lt;strong&gt;NOT&lt;/strong&gt; to convert &lt;code&gt;x&lt;/code&gt; and &lt;code&gt;y&lt;/code&gt; stack levels between &lt;code&gt;Rect&lt;/code&gt; and &lt;code&gt;Polar&lt;/code&gt; values as in the HP15C&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;→R&lt;/kbd&gt; and &lt;kbd class=&quot;__keyboard&quot;&gt;→P&lt;/kbd&gt; are &lt;em&gt;&lt;strong&gt;Mode Switching&lt;/strong&gt;&lt;/em&gt; commands for the whole complex stack. &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; When in &lt;code&gt;P&lt;/code&gt;olar mode &lt;strong&gt;ALL&lt;/strong&gt; Complex numbers on the stack are in Magnitude / Angle format.&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; The angle format can be &lt;code&gt;Deg&lt;/code&gt; or &lt;code&gt;Rad&lt;/code&gt; as appropriate&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_d5850fee299d2647c10c431e35c31812_4&quot;&gt;Example (click to view) &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_d5850fee299d2647c10c431e35c31812_4&quot;&gt;
&lt;p&gt;
start in &lt;code&gt;R&lt;/code&gt;ectangular mode and &lt;code&gt;Deg&lt;/code&gt; angle mode
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;3&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;&lt;code&gt;4&lt;/code&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;I&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;3.000 +4.000i&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Convert to &lt;code&gt;P&lt;/code&gt;olar
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;g&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;→P&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;5.000 ∠53.1301&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Convert to &lt;code&gt;Rad&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;g&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;RAD&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;5.000 ∠0.9273&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Convert back to &lt;code&gt;R&lt;/code&gt;ectangular
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;→R&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;3.000 +4.000i&lt;/code&gt;
&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;h4 id=&quot;arithmetic_can_be_done_in_rectangular_or_polar_mode&quot;&gt;Arithmetic can be done in Rectangular or Polar mode.&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Mode can be switched at any time - perhaps switching to &lt;code&gt;R&lt;/code&gt;ectangular to enter a &lt;code&gt;R&lt;/code&gt;ectangular format number, when working in &lt;code&gt;P&lt;/code&gt;olar, and then switching back to &lt;code&gt;P&lt;/code&gt;olar once it&amp;#039;s been entered on the stack..&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Intermediate calculations can be done whatever mode is current.&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; this is unlike the HP15C, where complex arithmetic has to be done in &lt;code&gt;R&lt;/code&gt;ectangular format - and &lt;code&gt;P&lt;/code&gt;olar format numbers must be converted → &lt;code&gt;R&lt;/code&gt; first.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; To confirm the mode in use an annunciator &lt;code&gt;P&lt;/code&gt; is always present when in  &lt;code&gt;P&lt;/code&gt;olar. &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; No &lt;code&gt;P&lt;/code&gt; means &lt;code&gt;R&lt;/code&gt;ectangular mode is active.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_d5850fee299d2647c10c431e35c31812_5&quot;&gt;Example (click to view) &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_d5850fee299d2647c10c431e35c31812_5&quot;&gt;
&lt;p&gt;
&lt;code&gt; (3+4i)  +  (8∠120°)  /  (6-8i) &lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Initially make sure of &lt;code&gt;R&lt;/code&gt; mode:  &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;→R&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
Enter &lt;code&gt;R&lt;/code&gt;ectangular format number
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;3&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;code&gt;4&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;I&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt; 3.0000 +4.0000 i &lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Enter a &lt;code&gt;P&lt;/code&gt;olar format number &lt;code&gt;8 ∠120&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;g&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;→P&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
(display changes to show &lt;code&gt;5.0000 ∠53.1301&lt;/code&gt;)
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;8&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;code&gt;120&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;I&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;Y: 5.0000 ∠53.1301&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;X: 8.0000 ∠120.0000&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
add
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;+&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;X: 10.9739 ∠95.2284&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
enter &lt;code&gt;R&lt;/code&gt;ectangular format for final number in calculation
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;→R&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt; -1.0000 +10.9282 i &lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;6&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;code&gt;8&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;CHS&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;I&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
divide
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;/&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt; X: -0.9343 +0.5757 i &lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Or in &lt;code&gt;P&lt;/code&gt;olar
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;g&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;→P&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt; X: 1.0974 ∠148.3585 &lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
It&amp;#039;s very quick &amp;amp; easy to switch from cartesian to polar and back again mid calculation - whichever mode suits the format of the number you&amp;#039;re entering.
&lt;/p&gt;

&lt;p&gt;
The mathematical function can be done in whichever mode you&amp;#039;re in at the time.
&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Complex Numbers&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;complex_numbers&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:19,&amp;quot;range&amp;quot;:&amp;quot;8408-12202&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit20&quot; id=&quot;other_features&quot;&gt;Other features&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Other features&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;other_features&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:20,&amp;quot;range&amp;quot;:&amp;quot;12203-12233&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit21&quot; id=&quot;indirect_addressing&quot;&gt;Indirect addressing&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Similar features to the standard HP15C, with differences due to increased Program Label numbers
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;indirect_register_pair_i_i&quot;&gt;Indirect Register pair I &amp;amp; (i)&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Indirect Register pair I and (i) work in the usual way
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_d5850fee299d2647c10c431e35c31812_6&quot;&gt;Example (click to view) &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_d5850fee299d2647c10c431e35c31812_6&quot;&gt;
&lt;p&gt;
A number stored in I is used as the register number addressed by (i)
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;23&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;STO&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;I&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;g&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;π&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;STO&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;(i)&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
this puts &lt;code&gt;3.14159…&lt;/code&gt; in register &lt;code&gt;23&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;98&lt;/code&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;STO&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;I&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;123&lt;/code&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;STO&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;(i)&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
this puts &lt;code&gt;123&lt;/code&gt; in register &lt;code&gt;98&lt;/code&gt;.
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;RCL&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;(i)&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;123&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;23&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;STO&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;I&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;RCL&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;(i)&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;3.14159…&lt;/code&gt;
&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;h4 id=&quot;indirect_program_label_addressing&quot;&gt;Indirect Program Label addressing&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
As in the HP15C you can also indirectly address Program Labels using the contents of the &lt;strong&gt;I&lt;/strong&gt; register to point to the label required.
&lt;/p&gt;

&lt;p&gt;
The HP15C allowed 20 numerical Program Labels &lt;code&gt;0&lt;/code&gt; - &lt;code&gt;.9&lt;/code&gt; which meant indirect addressing for Labels &lt;code&gt;A&lt;/code&gt; - &lt;code&gt;E&lt;/code&gt; was done by reference to &lt;code&gt;20&lt;/code&gt; - &lt;code&gt;24&lt;/code&gt; in Register I
&lt;/p&gt;

&lt;p&gt;
LF15C has 100 numerical Program Labels so….
&lt;/p&gt;

&lt;p&gt;
Store &lt;code&gt;00&lt;/code&gt; - &lt;code&gt;99&lt;/code&gt; in &lt;strong&gt;I&lt;/strong&gt; to address numerical Program Labels &lt;code&gt;00&lt;/code&gt; - &lt;code&gt;99&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Store &lt;code&gt;100&lt;/code&gt; - &lt;code&gt;104&lt;/code&gt; &lt;strong&gt;I&lt;/strong&gt; to address Program Labels &lt;code&gt;A&lt;/code&gt; - &lt;code&gt;E&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Using &lt;code&gt;GTO I&lt;/code&gt; or &lt;code&gt;GSB I&lt;/code&gt; in a program will lead to a jump to the Program Label referred to by contents of &lt;strong&gt;Register I&lt;/strong&gt;.
&lt;/p&gt;

&lt;p&gt;
Changing Register &lt;strong&gt;I&lt;/strong&gt;&amp;#039;s contents (e.g. within a program) can then cause the execution of program to branch in different ways - this can be a very powerful mechanism!
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_d5850fee299d2647c10c431e35c31812_7&quot;&gt;Example (click to view) &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_d5850fee299d2647c10c431e35c31812_7&quot;&gt;
&lt;p&gt;
Store 100 (for LBL A) in the indirect Register I
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;100&lt;/code&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;STO&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;I&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
Use the value stored in &lt;code&gt;I&lt;/code&gt; as a Label indirectly by calling it from within a program. 
&lt;/p&gt;

&lt;p&gt;
LBL A is a small program to do a simple calculation (area of circle from radius held in &lt;code&gt;x&lt;/code&gt;)
&lt;/p&gt;

&lt;p&gt;
LBL B, which has the single command &lt;code&gt;GTO I&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Running LBL B &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;B&lt;/kbd&gt; actually runs the program in LBL A : &lt;strong&gt;GTO I&lt;/strong&gt; is interpreted as &lt;strong&gt;GTO A&lt;/strong&gt;.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;
LBL A
X^2
PI
*
RTN

LBL B
GTO I
RTN
&lt;/pre&gt;

&lt;p&gt;
Changing the contents of Register I will change where LBL B points to. 
&lt;/p&gt;

&lt;p&gt;
This allows you to make decisions and branches to different code communicated via the indirect register.
&lt;/p&gt;

&lt;p&gt;
Storing &lt;code&gt;101&lt;/code&gt; in &lt;code&gt;Reg I&lt;/code&gt; and then running LBL B has the effect of an endless loop….. LBL B calls itself (indirectly via &lt;strong&gt;&lt;code&gt;I=101&lt;/code&gt;&lt;/strong&gt;)
&lt;/p&gt;

&lt;p&gt;
Use &lt;kbd class=&quot;__keyboard&quot;&gt;R/S&lt;/kbd&gt; to interrupt the endless loop!
&lt;/p&gt;

&lt;p&gt;
Using &lt;code&gt;GTO I&lt;/code&gt; in LBL B means execution passes to LBL A and does not return to LBL B on completion.
&lt;/p&gt;

&lt;p&gt;
Using &lt;code&gt;GSB I&lt;/code&gt; in LBL B instead of &lt;code&gt;GTO&lt;/code&gt; means that after running LBL A (via indirection) execution returns to LBL B and continues….
&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;h4 id=&quot;indirect_program_line_number_addressing&quot;&gt;Indirect Program Line Number Addressing&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Similar to the above, if the Indirect Register I contains a &lt;strong&gt;NEGATIVE&lt;/strong&gt; number then a call to &lt;code&gt;GTO I&lt;/code&gt; or &lt;code&gt;GSB I&lt;/code&gt; will cause a branch to the absoloute &lt;strong&gt;Line Number&lt;/strong&gt; referred to in &lt;strong&gt;I&lt;/strong&gt;.
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_d5850fee299d2647c10c431e35c31812_8&quot;&gt;Example (Click to view) &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_d5850fee299d2647c10c431e35c31812_8&quot;&gt;&lt;pre class=&quot;code&quot;&gt;
0 Empty
1 LBL A
2 GTO I
5 RTN
6 LBL 88
8 X^2
9 PI
10 *
11 RTN
12 Empty
&lt;/pre&gt;

&lt;p&gt;
Storing &lt;code&gt;88&lt;/code&gt; in Register I would make Program &lt;strong&gt;A&lt;/strong&gt; branch to the Label 88 (line 6)
&lt;/p&gt;

&lt;p&gt;
Storing &lt;code&gt;-9&lt;/code&gt; in Register I (&lt;code&gt;9 CHS STO I&lt;/code&gt;) would make Program &lt;strong&gt;A&lt;/strong&gt; branch to &lt;code&gt;PI&lt;/code&gt; (at line 9) and bypass the &lt;code&gt;X&lt;sup&gt;2&lt;/sup&gt;&lt;/code&gt; instruction.
&lt;/p&gt;

&lt;p&gt;
Line numbering isn&amp;#039;t straightforward, as each instruction may use &lt;strong&gt;one&lt;/strong&gt; or &lt;strong&gt;two&lt;/strong&gt; line numbers depending on the instruction itself, so you have to be careful about which line you need to address.
&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Indirect addressing&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;indirect_addressing&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:21,&amp;quot;range&amp;quot;:&amp;quot;12234-15762&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit22&quot; id=&quot;and_the_rest&quot;&gt;And the rest&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 100 Storage Registers &lt;code&gt;00 - 99&lt;/code&gt; are capable of storing Complex Numbers&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Factorial / Gamma &lt;kbd class=&quot;__keyboard&quot;&gt;x!&lt;/kbd&gt; works on integer (positive), non-integer (positive and negative) &lt;em&gt;&lt;strong&gt;and&lt;/strong&gt;&lt;/em&gt; complex numbers&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Program Mode shows human-readable text rather than HP15C op-codes&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; 2-line display of Program being edited&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Selection of logical tests can be done in usual HP15C fashion with &lt;code&gt;TEST 0&lt;/code&gt; - &lt;code&gt;TEST 9&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Test can also be selected from a scrolling list of options after initially pressing &lt;kbd class=&quot;__keyboard&quot;&gt;g&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;TEST&lt;/kbd&gt; with the choice being made via soft-keys &amp;amp; LCD Prompts&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt;  To run a program with a numeric label (i.e. other than &lt;code&gt;LBL A&lt;/code&gt; → &lt;code&gt;LBL E&lt;/code&gt;) press &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;LBL&lt;/kbd&gt; &lt;code&gt;##&lt;/code&gt;  &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; e.g. &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;LBL&lt;/kbd&gt; &lt;code&gt;88&lt;/code&gt;  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; this is different than on the original HP15C where to run a label you used &lt;kbd class=&quot;__keyboard&quot;&gt;GSB&lt;/kbd&gt;&lt;code&gt;##&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;  In program mode, &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;CLEAR PREFIX&lt;/kbd&gt; places the &lt;code&gt;runTime&lt;/code&gt; opCode in the program. &lt;code&gt;runTime&lt;/code&gt; writes to &lt;code&gt;x&lt;/code&gt; the program execution time once it&amp;#039;s executed.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt;  Deleting User Programs&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Delete a &lt;em&gt;&lt;strong&gt;single program&lt;/strong&gt;&lt;/em&gt; : &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;CLEAR PRGM&lt;/kbd&gt; followed by a label&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Delete &lt;em&gt;&lt;strong&gt;ALL programs&lt;/strong&gt;&lt;/em&gt; :  &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; and &lt;em class=&quot;u&quot;&gt;long press&lt;/em&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;CLEAR PRGM&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;  FIX/SCI/ENG don&amp;#039;t round numbers unless &lt;kbd class=&quot;__keyboard&quot;&gt;g&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;RND&lt;/kbd&gt; is pressed.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;  &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ENG&lt;/kbd&gt;&lt;code&gt;nn&lt;/code&gt; sets the number of significant digits as requested, &lt;strong&gt;UNLIKE&lt;/strong&gt; the original HP15C where &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ENG&lt;/kbd&gt;&lt;code&gt;n&lt;/code&gt; sets the significant digits to &lt;code&gt;n + 1&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt;  There are 10 user flags, from 0 to 9. &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; There are no LCD annunciators to show state, but flags can be set, cleared and tested for decision making in program branching&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;  Long press &lt;kbd class=&quot;__keyboard&quot;&gt;GTO&lt;/kbd&gt; in program mode to access &lt;code&gt;go to label&lt;/code&gt; feature (single press in run mode)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;  Long press &lt;kbd class=&quot;__keyboard&quot;&gt;GSB&lt;/kbd&gt; in program mode to access &lt;code&gt;go to line number&lt;/code&gt; feature (single press in run mode)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;  When running a program step by step, a long press on &lt;kbd class=&quot;__keyboard&quot;&gt;SST&lt;/kbd&gt; doesn’t execute the current step.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Unused Keys&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;USER&lt;/kbd&gt;, &lt;kbd class=&quot;__keyboard&quot;&gt;g&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;MEM&lt;/kbd&gt;, &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;DIM&lt;/kbd&gt;, &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;MATRIX&lt;/kbd&gt; and &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;RESULT&lt;/kbd&gt; are not implemented and don&amp;#039;t do anything at the moment.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;And the rest&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;and_the_rest&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:22,&amp;quot;range&amp;quot;:&amp;quot;15763-18112&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit23&quot; id=&quot;lf15c_serial_port_info&quot;&gt;LF15C Serial Port Info&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Serial Port dump info : &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-194697.html#pid194697&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-194697.html#pid194697&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.hpmuseum.org/forum/thread-20046-post-194697.html#pid194697&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Serial Port settings&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Rate : 57600&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Data : 8 bit&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Stop : 1 bit&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Parity : None&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Flow Control : None&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;strong&gt; ALWAYS INCLUDE AT LEAST ONE TRAILING ZERO FROM THE STRING OF DIGITS REPRESENTING THE MEMORY DUMP &lt;/strong&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; To extract a dump from calculator press and hold &lt;kbd class=&quot;__keyboard&quot;&gt;STO&lt;/kbd&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; the string of digits can be copy/pasted into a text file for storage&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; it is only necessary to keep &lt;strong&gt;one final zero&lt;/strong&gt; - the rest of the zeros can be ignored&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; To upload a previously saved dump &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; copy it to clipboard and then &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; press and hold &lt;kbd class=&quot;__keyboard&quot;&gt;RCL&lt;/kbd&gt; until the terminal shows &lt;code&gt;Paste PrgMemory:&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; in Putty &lt;kbd class=&quot;__keyboard&quot;&gt;Shift&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Insert&lt;/kbd&gt; to paste clipboard text into terminal&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;LF15C Serial Port Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;lf15c_serial_port_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:23,&amp;quot;range&amp;quot;:&amp;quot;18113-18970&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit24&quot; id=&quot;lf15c_firmware_files&quot;&gt;LF15C Firmware Files&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Tabulated List of LF15C firmware versions
&lt;/p&gt;
&lt;div class=&quot;table sectionedit25&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Date&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Firmware&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Version&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Firmware File&lt;/th&gt;&lt;th class=&quot;col4&quot;&gt;Comments&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;12/09/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta240911&lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta240911.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta240911.zip (67.2 KB)&quot;&gt;lf15c_beta240911.zip&lt;/a&gt;     &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt; initial public beta  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;15/09/24  &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; LF15C  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta240914 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta240914.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta240914.zip (67 KB)&quot;&gt;lf15c_beta240914.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;17/09/24   &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; beta240916  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta240916.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta240916.zip (67.1 KB)&quot;&gt;lf15c_beta240916.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;   &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;17/09/24   &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; beta240916_2  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta240916_2.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta240916_2.zip (67.5 KB)&quot;&gt;lf15c_beta240916_2.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;   &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; 21/09/24  &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta240920 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta240920.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta240920.zip (66.8 KB)&quot;&gt;lf15c_beta240920.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; very fast &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:benchmarking:start&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:benchmarking:start&quot; data-wiki-id=&quot;public:calculator:benchmarking:start&quot;&gt;Benchmarking&lt;/a&gt;, roots of -ve numbers bug &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 21/09/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta240921 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta240921.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta240921.zip (66.8 KB)&quot;&gt;lf15c_beta240921.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; Fix of “powers of negative numbers” bug, new 10^x bug &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 23/09/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta240923 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta240923.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta240923.zip (66.8 KB)&quot;&gt;lf15c_beta240923.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 10^x fix, other bug fixes &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;25/09/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta240925 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta240925.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta240925.zip (67.3 KB)&quot;&gt;lf15c_beta240925.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192246.html#pid192246&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192246.html#pid192246&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Bug fixes&lt;/a&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192255.html#pid192255&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192255.html#pid192255&quot; rel=&quot;ugc nofollow noopener&quot;&gt; More new bugs&lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;28/09/24&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta240928 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta240928.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta240928.zip (68 KB)&quot;&gt;lf15c_beta240928.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192465.html#pid192465&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192465.html#pid192465&quot; rel=&quot;ugc nofollow noopener&quot;&gt; bug fixes &lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row10&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 30/09/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta240929 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta240929.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta240929.zip (68 KB)&quot;&gt;lf15c_beta240929.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192556.html#pid192556&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192556.html#pid192556&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Bug Fixes etc. &lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row11&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 30/09/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta240929_2 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta240929_2.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta240929_2.zip (68 KB)&quot;&gt;lf15c_beta240929_2.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192560.html#pid192560&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192560.html#pid192560&quot; rel=&quot;ugc nofollow noopener&quot;&gt; RCL I Bug fix &lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row12&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 01/10/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta240930 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta240930.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta240930.zip (68.2 KB)&quot;&gt;lf15c_beta240930.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192625.html#pid192625&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192625.html#pid192625&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Bug Fixes &lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row13&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 02/10/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; debug241001 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_debug_for_john241001.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_debug_for_john241001.zip (68.3 KB)&quot;&gt;lf15c_debug_for_john241001.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192676.html#pid192676&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192676.html#pid192676&quot; rel=&quot;ugc nofollow noopener&quot;&gt; version pre-loaded with my B.Fil prog for debug purposes &lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row14&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 02/10/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta241002 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta241002.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta241002.zip (68.2 KB)&quot;&gt;lf15c_beta241002.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192696.html#pid192696&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192696.html#pid192696&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Bug Fix &lt;/a&gt; my B.Fil runs correctly. No known showstoppers left? &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row15&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 03/10/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta241003 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta241003.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta241003.zip (68.3 KB)&quot;&gt;lf15c_beta241003.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; fPREFIX fix. Discovered inverse HYP SIN bug &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row16&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 06/10/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta241005 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta241005.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta241005.zip (68.1 KB)&quot;&gt;lf15c_beta241005.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;&lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192859.html#pid192859&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192859.html#pid192859&quot; rel=&quot;ugc nofollow noopener&quot;&gt; fixes &lt;/a&gt;,HYP ASIN bug still present &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row17&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 07/10/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta241006 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta241006.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta241006.zip (67.6 KB)&quot;&gt;lf15c_beta241006.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192907.html#pid192907&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192907.html#pid192907&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Bug fix and new runTime function &lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row18&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 08/10/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta241007 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta241007.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta241007.zip (67.6 KB)&quot;&gt;lf15c_beta241007.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192956.html#pid192956&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-192956.html#pid192956&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Bug Fixes &lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row19&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 10/10/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta241009 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta241009.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta241009.zip (67.3 KB)&quot;&gt;lf15c_beta241009.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-193093.html#pid193093&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-193093.html#pid193093&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Bug Fixes &lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row20&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 12/10/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta241011 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta241011.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta241011.zip (67.6 KB)&quot;&gt;lf15c_beta241011.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-193245.html#pid193245&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-193245.html#pid193245&quot; rel=&quot;ugc nofollow noopener&quot;&gt; RND bug fix &lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row21&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 14/10/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta241014 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta241014.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta241014.zip (68.3 KB)&quot;&gt;lf15c_beta241014.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row22&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 20/10/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta241020 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta241020.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta241020.zip (68.8 KB)&quot;&gt;lf15c_beta241020.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row23&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 21/10/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta241021 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta241021.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta241021.zip (68.7 KB)&quot;&gt;lf15c_beta241021.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row24&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 22/10/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta241022 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta241022.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta241022.zip (68.7 KB)&quot;&gt;lf15c_beta241022.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row25&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 24/10/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta241024 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta241024.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta241024.zip (68.9 KB)&quot;&gt;lf15c_beta241024.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row26&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 31/10/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta241031 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta241031.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta241031.zip (69.1 KB)&quot;&gt;lf15c_beta241031.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row27&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 02/11/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta241102 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta241102.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta241102.zip (68.9 KB)&quot;&gt;lf15c_beta241102.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row28&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 10/12/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta241210_2 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta241210_2.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta241210_2.zip (69.4 KB)&quot;&gt;lf15c_beta241210_2.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-196923.html#pid196923&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-196923.html#pid196923&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Integrate feature&lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row29&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 17/12/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta241217 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta241217.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta241217.zip (69.5 KB)&quot;&gt;lf15c_beta241217.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-197261.html#pid197261&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-197261.html#pid197261&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Integrate improvements &lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row30&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 21/12/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta241221 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta241221.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta241221.zip (64.9 KB)&quot;&gt;lf15c_beta241221.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-197462.html#pid197462&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-197462.html#pid197462&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Bug Fixes &lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row31&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 22/12/24 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; LF15C  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; beta241222   &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta241222.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta241222.zip (67.4 KB)&quot;&gt;lf15c_beta241222.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-197516.html#pid197516&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-197516.html#pid197516&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Sin(180)=0 Fixed &lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row32&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 14/02/25 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta250123 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta250123.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta250123.zip (67.5 KB)&quot;&gt;lf15c_beta250123.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;&lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-198747.html#pid198747&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-198747.html#pid198747&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Enter Key bug fixes &lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row33&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 15/02/25 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta250215 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta250215.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta250215.zip (68.9 KB)&quot;&gt;lf15c_beta250215.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;&lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-199820.html#pid199820&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-199820.html#pid199820&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Better integration routine and bug fixes&lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row34&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 16/02/25 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta250216 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta250216.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta250216.zip (68.9 KB)&quot;&gt;lf15c_beta250216.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; Y↑X and TEST &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-199841.html#pid199841&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-199841.html#pid199841&quot; rel=&quot;ugc nofollow noopener&quot;&gt; bug fixes&lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row35&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 17/02/25 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta250217b &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta250217b.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta250217b.zip (69.5 KB)&quot;&gt;lf15c_beta250217b.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; Integration &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-199875.html#pid199875&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-199875.html#pid199875&quot; rel=&quot;ugc nofollow noopener&quot;&gt; bug fix &lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row36&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 19/02/25 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta250218 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta250218.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta250218.zip (69.3 KB)&quot;&gt;lf15c_beta250218.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; Integration &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-199946.html#pid199946&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-199946.html#pid199946&quot; rel=&quot;ugc nofollow noopener&quot;&gt; programability &lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row37&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 20/02/25 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta250220 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta250220.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta250220.zip (69.3 KB)&quot;&gt;lf15c_beta250220.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-200014.html#pid200014&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-200014.html#pid200014&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Linear Regression bug fix &lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row38&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 21/02/25 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta250221 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta250221.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta250221.zip (70.3 KB)&quot;&gt;lf15c_beta250221.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-200051.html#pid200051&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-200051.html#pid200051&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Complex/non-integer factorial &lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row39&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 25/02/25 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta250225 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta250225.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:lf15c_beta250225.zip (70.4 KB)&quot;&gt;lf15c_beta250225.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-200298.html#pid200298&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-200298.html#pid200298&quot; rel=&quot;ugc nofollow noopener&quot;&gt; improved precision in x! function &lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row40&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 26/02/25 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; beta250226 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_beta250226.hex&quot; class=&quot;media mediafile mf_hex&quot; title=&quot;public:calculator:info:lf15c_beta250226.hex (178.9 KB)&quot;&gt;lf15c_beta250226.hex&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046-post-200326.html#pid200326&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046-post-200326.html#pid200326&quot; rel=&quot;ugc nofollow noopener&quot;&gt; f-PREFIX bug fix &lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row41&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 12/01/26 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 250408 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_250408.hex&quot; class=&quot;media mediafile mf_hex&quot; title=&quot;public:calculator:info:lf15c_250408.hex (175.8 KB)&quot;&gt;lf15c_250408.hex&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; no longer BETA. Stable version - mature?? &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row42&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 31/03/26 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 260331 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:3rd:lf15c_260331.hex&quot; class=&quot;media mediafile mf_hex&quot; title=&quot;public:calculator:3rd:lf15c_260331.hex (176.5 KB)&quot;&gt;lf15c_260331.hex&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; Differences unknown - various changes since last stable version 250408. Has Solver issues? &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row43&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 04/04/26 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 260404 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:3rd:lf15c_260404.hex&quot; class=&quot;media mediafile mf_hex&quot; title=&quot;public:calculator:3rd:lf15c_260404.hex (176.5 KB)&quot;&gt;lf15c_260404.hex&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; Differences unknown… performs well on all tests, solver issues resolved &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row44&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 12/04/26 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 260412 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:3rd:lf15c_260412.hex&quot; class=&quot;media mediafile mf_hex&quot; title=&quot;public:calculator:3rd:lf15c_260412.hex (177.2 KB)&quot;&gt;lf15c_260412.hex&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; SOLVE adjustments &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table3&amp;quot;,&amp;quot;secid&amp;quot;:25,&amp;quot;range&amp;quot;:&amp;quot;19049-26112&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;LF15C Firmware Files&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;lf15c_firmware_files&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:24,&amp;quot;range&amp;quot;:&amp;quot;18971-26115&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit26&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; LF15C program dumps &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:progs:dm15l_progs#program_dumps_for_lf15c&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:progs:dm15l_progs&quot; data-wiki-id=&quot;public:calculator:progs:dm15l_progs&quot;&gt;Program dumps for LF15C&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Page created  : 17/02/26 17:51 GMT
&lt;/p&gt;

&lt;p&gt;
Page updated : 19/04/26 21:20 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:calculator&amp;amp;do=showtag&amp;amp;tag=calculator&quot; class=&quot;wikilink1&quot; title=&quot;tag:calculator&quot; rel=&quot;tag&quot;&gt;calculator&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dm15l&amp;amp;do=showtag&amp;amp;tag=dm15l&quot; class=&quot;wikilink1&quot; title=&quot;tag:dm15l&quot; rel=&quot;tag&quot;&gt;dm15l&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:lf15c&amp;amp;do=showtag&amp;amp;tag=lf15c&quot; class=&quot;wikilink1&quot; title=&quot;tag:lf15c&quot; rel=&quot;tag&quot;&gt;lf15c&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:26,&amp;quot;range&amp;quot;:&amp;quot;26116-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 19 Apr 2026 20:20:12 +0000</pubDate>
        </item>
        <item>
            <title>DM41X Progs</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:progs:dm41x_progs</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:progs:start&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:progs:start&quot; data-wiki-id=&quot;public:calculator:progs:start&quot;&gt;Programs&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;dm41x_progs&quot;&gt;DM41X Progs&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DM41X Progs&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dm41x_progs&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-44&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;dm41x_raw&quot;&gt;DM41x RAW&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;table sectionedit3&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;HP Maths Benchmark &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:progs:bm.raw&quot; class=&quot;media mediafile mf_raw&quot; title=&quot;public:calculator:progs:bm.raw (48 B)&quot;&gt;bm.raw&lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;HP Trig Benchmark &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:progs:bmt.raw&quot; class=&quot;media mediafile mf_raw&quot; title=&quot;public:calculator:progs:bmt.raw (35 B)&quot;&gt;bmt.raw&lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;8-Queens Benchmark &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:progs:nqu.raw&quot; class=&quot;media mediafile mf_raw&quot; title=&quot;public:calculator:progs:nqu.raw (81 B)&quot;&gt;nqu.raw&lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Savage Benchmark &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:progs:svg.raw&quot; class=&quot;media mediafile mf_raw&quot; title=&quot;public:calculator:progs:svg.raw (50 B)&quot;&gt;svg.raw&lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Memo - as below - uses ascii file name “SITES” instead of “MEMO” &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:progs:memo.raw&quot; class=&quot;media mediafile mf_raw&quot; title=&quot;public:calculator:progs:memo.raw (128 B)&quot;&gt;memo.raw&lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;TR - from HP41cx User guide vol. 2&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:progs:tr.raw&quot; class=&quot;media mediafile mf_raw&quot; title=&quot;public:calculator:progs:tr.raw (487 B)&quot;&gt;tr.raw&lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Sigma - from HP41cx User guide vol.2&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:progs:sigma.raw&quot; class=&quot;media mediafile mf_raw&quot; title=&quot;public:calculator:progs:sigma.raw (740 B)&quot;&gt;sigma.raw&lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;68-581&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DM41x RAW&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dm41x_raw&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;45-583&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;using_solve_and_integrate_together&quot;&gt;Using Solve and Integrate together&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; from HP343C handbook&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; DM41X version uses &lt;code&gt;SOLVE&lt;/code&gt; and &lt;code&gt;INTEG&lt;/code&gt; from &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:advantage_pac&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:advantage_pac&quot; data-wiki-id=&quot;public:calculator:guides:advantage_pac&quot;&gt; Advantage Pac&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Create a &lt;code&gt;MYSOLVE&lt;/code&gt; wrapper that handles putting the correct &lt;code&gt;SOLVE&lt;/code&gt; program name in &lt;code&gt;ALPHA&lt;/code&gt; etc&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Create the program that is to be solved and which has as it&amp;#039;s function an integral&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Create the program that defines the integral&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;/div&gt;

&lt;h4 id=&quot;mysolve&quot;&gt;MYSOLVE&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;LBL ¬MYSOLVE
¬MOD                    // the label of the program to be solved is put in ALPHA
SOLVE                   // we XEQ SOLVE (the Advantage Pac solver)
RTN&lt;/pre&gt;

&lt;/div&gt;

&lt;h4 id=&quot;solvemod&quot;&gt;Solve : MOD&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
The program to be solved
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;LBL ¬MOD
¬BESSEL           // We put the name of the program with the integral in ALPHA
STO 00            // We store our current guess for X in R 00 to be accessible by the integral finction
0                 // put upper and lower limits for the integration in Y and X
PI
INTEG             // xeq INTEG from Advantage Pac
ABS               // our current guess, make it positive
X&amp;lt;=Y?             // Y has the Integration&amp;#039;s estimate of accuracy - we use this to limit our search
ClX               // if our guess has returned a value from the integral that&amp;#039;s less than the inherent accuracy then that&amp;#039;s GOOD ENOUGH, we set X to zero and SOLVE completes     
X≠0?              // if we still don&amp;#039;t have zero we put back the last guess and SOLVE continues
LastX
RTN
&lt;/pre&gt;

&lt;/div&gt;

&lt;h4 id=&quot;integralbessel&quot;&gt;Integral : BESSEL&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;LBL ¬BESSEL
SIN
RCL 00
*
COS
PI
/
RTN
&lt;/pre&gt;

&lt;/div&gt;

&lt;h4 id=&quot;running_it&quot;&gt;Running it&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;MYSOLVE&lt;/code&gt; sets up the &lt;code&gt;ALPHA&lt;/code&gt; register with the name of the prog to be solved, so nothing needed in &lt;code&gt;ALPHA&lt;/code&gt; at this time&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; put initial guesses in &lt;code&gt;X&lt;/code&gt; and &lt;code&gt;Y&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;1&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;2&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; try &lt;code&gt;FIX 4&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Run &lt;code&gt;MYSOLVE&lt;/code&gt; - via XEQ or set up a &lt;code&gt;CST&lt;/code&gt; menu item for it &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
After a few minutes of Goose-flying we get the answer &lt;code&gt;2.4048&lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Using Solve and Integrate together&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;using_solve_and_integrate_together&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;584-2517&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;useful_memo_prog&quot;&gt;Useful Memo prog&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:progs:03319.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:calculator:progs:03319.pdf (280.2 KB)&quot;&gt; MEMO &lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
By Gary Goodman from HP document collection. Dated 24/3/85
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Useful Memo prog&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;useful_memo_prog&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;2518-2657&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;c22_timer_values&quot;&gt;65c22 Timer values&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;strong&gt; for VIA Tone generator &lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt; Needs &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm41x_ladybug_module&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm41x_ladybug_module&quot; data-wiki-id=&quot;public:calculator:guides:dm41x_ladybug_module&quot;&gt;Ladybug&lt;/a&gt; module &lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
The required count is calculated from &lt;code&gt;Φ&lt;sub&gt;2&lt;/sub&gt;&lt;/code&gt; and the audio frequency required.
&lt;/p&gt;

&lt;p&gt;
Count (decimal) 
&lt;/p&gt;

&lt;p&gt;
{ Φ&lt;sub&gt;2&lt;/sub&gt; / ( 2 x F ) } - 2
&lt;/p&gt;

&lt;p&gt;
for 1000Hz  and a 1MHz Φ&lt;sub&gt;2&lt;/sub&gt; :
&lt;/p&gt;

&lt;p&gt;
Count = { 1,000,000 / ( 2 X 1000 ) } - 2 = 498
&lt;/p&gt;

&lt;p&gt;
498d → $01F2
&lt;/p&gt;

&lt;p&gt;
Run as &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt;&lt;code&gt;TI&lt;/code&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
Prompt &lt;code&gt;F&lt;/code&gt; for required audio tone frequency.
&lt;/p&gt;

&lt;p&gt;
Enter freq 
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;R/S&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
Result is the 2-byte value for T1CL &amp;amp; T1CH
&lt;/p&gt;

&lt;p&gt;
e.g.
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt;&lt;code&gt;TI&lt;/code&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;1000 &lt;/pre&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;R/S&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
Result:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;$001F2&lt;/pre&gt;

&lt;p&gt;
The Counter should be set to 
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;T1CH = $01
T1CL = $F2&lt;/pre&gt;

&lt;p&gt;
Entered as follows (make sure you&amp;#039;re in DECS mode in Ladybug while entering the program - otherwise the &lt;code&gt;1000000&lt;/code&gt; won&amp;#039;t be interpreted correctly). When viewing/editing the program later it will look different! 
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;LBL ¬TI
DECS
WSIZE 20
¬ F
PROMPT
STI 01
1000000
ENTERI
LDI 01
2
x
/
2
-
HEXS
RTN&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;65c22 Timer values&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;c22_timer_values&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;2658-3696&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit7&quot; id=&quot;bfil&quot;&gt;BFil&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_316556b81d4b6e549dd272d2febef557_1&quot;&gt;Butterworth HPF/LPF Filter designer &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_316556b81d4b6e549dd272d2febef557_1&quot;&gt;&lt;pre class=&quot;code&quot;&gt;LBL ¬BFIL
SF 00
¬MHZ ?
PROMPT
1 E6
*
STO 11
¬N
PROMPT
x&amp;lt;0?
CF 00
STO 10
XEQ 06
LBL 01
RCL 12
INT
XEQ 00
FS? 00
1/x
STO IND 12
ISG 12
GTO 01
¬COEFFICIENTS
FIX 3
STOP
ENG 3
XEQ 06
LBL 02
RCL 12
INT
RCL IND 12
RCL 11
2
*
PI
*
/
STO IND 12
ISG 12
GTO 02
XEQ 06
LBL 03
RCL 12
INT
2
/
FRC
FS? 00
GTO 09
GTO 10
LBL 09
¬HPF
x=0?
GTO 05
GTO 04
RTN
LBL 10
¬LPF
x=0?
GTO 04
GTO 05
RTN
LBL 04
RCL IND 12
50
*
STO IND 12
ISG 12
GTO 03
RTN
LBL 05
RCL IND 12
50
/
STO IND 12
ISG 12
GTO 03
RTN
LBL 06
RCL 10
ABS
1000
/
1
+
STO 12
RTN
LBL 00
2
*
1
-
180
*
RCL 10
ABS
2
*
/
SIN
2
*
RTN
END&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;BFil&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;bfil&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;3697-4359&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;examples&quot;&gt;Examples&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;

&lt;h4 id=&quot;mhz_5-pole_lpf&quot;&gt;5MHz 5-pole LPF&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;BFIL&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;MHZ ? &lt;/pre&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;5&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;R/S&lt;/kbd&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;N&lt;/pre&gt;

&lt;p&gt;
&lt;code&gt;Order/poles = N&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;Positive for HPF&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;Negative for LPF&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;5 pole LPF = -5&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;5&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;CHS&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;R/S&lt;/kbd&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;COEFFICIENTS
0.618&lt;/pre&gt;

&lt;p&gt;
(at this point you can &lt;kbd class=&quot;__keyboard&quot;&gt;RCL 01&lt;/kbd&gt; etc. up to &lt;kbd class=&quot;__keyboard&quot;&gt;RCL 05&lt;/kbd&gt; to see the calculated Butterworth Coefficients)
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R01 : 0.618&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R02 : 1.618&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R03 : 2.000&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R04 : 1.618&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R05 : 0.618&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;R/S&lt;/kbd&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;LPF
393.5 -12&lt;/pre&gt;

&lt;p&gt;
The calculated component values are now in Reg 01 - Reg 05
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R01 : 393.5pf&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R02 : 2.575uH&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R03 : 1.273nF&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R04 : 2.575uH&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R05 : 393.5pF&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h4 id=&quot;mhz_7_pole_hpf&quot;&gt;1MHz 7 pole HPF&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;BFIL&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;MHZ ? &lt;/pre&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;1&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;R/S&lt;/kbd&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;N&lt;/pre&gt;

&lt;p&gt;
&lt;code&gt;Order/poles = N&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;Positive for HPF&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;Negative for LPF&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;7 pole HPF = 7&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;7&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;R/S&lt;/kbd&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;COEFFICIENTS
2.247&lt;/pre&gt;

&lt;p&gt;
(at this point you can &lt;kbd class=&quot;__keyboard&quot;&gt;RCL 01&lt;/kbd&gt; etc. up to &lt;kbd class=&quot;__keyboard&quot;&gt;RCL 07&lt;/kbd&gt; to see the calculated Butterworth Coefficients)
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R01 : 2.247&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R02 : 0.802&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R03 : 0.555&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R04 : 0.500&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R05 : 0.555&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R06 : 0.802&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R07 : 2.247&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;R/S&lt;/kbd&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;HPF
17.88 -06&lt;/pre&gt;

&lt;p&gt;
The calculated component values are now in Reg 01 - Reg 07
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R01 : 17.88uH&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R02 : 2.553nF&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R03 : 4.416uH&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R04 : 1.592nF&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R05 : 4.416uH&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R06 : 2.553nF&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; R07 : 17.88uH&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Examples&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;examples&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:5,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;4360-5778&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit9&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Page created Thu May 26 18:35:00 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 14/02/26 11:19 GMT
&lt;/p&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 24/04/23 16:07&lt;/em&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:5,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;5779-5939&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit10&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:calculator&amp;amp;do=showtag&amp;amp;tag=calculator&quot; class=&quot;wikilink1&quot; title=&quot;tag:calculator&quot; rel=&quot;tag&quot;&gt;calculator&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dm41x&amp;amp;do=showtag&amp;amp;tag=dm41x&quot; class=&quot;wikilink1&quot; title=&quot;tag:dm41x&quot; rel=&quot;tag&quot;&gt;dm41x&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:5,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;5940-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 14 Feb 2026 11:19:28 +0000</pubDate>
        </item>
        <item>
            <title>DokuWiki Unison Backup</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:dokuwiki_backup</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;dokuwiki_unison_backup&quot;&gt;DokuWiki Unison Backup&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Using &lt;code&gt;unison&lt;/code&gt; to sync a copy of the full &lt;code&gt;dokuwiki&lt;/code&gt; data on the VPS to a Dropbox folder on my Shack PC, so that I have a backup copy, &lt;em&gt;in the cloud&lt;/em&gt; in case of disaster. I&amp;#039;d hate to lose all the work that goes into writing this stuff…
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DokuWiki Unison Backup&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dokuwiki_unison_backup&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;1-283&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;config_files&quot;&gt;Config Files&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; on the Shack PC create a &lt;code&gt;~/.unison/dokuwiki.prf&lt;/code&gt; file&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code bash&quot;&gt;root = &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;home&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Dropbox&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Documents&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dokuwiki
root = ssh:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;gm4slv.org.uk&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;var&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;www&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;html&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dokuwiki
sshargs = &lt;span class=&quot;re5&quot;&gt;-C&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
To account for making the laptop&amp;#039;s copy into a &lt;code&gt;git&lt;/code&gt; repository  I added: 
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;ignore = Path .git&lt;/pre&gt;

&lt;p&gt;
to the laptop config (see &lt;a href=&quot;#github_repository&quot; title=&quot;public:computers:archive:dokuwiki_backup ↵&quot; class=&quot;wikilink1&quot;&gt;Github Repository&lt;/a&gt; )  — &lt;em&gt;John Pumford-Green 29/05/22 00:29&lt;/em&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; on the VPS server create a similar &lt;code&gt;~/.unison/dokuwiki.prf&lt;/code&gt; file&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code bash&quot;&gt;root = &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;home&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dokuwiki
root = ssh:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;gm4slv.plus.com:&lt;span class=&quot;nu0&quot;&gt;27659&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Dropbox&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Documents&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dokuwiki
sshargs = &lt;span class=&quot;re5&quot;&gt;-C&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Config Files&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;config_files&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;284-907&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;first_run&quot;&gt;First Run&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Run the first time on the Shack PC to download the dokuwiki directory tree &lt;em&gt;from&lt;/em&gt; the VPS 
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_57174af551d1af75af5c5b6f3b3ffc5a_1&quot;&gt;unison dokuwiki &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_57174af551d1af75af5c5b6f3b3ffc5a_1&quot;&gt;&lt;pre class=&quot;code&quot;&gt;gm4slv@laptop:~/.unison $ unison dokuwiki
Unison 2.51.3 (ocaml 4.11.1): Contacting server...
Connected [//gm4slv//var/www/html/dokuwiki -&amp;gt; //laptop//home/gm4slv/Dropbox/Docu                                                                                                 ments/dokuwiki]
Looking for changes
Warning: No archive files were found for these roots, whose canonical names are:
        /home/gm4slv/Dropbox/Documents/dokuwiki
        //gm4slv//var/www/html/dokuwiki
This can happen either
because this is the first time you have synchronized these roots,
or because you have upgraded Unison to a new version with a different
archive format.

Update detection may take a while on this run if the replicas are
large.

Unison will assume that the &amp;#039;last synchronized state&amp;#039; of both replicas
was completely empty.  This means that any files that are different
will be reported as conflicts, and any files that exist only on one
replica will be judged as new and propagated to the other replica.
If the two replicas are identical, then no changes will be reported.

If you see this message repeatedly, it may be because one of your machines
is getting its address from DHCP, which is causing its host name to change
between synchronizations.  See the documentation for the UNISONLOCALHOSTNAME
environment variable for advice on how to correct this.

Donations to the Unison project are gratefully accepted:
http://www.cis.upenn.edu/~bcpierce/unison


Press return to continue.[&amp;lt;spc&amp;gt;]
  Waiting for changes from server
Reconciling changes

local          gm4slv
         &amp;lt;---- file       .htaccess.dist  [f]
         &amp;lt;---- file       COPYING  [f]
         &amp;lt;---- file       README  [f]
         &amp;lt;---- file       VERSION  [f]
         &amp;lt;---- dir        bin  [f]
         &amp;lt;---- dir        conf  [f]
         &amp;lt;---- dir        data  [f]
         &amp;lt;---- file       doku.php  [f]
         &amp;lt;---- file       feed.php  [f]
         &amp;lt;---- dir        inc  [f]
         &amp;lt;---- file       index.php  [f]
         &amp;lt;---- file       install.php  [f]
         &amp;lt;---- dir        lib  [f]
         &amp;lt;---- dir        vendor  [f]

Proceed with propagating updates? [] y
Propagating updates

........
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
Everything is downloaded from the VPS and saved in the Dropbox folder, from where it is uploaded to the &lt;em&gt;cloud&lt;/em&gt;.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;First Run&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;first_run&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;908-3362&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;future_runs&quot;&gt;Future runs...&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I could automate the process, using various command line switches to automatically &lt;em&gt;“do the right thing”&lt;/em&gt; without needing to answer Yes/No questions
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;unison -auto -batch -silent dokuwiki&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
and even put it in a cron job,  but for now just running it every now and again manually might be enough.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Future runs...&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;future_runs&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;3363-3692&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;restore_from_backup&quot;&gt;restore from backup&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
If the VPS version of the dokuwiki ever gets totally screwed up I can restore it by running the same script from the other side and chosing which direction to do the sync in ( shack → VPS ) 
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; on the VPS server&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;code&gt;unison dokuwkiki&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
which will pull the last sync&amp;#039;d version &lt;em&gt;from&lt;/em&gt; my backup &lt;em&gt;to&lt;/em&gt; my &lt;strong&gt;home&lt;/strong&gt; directory on the VPS ( i.e. not straight to &lt;code&gt;/var/www/html/dokuwiki&lt;/code&gt;) from where I can copy it back to the webserver directory. 
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;I can run this command regularly to keep a mirror of the Dropbox backup on the VPS in case I need it later.&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
(&lt;em class=&quot;u&quot;&gt;update 28/5/22&lt;/em&gt;) I&amp;#039;ve added it to &lt;code&gt;crontab&lt;/code&gt; to run daily at 04:30:
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&amp;nbsp;
unison &lt;span class=&quot;re5&quot;&gt;-batch&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-auto&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-silent&lt;/span&gt; dokuwiki&lt;/pre&gt;

&lt;p&gt;
crontab:
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;30 04 * * * /home/gm4slv/bin/dokuwiki_unison.sh &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;restore from backup&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;restore_from_backup&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;3693-4513&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;github_repository&quot;&gt;Github Repository&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I made a new github repository to hold the Dokuwiki folder tree, too. The &lt;code&gt;laptop / Dropbox&lt;/code&gt; backup, taken via Unison from the VPS server, is the local repository.
&lt;/p&gt;

&lt;p&gt;
The workflow to keep things backed up:
&lt;/p&gt;
&lt;ol&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; on Shack Laptop&lt;/div&gt;
&lt;ol&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; run unison to retrieve the current &lt;em&gt;production&lt;/em&gt; copy of the DokuWiki directory tree:&lt;/div&gt;
&lt;ol&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;pre class=&quot;code&quot;&gt; unison -batch -auto dokuwiki &lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; there was an error flagged → the &lt;code&gt;.git&lt;/code&gt; folder isn&amp;#039;t present on the VPS&amp;#039;s webserver root but &lt;em&gt;is&lt;/em&gt; in the unison backup directory on the laptop. &lt;em&gt;Just ignore it?&lt;/em&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; I found you can tell &lt;code&gt;unison&lt;/code&gt; to ignore the &lt;code&gt;.git&lt;/code&gt; folder by adding &lt;pre class=&quot;code&quot;&gt;ignore = Path .git&lt;/pre&gt;

&lt;p&gt;
 to the &lt;code&gt;prf&lt;/code&gt; config file on laptop — &lt;em&gt;John Pumford-Green 29/05/22 00:30&lt;/em&gt;
&lt;/p&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; cd into &lt;code&gt;~/Dropbox/Documents/dokuwiki&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; add all files to git &lt;pre class=&quot;code&quot;&gt;git add .&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; commit &lt;pre class=&quot;code&quot;&gt;git commit -m &amp;quot;backup&amp;quot;&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; push to github &lt;pre class=&quot;code&quot;&gt;git push&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; on VPS&lt;/div&gt;
&lt;ol&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; in &lt;code&gt;home&lt;/code&gt; directory, run &lt;pre class=&quot;code&quot;&gt;unison -batch dokuwiki&lt;/pre&gt;

&lt;p&gt;
 to pull the &lt;code&gt;dropbox&lt;/code&gt; copy back to the VPS
&lt;/p&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; copy the dokuwiki tree to &lt;code&gt;/var/www/html/&lt;/code&gt; (is &lt;code&gt;unison&lt;/code&gt; also useful here?) (or rsync &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:dokuwiki_mirror&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:dokuwiki_mirror&quot; data-wiki-id=&quot;public:computers:archive:dokuwiki_mirror&quot;&gt;Dokuwiki Mirror&lt;/a&gt;)&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; in extremis it should be possible to simply clone the &lt;code&gt;github&lt;/code&gt; repository instead of using &lt;code&gt;unison&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;
Page Updated : 04/06/26 08:17 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:linux&amp;amp;do=showtag&amp;amp;tag=linux&quot; class=&quot;wikilink1&quot; title=&quot;tag:linux&quot; rel=&quot;tag&quot;&gt;linux&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:vps&amp;amp;do=showtag&amp;amp;tag=vps&quot; class=&quot;wikilink1&quot; title=&quot;tag:vps&quot; rel=&quot;tag&quot;&gt;vps&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dokuwiki&amp;amp;do=showtag&amp;amp;tag=dokuwiki&quot; class=&quot;wikilink1&quot; title=&quot;tag:dokuwiki&quot; rel=&quot;tag&quot;&gt;dokuwiki&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:unison&amp;amp;do=showtag&amp;amp;tag=unison&quot; class=&quot;wikilink1&quot; title=&quot;tag:unison&quot; rel=&quot;tag&quot;&gt;unison&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:github&amp;amp;do=showtag&amp;amp;tag=github&quot; class=&quot;wikilink1&quot; title=&quot;tag:github&quot; rel=&quot;tag&quot;&gt;github&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Github Repository&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;github_repository&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:5,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;4514-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 07:17:50 +0000</pubDate>
        </item>
        <item>
            <title>DokuWiki Tweaks</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:dokuwiki:dokuwiki_tweaks</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:dokuwiki:start&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:dokuwiki:start&quot; data-wiki-id=&quot;public:computers:dokuwiki:start&quot;&gt;Dokuwiki&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;dokuwiki_tweaks&quot;&gt;DokuWiki Tweaks&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DokuWiki Tweaks&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dokuwiki_tweaks&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;16-46&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;hide_revisions_and_page_source_for_not-admin_in_users&quot;&gt;Hide Revisions and Page Source for not-ADMIN in Users&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Edit &lt;code&gt;../lib/tpl/monobook/conf/tabs.php&lt;/code&gt; to add the check of &lt;code&gt;AUTH_ADMIN&lt;/code&gt; for the tabs for Page Source and Revisions
&lt;/p&gt;
&lt;pre class=&quot;code php&quot;&gt;            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;&lt;a target=&quot;_BLANK&quot; href=&quot;http://www.php.net/empty&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;empty&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$INFO&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;exists&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
                &lt;span class=&quot;re0&quot;&gt;$_monobook_tabs&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;ca-edit&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;text&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$lang&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;btn_edit&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;//language comes from DokuWiki core&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
                &lt;span class=&quot;re0&quot;&gt;$_monobook_tabs&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;ca-edit&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;text&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$lang&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;btn_create&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;//language comes from DokuWiki core&lt;/span&gt;
            &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;elseif&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;actionOK&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;source&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;auth_quickaclcheck&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$ID&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; AUTH_ADMIN&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;//check if action is disabled and also that AUTH_ADMIN is logged in&lt;/span&gt;
        &lt;span class=&quot;re0&quot;&gt;$_monobook_tabs&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;ca-edit&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;text&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;      &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$lang&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;btn_source&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;//language comes from DokuWiki core&lt;/span&gt;
        &lt;span class=&quot;re0&quot;&gt;$_monobook_tabs&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;ca-edit&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;accesskey&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;E&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;//old versions/revisions tab&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;&lt;a target=&quot;_BLANK&quot; href=&quot;http://www.php.net/empty&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;empty&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$INFO&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;exists&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;
            actionOK&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;revisions&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;auth_quickaclcheck&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$ID&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; AUTH_ADMIN&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// check AUTH_ADMIN is logged in to see old revisions&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;//check if action is disabled&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;//ATTENTION: &amp;quot;ca-history&amp;quot; is used as css id selector!&lt;/span&gt;
        &lt;span class=&quot;re0&quot;&gt;$_monobook_tabs&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;ca-history&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;text&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;      &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$lang&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;btn_revs&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;//language comes from DokuWiki core&lt;/span&gt;
        &lt;span class=&quot;re0&quot;&gt;$_monobook_tabs&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;ca-history&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;href&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;      &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; wl&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cleanID&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;getId&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;a target=&quot;_BLANK&quot; href=&quot;http://www.php.net/array&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;do&amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;revisions&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;amp;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        &lt;span class=&quot;re0&quot;&gt;$_monobook_tabs&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;ca-history&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;accesskey&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;O&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$ACT&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;===&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;revisions&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;//$ACT comes from DokuWiki core&lt;/span&gt;
            &lt;span class=&quot;re0&quot;&gt;$_monobook_tabs&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;ca-history&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;class&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;selected&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Hide Revisions and Page Source for not-ADMIN in Users&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;hide_revisions_and_page_source_for_not-admin_in_users&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;47-1607&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;include_blog_read_more&quot;&gt;Include / Blog &amp;quot;Read More...&amp;quot;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
The default is for a “read more…” link to be placed at the extreme right of the page - which is not ideal when using Monobook template.
&lt;/p&gt;

&lt;p&gt;
I found the css setting that controls the position of “read more…” in &lt;code&gt;../lib/plugins/include/style.css&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code css&quot;&gt;div&lt;span class=&quot;re1&quot;&gt;.dokuwiki&lt;/span&gt; p&lt;span class=&quot;re1&quot;&gt;.include_readmore&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;text-align&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;right&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
changing it to 
&lt;/p&gt;
&lt;pre class=&quot;code css&quot;&gt;div&lt;span class=&quot;re1&quot;&gt;.dokuwiki&lt;/span&gt; p&lt;span class=&quot;re1&quot;&gt;.include_readmore&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;text-align&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;left&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
solved the problem and “read more…” is now on the left, directly at the point that the eyes get to when reading a post on the main blog index page.
&lt;/p&gt;

&lt;p&gt;
To prevent this being overwritten on updates I found it works to put the same stanza in &lt;code&gt;../conf/userstyle.css&lt;/code&gt; which should keep it safe…
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Include \/ Blog \&amp;quot;Read More...\&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;include_blog_read_more&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1608-2366&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;vector_monobook_tweaks&quot;&gt;Vector / Monobook tweaks&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I like the Vector and Monobook templates, very similar feel to Wikipedia
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Vector \/ Monobook tweaks&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;vector_monobook_tweaks&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;2367-2478&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;logout_errors_with_later_versions_of_dokuwiki&quot;&gt;Logout errors with later versions of Dokuwiki&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
After upgrading Dokuwiki to &lt;em&gt;Igor&lt;/em&gt; it became impossible to log out due to a warning 
&lt;/p&gt;
&lt;div class=&quot;plugin_note notewarning&quot;&gt;Security Token did not match. Possible CSRF attack.

&lt;/div&gt;
&lt;p&gt;
I initially ignored it but then downgraded back to &lt;em&gt;Hogfather&lt;/em&gt; as there seemed to be no fix - other than to use a different template.
&lt;/p&gt;

&lt;p&gt;
I recently upgraded to the latest Dokuwiki (Jack Jackrum), and upgraded all plugins and templates where possible. However the problem with logout with Vector and Monobook re-appeared.
&lt;/p&gt;

&lt;p&gt;
I found there was a fix described on the forum:
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://forum.dokuwiki.org/d/20248-security-token-did-not-match-possible-csrf-attack-cannot-log-out&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://forum.dokuwiki.org/d/20248-security-token-did-not-match-possible-csrf-attack-cannot-log-out&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://forum.dokuwiki.org/d/20248-security-token-did-not-match-possible-csrf-attack-cannot-log-out&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
and the cure is to edit the appropriate line in &lt;code&gt;main.php&lt;/code&gt; for each template, as the author seems not to be maintaining these templates any more, at least not the official ones accessed via Dokuwiki&amp;#039;s Template/Extension installer. The github repository shows that the fix has been applied to &lt;code&gt;Vector&lt;/code&gt;, and a pull request submitted to fix &lt;code&gt;Monobook&lt;/code&gt;, the fixes haven&amp;#039;t appeared in the official versions. 
&lt;/p&gt;

&lt;p&gt;
The &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/fixme.svg&quot; class=&quot;icon smiley&quot; alt=&quot;FIXME&quot; /&gt; does work, though…
&lt;/p&gt;

&lt;p&gt;
For Vector edit &lt;code&gt;/var/www/html/dokuwiki/lib/tpl/vector/main.php&lt;/code&gt; to add &lt;code&gt;, &amp;#039;sectok&amp;#039; ⇒ getSecurityToken()&lt;/code&gt; in the &lt;code&gt;array&lt;/code&gt; statement after &lt;code&gt;“do” ⇒ “logout”&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code php&quot;&gt; &lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt;  &lt;span class=&quot;st0&quot;&gt;&amp;quot;      &amp;lt;li id=&lt;span class=&quot;es1&quot;&gt;\&amp;quot;&lt;/span&gt;pt-logout&lt;span class=&quot;es1&quot;&gt;\&amp;quot;&lt;/span&gt;&amp;gt;&amp;lt;a href=&lt;span class=&quot;es1&quot;&gt;\&amp;quot;&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;wl&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cleanID&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;getId&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;a target=&quot;_BLANK&quot; href=&quot;http://www.php.net/array&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;do&amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;logout&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;&#039;sectok&#039;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; getSecurityToken&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es1&quot;&gt;\&amp;quot;&lt;/span&gt; rel=&lt;span class=&quot;es1&quot;&gt;\&amp;quot;&lt;/span&gt;nofollow&lt;span class=&quot;es1&quot;&gt;\&amp;quot;&lt;/span&gt;&amp;gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;hsc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$lang&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;btn_logout&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;span class=&quot;es1&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;//language comes from DokuWiki core&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
and the same for &lt;code&gt;Monobook&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code php&quot;&gt; &lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt;  &lt;span class=&quot;st0&quot;&gt;&amp;quot;          &amp;lt;li id=&lt;span class=&quot;es1&quot;&gt;\&amp;quot;&lt;/span&gt;pt-logout&lt;span class=&quot;es1&quot;&gt;\&amp;quot;&lt;/span&gt;&amp;gt;&amp;lt;a href=&lt;span class=&quot;es1&quot;&gt;\&amp;quot;&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;wl&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cleanID&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;getId&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;a target=&quot;_BLANK&quot; href=&quot;http://www.php.net/array&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;do&amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;logout&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;&#039;sectok&#039;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; getSecurityToken&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es1&quot;&gt;\&amp;quot;&lt;/span&gt; rel=&lt;span class=&quot;es1&quot;&gt;\&amp;quot;&lt;/span&gt;nofollow&lt;span class=&quot;es1&quot;&gt;\&amp;quot;&lt;/span&gt;&amp;gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;hsc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$lang&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;btn_logout&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;span class=&quot;es1&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;//language comes from DokuWiki core&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Logout errors with later versions of Dokuwiki&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;logout_errors_with_later_versions_of_dokuwiki&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;2479-4309&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;monospace_font&quot;&gt;Monospace font&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
I found the style applied to &lt;code&gt;monospace&lt;/code&gt; text was a little underwhelming. 
&lt;/p&gt;

&lt;p&gt;
I found the place to change it:
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt; /var/www/html/dokuwiki/lib/tpl/{vector|monobook}/user/screen.css &lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
add the the following and adjust as needed:
&lt;/p&gt;
&lt;pre class=&quot;code css&quot;&gt;div#&lt;span class=&quot;kw2&quot;&gt;content&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;.dokuwiki&lt;/span&gt; code &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;font-size&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;100%&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;padding-left&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;5px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;padding-right&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;5px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;background-color&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#eee&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;color&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#00f&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;direction&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ltr&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;text-align&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;left&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Monospace font&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;monospace_font&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:5,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;4310-4758&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;footer_buttons&quot;&gt;Footer Buttons&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Remove the default footer buttons by editing &lt;code&gt;{vector|monobook}/user/buttons.php&lt;/code&gt; and adding
&lt;/p&gt;
&lt;div class=&quot;plugin_note notetip&quot;&gt;For Monobook, change to &lt;pre class=&quot;code&quot;&gt;$_monobook_btns = array();&lt;/pre&gt;

&lt;/div&gt;&lt;pre class=&quot;code php&quot;&gt;&lt;span class=&quot;co1&quot;&gt;//delete all (defaults)&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$_vector_btns&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;a target=&quot;_BLANK&quot; href=&quot;http://www.php.net/array&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
this suppresses the inclusion of footer buttons from &lt;code&gt;vector/conf/buttons.php&lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;add_just_the_dokuwiki_and_vector_monobook_buttons&quot;&gt;Add just the Dokuwiki and Vector/Monobook Buttons&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Edit &lt;code&gt;{vector|monobook}/user/buttons.php&lt;/code&gt;
&lt;/p&gt;
&lt;div class=&quot;plugin_note notetip&quot;&gt;Swap &lt;code&gt;monobook&lt;/code&gt; for &lt;code&gt;vector&lt;/code&gt; as appropriate

&lt;/div&gt;&lt;pre class=&quot;code php&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;//check if we are running within the DokuWiki environment&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;&lt;a target=&quot;_BLANK&quot; href=&quot;http://www.php.net/defined&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;defined&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;DOKU_INC&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;a target=&quot;_BLANK&quot; href=&quot;http://www.php.net/die&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;die&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//delete all (defaults)&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$_vector_btns&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;a target=&quot;_BLANK&quot; href=&quot;http://www.php.net/array&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;  
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;//note: The buttons will be rendered in the order they were defined. Means:&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//      first button will be rendered first, last button will be rendered at&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//      last.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;//DokuWiki button&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$_vector_btns&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;dw&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;img&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;      &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; DOKU_TPL&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;static/img/button-dw.png&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$_vector_btns&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;dw&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;href&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;     &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;https://www.dokuwiki.org/&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$_vector_btns&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;dw&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;width&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;    &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;80&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$_vector_btns&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;dw&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;height&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;   &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$_vector_btns&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;dw&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;title&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;    &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;DokuWiki&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$_vector_btns&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;dw&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;nofollow&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cleanID&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;getID&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;===&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;start&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;//&amp;quot;vector for DokuWiki&amp;quot; button&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$_vector_btns&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;vecfdw&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;img&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;      &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; DOKU_TPL&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;static/img/button-vector.png&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$_vector_btns&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;vecfdw&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;href&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;     &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;https://www.dokuwiki.org/template:vector&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$_vector_btns&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;vecfdw&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;width&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;    &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;80&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$_vector_btns&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;vecfdw&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;height&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;   &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$_vector_btns&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;vecfdw&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;title&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;    &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$lang&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;vector_mdtemplatefordw&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$_vector_btns&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;vecfdw&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;nofollow&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cleanID&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;getID&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;===&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;start&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Footer Buttons&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;footer_buttons&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:6,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;4759-6393&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;symbol_chooser_font_size&quot;&gt;Symbol Chooser font size&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
The drop-down picker for choosing a symbol to insert in the text being edited is very small in Monobook as standard.
&lt;/p&gt;

&lt;p&gt;
It&amp;#039;s controlled by the &lt;code&gt;pickerbutton&lt;/code&gt; class and is set at &lt;code&gt;80%&lt;/code&gt; in the standard &lt;code&gt;monobook&lt;/code&gt; css.
&lt;/p&gt;

&lt;p&gt;
It&amp;#039;s adjusted thus (to 1.2em) and some extra margin added around the symbols:
&lt;/p&gt;

&lt;p&gt;
button.pickerbutton {
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;padding: 0px;
margin: 2px 2px 2px 2px;
border: 0;
background-color: transparent;
font-size: 1.2em;
cursor: pointer;&lt;/pre&gt;

&lt;p&gt;
}
&lt;/p&gt;

&lt;p&gt;
Put this in &lt;code&gt;user/screen.css&lt;/code&gt; with all the other tweaks.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Symbol Chooser font size&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;symbol_chooser_font_size&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:9,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;6394-6944&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit9&quot; id=&quot;mobile_scaling&quot;&gt;Mobile Scaling&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
The layout on a phone isn&amp;#039;t too good, and can&amp;#039;t be zoomed/scaled. 
&lt;/p&gt;

&lt;p&gt;
I found this thread:
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://forum.dokuwiki.org/d/12469-vector-template-doesn-t-display-correctly-on-mobile-devices/6&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://forum.dokuwiki.org/d/12469-vector-template-doesn-t-display-correctly-on-mobile-devices/6&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://forum.dokuwiki.org/d/12469-vector-template-doesn-t-display-correctly-on-mobile-devices/6&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
and applied the comment-out of the line :
&lt;/p&gt;
&lt;pre class=&quot;code php&quot;&gt;&lt;span class=&quot;co1&quot;&gt;//echo &amp;quot;&amp;lt;meta name=\&amp;quot;viewport\&amp;quot; content=\&amp;quot;width=device-width,initial-scale=1\&amp;quot; /&amp;gt;&amp;quot;;&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
in &lt;code&gt;main.php&lt;/code&gt; and &lt;code&gt;mediamanager.php&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
the page now scales/zooms okay to make it useable on a phone.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Mobile Scaling&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;mobile_scaling&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:9,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;6945-7417&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit10&quot; id=&quot;monobook_user_screencss&quot;&gt;Monobook user/screen.css&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;pre class=&quot;code css&quot;&gt;&lt;span class=&quot;coMULTI&quot;&gt;/* Give sidebar more space.
&amp;nbsp;
   Default widths:
   - 12.2em as left spacer for the content area. This example is using 14.2em
     instead.
   - 11.6em as sidebar width. This example is using 13.6em instead.
   - 10.9em as width for the search input field. This example is using 12.9em
     instead.
   - 150px as left spacer for the Ajax searchbox. This example is using 180px.
*/&lt;/span&gt;
&lt;span class=&quot;coMULTI&quot;&gt;/* move content container more to the right */&lt;/span&gt;
#&lt;span class=&quot;kw2&quot;&gt;content&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;margin&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;2.8em&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;14.2em&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;#column-content&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;margin&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;.6em&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;-14.2em&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;#column-content&lt;/span&gt; #&lt;span class=&quot;kw2&quot;&gt;content&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;margin-left&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;14.2em&lt;/span&gt; !important&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;coMULTI&quot;&gt;/* adjustment for  IE (7) */&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;coMULTI&quot;&gt;/* redefine sidebar width + tab bar position */&lt;/span&gt;
&lt;span class=&quot;re1&quot;&gt;.portlet&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;width&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;13.6em&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;#p-cactions&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;left&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;13.6em&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;coMULTI&quot;&gt;/* tab bar */&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;coMULTI&quot;&gt;/* search input field */&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;#qsearch__in&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;width&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;11.5em&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;coMULTI&quot;&gt;/* ajax &amp;quot;matching pagename&amp;quot; searchbox */&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;#qsearch__out&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;left&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;180px&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
div&lt;span class=&quot;re1&quot;&gt;.dokuwiki&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#dw__toc&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;margin&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;1.2em&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;2em&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;right&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;width&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;200px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; 
  &lt;span class=&quot;kw1&quot;&gt;font-size&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;100%&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;clear&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;both&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;background-color&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; __background__&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; 
&amp;nbsp;
div#&lt;span class=&quot;kw2&quot;&gt;content&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;.dokuwiki&lt;/span&gt; code &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;font-size&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;1.1em&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;padding-left&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;5px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;padding-right&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;5px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;background-color&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#eee&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;color&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#22f&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;border-radius&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;4px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;direction&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ltr&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;text-align&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;left&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;white-space&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;pre&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
div#&lt;span class=&quot;kw2&quot;&gt;content&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;.dokuwiki&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;pre&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;border-radius&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;5px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;background-color&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#faffff&lt;/span&gt; !important&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
button&lt;span class=&quot;re1&quot;&gt;.pickerbutton&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;padding&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;0px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;margin&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;2px&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;2px&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;2px&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;2px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;border&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;background-color&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;transparent&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;font-size&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;1.2em&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;cursor&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;pointer&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;re1&quot;&gt;.pBody&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;font-size&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;1.1em&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;padding-bottom&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;1em&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re0&quot;&gt;#bodyContent&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;font-size&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;1.1em&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
kbd&lt;span class=&quot;re1&quot;&gt;.__keyboard&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;color&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#0000ff&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;background-color&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#defede&lt;/span&gt; !important&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;text-align&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;center&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;border-left&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;1px&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;solid&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#cfcfcf&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;border-top&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;1px&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;solid&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#cfcfcf&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;border-right&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;3px&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;solid&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#666666&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;border-bottom&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;3px&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;solid&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#666666&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  -moz-border-radius&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;4px&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;4px&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;4px&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;4px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;border-radius&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;6px&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;6px&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;6px&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;6px&lt;/span&gt; !important&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;padding-left&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;3px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;padding-top&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;0px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;padding-right&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;3px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;padding-bottom&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;0px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;margin-left&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;2px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;margin-right&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;2px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;vertical-align&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;top&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;font-family&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;sans-serif&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;white-space&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;nowrap&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;font-size&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;1.1em&lt;/span&gt; !important&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
div&lt;span class=&quot;re1&quot;&gt;.qq-upload-button&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
 &lt;span class=&quot;kw1&quot;&gt;border&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;1px&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;solid&lt;/span&gt; __border__&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Monobook user\/screen.css&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;monobook_user_screencss&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:10,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;7418-9664&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit11&quot; id=&quot;dokuwiki_template_css&quot;&gt;Dokuwiki Template CSS&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Standard settings for font sizes etc. for different elements is here:
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;/var/www/html/dokuwiki/lib/tpl/dokuwiki/css/design.less&lt;/code&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; add any modified tweaks to the CSS to a &lt;code&gt;userstyle.css&lt;/code&gt; i.e. &lt;code&gt;/var/www/html/dokuwiki/conf/userstyle.css&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;font-size&lt;/code&gt; etc&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code css&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;pre&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;border-radius&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;10px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;background-color&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#fcffff&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
code &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;color&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#c72522&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;font-size&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;1.1em&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;padding&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;0.1em&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;0.3em&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;border-radius&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;0px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;re1&quot;&gt;.dokuwiki&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;.aside&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;font-size&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;90%&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
body &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;font-size&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;90%&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;re1&quot;&gt;.dokuwiki&lt;/span&gt; div&lt;span class=&quot;re1&quot;&gt;.breadcrumbs&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;font-size&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;90%&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
See also &lt;a href=&quot;#dokuwiki_template_monospace_font&quot; title=&quot;public:computers:dokuwiki:dokuwiki_tweaks ↵&quot; class=&quot;wikilink1&quot;&gt;Dokuwiki Template monospace font&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Dokuwiki Template CSS&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dokuwiki_template_css&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:11,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;9665-10350&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit12&quot; id=&quot;dokuwiki_template_tagline&quot;&gt;Dokuwiki Template Tagline&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;&amp;lt;p style=&amp;quot;font-size:12px;background-color:#a5e4fa;&amp;quot;&amp;gt;Try to learn &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;something&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt; about everything, and &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;everything&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt; about something &amp;lt;br&amp;gt; &amp;lt;i&amp;gt; -Thomas Huxley “Darwin&amp;#039;s bulldog” (1824-1895)&amp;lt;/i&amp;gt;&amp;lt;/p&amp;gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Dokuwiki Template Tagline&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dokuwiki_template_tagline&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:12,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;10351-10621&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit13&quot; id=&quot;dokuwiki_timezone&quot;&gt;Dokuwiki Timezone&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I noticed the timestamps on file creation/modification were in UTC&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I&amp;#039;d rather have “local time” so I don&amp;#039;t have to think too hard&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; The answer is here → &lt;a href=&quot;https://www.dokuwiki.org/tips:timezone&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/tips:timezone&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.dokuwiki.org/tips:timezone&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I used the first option, after successfully testing the second (editing &lt;code&gt;php.ini&lt;/code&gt;)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I created &lt;code&gt;conf/local.protected.php&lt;/code&gt; with &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code php&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt;
&lt;a target=&quot;_BLANK&quot; href=&quot;http://www.php.net/date_default_timezone_set&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;date_default_timezone_set&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Europe/London&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I did &lt;code&gt;sudo chown www-data:www-data local.protected.php&lt;/code&gt; too, just to be sure&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; All looks good - pages created/modified while in &lt;em&gt;summer time&lt;/em&gt; show the time in &lt;code&gt;BST&lt;/code&gt; and pages modified in &lt;em&gt;winter time&lt;/em&gt; show the time in &lt;code&gt;GMT&lt;/code&gt; &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Dokuwiki Timezone&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dokuwiki_timezone&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:13,&amp;quot;secid&amp;quot;:13,&amp;quot;range&amp;quot;:&amp;quot;10622-11313&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit14&quot; id=&quot;add_dw2pdf&quot;&gt;Add DW2PDF&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; To allow export of pages from Wiki → PDF format install plugin &lt;a href=&quot;https://www.dokuwiki.org/plugin:dw2pdf&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:dw2pdf&quot; rel=&quot;ugc nofollow noopener&quot;&gt;dw2pdf&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; to enable functionality it was necessary to install &lt;code&gt;php-mbstring&lt;/code&gt; package on the VPS&lt;/div&gt;
&lt;ol&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;pre class=&quot;code&quot;&gt;sudo apt-get install php-mbstring&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;pre class=&quot;code&quot;&gt;sudo service apache2 restart&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Add DW2PDF&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;add_dw2pdf&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:14,&amp;quot;secid&amp;quot;:14,&amp;quot;range&amp;quot;:&amp;quot;11314-11647&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit15&quot; id=&quot;update&quot;&gt;UPDATE&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 26/04/23 10:04&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
removed &lt;code&gt;dw2pdf&lt;/code&gt; plugin, it is largely unused and adds pointless bloat.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;UPDATE&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;update&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:16,&amp;quot;secid&amp;quot;:15,&amp;quot;range&amp;quot;:&amp;quot;11648-11782&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit16&quot; id=&quot;increase_maximum_file_size_upload_for_media_manager&quot;&gt;Increase maximum file size upload for Media Manager&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ol&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; edit &lt;code&gt;php.ini&lt;/code&gt; &lt;/div&gt;
&lt;ol&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;pre class=&quot;code&quot;&gt;sudo vi /etc/php/XX/apache2/php.ini&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; change  &lt;code&gt;upload_max_filesize = 2M&lt;/code&gt; to &lt;code&gt;upload_max_filesize = 20M&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; change &lt;code&gt;post_max_size = 2M&lt;/code&gt; to &lt;code&gt;post_max_size = 20M&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;pre class=&quot;code&quot;&gt;sudo service apache2 restart&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Increase maximum file size upload for Media Manager&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;increase_maximum_file_size_upload_for_media_manager&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:16,&amp;quot;secid&amp;quot;:16,&amp;quot;range&amp;quot;:&amp;quot;11783-12112&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit17&quot; id=&quot;allow_any_file-type_upload&quot;&gt;Allow any file-type upload&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
From &lt;a href=&quot;https://forum.dokuwiki.org/d/3318-allow-upload-of-any-filetype/5&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://forum.dokuwiki.org/d/3318-allow-upload-of-any-filetype/5&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://forum.dokuwiki.org/d/3318-allow-upload-of-any-filetype/5&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Edit &lt;code&gt;/var/www/html/www/dokuwiki/inc/media.php&lt;/code&gt; and comment out :
&lt;/p&gt;
&lt;pre class=&quot;code php&quot;&gt;    &lt;span class=&quot;co1&quot;&gt;// because a temp file was created already&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;//if (!preg_match(&#039;/\.(&#039; . $regex . &#039;)$/i&#039;, $fn)) {&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;//    return [$lang[&#039;uploadwrong&#039;], -1];&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;//}&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Allow any file-type upload&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;allow_any_file-type_upload&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:18,&amp;quot;secid&amp;quot;:17,&amp;quot;range&amp;quot;:&amp;quot;12113-12475&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit18&quot; id=&quot;jpg_upload_error_-_xml&quot;&gt;jpg upload error - XML&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Media manage red warnings when uploading jpg image files
&lt;/p&gt;
&lt;div class=&quot;plugin_note notewarning&quot;&gt;Error: Call to undefined function xml_parser_create()

&lt;/div&gt;
&lt;p&gt;
New VPS was missing the &lt;code&gt; php-xml &lt;/code&gt; package.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;sudo apt install php-xml
sudo service apache2 restart&lt;/pre&gt;

&lt;p&gt;
&lt;a href=&quot;https://forum.dokuwiki.org/d/21045-error-call-to-undefined-function-xml-parser-create&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://forum.dokuwiki.org/d/21045-error-call-to-undefined-function-xml-parser-create&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://forum.dokuwiki.org/d/21045-error-call-to-undefined-function-xml-parser-create&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;jpg upload error - XML&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;jpg_upload_error_-_xml&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:19,&amp;quot;secid&amp;quot;:18,&amp;quot;range&amp;quot;:&amp;quot;12476-12847&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit19&quot; id=&quot;acronyms_abbreviations&quot;&gt;Acronyms &amp;amp; Abbreviations&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I find the underlining and “explanation” of some abbreviations/acronyms by dokuwiki, when rendering a page, to be annoying.
&lt;/p&gt;

&lt;p&gt;
such as DNS and ACL
&lt;/p&gt;

&lt;p&gt;
The process is described &lt;a href=&quot;https://www.dokuwiki.org/abbreviations&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/abbreviations&quot; rel=&quot;ugc nofollow noopener&quot;&gt; HERE &lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
To disable this I simply copied the default &lt;code&gt;conf/acronyms.conf&lt;/code&gt; to a local version &lt;code&gt;conf/acronyms.local.conf&lt;/code&gt; and then edited the &lt;code&gt;local&lt;/code&gt; version to remove all the explanations.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;# Acronyms.

ACL
AFAICS
AFAIK
AFAIR
API
ASAP
ASCII
BTW
CMS
CSS
DNS
EOF
EOL
EOM
EOT
FAQ
FTP
FOSS
FLOSS
FUD
FYI
GB
GHz
GPL
GUI
HTML
IANAL
IE
IIRC
IMHO
IMO
IOW
IRC
IRL
KISS
LAN
LGPL
LOL
MathML
MB
MHz
MSIE
OMG
OS
OSS
OTOH
PITA
RFC
ROTFL
RTFM
spec
TIA
TL;DR
TOC
URI
URL
W3C
WTF?
WYSIWYG
YMMV
&lt;/pre&gt;

&lt;p&gt;
This supresses the annoyance.
&lt;/p&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 30/04/23 13:49&lt;/em&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Acronyms &amp;amp; Abbreviations&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;acronyms_abbreviations&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:19,&amp;quot;secid&amp;quot;:19,&amp;quot;range&amp;quot;:&amp;quot;12848-13671&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit20&quot; id=&quot;add_folded_plugin&quot;&gt;Add folded plugin&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
make a clickable hide/reveal section with 
&lt;/p&gt;

&lt;p&gt;

++++ visible text | 

hidden text blah blah 

++++

&lt;/p&gt;

&lt;p&gt;
e.g.
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_6905d78f3aa2024d930cb931efaca3ef_33&quot;&gt;There is a table here... &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_6905d78f3aa2024d930cb931efaca3ef_33&quot;&gt;&lt;div class=&quot;table sectionedit21&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Col1&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Col2&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Col3&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;one&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;two&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;three&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:21,&amp;quot;range&amp;quot;:&amp;quot;13843-13875&amp;quot;} --&gt;&lt;pre class=&quot;code python&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; func&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;hello world&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Add folded plugin&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;add_folded_plugin&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:20,&amp;quot;secid&amp;quot;:20,&amp;quot;range&amp;quot;:&amp;quot;13672-13941&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit22&quot; id=&quot;increase_tagcloud_font_size&quot;&gt;Increase TAGCLOUD font size&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
edit &lt;code&gt;/var/www/html/dokuwiki/lib/plugins/cloud/style.less&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
increase &lt;code&gt;size factor&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code css&quot;&gt;&lt;span class=&quot;coMULTI&quot;&gt;/* Size factor. */&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;@sF&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1.2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
force re-fresh of browser to show new font size.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Increase TAGCLOUD font size&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;increase_tagcloud_font_size&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:21,&amp;quot;secid&amp;quot;:22,&amp;quot;range&amp;quot;:&amp;quot;13942-14169&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit23&quot; id=&quot;keyboard_plugin&quot;&gt;Keyboard Plugin&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; tweak the size, border and colour&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h4 id=&quot;example_keys&quot;&gt;example keys&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;Ctrl&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;C&lt;/kbd&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;tweaks&quot;&gt;Tweaks&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;code&gt;/var/www/html/dokuwiki/lib/plugins/keyboard/all.css&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code css&quot;&gt;kbd&lt;span class=&quot;re1&quot;&gt;.__keyboard&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;color&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#0000ff&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;background-color&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#defede&lt;/span&gt; !important&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;text-align&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;center&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;border-left&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;1px&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;solid&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#cfcfcf&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;border-top&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;1px&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;solid&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#cfcfcf&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;border-right&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;3px&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;solid&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#666666&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;border-bottom&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;3px&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;solid&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#666666&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  -moz-border-radius&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;4px&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;4px&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;4px&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;4px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;padding-left&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;3px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;padding-top&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;0px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;padding-right&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;3px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;padding-bottom&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;0px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;margin-left&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;2px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;margin-right&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;2px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;vertical-align&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;top&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;font-family&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;sans-serif&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;white-space&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;nowrap&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;font-size&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;1.2em&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Keyboard Plugin&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;keyboard_plugin&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:22,&amp;quot;secid&amp;quot;:23,&amp;quot;range&amp;quot;:&amp;quot;14170-14868&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit24&quot; id=&quot;dokuwiki_template_monospace_font&quot;&gt;Dokuwiki Template monospace font&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; the colour of the mono font is the same as general text and doesn&amp;#039;t stand out as well as in other templates.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; edit &lt;code&gt;/var/www/html/dokuwiki/lib/tpl/dokuwiki/css/basic.less&lt;/code&gt; with a hex code for a better colour&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; but see below for a better place to do the configuraiton&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code css&quot;&gt;code &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;color&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#c72522&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;font-size&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;1.1em&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;padding&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;0.1em&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;0.3em&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;border-radius&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; To prevent upgrades overwriting these changes - add them to &lt;code&gt;/var/www/html/dokuwiki/conf/userstyle.css&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;pre&lt;/code&gt; relates to the blocks of &amp;lt;code&amp;gt; ////// &amp;lt;/code&amp;gt; &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;code&lt;/code&gt; relates to &lt;code&gt;monospaced text&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code css&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;pre&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;border-radius&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;10px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
         &lt;span class=&quot;kw1&quot;&gt;background-color&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#fcffff&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
code &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;color&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;#c72522&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;font-size&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;1.1em&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;padding&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;0.1em&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;0.3em&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;border-radius&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;0px&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Dokuwiki Template monospace font&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dokuwiki_template_monospace_font&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:23,&amp;quot;secid&amp;quot;:24,&amp;quot;range&amp;quot;:&amp;quot;14869-15743&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit25&quot; id=&quot;remove_dokuwiki_template_footer_buttons&quot;&gt;Remove Dokuwiki template footer buttons&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; edit &lt;code&gt;/var/www/html/dokuwiki/lib/tpl/dokuwiki/tpl_footer.php&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; comment out ( &amp;lt;!-- ///// --&amp;gt; ) the license stanza &lt;strong&gt;and/or&lt;/strong&gt; the &amp;lt;div&amp;gt; that contains the “buttons”&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code php&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt;
&lt;span class=&quot;co4&quot;&gt;/**&lt;/span&gt;
&lt;span class=&quot;co4&quot;&gt;&amp;nbsp;* Template footer, included in the main and detail files&lt;/span&gt;
&lt;span class=&quot;co4&quot;&gt;&amp;nbsp;*/&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;// must be run from within DokuWiki&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;&lt;a target=&quot;_BLANK&quot; href=&quot;http://www.php.net/defined&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;defined&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;&#039;DOKU_INC&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;a target=&quot;_BLANK&quot; href=&quot;http://www.php.net/die&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;die&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;sy1&quot;&gt;?&amp;gt;&lt;/span&gt;
&amp;nbsp;
&amp;lt;!-- ********** FOOTER ********** --&amp;gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;lt;div id=&amp;quot;dokuwiki__footer&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;pad&amp;quot;&amp;gt;
&amp;nbsp;
&lt;span class=&quot;xtra ln-xtra&quot;&gt;&amp;lt;!--    &lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt; tpl_license&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// license text ?&amp;gt; --&amp;gt;&lt;/span&gt;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;xtra ln-xtra&quot;&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;lt;!--&lt;/span&gt;    &lt;/span&gt;
&lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;div &lt;span class=&quot;kw2&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;buttons&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt;
            tpl_license&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;&#039;button&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// license button, no wrapper&lt;/span&gt;
            &lt;span class=&quot;re0&quot;&gt;$target&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$conf&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;&#039;target&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;&#039;extern&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; ? &lt;span class=&quot;st_h&quot;&gt;&#039;target=&amp;quot;&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$conf&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;&#039;target&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;&#039;extern&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;&#039;&amp;quot;&#039;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        &lt;span class=&quot;sy1&quot;&gt;?&amp;gt;&lt;/span&gt;
        &amp;lt;a href=&amp;quot;https://www.dokuwiki.org/donate&amp;quot; title=&amp;quot;Donate&amp;quot; &lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$target&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;?&amp;gt;&lt;/span&gt;&amp;gt;&amp;lt;img
            src=&amp;quot;&lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; tpl_basedir&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;?&amp;gt;&lt;/span&gt;images/button-donate.gif&amp;quot; width=&amp;quot;80&amp;quot; height=&amp;quot;15&amp;quot; alt=&amp;quot;Donate&amp;quot; /&amp;gt;&amp;lt;/a&amp;gt;
        &amp;lt;a href=&amp;quot;https://php.net&amp;quot; title=&amp;quot;Powered by PHP&amp;quot; &lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$target&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;?&amp;gt;&lt;/span&gt;&amp;gt;&amp;lt;img
            src=&amp;quot;&lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; tpl_basedir&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;?&amp;gt;&lt;/span&gt;images/button-php.gif&amp;quot; width=&amp;quot;80&amp;quot; height=&amp;quot;15&amp;quot; alt=&amp;quot;Powered by PHP&amp;quot; /&amp;gt;&amp;lt;/a&amp;gt;
        &amp;lt;a href=&amp;quot;//validator.w3.org/check/referer&amp;quot; title=&amp;quot;Valid HTML5&amp;quot; &lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$target&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;?&amp;gt;&lt;/span&gt;&amp;gt;&amp;lt;img
            src=&amp;quot;&lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; tpl_basedir&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;?&amp;gt;&lt;/span&gt;images/button-html5.png&amp;quot; width=&amp;quot;80&amp;quot; height=&amp;quot;15&amp;quot; alt=&amp;quot;Valid HTML5&amp;quot; /&amp;gt;&amp;lt;/a&amp;gt;
        &amp;lt;a href=&amp;quot;//jigsaw.w3.org/css-validator/check/referer?profile=css3&amp;quot; title=&amp;quot;Valid CSS&amp;quot; &lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$target&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;?&amp;gt;&lt;/span&gt;&amp;gt;&amp;lt;img
            src=&amp;quot;&lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; tpl_basedir&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;?&amp;gt;&lt;/span&gt;images/button-css.png&amp;quot; width=&amp;quot;80&amp;quot; height=&amp;quot;15&amp;quot; alt=&amp;quot;Valid CSS&amp;quot; /&amp;gt;&amp;lt;/a&amp;gt;
        &amp;lt;a href=&amp;quot;https://dokuwiki.org/&amp;quot; title=&amp;quot;Driven by DokuWiki&amp;quot; &lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$target&lt;/span&gt;&lt;span class=&quot;sy1&quot;&gt;?&amp;gt;&lt;/span&gt;&amp;gt;&amp;lt;img
            src=&amp;quot;&lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; tpl_basedir&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;?&amp;gt;&lt;/span&gt;images/button-dw.png&amp;quot; width=&amp;quot;80&amp;quot; height=&amp;quot;15&amp;quot;
            alt=&amp;quot;Driven by DokuWiki&amp;quot; /&amp;gt;&amp;lt;/a&amp;gt;
    &amp;lt;/div&amp;gt;
&lt;span class=&quot;xtra ln-xtra&quot;&gt;--&amp;gt;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;!-- /footer --&amp;gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt;
tpl_includeFile&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;&#039;footer.html&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Remove Dokuwiki template footer buttons&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;remove_dokuwiki_template_footer_buttons&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:25,&amp;quot;secid&amp;quot;:25,&amp;quot;range&amp;quot;:&amp;quot;15744-17735&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit26&quot; id=&quot;bootstrap3_themebynamespace&quot;&gt;Bootstrap3 ThemeByNamespace&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
To force specific &lt;code&gt;bootstrap/bootswatch&lt;/code&gt; themes dependant on the namespace
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; enable &lt;code&gt;ThemeByNamespace&lt;/code&gt; option &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; create a file in &lt;code&gt;&amp;lt;dokuwiki&amp;gt;/conf&lt;/code&gt; called &lt;code&gt;bootstrap3.themes.conf&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;chown www-data:www-data bootstrap3.themes.conf&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; add the required theme/namespace mapping:&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;# Namespace  Bootswatch Theme&lt;/span&gt;
start                   bootswatch&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;darkly
public                  bootswatch&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;darkly
public:calculator       bootswatch&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;slate
public:journal          bootswatch&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;journal
private                 bootswatch&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;flatly
playground              bootswatch&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;united
private:wire2waves      bootswatch&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;paper
blog                    bootswatch&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;yeti&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; it seems necessary to disable &lt;code&gt;showThemeSwitcher&lt;/code&gt; and to select a default theme to be used outside of any listed in the conf file&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Bootstrap3 ThemeByNamespace&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;bootstrap3_themebynamespace&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:26,&amp;quot;secid&amp;quot;:26,&amp;quot;range&amp;quot;:&amp;quot;17736-18594&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit27&quot; id=&quot;alternative&quot;&gt;Alternative&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;strong&gt; Using the &lt;code&gt;loadskin&lt;/code&gt; plugin &lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
it&amp;#039;s possible to switch to the default &lt;code&gt;dokuwiki&lt;/code&gt; template when on a mobile device and the &lt;code&gt;vector&lt;/code&gt; template when on a computer.
&lt;/p&gt;
&lt;div class=&quot;plugin_note noteimportant&quot;&gt;The &lt;code&gt;loadskin&lt;/code&gt; plugin seems to lead to problems switching between &lt;code&gt;monobook&lt;/code&gt; and &lt;code&gt;vector&lt;/code&gt; - the &lt;strong&gt;navigation sidebar&lt;/strong&gt; seems to disappear on one or the other. Not sure where the problem is.
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Alternative&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;alternative&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:27,&amp;quot;secid&amp;quot;:27,&amp;quot;range&amp;quot;:&amp;quot;18595-19008&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit28&quot; id=&quot;note_plugin&quot;&gt;Note Plugin&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Various Coloured notes:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;
&amp;lt;note&amp;gt;
This is my note ! Remember it!!
&amp;lt;/note&amp;gt;

&amp;lt;note important&amp;gt;
Warning ! You&amp;#039;re about to lose your mind ;-)
&amp;lt;/note&amp;gt;

&amp;lt;note tip&amp;gt;
The clues are in the images.
&amp;lt;/note&amp;gt;

&amp;lt;note warning&amp;gt;
Beware of the cat when you open the door !!
&amp;lt;/note&amp;gt;


++++Note in a Folded section|
&amp;lt;note warning&amp;gt;
Ça fonctionne seulement avec le //div// pas le //span//.
&amp;lt;/note&amp;gt;
++++
&lt;/pre&gt;
&lt;div class=&quot;plugin_note noteclassic&quot;&gt;This is my note ! Remember it!!

&lt;/div&gt;&lt;div class=&quot;plugin_note noteimportant&quot;&gt;Warning ! You&amp;#039;re about to lose your mind &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/wink.svg&quot; class=&quot;icon smiley&quot; alt=&quot;;-)&quot; /&gt;

&lt;/div&gt;&lt;div class=&quot;plugin_note notetip&quot;&gt;The clues are in the images.

&lt;/div&gt;&lt;div class=&quot;plugin_note notewarning&quot;&gt;Beware of the cat when you open the door !!

&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_6905d78f3aa2024d930cb931efaca3ef_34&quot;&gt;Note in a Folded section &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_6905d78f3aa2024d930cb931efaca3ef_34&quot;&gt;&lt;div class=&quot;plugin_note notewarning&quot;&gt;Ça fonctionne seulement avec le &lt;em&gt;div&lt;/em&gt; pas le &lt;em&gt;span&lt;/em&gt;.

&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Note Plugin&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;note_plugin&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:27,&amp;quot;secid&amp;quot;:28,&amp;quot;range&amp;quot;:&amp;quot;19009-19784&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit29&quot; id=&quot;monobook_tweaks&quot;&gt;Monobook Tweaks&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Monobook Tweaks&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;monobook_tweaks&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:28,&amp;quot;secid&amp;quot;:29,&amp;quot;range&amp;quot;:&amp;quot;19785-19813&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit30&quot; id=&quot;pdf_export_tab&quot;&gt;PDF Export Tab&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
The &lt;code&gt;dw2pdf&lt;/code&gt; plugin provides a button on many templates to trigger export to &lt;code&gt;PDF&lt;/code&gt; but not on &lt;code&gt;monobook&lt;/code&gt;. It&amp;#039;s possible to add a tab to the top of the page, beside the &lt;code&gt;edit&lt;/code&gt; etc. tabs, to do the the &lt;code&gt;pdf export&lt;/code&gt; function.
&lt;/p&gt;
&lt;div class=&quot;plugin_note notetip&quot;&gt;add the following code to to &lt;code&gt;monobook/user/tabs.php&lt;/code&gt;
&lt;/div&gt;&lt;pre class=&quot;code php&quot;&gt;&lt;span class=&quot;co1&quot;&gt;//PDF plugin: export tab&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a target=&quot;_BLANK&quot; href=&quot;http://www.php.net/file_exists&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;file_exists&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;DOKU_PLUGIN&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;dw2pdf/action.php&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;
    &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;plugin_isdisabled&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;dw2pdf&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;re0&quot;&gt;$_monobook_tabs&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;tab-export-pdf&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;text&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;pdf export&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;re0&quot;&gt;$_monobook_tabs&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;tab-export-pdf&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;href&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; wl&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;getID&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;a target=&quot;_BLANK&quot; href=&quot;http://www.php.net/array&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;do&amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;export_pdf&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;amp;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;PDF Export Tab&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;pdf_export_tab&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:28,&amp;quot;secid&amp;quot;:30,&amp;quot;range&amp;quot;:&amp;quot;19814-20446&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit31&quot; id=&quot;vector_interwiki_icons&quot;&gt;Vector Interwiki Icons&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
The icon shown on interwiki links almost always appears as a small “lock” rather than the correct icon 
&lt;/p&gt;

&lt;p&gt;
commenting out the &lt;code&gt;.link-https&lt;/code&gt; section in &lt;code&gt;/vector/static/3rd/vector/main-ltr.css&lt;/code&gt; stops this :
&lt;/p&gt;
&lt;pre class=&quot;code css&quot;&gt;div#&lt;span class=&quot;kw2&quot;&gt;content&lt;/span&gt; a.external&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
div#&lt;span class=&quot;kw2&quot;&gt;content&lt;/span&gt; a&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;href &lt;span class=&quot;sy0&quot;&gt;^=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;gopher://&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;background&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;co2&quot;&gt;static/3rd/vector/external-link-ltr-icon.png&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;center&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;right&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;no-repeat&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;padding&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;13px&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;coMULTI&quot;&gt;/*
div#content a[href ^=&amp;quot;https://&amp;quot;],
.link-https {
        background: url(static/3rd/vector/lock-icon.png) center right no-repeat;
        padding: 0 13px 0 0;
}
*/&lt;/span&gt;
&amp;nbsp;
div#&lt;span class=&quot;kw2&quot;&gt;content&lt;/span&gt; a&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;href &lt;span class=&quot;sy0&quot;&gt;^=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;mailto:&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;re1&quot;&gt;.link-mailto&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;background&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;co2&quot;&gt;static/3rd/vector/mail-icon.png&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;center&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;right&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;no-repeat&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;padding&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;re3&quot;&gt;13px&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
Page Updated: 19/04/26 16:02 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dokuwiki&amp;amp;do=showtag&amp;amp;tag=dokuwiki&quot; class=&quot;wikilink1&quot; title=&quot;tag:dokuwiki&quot; rel=&quot;tag&quot;&gt;dokuwiki&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Vector Interwiki Icons&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;vector_interwiki_icons&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:29,&amp;quot;secid&amp;quot;:31,&amp;quot;range&amp;quot;:&amp;quot;20447-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 19 Apr 2026 15:02:31 +0000</pubDate>
        </item>
        <item>
            <title>AOR AR7030</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:ar_7030</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:start&quot; data-wiki-id=&quot;public:radio:radio_database:start&quot;&gt;Rig and Key List&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;aor_ar7030&quot;&gt;AOR AR7030&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;AOR AR7030&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;aor_ar7030&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-42&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;faults_repairs_mods&quot;&gt;1. Faults/repairs/mods&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; July 2022 - Volume encoder u/s&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Bourns ECW1J-B24-AC0024L available at Farnell at £3.80&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Ordered 4 off 16/7/22&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Replaced vol encoder : July 2022&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; July 2022 - VFO Tuning encoder u/s&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Only changed freq. over a small portion of a revolution&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Using remote control via LAN to operate until a new encoder is sourced&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;1. Faults\/repairs\/mods&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;faults_repairs_mods&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;43-420&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;filters&quot;&gt;2. Filters&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;2. Filters&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;filters&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;421-443&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;currently_fitted&quot;&gt;Currently fitted:&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Before change (below)
&lt;/p&gt;
&lt;div class=&quot;table sectionedit5&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;PCB ref&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Description&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Model&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Bandwidth&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; X3 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; AM Narrow    &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; CKK455J    &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 3.9 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; X4 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; AM Normal #  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; CFW455IT   &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 5.6 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; X5 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; SSB #        &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; CFJ455K14  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 2.1 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; X6 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; FM #         &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; CFU455G2   &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 9.5 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; X7 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; AM Wide #    &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; CFW455HT   &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 6.4 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; X8 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; CW Collins   &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; MF300      &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 0.5 &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;494-777&amp;quot;} --&gt;
&lt;p&gt;
# = factory supplied
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Currently fitted:&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;currently_fitted&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;444-800&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;standard_fitting&quot;&gt;Standard Fitting&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;table sectionedit7&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;PCB ref&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Description&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Model&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Bandwidth&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; X3 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; AM Wide     &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; CFW455HT   &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 6.4 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; X4 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; AM Normal   &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; CFW455IT   &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 5.6 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; X5 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; SSB         &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; CFJ455K14  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 2.1 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; X6 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; FM          &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; CFU455G2   &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 9.5 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; X7 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Option 1 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; X8 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Option 2 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table1&amp;quot;,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;827-1068&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Standard Fitting&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;standard_fitting&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;801-1070&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;available_to_fit&quot;&gt;Available to fit:&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;CW / Data / SSB narrow : CFJ455K8 : 1.4&lt;/pre&gt;

&lt;/div&gt;

&lt;h4 id=&quot;july_2022&quot;&gt;July 2022&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Removed un-needed AM-Wide 6.4kHz from X7 and installed 1.4kHz “CW/Data/SSB Narrow”?
&lt;/p&gt;

&lt;p&gt;
This gives :
&lt;/p&gt;
&lt;div class=&quot;table sectionedit9&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;PCB ref&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Description&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Model&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Bandwidth&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; X3 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; AM Narrow    &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; CKK455J    &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 3.9 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; X4 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; AM Normal #  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; CFW455IT   &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 5.6 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; X5 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; SSB #        &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; CFJ455K14  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 2.1 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; X6 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; FM #         &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; CFU455G2   &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 9.5 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; X7 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; Data         &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  CFJ455K8  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 1.4 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; X8 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; CW Collins   &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; MF300      &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 0.5 &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table2&amp;quot;,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;1263-1546&amp;quot;} --&gt;
&lt;p&gt;
# = factory supplied
&lt;/p&gt;

&lt;p&gt;
In order of Bandwidth
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;1 : 0.5 CW
2 : 1.4 CW/Data
3 : 2.1 SSB
4 : 3.9 AM-Narrow
5 : 5.5 AM-Normal
6 : 9.5 FM&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Available to fit:&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;available_to_fit&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;1071-1691&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit10&quot; id=&quot;remote_control&quot;&gt;3. Remote Control&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
The Python module used in  &lt;a href=&quot;https://github.com/gm4slv/netradio&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://github.com/gm4slv/netradio&quot; rel=&quot;ugc nofollow noopener&quot;&gt;netradio&lt;/a&gt; for accessing AR7030. 
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_23435a1905691f3ea794e5079af58e0d_21&quot;&gt;Generic aor.py &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_23435a1905691f3ea794e5079af58e0d_21&quot;&gt;&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:radio:radio_database:ar_7030&amp;amp;codeblock=0&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_py&quot;&gt;aor.py&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file python&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; serial
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#sport = &amp;quot;/dev/ttyS0&amp;quot;&lt;/span&gt;
sport &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;/dev/ttyUSB1&amp;quot;&lt;/span&gt;
sbaud &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1200&lt;/span&gt;
&amp;nbsp;
lock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Lock&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
fract &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; ** &lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;44545&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; Ar7030&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;__init__&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; model&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; serial.&lt;span class=&quot;me1&quot;&gt;Serial&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sport&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sbaud&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; timeout&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;model&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; model
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; check_bit&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bit&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        mask &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt; bit
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &amp;amp; mask&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_bit&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bit&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        mask &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt; bit
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; | mask
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; clear_bit&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bit&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        mask &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt; bit&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &amp;amp; mask&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_ident&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;5f&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;40&#039;&lt;/span&gt;
        ident &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; ident
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_pre&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        p &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;check_bit&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; p:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; pre_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#get current 8-bit rxcon byte :&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit0 = filter FS3&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit1 = filter FS2&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit2 = filter FS1&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit3 = filter FS4&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit4 = preamp enabled&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit5 = atten 0 = 20dB / 1 = 40dB&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit6 = input filter 0 = HF / 1 = LF&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit7 = attenuator enabled&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt;
&amp;nbsp;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# set bit 4 ON = preamp ON and get the new 8-bit rxcon byte&lt;/span&gt;
        pon &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_bit&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# split new rxcon byte into two 4-bit nibbles, add 48/96 (\x30 and \x60)&lt;/span&gt;
        high &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        low &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &amp;amp; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;high&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;low&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;29&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Command sent&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; pre_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#get current 8-bit rxcon byte&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# set bit 4 OFF = preamp OFF and get the new 8-bit rxcon byte&lt;/span&gt;
        pon &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;clear_bit&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# split new rxcon byte into two 4-bit nibbles, add 48/96 (\x30 and \x60)&lt;/span&gt;
        high &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        low &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &amp;amp; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;high&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;low&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;29&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Command sent&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_att&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt;
&amp;nbsp;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        a &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;check_bit&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; a:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; att_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#get current 8-bit rxcon byte&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# set bit 7 ON = ATT ON and get the new 8-bit rxcon byte&lt;/span&gt;
        pon &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_bit&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# split new rxcon byte into two 4-bit nibbles, add 48/96 (\x30 and \x60)&lt;/span&gt;
        high &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        low &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &amp;amp; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;high&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;low&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;29&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Command sent&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; att_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#get current 8-bit rxcon byte&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# set bit 7 OFF = att OFF and get the new 8-bit rxcon byte&lt;/span&gt;
        pon &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;clear_bit&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# split new rxcon byte into two 4-bit nibbles, add 48/96 (\x30 and \x60)&lt;/span&gt;
        high &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        low &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &amp;amp; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;high&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;low&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;29&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Command sent&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        fval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; freq * fract
        &lt;span class=&quot;co1&quot;&gt;#print fval&lt;/span&gt;
        b1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fval / &lt;span class=&quot;nu0&quot;&gt;1048576&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        fval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; fval % &lt;span class=&quot;nu0&quot;&gt;1048576&lt;/span&gt;
        b2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fval / &lt;span class=&quot;nu0&quot;&gt;65536&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        fval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; fval % &lt;span class=&quot;nu0&quot;&gt;65536&lt;/span&gt;
        b3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fval / &lt;span class=&quot;nu0&quot;&gt;4096&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        fval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; fval % &lt;span class=&quot;nu0&quot;&gt;4096&lt;/span&gt;
        b4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fval / &lt;span class=&quot;nu0&quot;&gt;256&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        fval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; fval % &lt;span class=&quot;nu0&quot;&gt;256&lt;/span&gt;
        b5 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fval / &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        b6 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fval % &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        f_tuple &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; b1&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; b2&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; b3&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; b4&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; b5&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; b6 &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        freqStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; byte &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; f_tuple:
            freqStr +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;31&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;4a&#039;&lt;/span&gt; + freqStr + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;24&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Freq Set&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;31&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;4a&#039;&lt;/span&gt;
&amp;nbsp;
        freqStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        f_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; k &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; freqStr:
            f_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; f_val * &lt;span class=&quot;nu0&quot;&gt;256&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;k&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%.3f&amp;quot;&lt;/span&gt; % &lt;span class=&quot;kw2&quot;&gt;round&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;f_val / fract&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;lsb&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;66&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;usb&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;67&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;am&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;61&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;cw&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;65&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;data&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;64&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;fm&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;63&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s-am&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;62&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Mode not recognized&amp;quot;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;31&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;4d&#039;&lt;/span&gt; + set_mode_val + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;22&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Mode sent&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;31&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;4d&amp;quot;&lt;/span&gt;
        m &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;01&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;am&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;02&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s-am&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;03&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;fm&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;04&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;data&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;05&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;cw&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;06&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;lsb&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;07&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;usb&amp;quot;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; mode.&lt;span class=&quot;me1&quot;&gt;upper&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_s&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;2e&#039;&lt;/span&gt;
        sraw &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sraw&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_cal&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;52&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;3f&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;44&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;11&#039;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;sending getcal&amp;quot;&lt;/span&gt;
        cbytes &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        cal &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; c &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; cbytes:
            cal.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;c&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; cal
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_smeter&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_s&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        cal &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_cal&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        s1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s1 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s2 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s3 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s5 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s4 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s6 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s5 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s7 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s6 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; s1 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s2 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;113&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s1 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s3 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;103&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s2 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s4 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;93&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s3 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s5 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;83&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s4 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s6 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;73&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s5 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s7 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;63&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s6 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;43&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s7 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; reply&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; n&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;# apply thread lock&lt;/span&gt;
        lock.&lt;span class=&quot;me1&quot;&gt;acquire&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; reply:  &lt;span class=&quot;co1&quot;&gt;# for reading S-meter&lt;/span&gt;
            result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result:
                result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;read&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            lock.&lt;span class=&quot;me1&quot;&gt;release&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
&amp;nbsp;
            result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
            byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; n &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;71&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;co1&quot;&gt;#byte = &amp;quot;&amp;quot;&lt;/span&gt;
&amp;nbsp;
                &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; byte:
                    byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;read&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
                result +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; byte
&amp;nbsp;
                byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
                n -&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
            lock.&lt;span class=&quot;me1&quot;&gt;release&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;h4 id=&quot;update_july_2022&quot;&gt;Update July 2022&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
I&amp;#039;ve modified the server/client code to create a single-radio AR7030 control program that gives access to IF filter, and reads s-meter etc.
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:screenshot_2022-08-05_07.24.46.png&quot; class=&quot;media&quot; title=&quot;public:radio:radio_database:screenshot_2022-08-05_07.24.46.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=ed4b47&amp;amp;media=public:radio:radio_database:screenshot_2022-08-05_07.24.46.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_23435a1905691f3ea794e5079af58e0d_22&quot;&gt;New (July 2022) version of Tkinter GUI with S-Meter graph and IF filter Selection &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_23435a1905691f3ea794e5079af58e0d_22&quot;&gt;&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:radio:radio_database:ar_7030&amp;amp;codeblock=1&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_py&quot;&gt;gui_smeter.py&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file python&quot;&gt;&lt;span class=&quot;co1&quot;&gt;# # new class-based gui&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;Tkinter&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; *
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; Network&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;__init__&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;make_con&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; make_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;AF_INET&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;SOCK_STREAM&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;192.168.21.107&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9999&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; data&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            lock.&lt;span class=&quot;me1&quot;&gt;acquire&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sendall&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;data + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;received&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;recv&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;finally&lt;/span&gt;:
            lock.&lt;span class=&quot;me1&quot;&gt;release&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;received&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; Dash&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;__init__&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; master&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;master&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; master
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;s&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n1.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;getsockname&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;p&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n1.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;getpeername&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
        dash_frame &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Toplevel&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;master&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; borderwidth &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; relief &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; GROOVE&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        dash_frame.&lt;span class=&quot;me1&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Server&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        dash_frame.&lt;span class=&quot;me1&quot;&gt;protocol&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;WM_DELETE_WINDOW&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;handler&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        dash_frame.&lt;span class=&quot;me1&quot;&gt;resizable&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        dash_frame.&lt;span class=&quot;me1&quot;&gt;geometry&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;300x150+10-10&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        dash_frame.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;utc_time&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dash_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;utc_time&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;green&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dash_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;white&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dash_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;lt; --- &amp;gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;white&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dash_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;p&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;white&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;server_msg_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dash_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;server_msg_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;yellow&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; columnspan &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        q_button &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dash_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Quit&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: close&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        q_button.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; handler&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; up_dash&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;server_msg&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;ident&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;server_msg_l&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;server_msg&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;utc_time&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%d/%m/%Y %H:%M&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;gmtime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; nRadio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;__init__&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; master&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;master&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; master
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; radio
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;r&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        radio_frame &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Frame&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;master&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; borderwidth&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; relief&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;GROOVE&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        radio_frame.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        filter_frame &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Frame&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        filter_frame.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; columnspan&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        mode_frame &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Frame&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        mode_frame.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; columnspan&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rowspan&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        control_frame &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Frame&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        control_frame.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; columnspan&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        q_button &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Checkbutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;control_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Quit&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: close&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        q_button.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Name&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Freq/kHz&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Mode&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Signal/dBm&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Max/dBm&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;red&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Ave/dBm&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;green&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Min/dBm&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;blue&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_name&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_name&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_freq&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;red&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_freq&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_mode&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_mode&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filt_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; IntVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;r_filt_1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Radiobutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filter_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filt_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; value&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;0.5&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_filt&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;r_filt_1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;r_filt_2&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Radiobutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filter_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filt_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; value&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;1.4&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_filt&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;r_filt_2&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;r_filt_3&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Radiobutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filter_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filt_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; value&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;2.1&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_filt&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;r_filt_3&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;r_filt_4&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Radiobutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filter_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filt_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; value&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;3.9&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_filt&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;r_filt_4&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;r_filt_5&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Radiobutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filter_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filt_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; value&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;5.5&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_filt&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;r_filt_5&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;r_filt_6&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Radiobutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filter_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filt_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; value&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;9.5&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_filt&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;r_filt_6&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#Label(filter_frame, text=&amp;quot;Filter&amp;quot;, width=10).grid(row=4, column=2, columnspan=3, sticky=NSEW)&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;#self.l_filt = Label(radio_frame, textvariable=self.filt_l, width=10)&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.l_filt.grid(row=5, column=0, sticky=E)&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;#self.e_filt = Entry(radio_frame, width=10, bg = &#039;white&#039;, fg = &#039;black&#039;, insertbackground = &#039;blue&#039;)&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.e_filt.grid(row=6, column=0)&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.e_filt.bind(&#039;&amp;lt;Return&amp;gt;&#039;, (lambda event: self.set_filt(self.num)))&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;#self.e_mode = StringVar()&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_usb&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Radiobutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;USB&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; value&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;USB&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;usb&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_usb&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_lsb&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Radiobutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;LSB&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; value&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;LSB&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;lsb&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_lsb&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_cw&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Radiobutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;CW&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; value&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;CW&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;cw&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_cw&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_am&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Radiobutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;AM&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;value &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;AM&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;am&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_am&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_am&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Radiobutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;S-AM&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;value &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;S-AM&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;s-am&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_am&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_data&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Radiobutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Data&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; value&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;DATA&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;data&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_data&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_fm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Radiobutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;FM&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; value&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;FM&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;fm&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_fm&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_qsy_up&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;+1kHz&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;qsy_up&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_qsy_up&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_qsy_down&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;-1kHz&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;qsy_down&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_qsy_down&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_update&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Get&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;:&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.b_update.grid(row = 0, column = 3)&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_smeter&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_smeter&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;max_var&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_max&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;max_var&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_max&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ave_var&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_average&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ave_var&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_average&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;min_var&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_min&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;min_var&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_min&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;e_freq&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Entry&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;white&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; insertbackground &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;blue&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;e_freq&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;e_freq&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;focus&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;e_freq&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;bind&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;&amp;lt;Return&amp;gt;&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt; event: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;pre&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; IntVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_pre&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Checkbutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;control_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Preamp&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;pre&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;preamp_onoff&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_pre&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_pre&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;control_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Preamp&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.l_pre.grid(row=0, column=0, sticky=E)&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;att&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; IntVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_att&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Checkbutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;control_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Att&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;att&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;att_onoff&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_att&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_att&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;control_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Att&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.l_att.grid(row=1, column=0, sticky=E)&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_log&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; IntVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_log&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Checkbutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;control_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Log to file...&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_log&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_log&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_log&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;control_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Log to file...&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.l_log.grid(row = 2, column = 0, sticky = E)&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Canvas&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;260&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; height&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; columnspan&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rowspan&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        name &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_name&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_all&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_smeter&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_preamp&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_atten&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;graph_points&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;       
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;avg&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;max&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;min&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_filt&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_log&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; % &lt;span class=&quot;nu0&quot;&gt;10.0&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write_file&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_filt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filt&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfil&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filt_l&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filt&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_filt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filt&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filt_l&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;newfilt&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setfil&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filt&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.e_filt.delete(0,END)&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq_l&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;e_freq&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;newfreq&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;e_freq&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;delete&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; END&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; qsy_up&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        oldf &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        newf &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;oldf&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + newf + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; qsy_down&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        oldf &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        newf &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;oldf&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; - &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + newf + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode_l&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#self.mode = str(self.e_mode.get())&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;newmode&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + mode + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.e_mode.delete(0, END)&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_smeter&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getsmeter&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_l&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;129&lt;/span&gt;:
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;pop&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; avg&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;
        total &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; s:
            total +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; i
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;av&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;round&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;total / &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;s&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ave_var&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;av&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;create_line&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;av&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;310&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;av&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fill&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;green&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;av&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;min&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; s:
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; i &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt;:
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; i
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;min_var&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;create_line&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;310&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fill&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;blue&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;max&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; s:
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; i &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt;:
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; i
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;max_var&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;create_line&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;310&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fill&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;red&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_preamp&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;preamp&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getpreamp&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;preamp&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;1&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_pre&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;preamp&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_pre&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;deselect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; preamp_onoff&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;prestate&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;pre&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;prestate&lt;/span&gt;:
            n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;preampon&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;preampoff&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; att_onoff&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;attstate&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;att&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;attstate&lt;/span&gt;:
            n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;atton&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;attoff&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_atten&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;atten&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getatt&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;atten&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;1&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_att&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;atten&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_att&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;deselect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_name&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; radio
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;all_names&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;listradios&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radios&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;all_names&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radios&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radios&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; - &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name_l&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; graph_points&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        seq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;
        y_stretch &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
        y_gap &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;
        x_stretch &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        x_width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
        x_gap &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
        height &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;delete&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ALL&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;create_line&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;73&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;310&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;73&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fill&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;white&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; x&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; y &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;enumerate&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;seq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
            yd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; y + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt;
            x0 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; x * x_stretch + x * x_width + x_gap
            y0 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; height - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;yd * y_stretch + y_gap&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            x1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; x * x_stretch + x * x_width + x_width + x_gap
            y1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; height - y_gap
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;create_rectangle&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;x0&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; y0&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; x1&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; y1&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fill&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;yellow&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; write_file&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filename&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name&lt;/span&gt;+&lt;span class=&quot;st0&quot;&gt;&amp;quot;.txt&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;f&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filename&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;a+&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        timenow &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%d/%m/%Y %H:%M:%S&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;gmtime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        log &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;timenow&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;preamp&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;atten&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;f&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;log&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;f&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; update&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;co1&quot;&gt;#loops = 0&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        nRadio1.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        nRadio2.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        nRadio3.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        nRadio4.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#d1.up_dash()&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; main&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;co1&quot;&gt;#loops = 0&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            nRadio1.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            nRadio2.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            nRadio3.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            nRadio4.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#d1.up_dash()&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#loops += 1&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print threading.currentThread().name, loops&lt;/span&gt;
        &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sleep&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; close&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;quit&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    root.&lt;span class=&quot;me1&quot;&gt;destroy&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; __name__ &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;__main__&amp;quot;&lt;/span&gt;:
    version &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;v0.1&amp;quot;&lt;/span&gt;
    lock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Lock&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    root &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Tk&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#w, h = root.winfo_screenwidth(), root.winfo_screenheight()&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#root.geometry(&amp;quot;%dx%d+0+0&amp;quot; % (w, h))&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#root.geometry(&amp;quot;300x520+0+0&amp;quot;)&lt;/span&gt;
&amp;nbsp;
    root.&lt;span class=&quot;me1&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;AR7030 &amp;quot;&lt;/span&gt; + version&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;#root.withdraw()&lt;/span&gt;
    n1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Network&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#radio_count = (n1.connect(&amp;quot;count&amp;quot;))&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#radio_count = 3&lt;/span&gt;
&amp;nbsp;
    radio_count &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;count&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#if radio_count &amp;gt; 0:&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#    nRadio1 = nRadio(root, &amp;quot;1&amp;quot;)&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#if radio_count &amp;gt; 1:&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#    nRadio2 = nRadio(root, &amp;quot;2&amp;quot;)&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#if radio_count &amp;gt; 2:&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#    nRadio3 = nRadio(root, &amp;quot;3&amp;quot;)&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#if radio_count &amp;gt; 3:&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#    nRadio4 = nRadio(root, &amp;quot;4&amp;quot;)&lt;/span&gt;
&amp;nbsp;
    nRadio1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; nRadio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;root&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;    
    &lt;span class=&quot;co1&quot;&gt;#d1 = Dash(root)&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;#print threading.currentThread().name&lt;/span&gt;
    m1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Thread&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;target &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; main&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    m1.&lt;span class=&quot;me1&quot;&gt;setDaemon&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    m1.&lt;span class=&quot;me1&quot;&gt;start&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    update&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    root.&lt;span class=&quot;me1&quot;&gt;mainloop&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_23435a1905691f3ea794e5079af58e0d_23&quot;&gt;New (July 2022) version of aor module, with access to IF filter selection &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_23435a1905691f3ea794e5079af58e0d_23&quot;&gt;&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:radio:radio_database:ar_7030&amp;amp;codeblock=2&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_py&quot;&gt;aor_filter.py&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file python&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; serial
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#sport = &amp;quot;/dev/ttyS0&amp;quot;&lt;/span&gt;
sport &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;/dev/ttyS0&amp;quot;&lt;/span&gt;
sbaud &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1200&lt;/span&gt;
&amp;nbsp;
lock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Lock&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
fract &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; ** &lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;44545&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; Ar7030&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;__init__&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; model&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; serial.&lt;span class=&quot;me1&quot;&gt;Serial&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sport&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sbaud&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; timeout&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;model&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; model
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;filter&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_filter&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; check_bit&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bit&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        mask &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt; bit
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &amp;amp; mask&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_bit&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bit&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        mask &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt; bit
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; | mask
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; clear_bit&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bit&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        mask &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt; bit&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &amp;amp; mask&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_ident&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;5f&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;40&#039;&lt;/span&gt;
        ident &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; ident
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_pre&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        p &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;check_bit&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; p:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_filter&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;33&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;44&#039;&lt;/span&gt;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print ord(byte)&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_filter&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;filt_no&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;In set_filter with &amp;quot;, filt_no&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            filt_no &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filt_no&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ValueError&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Not a number&amp;quot;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; filt_no &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Out of range&amp;quot;&lt;/span&gt;
&amp;nbsp;
        high &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filt_no &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        low &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filt_no &amp;amp; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sendStr&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;33&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;44&#039;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;high&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;low&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;23&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;#self.get_filter()&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Command Sent&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; pre_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#get current 8-bit rxcon byte :&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit0 = filter FS3&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit1 = filter FS2&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit2 = filter FS1&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit3 = filter FS4&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit4 = preamp enabled&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit5 = atten 0 = 20dB / 1 = 40dB&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit6 = input filter 0 = HF / 1 = LF&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit7 = attenuator enabled&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt;
&amp;nbsp;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# set bit 4 ON = preamp ON and get the new 8-bit rxcon byte&lt;/span&gt;
        pon &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_bit&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# split new rxcon byte into two 4-bit nibbles, add 48/96 (\x30 and \x60)&lt;/span&gt;
        high &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        low &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &amp;amp; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;high&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;low&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;29&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Command sent&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; pre_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#get current 8-bit rxcon byte&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# set bit 4 OFF = preamp OFF and get the new 8-bit rxcon byte&lt;/span&gt;
        pon &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;clear_bit&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# split new rxcon byte into two 4-bit nibbles, add 48/96 (\x30 and \x60)&lt;/span&gt;
        high &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        low &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &amp;amp; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;high&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;low&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;29&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Command sent&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_att&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt;
&amp;nbsp;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        a &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;check_bit&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; a:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; att_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#get current 8-bit rxcon byte&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# set bit 7 ON = ATT ON and get the new 8-bit rxcon byte&lt;/span&gt;
        pon &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_bit&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# split new rxcon byte into two 4-bit nibbles, add 48/96 (\x30 and \x60)&lt;/span&gt;
        high &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        low &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &amp;amp; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;high&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;low&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;29&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Command sent&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; att_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#get current 8-bit rxcon byte&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# set bit 7 OFF = att OFF and get the new 8-bit rxcon byte&lt;/span&gt;
        pon &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;clear_bit&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# split new rxcon byte into two 4-bit nibbles, add 48/96 (\x30 and \x60)&lt;/span&gt;
        high &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        low &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &amp;amp; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;high&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;low&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;29&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Command sent&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        fval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; freq * fract
        &lt;span class=&quot;co1&quot;&gt;#print fval&lt;/span&gt;
        b1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fval / &lt;span class=&quot;nu0&quot;&gt;1048576&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        fval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; fval % &lt;span class=&quot;nu0&quot;&gt;1048576&lt;/span&gt;
        b2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fval / &lt;span class=&quot;nu0&quot;&gt;65536&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        fval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; fval % &lt;span class=&quot;nu0&quot;&gt;65536&lt;/span&gt;
        b3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fval / &lt;span class=&quot;nu0&quot;&gt;4096&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        fval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; fval % &lt;span class=&quot;nu0&quot;&gt;4096&lt;/span&gt;
        b4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fval / &lt;span class=&quot;nu0&quot;&gt;256&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        fval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; fval % &lt;span class=&quot;nu0&quot;&gt;256&lt;/span&gt;
        b5 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fval / &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        b6 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fval % &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        f_tuple &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; b1&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; b2&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; b3&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; b4&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; b5&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; b6 &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        freqStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; byte &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; f_tuple:
            freqStr +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;31&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;4a&#039;&lt;/span&gt; + freqStr + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;24&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Freq Set&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;31&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;4a&#039;&lt;/span&gt;
&amp;nbsp;
        freqStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        f_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; k &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; freqStr:
            f_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; f_val * &lt;span class=&quot;nu0&quot;&gt;256&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;k&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%.3f&amp;quot;&lt;/span&gt; % &lt;span class=&quot;kw2&quot;&gt;round&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;f_val / fract&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;lsb&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;66&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;usb&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;67&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;am&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;61&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;cw&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;65&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;data&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;64&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;fm&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;63&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s-am&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;62&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Mode not recognized&amp;quot;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;31&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;4d&#039;&lt;/span&gt; + set_mode_val + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;22&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;filter&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_filter&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Mode sent&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;31&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;4d&amp;quot;&lt;/span&gt;
        m &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;01&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;am&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;02&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s-am&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;03&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;fm&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;04&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;data&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;05&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;cw&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;06&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;lsb&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;07&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;usb&amp;quot;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; mode.&lt;span class=&quot;me1&quot;&gt;upper&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_s&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;2e&#039;&lt;/span&gt;
        sraw &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sraw&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_cal&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;52&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;3f&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;44&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;11&#039;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;sending getcal&amp;quot;&lt;/span&gt;
        cbytes &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        cal &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; c &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; cbytes:
            cal.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;c&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print cal&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; cal
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_smeter&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_s&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        cal &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_cal&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        s1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s1 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s2 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s3 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s5 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s4 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s6 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s5 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s7 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s6 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; s1 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s2 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;113&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s1 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s3 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;103&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s2 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s4 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;93&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s3 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s5 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;83&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s4 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s6 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;73&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s5 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s7 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;63&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s6 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;43&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s7 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; reply&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; n&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;# apply thread lock&lt;/span&gt;
        lock.&lt;span class=&quot;me1&quot;&gt;acquire&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; reply:  &lt;span class=&quot;co1&quot;&gt;# for reading S-meter&lt;/span&gt;
            result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result:
                result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;read&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            lock.&lt;span class=&quot;me1&quot;&gt;release&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
&amp;nbsp;
            result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
            byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; n &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;71&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;co1&quot;&gt;#byte = &amp;quot;&amp;quot;&lt;/span&gt;
&amp;nbsp;
                &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; byte:
                    byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;read&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
                result +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; byte
&amp;nbsp;
                byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
                n -&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
            lock.&lt;span class=&quot;me1&quot;&gt;release&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_23435a1905691f3ea794e5079af58e0d_24&quot;&gt;New (July 2022) server with AR7030 filter selection &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_23435a1905691f3ea794e5079af58e0d_24&quot;&gt;&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:radio:radio_database:ar_7030&amp;amp;codeblock=3&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_py&quot;&gt;ar_server_filter.py&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file python&quot;&gt;&lt;span class=&quot;co1&quot;&gt;#from aor import *&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;from&lt;/span&gt; aor_filter &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; *
&lt;span class=&quot;co1&quot;&gt;#from icom import *&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;from&lt;/span&gt; conf &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; *
&lt;span class=&quot;co1&quot;&gt;#from m710 import *&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;SocketServer&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;readline&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
&amp;nbsp;
lock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Lock&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
radios &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#r1 = Icom(n1, a1, cal1)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#radios.append(n1)&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#r2 = m710(n4)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#radios.append(n4)&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#r2 = Icom(n2, a2, cal2)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#radios.append(n2)&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#r3 = Ar7030(n3)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#radios.append(n3)&lt;/span&gt;
&amp;nbsp;
r1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Ar7030&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n3&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
radios.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n3&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; radios
&lt;span class=&quot;co1&quot;&gt;#print r1.digi_off()&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#print r2.remote_on()&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; count_radios&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    count &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radios&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; count
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; list_radios&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    radiolist &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; n &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;range&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radios&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        r &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; radios&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;n&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        radiolist +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;r + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; radiolist
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; write_file&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    filename &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;commandlog.txt&#039;&lt;/span&gt;
    f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filename&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;a+&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# a+ is &amp;quot;append to file, create it if it doesn&#039;t exist&amp;quot;&lt;/span&gt;
    timenow &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%d/%m/%Y %H:%M:%S&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;gmtime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    log &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;timenow&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# make an entry for the log by joining the timestamp with the text passed in&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;log&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; write_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    filename &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;conlog.txt&#039;&lt;/span&gt;
    f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filename&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;a+&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# a+ is &amp;quot;append to file, create it if it doesn&#039;t exist&amp;quot;&lt;/span&gt;
    timenow &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%d/%m/%Y %H:%M:%S&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;gmtime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    log &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;timenow&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# make an entry for the log by joining the timestamp with the text passed in&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;log&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# The Server&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; ThreadedRequestHandler&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;SocketServer&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;StreamRequestHandler&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; handle&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;# we find the current thread for the client connection just set up, to&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# use in the log file&lt;/span&gt;
        cur_thread &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;currentThread&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# log the new connection details&lt;/span&gt;
        write_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Connect from %s using %s &lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;client_address&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; cur_thread.&lt;span class=&quot;me1&quot;&gt;getName&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# print to the server&#039;s console the new connection IP address/port&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;client_address&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# loop to handle client requests....&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;:
            &lt;span class=&quot;co1&quot;&gt;# using StreamRequestHandler means our input from the client&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# is  &amp;quot;file-like&amp;quot; and can be read with &amp;quot;file-like&amp;quot; commands&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# we read a line at a time, using readline()&lt;/span&gt;
            &lt;span class=&quot;kw3&quot;&gt;cmd&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;rfile&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;readline&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;lower&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# to keep things clean, we remove any characters that aren&#039;t&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# &amp;quot;printable&amp;quot; simple ASCII&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# these are between 32 and 127 in the ASCII table&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# we look at each character, and then make a new word by&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# .join()ing each accepted character with no space in between&lt;/span&gt;
            asccmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;x &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; x &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;cmd&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;x&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;128&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;and&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;x&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;31&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# we make a list called &amp;quot;words&amp;quot; holding the received words which&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# will be inspected by various functions&lt;/span&gt;
            words &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; asccmd.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# If a client uses sock.close() itself, to disconnect, it appears that&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# we read a continuous stream of &amp;quot;&amp;quot; on the dead&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# socket, which puts CPU to 100%.&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# The &amp;quot;While&amp;quot; loop is probably responsible, but I can&#039;t see another&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# way to keep the connection up for multiple commands.&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# Further connection are accepted due to the Threaded nature of the server.&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# The CPU load is unacceptable though&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# HACK ?&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# Looking for &amp;quot;&amp;quot; and then breaking&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# the connection from the server end (even though the client has&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# gone) cures this.&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;cmd&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;:
                &lt;span class=&quot;kw1&quot;&gt;break&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
                &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# if the words list is empty, go back and get more input&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; words:
                &lt;span class=&quot;kw1&quot;&gt;continue&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# we have input....&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# filter based on the first word - these are the&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# pre-set commands the server will accept&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# the client wants to know the currently available&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# radio names - held in the variable &amp;quot;rnames&amp;quot;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getnames&amp;quot;&lt;/span&gt;:
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rnames&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# words[-1] (the last word in the list) will always be the&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# radio name. We give the variable &amp;quot;my_radio&amp;quot; this value, for&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# identifying which radio object to apply the method to&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;count&amp;quot;&lt;/span&gt;:
                count &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; count_radios&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;count&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;ident&amp;quot;&lt;/span&gt;:
                ident_text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;GM4SLV Radio Server&amp;quot;&lt;/span&gt;
                radio_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; list_radios&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ident_text + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;Available : &lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt; + radio_list + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;setfil&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                filt_no &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
                newfilt &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;set_filter&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filt_no&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;newfilt&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getfil&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                filt &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_filter&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filt&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getmode&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
                freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;setmode&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
                newmode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;newmode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;setfreq&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
                    freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                    newfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;set_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                    &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;newfreq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ValueError&lt;/span&gt;:
                    &lt;span class=&quot;co1&quot;&gt;#freq = float(my_radio.get_freq())&lt;/span&gt;
                    &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Error in freq. %s No change&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt; % words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getsmeter&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                smeter &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;round&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;my_radio.&lt;span class=&quot;me1&quot;&gt;get_smeter&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;smeter&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gets&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_s&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;s&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;listradios&amp;quot;&lt;/span&gt;:
                radios &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; list_radios&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radios&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getpreamp&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_pre&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;preampon&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;pre_on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;preamp2on&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;pre_2_on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;preampoff&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;pre_off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getatt&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                att &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_att&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;att&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;atton&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                att &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;att_on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;att&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;attoff&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                att &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;att_off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;att&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;tune&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                tune &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;tune&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;tune&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getpwr&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                pwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_pwr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;setpwr&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                spwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
                pwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;set_pwr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;spwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;quit&amp;quot;&lt;/span&gt;:
                write_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Got quit from {}&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;format&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;client_address&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# log it&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Goodbye! &lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# say Goodbye&lt;/span&gt;
                &lt;span class=&quot;kw1&quot;&gt;break&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:  &lt;span class=&quot;co1&quot;&gt;# nothing in words[0] matches a pre-set command....&lt;/span&gt;
                write_file&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Received %s&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt; % words&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# log it, it&#039;s unusual&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Command not recognized&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# inform the client&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; ThreadedIcomServer&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;SocketServer&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ThreadingMixIn&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;SocketServer&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;TCPServer&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; __name__ &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;__main__&#039;&lt;/span&gt;:
    &lt;span class=&quot;co1&quot;&gt;# define the lock to be used on the serial port access&lt;/span&gt;
    lock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Lock&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# address (&#039;&#039; = all available interfaces) to listen on, and port number&lt;/span&gt;
    address &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9999&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    server &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; ThreadedIcomServer&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;address&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ThreadedRequestHandler&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    server.&lt;span class=&quot;me1&quot;&gt;allow_reuse_address&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# define that the server will be threaded, and will serve &amp;quot;forever&amp;quot; ie. not quit after the client disconnects&lt;/span&gt;
    t &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Thread&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;target&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;server.&lt;span class=&quot;me1&quot;&gt;serve_forever&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# start the server thread&lt;/span&gt;
    t.&lt;span class=&quot;me1&quot;&gt;start&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    write_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
        &lt;span class=&quot;st0&quot;&gt;&amp;quot;Server loop running in thread: %s&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt; % &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;t.&lt;span class=&quot;me1&quot;&gt;getName&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;3. Remote Control&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;remote_control&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;1692-45918&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit11&quot; id=&quot;documentation&quot;&gt;Documentation&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:7030_-_corruption_agc_table_-_preset_test.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:radio_database:7030_-_corruption_agc_table_-_preset_test.pdf (15.1 KB)&quot;&gt;7030_-_corruption_agc_table_-_preset_test.pdf&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:7030serv.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:radio_database:7030serv.pdf (191.9 KB)&quot;&gt;7030serv.pdf&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Documentation&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;documentation&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;45919-46086&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit12&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Page created Wed May 25 00:04:50 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/06/26 07:39 BST
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;46087-46200&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit13&quot; id=&quot;tags&quot;&gt;tags&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:ar7030&amp;amp;do=showtag&amp;amp;tag=ar7030&quot; class=&quot;wikilink1&quot; title=&quot;tag:ar7030&quot; rel=&quot;tag&quot;&gt;ar7030&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:13,&amp;quot;range&amp;quot;:&amp;quot;46201-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 06:39:56 +0000</pubDate>
        </item>
        <item>
            <title>Icom IC-R75</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:ic-r75</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:start&quot; data-wiki-id=&quot;public:radio:radio_database:start&quot;&gt;Rig and Key List&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;icom_ic-r75&quot;&gt;Icom IC-R75&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Icom IC-R75&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;icom_ic-r75&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-43&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;details&quot;&gt;Details&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Details&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;details&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;44-66&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;repairs_mods&quot;&gt;Repairs / Mods&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; -5V DC/DC converter&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; various capacitor failures&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; “Turn Off” fault - due to overheating of 13V regulator&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Cured by &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Reduce input voltage to 13.8V&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Improve heatsinking of regulator IC to chassis&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Repairs \/ Mods&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;repairs_mods&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;67-322&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;remote_control&quot;&gt;Remote Control&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:netradio.png&quot; class=&quot;media&quot; title=&quot;public:radio:radio_database:netradio.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=e5e348&amp;amp;media=public:radio:radio_database:netradio.png&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; connected to &lt;code&gt;shack&lt;/code&gt; server via RS232&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;shack&lt;/code&gt; server running Python netradio &lt;code&gt;server.py&lt;/code&gt; to give TCP/IP network control&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;laptop&lt;/code&gt; PC running Python netradio &lt;code&gt;client.py&lt;/code&gt; to give user access&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Available controls: &lt;pre class=&quot;code&quot;&gt;gm4slv@laptop:~/Python/PythonProjects/netradio $ python2 client.py
There are currently 1 radios connected.
=================================
Status of Radio 1 (IC-R75)

Frequency : 391.000 kHz
Mode: CW
S-Meter: -113.0dBm
1 : 0
=================================

Please choose a radio

There are currently 1 radios connected.
Radio 1 is IC-R75
Choose a radio number from the list : 1

The available commands are:
lr   : List Radios
sr   : Select the Radio to control
gr   : Get currently selected Radio name
gm   : Get Mode
sm   : Set Mode
gf   : Get Freq
sf   : Set Freq
gs   : Get S-meter
gp   : Get Pre-amp
pon  : Set Pre-amp On
poff : Set Pre-amp Off
gatt : Get Attn
aton : Set Attn On
atoff: Set Attn Off
ga   : Get All (status of all radios)
sync : Sync freq/mode on two radios
log  : Setup background logging to file
h    : Help (show this command list)
q    : quit

IC-R75 &amp;gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; audio via network using &lt;code&gt;PicoPhone&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; running on shack &lt;code&gt;laptop&lt;/code&gt; via &lt;code&gt;Wine&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; running on Windows laptop &lt;em&gt;natively&lt;/em&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Remote control is achieved via a SSH connection to shack &lt;code&gt;laptop&lt;/code&gt; to run the netradio &lt;code&gt;client.py&lt;/code&gt; and the RX audio can be heard via PicoPhone.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Remote Control&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;remote_control&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;323-1830&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;documentation&quot;&gt;Documentation&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:icr75_instructionmanual.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:radio_database:icr75_instructionmanual.pdf (1.7 MB)&quot;&gt;icr75_instructionmanual.pdf&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:icom_ic_r75_service_manual.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:radio_database:icom_ic_r75_service_manual.pdf (2.6 MB)&quot;&gt;icom_ic_r75_service_manual.pdf&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Documentation&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;documentation&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1831-1999&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;further_reading&quot;&gt;Further Reading&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Python code for the remote control at &lt;code&gt;github&lt;/code&gt; &lt;a href=&quot;https://github.com/gm4slv/netradio&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://github.com/gm4slv/netradio&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://github.com/gm4slv/netradio&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Reading&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_reading&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;2000-2122&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;serverpy&quot;&gt;server.py&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_1ee9a7271f5baf96f28df45de6079287_25&quot;&gt;Code.... &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_1ee9a7271f5baf96f28df45de6079287_25&quot;&gt;&lt;pre class=&quot;code python&quot;&gt;&lt;span class=&quot;co1&quot;&gt;#from aor import *&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;from&lt;/span&gt; icom &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; *
&lt;span class=&quot;kw1&quot;&gt;from&lt;/span&gt; conf &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; *
&lt;span class=&quot;co1&quot;&gt;#from m710 import *&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;SocketServer&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;readline&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
&amp;nbsp;
lock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Lock&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
radios &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#r1 = m710(n4)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#radios.append(n4)&lt;/span&gt;
&amp;nbsp;
r1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Icom&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n1&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; a1&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; cal1&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
radios.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n1&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#r2 = Icom(n2, a2, cal2)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#radios.append(n2)&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#r3 = Ar7030(n3)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#radios.append(n3)&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; radios
&lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; r1.&lt;span class=&quot;me1&quot;&gt;digi_off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; list_radios&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    radiolist &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; n &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;range&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radios&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        r &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; radios&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;n&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        radiolist +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;r + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; radiolist
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; write_file&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    filename &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;commandlog.txt&#039;&lt;/span&gt;
    f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filename&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;a+&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# a+ is &amp;quot;append to file, create it if it doesn&#039;t exist&amp;quot;&lt;/span&gt;
    timenow &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%d/%m/%Y %H:%M:%S&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;gmtime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    log &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;timenow&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# make an entry for the log by joining the timestamp with the text passed in&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;log&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; write_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    filename &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;conlog.txt&#039;&lt;/span&gt;
    f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filename&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;a+&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# a+ is &amp;quot;append to file, create it if it doesn&#039;t exist&amp;quot;&lt;/span&gt;
    timenow &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%d/%m/%Y %H:%M:%S&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;gmtime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    log &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;timenow&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# make an entry for the log by joining the timestamp with the text passed in&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;log&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# The Server&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; ThreadedRequestHandler&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;SocketServer&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;StreamRequestHandler&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; handle&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;# we find the current thread for the client connection just set up, to&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# use in the log file&lt;/span&gt;
        cur_thread &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;currentThread&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# log the new connection details&lt;/span&gt;
        write_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Connect from %s using %s &lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;client_address&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; cur_thread.&lt;span class=&quot;me1&quot;&gt;getName&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# print to the server&#039;s console the new connection IP address/port&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;client_address&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# loop to handle client requests....&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;:
            &lt;span class=&quot;co1&quot;&gt;# using StreamRequestHandler means our input from the client&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# is  &amp;quot;file-like&amp;quot; and can be read with &amp;quot;file-like&amp;quot; commands&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# we read a line at a time, using readline()&lt;/span&gt;
            &lt;span class=&quot;kw3&quot;&gt;cmd&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;rfile&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;readline&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;lower&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# to keep things clean, we remove any characters that aren&#039;t&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# &amp;quot;printable&amp;quot; simple ASCII&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# these are between 32 and 127 in the ASCII table&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# we look at each character, and then make a new word by&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# .join()ing each accepted character with no space in between&lt;/span&gt;
            asccmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;x &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; x &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;cmd&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;x&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;128&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;and&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;x&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;31&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# we make a list called &amp;quot;words&amp;quot; holding the received words which&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# will be inspected by various functions&lt;/span&gt;
            words &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; asccmd.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# If a client uses sock.close() itself, to disconnect, it appears that&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# we read a continuous stream of &amp;quot;&amp;quot; on the dead&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# socket, which puts CPU to 100%.&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# The &amp;quot;While&amp;quot; loop is probably responsible, but I can&#039;t see another&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# way to keep the connection up for multiple commands.&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# Further connection are accepted due to the Threaded nature of the server.&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# The CPU load is unacceptable though&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# HACK ?&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# Looking for &amp;quot;&amp;quot; and then breaking&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# the connection from the server end (even though the client has&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# gone) cures this.&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;cmd&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;:
                &lt;span class=&quot;kw1&quot;&gt;break&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
                &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# if the words list is empty, go back and get more input&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; words:
                &lt;span class=&quot;kw1&quot;&gt;continue&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# we have input....&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# filter based on the first word - these are the&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# pre-set commands the server will accept&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# the client wants to know the currently available&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# radio names - held in the variable &amp;quot;rnames&amp;quot;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getnames&amp;quot;&lt;/span&gt;:
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rnames&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# words[-1] (the last word in the list) will always be the&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# radio name. We give the variable &amp;quot;my_radio&amp;quot; this value, for&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# identifying which radio object to apply the method to&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getmode&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
                freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;setmode&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
                newmode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;newmode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;setfreq&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                newfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;set_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;newfreq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getsmeter&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                smeter &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;round&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;my_radio.&lt;span class=&quot;me1&quot;&gt;get_smeter&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;smeter&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gets&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_s&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;s&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;listradios&amp;quot;&lt;/span&gt;:
                radios &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; list_radios&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radios&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getpreamp&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_pre&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;preampon&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;pre_on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;preampoff&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;pre_off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getatt&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                att &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_att&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;att&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;atton&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                att &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;att_on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;att&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;attoff&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                att &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;att_off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;att&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;tune&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                tune &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;tune&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;tune&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getpwr&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                pwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_pwr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;setpwr&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                spwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
                pwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;set_pwr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;spwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;quit&amp;quot;&lt;/span&gt;:
                write_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Got quit from {}&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;format&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;client_address&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# log it&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Goodbye! &lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# say Goodbye&lt;/span&gt;
                &lt;span class=&quot;kw1&quot;&gt;break&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:  &lt;span class=&quot;co1&quot;&gt;# nothing in words[0] matches a pre-set command....&lt;/span&gt;
                write_file&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Received %s&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt; % words&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# log it, it&#039;s unusual&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Command not recognized&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# inform the client&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; ThreadedIcomServer&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;SocketServer&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ThreadingMixIn&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;SocketServer&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;TCPServer&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; __name__ &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;__main__&#039;&lt;/span&gt;:
    &lt;span class=&quot;co1&quot;&gt;# define the lock to be used on the serial port access&lt;/span&gt;
    lock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Lock&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# address (&#039;&#039; = all available interfaces) to listen on, and port number&lt;/span&gt;
    address &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9999&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    server &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; ThreadedIcomServer&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;address&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ThreadedRequestHandler&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    server.&lt;span class=&quot;me1&quot;&gt;allow_reuse_address&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# define that the server will be threaded, and will serve &amp;quot;forever&amp;quot; ie. not quit after the client disconnects&lt;/span&gt;
    t &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Thread&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;target&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;server.&lt;span class=&quot;me1&quot;&gt;serve_forever&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# start the server thread&lt;/span&gt;
    t.&lt;span class=&quot;me1&quot;&gt;start&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    write_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
        &lt;span class=&quot;st0&quot;&gt;&amp;quot;Server loop running in thread: %s&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt; % &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;t.&lt;span class=&quot;me1&quot;&gt;getName&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;server.py&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;serverpy&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;2123-10186&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;icompy&quot;&gt;icom.py&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_1ee9a7271f5baf96f28df45de6079287_26&quot;&gt;Code ... &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_1ee9a7271f5baf96f28df45de6079287_26&quot;&gt;&lt;pre class=&quot;code python&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; serial
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;from&lt;/span&gt; conf &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; *
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#sport = &amp;quot;COM1&amp;quot;&lt;/span&gt;
sport &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;/dev/ttyS0&amp;quot;&lt;/span&gt;
sbaud &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9600&lt;/span&gt;
&amp;nbsp;
lock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Lock&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; Icom&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;__init__&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; model&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio_address&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; cal&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; serial.&lt;span class=&quot;me1&quot;&gt;Serial&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sport&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sbaud&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; timeout&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0.1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;model&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; model
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; radio_address
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cal&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; cal
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; digi_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + digi_off_cmd + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Success&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NAK received&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_pre&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + set_pre_cmd + eom
&amp;nbsp;
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;01&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_pwr&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + pwr_cmd + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;
        p1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        p2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; % &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        p3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        p4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; % &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        pwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; * &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; * p3 + p4&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; * p1 + p2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr*&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;/&lt;span class=&quot;nu0&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_pwr&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#if pwr == &amp;quot;25&amp;quot;:&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#    spwr = &amp;quot;\x00&amp;quot; + &amp;quot;\x63&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#elif pwr == &amp;quot;50&amp;quot;:&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#    spwr = &amp;quot;\x01&amp;quot; + &amp;quot;\x27&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#elif pwr == &amp;quot;75&amp;quot;:&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#    spwr = &amp;quot;\x01&amp;quot; + &amp;quot;\x91&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#elif pwr == &amp;quot;100&amp;quot;:&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#    spwr = &amp;quot;\x02&amp;quot; + &amp;quot;\x55&amp;quot;&lt;/span&gt;
        rigpwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;255&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;rigpwr &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rigpwr
        pwr1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; rigpwr / &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
        pwr2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; rigpwr % &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
        spwr1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr1 / &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        spwr2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr1 % &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        spwr3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;  &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr2 / &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        spwr4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;  &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr2 % &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        spwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;spwr1+spwr2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;spwr3+spwr4&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;spwr &amp;quot;, spwr&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + pwr_cmd + spwr + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_pwr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NAK received&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; pre_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + set_pre_cmd + set_pre_on + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Success&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NAK received&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; pre_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + set_pre_cmd + set_pre_off + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Success&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NAK received&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; ptt_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + ptt_on_cmd + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print result[5]&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;ptt on&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Error&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; ptt_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + ptt_off_cmd + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print result[5]&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;ptt off&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Error&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_att&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + set_att_cmd + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;20&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; att_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + set_att_cmd + set_att_on + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Success&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NAK received&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; att_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + set_att_cmd + set_att_off + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Success&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NAK received&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        fdig &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%010d&amp;quot;&lt;/span&gt; % &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq * &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        bcd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
            bcd +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq_bcd&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fdig&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fdig&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;i + &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        set_freq_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; byte &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; bcd:
            set_freq_val +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + set_freq_cmd + set_freq_val + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Set Freq success&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NAK received / Freq not supported&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + get_freq_cmd + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; k &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;18&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;19&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;17&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;13&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;:
            f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; * f + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;nib&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; k&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;f&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%.3f&amp;quot;&lt;/span&gt; % &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;in set_mode() with &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;lsb&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;usb&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;01&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;am&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;02&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;cw&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;03&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;rtty&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;04&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;fm&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;05&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;cw-r&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;07&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;rtty-r&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;08&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s-am&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;11&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Mode not recognized&amp;quot;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + set_mode_cmd + set_mode_val + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Set Mode Success&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NAK received / Mode not supported&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + get_mode_cmd + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;
        mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;lsb&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;01&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;usb&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;02&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;am&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;03&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;cw&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;04&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;rtty&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;05&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;fm&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;08&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;rtty-r&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;07&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;cw-r&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;11&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s-am&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; mode
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;upper&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_s&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + get_smeter_cmd + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;
        sm1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        sm2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; % &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        sm3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        sm4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; % &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; * &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; * sm3 + sm4&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; * sm1 + sm2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; s
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_swr&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + get_swr_cmd + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;
        sm1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        sm2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; % &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        sm3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        sm4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; % &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        swr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; * &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; * sm3 + sm4&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; * sm1 + sm2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; swr
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_smeter&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_s&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        cal &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cal&lt;/span&gt;
        s1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s1 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s2 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s3 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s5 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s4 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s6 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s5 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s7 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s6 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; s1 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s2 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;113&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s1 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s3 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;103&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s2 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s4 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;93&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s3 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s5 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;83&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s4 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s6 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;73&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s5 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s7 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;63&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s6 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;43&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s7 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_name&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;model&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; tune&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;tuning&amp;quot;&lt;/span&gt;
        curmode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;lower&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;Current Mode &amp;quot;,curmode&lt;/span&gt;
&amp;nbsp;
        curpwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_pwr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; curpwr &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;98&lt;/span&gt;:
            curpwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; curpwr + &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;Current Power &amp;quot;, curpwr&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;Current percent power &amp;quot;, curpwr&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;rtty&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_pwr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;25&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;Tuning power &amp;quot;, self.get_pwr()&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;PTT On&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ptt_on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sleep&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        swr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;  &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_swr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;SWR :&amp;quot;, swr&lt;/span&gt;
        &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sleep&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ptt_off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;PTT Off&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;curmode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;Mode reset &amp;quot;,self.get_mode()&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_pwr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;curpwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Tuned : (ref pwr : %s)&amp;quot;&lt;/span&gt; % swr
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Tuned : (ref pwr : %s)&amp;quot;&lt;/span&gt; % swr
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        lock.&lt;span class=&quot;me1&quot;&gt;acquire&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        echo &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;read&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;echo&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        count &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; byte &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; eom:
            byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;read&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;%#02x&amp;quot; % ord(byte)&lt;/span&gt;
            result +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; byte
            count +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; count &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;:
                &lt;span class=&quot;kw1&quot;&gt;break&lt;/span&gt;
        lock.&lt;span class=&quot;me1&quot;&gt;release&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; nib&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; s&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; i&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        k &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;s&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;i / &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; i % &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            k &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; k &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; k &amp;amp; &lt;span class=&quot;nu0&quot;&gt;0xf&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; freq_bcd&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; d1&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; d2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt; * d1 + d2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;icom.py&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;icompy&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;10187-20896&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit9&quot; id=&quot;confpy&quot;&gt;conf.py&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_1ee9a7271f5baf96f28df45de6079287_27&quot;&gt;Code .... &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_1ee9a7271f5baf96f28df45de6079287_27&quot;&gt;&lt;pre class=&quot;code python&quot;&gt;&lt;span class=&quot;co1&quot;&gt;# header&lt;/span&gt;
preamble &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;fe&amp;quot;&lt;/span&gt;
controller &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;e0&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# commands/requests&lt;/span&gt;
set_freq_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;05&amp;quot;&lt;/span&gt;
set_mode_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;06&amp;quot;&lt;/span&gt;
get_freq_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;03&amp;quot;&lt;/span&gt;
get_mode_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;04&amp;quot;&lt;/span&gt;
get_smeter_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;15&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;02&amp;quot;&lt;/span&gt;
get_swr_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;15&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;12&amp;quot;&lt;/span&gt;
digi_off_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;1a&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;04&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt;
&amp;nbsp;
set_pre_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;16&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;02&amp;quot;&lt;/span&gt;
&amp;nbsp;
set_pre_off &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt;
set_pre_on &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;01&amp;quot;&lt;/span&gt;
&amp;nbsp;
set_att_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;11&amp;quot;&lt;/span&gt;
set_att_on &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;20&amp;quot;&lt;/span&gt;
set_att_off &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt;
&amp;nbsp;
ptt_on_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;1c&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;01&amp;quot;&lt;/span&gt;
ptt_off_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;1c&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt;
&amp;nbsp;
pwr_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;14&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;0a&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# end of message&lt;/span&gt;
eom &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;fd&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# controller responses&lt;/span&gt;
ack &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;fb&amp;quot;&lt;/span&gt;
nak &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;fa&amp;quot;&lt;/span&gt;
&amp;nbsp;
a1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;5A&amp;quot;&lt;/span&gt;
n1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;IC-R75&amp;quot;&lt;/span&gt;
cal1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;25&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;36&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;47&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;31&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;18&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;34&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;35&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
a2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;5e&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# a2 = &amp;quot;\x01&amp;quot;&lt;/span&gt;
n2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;IC-718&amp;quot;&lt;/span&gt;
cal2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;27&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;28&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;58&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;35&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;42&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
n3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;AR7030&amp;quot;&lt;/span&gt;
&amp;nbsp;
n4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;IC-M710&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;conf.py&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;confpy&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;20897-21735&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit10&quot; id=&quot;clientpy&quot;&gt;client.py&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_1ee9a7271f5baf96f28df45de6079287_28&quot;&gt;Code .... &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_1ee9a7271f5baf96f28df45de6079287_28&quot;&gt;&lt;pre class=&quot;code python&quot;&gt;__author__ &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;gm4slv&#039;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# client to work with server_oo.py&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# &lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# # v0.1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;readline&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ImportError&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
HOST&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; PORT &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;shack&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9999&lt;/span&gt;
&amp;nbsp;
smlog &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;pymon.txt&amp;quot;&lt;/span&gt;
log_active &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; make_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; sock
    sock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;AF_INET&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;SOCK_STREAM&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    sock.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;HOST&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; PORT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_rnum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; num
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; radios
&amp;nbsp;
    names &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;listradios&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    radios &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; names.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    num &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radios&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; num
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_rname&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    r &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; radios&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; r
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; list_radios&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    num &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rnum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; radio
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;There are currently %d radios connected.&amp;quot;&lt;/span&gt; % num
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;range&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        r &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rname&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Radio %d is %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i + &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; r&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_lradio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    num &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rnum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    lradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Select radio to log: &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strip&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; lradio:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Please select a radio&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;lradio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; num:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Selected radio not recognized&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; lradio
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_radio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    num &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rnum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# global radio&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; radio_num
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; rname
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;There are currently %d radios connected.&amp;quot;&lt;/span&gt; % num
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;range&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        r &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rname&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Radio %d is %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i + &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; r&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Choose a radio number from the list : &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strip&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; radio:
            &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Please select a radio&amp;quot;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; num:
            &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Selected radio not recognized&amp;quot;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ValueError&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Please enter a number&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
        radio_num &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;r&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        rname &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rname&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; - &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; radio_num&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rname
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; prompt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;The available commands are:&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;lr   : List Radios&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sr   : Select the Radio to control&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gr   : Get currently selected Radio name&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gm   : Get Mode&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sm   : Set Mode&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gf   : Get Freq&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sf   : Set Freq&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gs   : Get S-meter&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gp   : Get Pre-amp&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;pon  : Set Pre-amp On&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;poff : Set Pre-amp Off&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gatt : Get Attn&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;aton : Set Attn On&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;atoff: Set Attn Off&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;ga   : Get All (status of all radios)&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sync : Sync freq/mode on two radios&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;log  : Setup background logging to file&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;h    : Help (show this command list)&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;q    : quit&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; radio_num
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; rname
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; sock
&amp;nbsp;
    data &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;lower&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strip&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;data.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;only one command at a time please&amp;quot;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;lr&amp;quot;&lt;/span&gt;:
        list_radios&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sr&amp;quot;&lt;/span&gt;:
&amp;nbsp;
        radio_num&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rname &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; set_radio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; radio_num:
            radio_num&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rname &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; set_radio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gr&amp;quot;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Radio selected is %s&amp;quot;&lt;/span&gt; % rname
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gm&amp;quot;&lt;/span&gt;:
        mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sm&amp;quot;&lt;/span&gt;:
        smode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Enter mode: &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + smode + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gf&amp;quot;&lt;/span&gt;:
        freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s kHz&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sf&amp;quot;&lt;/span&gt;:
        sfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Enter freq (kHz): &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + sfreq + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gs&amp;quot;&lt;/span&gt;:
        smeter &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getsmeter&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %sdBm&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; smeter&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gp&amp;quot;&lt;/span&gt;:
        preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getpreamp&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;pon&amp;quot;&lt;/span&gt;:
        preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;preampon&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;poff&amp;quot;&lt;/span&gt;:
        preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;preampoff&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gatt&amp;quot;&lt;/span&gt;:
        preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getatt&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;aton&amp;quot;&lt;/span&gt;:
        att &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;atton&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; att&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;atoff&amp;quot;&lt;/span&gt;:
        att &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;attoff&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; att&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;ga&amp;quot;&lt;/span&gt;:
        get_all&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;log&amp;quot;&lt;/span&gt;:
        fname &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Enter a filename (or &lt;span class=&quot;es0&quot;&gt;\&amp;quot;&lt;/span&gt;Return&lt;span class=&quot;es0&quot;&gt;\&amp;quot;&lt;/span&gt; for default) :&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; fname &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;:
            fname &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; smlog
        &lt;span class=&quot;co1&quot;&gt;# check file is valid&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;a+&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            f.&lt;span class=&quot;me1&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;IOError&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;File/path not valid&amp;quot;&lt;/span&gt;
            start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        list_radios&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        lradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_lradio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; lradio:
            lradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_lradio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        rname &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rname&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;lradio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; - &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; lradio &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; log_active:
            &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Logging already active on &amp;quot;&lt;/span&gt; + rname
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            tlog &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Enter a polling interval (seconds) :&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            p &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Thread&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;target&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;log&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; args&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;lradio&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; tlog&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fname&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            p.&lt;span class=&quot;me1&quot;&gt;setDaemon&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            p.&lt;span class=&quot;me1&quot;&gt;start&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            log_active.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;lradio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sync&amp;quot;&lt;/span&gt;:
        sync_result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; sync&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; sync_result
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;h&amp;quot;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;or&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;help&amp;quot;&lt;/span&gt;:
        prompt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;q&amp;quot;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;or&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;quit&amp;quot;&lt;/span&gt;:
        rx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;quit&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Server says: %s &amp;quot;&lt;/span&gt; % rx
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
        prompt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_all&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    num &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rnum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; radio
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;There are currently %d radios connected.&amp;quot;&lt;/span&gt; % num
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;=&amp;quot;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;33&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;range&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        r &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rname&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        n &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;r&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i + &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + n&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        smeter &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getsmeter&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getpreamp&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        att &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getatt&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Status of Radio %d (%s) &lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i + &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; r&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Frequency : %s kHz&amp;quot;&lt;/span&gt; % freq
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Mode: %s&amp;quot;&lt;/span&gt; % mode
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;S-Meter: %sdBm&amp;quot;&lt;/span&gt; % smeter
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s : %s &amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;preamp&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; att&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;=&amp;quot;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;33&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; log&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;p&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; t&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; f&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;
    tlog &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; t
    sradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rname&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;p&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; - &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    sr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;r&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;p&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            frequency &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + sr + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            smeter &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getsmeter&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + sr + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + sr + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            write_file&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;f&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sradio&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; frequency&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; smeter&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sleep&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;tlog&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;finally&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_mradio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    num &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rnum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    mradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Choose Master radio number from the list: &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strip&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; mradio:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Please select a radio&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mradio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; num:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Selected radio not recognized&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; mradio
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_sradio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    num &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rnum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    sradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Choose Slave radio number from the list: &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strip&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; sradio:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Please select a radio&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sradio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; num:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Selected radio not recognized&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; sradio
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; sync&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    num &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rnum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Set SLAVE to the same Frequency and Mode as MASTER.&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Currently connected radios are:&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;range&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        r &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rname&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%d is %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i + &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; r&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    mradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_mradio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; mradio:
        mradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_mradio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    sradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_sradio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; sradio:
        sradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_sradio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    sr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;r&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sradio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    mr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;r&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mradio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    mfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + mr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    mmode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + mr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    sfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + mfreq + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + sr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    smode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + mmode + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + sr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sfreq + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt; + smode + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# Try to send and receive in one-go, to prevent the logging thread and the main prog&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# getting the wrong receive data&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;data&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        lock.&lt;span class=&quot;me1&quot;&gt;acquire&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; sock
        sock.&lt;span class=&quot;me1&quot;&gt;sendall&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;data + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        received &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; sock.&lt;span class=&quot;me1&quot;&gt;recv&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;finally&lt;/span&gt;:
        lock.&lt;span class=&quot;me1&quot;&gt;release&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; received
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; write_file&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; freq&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; smeter&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    filename &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; fname
    f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filename&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;a+&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    timenow &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%d/%m/%Y %H:%M:%S&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;gmtime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    log &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;timenow&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; freq&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; smeter&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;log&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
make_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
lock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Lock&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
get_all&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Please choose a radio&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;
radio_num&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rname &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; set_radio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; radio_num:
    radio_num&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rname &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; set_radio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
prompt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;client.py&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;clientpy&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;21736-31171&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit11&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Page created Wed May 25 00:06:01 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/06/26 07:39 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:icr75&amp;amp;do=showtag&amp;amp;tag=icr75&quot; class=&quot;wikilink1&quot; title=&quot;tag:icr75&quot; rel=&quot;tag&quot;&gt;icr75&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:5,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;31172-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 06:39:56 +0000</pubDate>
        </item>
        <item>
            <title>10m/12m</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:11m</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:start&quot; data-wiki-id=&quot;public:radio:topics:start&quot;&gt;Radio Topics&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;m_12m&quot;&gt;10m/12m&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt; A diversion into 10m and 12m &lt;/strong&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;10m\/12m&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;m_12m&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-75&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;equipment&quot;&gt;Equipment&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;Shack : &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:crt_ss9900&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:crt_ss9900&quot; data-wiki-id=&quot;public:radio:radio_database:crt_ss9900&quot;&gt;CRT SS9900&lt;/a&gt;&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Shack : &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:ic706&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:ic706&quot; data-wiki-id=&quot;public:radio:radio_database:ic706&quot;&gt;Icom IC-706&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Mobile :  &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:anytone_smart&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:anytone_smart&quot; data-wiki-id=&quot;public:radio:radio_database:anytone_smart&quot;&gt;Anytone Smart CB for 10M&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Equipment&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;equipment&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;76-278&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;antenna&quot;&gt;Antenna&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Sleeve “T2LT” dipole &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Sloping at approx. 45°&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Choke 5T 110mm diameter air wound&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Choke design recommendations : &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Aradio%3Atopics%3A11m&amp;amp;media=public:radio:active:choke_impedances.png&quot; class=&quot;media&quot; title=&quot;public:radio:active:choke_impedances.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=bc70a1&amp;amp;media=public:radio:active:choke_impedances.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Aradio%3Atopics%3A11m&amp;amp;media=public:radio:active:img_20230521_165038_495.jpg&quot; class=&quot;media&quot; title=&quot;public:radio:active:img_20230521_165038_495.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=30715a&amp;amp;media=public:radio:active:img_20230521_165038_495.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Aradio%3Atopics%3A11m&amp;amp;media=public:radio:active:img_20230521_165054_891.jpg&quot; class=&quot;media&quot; title=&quot;public:radio:active:img_20230521_165054_891.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=f40bdd&amp;amp;media=public:radio:active:img_20230521_165054_891.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Update 22/5/23 : Moved to fully vertical with choke/feedpoint 2m agl and tip @ 7m agl &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; using 7m “Sota pole”&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Update 4/6/12 : moved back to sloping configureaton on original 5m long pole, and choke/radiator/feedpoint changed to suit 12m : choke now 6T on 110m former at 3m from “feedpoint”&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; radiator section lengthened to 3m.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
(Photo to follow)
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Antenna&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;antenna&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;279-963&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;propagation_data&quot;&gt;Propagation Data&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Propagation Data&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;propagation_data&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;964-994&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;m_wspr_spots_vs_sfi_k_indices&quot;&gt;10m WSPR Spots vs SFI &amp;amp; K indices&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;table sectionedit6&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0 leftalign&quot;&gt;Date      &lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Time First Spot&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Time Last Spot&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Power&lt;/th&gt;&lt;th class=&quot;col4&quot;&gt;Spots In&lt;/th&gt;&lt;th class=&quot;col5&quot;&gt; Min/Max/Ave km&lt;/th&gt;&lt;th class=&quot;col6&quot;&gt;Spots Out&lt;/th&gt;&lt;th class=&quot;col7&quot;&gt;Min/Max/Ave km&lt;/th&gt;&lt;th class=&quot;col8&quot;&gt; SFI &lt;/th&gt;&lt;th class=&quot;col9&quot;&gt; SSN &lt;/th&gt;&lt;th class=&quot;col10&quot;&gt; K &lt;/th&gt;&lt;th class=&quot;col11&quot;&gt; 48H Flare&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 10/05/23 &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  (1442)  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;   2010     &lt;/td&gt;&lt;td class=&quot;col3 rightalign&quot;&gt;  5W &lt;/td&gt;&lt;td class=&quot;col4 centeralign&quot;&gt;      3   &lt;/td&gt;&lt;td class=&quot;col5 centeralign&quot;&gt;   2939 / 2939 / 2939   &lt;/td&gt;&lt;td class=&quot;col6 centeralign&quot;&gt;   26        &lt;/td&gt;&lt;td class=&quot;col7 rightalign&quot;&gt;  2939 / 10373 / 4043 &lt;/td&gt;&lt;td class=&quot;col8&quot;&gt; 180 &lt;/td&gt;&lt;td class=&quot;col9&quot;&gt; 151 &lt;/td&gt;&lt;td class=&quot;col10&quot;&gt; 5 &lt;/td&gt;&lt;td class=&quot;col11 centeralign&quot;&gt;   M6.5   &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 10/05/23 &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;   2332   &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;   0122     &lt;/td&gt;&lt;td class=&quot;col3 rightalign&quot;&gt;  5W &lt;/td&gt;&lt;td class=&quot;col4 centeralign&quot;&gt;      7   &lt;/td&gt;&lt;td class=&quot;col5 centeralign&quot;&gt;  1008 / 1605 / 1297    &lt;/td&gt;&lt;td class=&quot;col6 centeralign&quot;&gt;    9        &lt;/td&gt;&lt;td class=&quot;col7 centeralign&quot;&gt;  1175 / 1743 / 1348  &lt;/td&gt;&lt;td class=&quot;col8&quot;&gt; 180 &lt;/td&gt;&lt;td class=&quot;col9&quot;&gt; 151 &lt;/td&gt;&lt;td class=&quot;col10&quot;&gt; 5 &lt;/td&gt;&lt;td class=&quot;col11 centeralign&quot;&gt;   M6.5   &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;1040-1452&amp;quot;} --&gt;
&lt;p&gt;
Last Update : 04/06/26 19:23 BST
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;10m WSPR Spots vs SFI &amp;amp; K indices&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;m_wspr_spots_vs_sfi_k_indices&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;995-1482&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit7&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.radio-workshop.co.uk/cb-radio-citizens-band-27mhz-11-metres/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.radio-workshop.co.uk/cb-radio-citizens-band-27mhz-11-metres/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.radio-workshop.co.uk/cb-radio-citizens-band-27mhz-11-metres/&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:10m&amp;amp;do=showtag&amp;amp;tag=10m&quot; class=&quot;wikilink1&quot; title=&quot;tag:10m&quot; rel=&quot;tag&quot;&gt;10m&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:11m&amp;amp;do=showtag&amp;amp;tag=11m&quot; class=&quot;wikilink1&quot; title=&quot;tag:11m&quot; rel=&quot;tag&quot;&gt;11m&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:cb&amp;amp;do=showtag&amp;amp;tag=cb&quot; class=&quot;wikilink1&quot; title=&quot;tag:cb&quot; rel=&quot;tag&quot;&gt;cb&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;1483-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 18:23:23 +0000</pubDate>
        </item>
        <item>
            <title>APRS</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:aprs:aprs</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:aprs:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:aprs:start&quot; data-wiki-id=&quot;public:radio:topics:aprs:start&quot;&gt;APRS&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;aprs&quot;&gt;APRS&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt; VHF and HF APRS &lt;/strong&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;APRS&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;aprs&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-59&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;vhf&quot;&gt;VHF&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; FT8900 : 2m I-Gate &lt;strong&gt;GM4SLV-2&lt;/strong&gt; - Raspberry Pi, TNC-Pi and APRX I-Gate software&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;strong&gt;UPDATE 6/4/24 : 2m APRS suspended&lt;/strong&gt;. Coverage not adequate from low 2m antenna.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; TM-D710 in van : &lt;strong&gt;GM4SLV-9&lt;/strong&gt; - will digipeat “WIDEn-N”&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; TH-D72 : &lt;strong&gt;GM4SLV-8&lt;/strong&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Anytone 878&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; analogue : &lt;strong&gt;GM4SLV-7&lt;/strong&gt;, &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; DMR&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Brandmeister → PC 234999 (Self-Care set to &lt;strong&gt;GM4SLV-7&lt;/strong&gt;)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; DMR+/Phoenix → PC 5057 → &lt;strong&gt;GM4SLV-7&lt;/strong&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;VHF&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;vhf&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;60-507&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;hf&quot;&gt;HF&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Occasional use of 30m AFSK 10,147.6kHz USB as &lt;strong&gt;GM4SLV-10&lt;/strong&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; IC-706 and Signalink-USB soundcard&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;HF&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;hf&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;508-630&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;software&quot;&gt;Software&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Direwolf&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; HF (300 baud FSK) or VHF soundcard modem/TNC&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; AGW Packet Engine TCP/IP interface to other software&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; standalone iGate and Digipeater&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Xastir&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Can use the Direwolf TCP/IP AGW TNC across network&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; WinRPR &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:2024:winrpr_075_2.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:radio:2024:winrpr_075_2.zip (1.8 MB)&quot;&gt;winrpr_075_2.zip&lt;/a&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Can act as TCP/IP KISS mode TNC providing 300 or 600 baud Robust Packet TX/RX and also simultaneous 300 baud FSK RX&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; APRSISCE32 &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:2024:aprsis32.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:radio:2024:aprsis32.zip (1.3 MB)&quot;&gt;aprsis32.zip&lt;/a&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Can use WinRPR&amp;#039;s KISS mode TNC&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; UIView32 &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:2024:32full203.exe&quot; class=&quot;media mediafile mf_exe&quot; title=&quot;public:radio:2024:32full203.exe (5 MB)&quot;&gt;32full203.exe&lt;/a&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Needs to be registered first at &lt;a href=&quot;https://www.apritch.co.uk/uiv32.htm&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.apritch.co.uk/uiv32.htm&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.apritch.co.uk/uiv32.htm&lt;/a&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;encryptedpasswords crypted&quot; data-crypted=&quot;U2FsdGVkX18RT21avOp7l4/3U+Z7QxUHE46ZZg3KCJzU5unCrI08T40DgX32Cf+vb09G6DbXBzmXviRFQzEHA+JYusxmxHrb7rd/wXuFDQGmVfn3I9GrL/QCyTpwG6b8GWjBmozR9+Ec5nLbOeKQyVhZMcaRrZTi+FUBEfuxvsRjP/XkHEe58UqXx+ZYKSWOv88WTQajuXm/4LF8mg183g==&quot;&gt;&lt;span&gt;••••••••••&lt;/span&gt;&lt;svg viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z&quot;/&gt;&lt;/svg&gt;&lt;svg viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17Z&quot;/&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Can use Direwolf&amp;#039;s AGW TNC across network&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Software&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;software&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;631-1572&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;hf_frequencies&quot;&gt;HF Frequencies&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;HF Frequencies&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;hf_frequencies&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1573-1600&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;m&quot;&gt;30m&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; 300 Baud FSK RF centre &lt;strong&gt;10149.3kHz&lt;/strong&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; 1700 Hz audio (1600/1800Hz tones)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;strong&gt;Dial = 10147.6kHz USB&lt;/strong&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; alternative dial = 10151.0kHz LSB (signal can be inverted without issues)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; 300 baud RPR RF centre &lt;strong&gt;10148.8kHz&lt;/strong&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; 1500 Hz audio&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;strong&gt;Dial = 10147.3kHz USB&lt;/strong&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;em&gt;Normal&lt;/em&gt; 300 baud AFSK resolves at 2000Hz - and is decoded by WinRPR at this offset&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Aradio%3Atopics%3Aaprs%3Aaprs&amp;amp;media=public:radio:2024:screenshot_at_2024-04-10_09-06-39.png&quot; class=&quot;media&quot; title=&quot;public:radio:2024:screenshot_at_2024-04-10_09-06-39.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=997157&amp;amp;media=public:radio:2024:screenshot_at_2024-04-10_09-06-39.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;direwolf_update10_04_24&quot;&gt;Direwolf update : 10/04/24&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Direwolf v1.6 in Debian has a minor annoyance - it decodes its own transmitted frames occasionally due to cross talk in the sound card&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; This is reported to be &lt;em&gt;fixed in 1.7 release&lt;/em&gt; so I cloned the git repository and built the current 1.7 version&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; It has removed the annoyance of seeing (and reporting to APRS-IS) your own transmitted packets&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; There are other changes and improvements which I will investigate over time.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Steps to clone/build&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;apt-get install&lt;/span&gt; libavahi-client-dev
&lt;span class=&quot;kw2&quot;&gt;git clone&lt;/span&gt; https:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;www.github.com&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;wb2osz&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;direwolf
&lt;span class=&quot;kw3&quot;&gt;cd&lt;/span&gt; direwolf
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;mkdir&lt;/span&gt; build &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;cd&lt;/span&gt; build
cmake ..
&lt;span class=&quot;kw2&quot;&gt;make&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-j4&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
Running the new version 
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;cd&lt;/span&gt; src
.&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;direwolf &lt;span class=&quot;re5&quot;&gt;-c&lt;/span&gt; ~&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;direwolf.conf&lt;/pre&gt;

&lt;p&gt;
A few red warnings due to changes for v1.7 not being fully compatible with the previous config options, but it runs and doesn&amp;#039;t seem to decode its own transmissions any more.
&lt;/p&gt;

&lt;p&gt;
A few tweaks to the config:
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;ADEVICE  plughw:&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&amp;nbsp;
CHANNEL &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&amp;nbsp;
MYCALL GM4SLV-&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;#MODEM 300 7@30&lt;/span&gt;
&amp;nbsp;
MODEM &lt;span class=&quot;nu0&quot;&gt;300&lt;/span&gt; B+
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;#FIX_BITS 1&lt;/span&gt;
&amp;nbsp;
TXDELAY &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
&amp;nbsp;
LOGDIR .
&amp;nbsp;
AGWPORT &lt;span class=&quot;nu0&quot;&gt;8000&lt;/span&gt;
KISSPORT &lt;span class=&quot;nu0&quot;&gt;8001&lt;/span&gt;
&amp;nbsp;
PBEACON &lt;span class=&quot;re2&quot;&gt;sendto&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;re2&quot;&gt;via&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;WIDE1-1&amp;quot;&lt;/span&gt; &lt;span class=&quot;re2&quot;&gt;delay&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:00 &lt;span class=&quot;re2&quot;&gt;every&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;:00 &lt;span class=&quot;re2&quot;&gt;symbol&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;\-&amp;quot;&lt;/span&gt; &lt;span class=&quot;re2&quot;&gt;lat&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;^17.31N &lt;span class=&quot;re2&quot;&gt;long&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;^25.51W &lt;span class=&quot;re2&quot;&gt;comment&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;30m HF Direwolf AFSK&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;#FILTER 0 0 ( ! d/* )&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#FILTER 0 0 (! b/GM4SLV-10 )&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;#IGSERVER euro.aprs2.net&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;#IGLOGIN GM4SLV-10 19626&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;#PBEACON sendto=IG delay=0:30 every=60:00 symbol=&amp;quot;\-&amp;quot; lat=60^17.31N long=1^25.51W comment=&amp;quot;30m AFSK RX Igate&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
DIGIPEAT &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; ^WIDE&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;-&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;$&lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;^TEST$ ^WIDE&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;-&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;$ PREEMPT
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;#IGTXLIMIT 6 10&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I will remove the Debian version 1.6 and &lt;code&gt;sudo make install&lt;/code&gt; the newly compiled v1.7 once I&amp;#039;m happy with it.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; This version also decodes FX25 packets - which I don&amp;#039;t fully understand yet&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code&quot;&gt;SP6PGH-10 audio level = 53   FX.25   75_______
[0.1] SP6PGH-10&amp;gt;APWW11,WIDE1-1:&amp;gt;100639zTest HF APRS station
Status Report, APRSISCE win32 version
Test HF APRS station
[0H] SP6PGH-10&amp;gt;APWW11,GM4SLV-10*:&amp;gt;100639zTest HF APRS station&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; a normal AX25 packet&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code&quot;&gt;IW4EGP-10 audio level = 46    _|||_____
[0.2] IW4EGP-10&amp;gt;APU25N,WIDE2-2:=4403.57N/01233.72E&amp;amp;APRS HF 30m -/D R-I  H24 {UIV32}&amp;lt;0x0d&amp;gt;
Position, HF Gateway  &amp;lt;= the original primary table definition, UIview 32 bit apps
N 44 03.5700, E 012 33.7200
APRS HF 30m -/D R-I  H24 {UIV32}
[0H] IW4EGP-10&amp;gt;APU25N,GM4SLV-10*,WIDE2-1:=4403.57N/01233.72E&amp;amp;APRS HF 30m -/D R-I  H24 {UIV32}&amp;lt;0x0d&amp;gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; both of these are also digipeated my me, shown on the last line is my outgoing digipeated packet:&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;[0H] SP6PGH-10&amp;gt;APWW11,GM4SLV-10*:&amp;gt;100639zTest HF APRS station&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;[0H] IW4EGP-10&amp;gt;APU25N,GM4SLV-10*,WIDE2-1:=4403.57N/01233.72E&amp;amp;APRS HF 30m -/D R-I  H24 {UIV32}&amp;lt;0x0d&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 21/03/24 16:14&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Last Update : 04/06/26 07:39 BST
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;30m&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;m&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;1601-4821&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit7&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;table sectionedit8&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; Direwolf v1.7 User Manual &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:2024:user-guide_1_.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:2024:user-guide_1_.pdf (2.8 MB)&quot;&gt;user-guide_1_.pdf&lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; aprs.fi &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;a href=&quot;https://aprs.fi/info/a/GM4SLV-10&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://aprs.fi/info/a/GM4SLV-10&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://aprs.fi/info/a/GM4SLV-10&lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;4856-4982&amp;quot;} --&gt;&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:aprs&amp;amp;do=showtag&amp;amp;tag=aprs&quot; class=&quot;wikilink1&quot; title=&quot;tag:aprs&quot; rel=&quot;tag&quot;&gt;aprs&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:5,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;4822-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 06:39:56 +0000</pubDate>
        </item>
        <item>
            <title>MB7AZE SvxLink Config</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:mb7azeconf</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:svxlink:start&quot; data-wiki-id=&quot;public:radio:topics:svxlink:start&quot;&gt;SVXLink&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt; MB7AZE is now QRT and the NoV has expired.&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
The following is for historical interest only….
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;mb7aze_svxlink_config&quot;&gt;MB7AZE SvxLink Config&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;MB7AZE SvxLink Config&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;mb7aze_svxlink_config&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;115-151&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;main_config_file&quot;&gt;Main config file&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_a722169c895501e08bbb51c5c0f8c410_1&quot;&gt;svxlink.conf &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_a722169c895501e08bbb51c5c0f8c410_1&quot;&gt;&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:radio:topics:svxlink:mb7azeconf&amp;amp;codeblock=0&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_conf&quot;&gt;svxlink.conf&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;###############################################################################&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#                                                                             #&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#                Configuration file for the SvxLink server                    #&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#                                                                             #&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;###############################################################################&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;GLOBAL&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#MODULE_PATH=/usr/lib/arm-linux-gnueabihf/svxlink&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LOGICS&lt;/span&gt;=SimplexLogic,ReflectorLogic
&lt;span class=&quot;re2&quot;&gt;CFG_DIR&lt;/span&gt;=svxlink.d
&lt;span class=&quot;re2&quot;&gt;TIMESTAMP_FORMAT&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;%c&amp;quot;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CARD_SAMPLE_RATE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;48000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CARD_CHANNELS=1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LOCATION_INFO&lt;/span&gt;=LocationInfo
&lt;span class=&quot;re2&quot;&gt;LINKS&lt;/span&gt;=LinkToReflector
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;SimplexLogic&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Simplex
&lt;span class=&quot;re2&quot;&gt;RX&lt;/span&gt;=Rx1
&lt;span class=&quot;re2&quot;&gt;TX&lt;/span&gt;=Tx1
&lt;span class=&quot;re2&quot;&gt;DEFAULT_LANG&lt;/span&gt;=en_US
&lt;span class=&quot;re2&quot;&gt;MODULES&lt;/span&gt;=ModuleHelp,ModuleEchoLink,ModuleParrot
&lt;span class=&quot;re2&quot;&gt;CALLSIGN&lt;/span&gt;=MB7AZE
&lt;span class=&quot;re2&quot;&gt;SHORT_IDENT_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SHORT_CW_ID_ENABLE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SHORT_VOICE_ID_ENABLE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LONG_VOICE_ID_ENABLE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CW_AMP&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CW_PITCH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CW_WPM&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LONG_IDENT_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#IDENT_ONLY_AFTER_TX=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#EXEC_CMD_ON_SQL_CLOSE=500&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;EVENT_HANDLER&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;share&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;events.tcl
&lt;span class=&quot;re2&quot;&gt;RGR_SOUND_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#REPORT_CTCSS=77.0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TX_CTCSS&lt;/span&gt;=ALWAYS
&lt;span class=&quot;re2&quot;&gt;MACROS&lt;/span&gt;=Macros
&lt;span class=&quot;re2&quot;&gt;FX_GAIN_NORMAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;FX_GAIN_LOW&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#ACTIVATE_MODULE_ON_LONG_CMD=4:EchoLink&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#QSO_RECORDER=8:QsoRecorder&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;ONLINE_CMD&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;998877&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#MUTE_RX_ON_TX=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#MUTE_TX_ON_RX=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#STATE_PTY=/var/run/svxlink/state&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DTMF_CTRL_PTY=/dev/shm/simplex_dtmf_ctrl&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TIME_FORMAT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;RGR_SOUND_ALWAYS&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;RepeaterLogic&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Repeater
&lt;span class=&quot;re2&quot;&gt;RX&lt;/span&gt;=Rx1
&lt;span class=&quot;re2&quot;&gt;TX&lt;/span&gt;=Tx1
&lt;span class=&quot;re2&quot;&gt;MODULES&lt;/span&gt;=ModuleHelp,ModuleParrot,ModuleEchoLink,ModuleTclVoiceMail
&lt;span class=&quot;re2&quot;&gt;CALLSIGN&lt;/span&gt;=MYCALL
&lt;span class=&quot;re2&quot;&gt;SHORT_IDENT_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LONG_IDENT_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#IDENT_ONLY_AFTER_TX=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#EXEC_CMD_ON_SQL_CLOSE=500&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;EVENT_HANDLER&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;share&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;events.tcl
&lt;span class=&quot;re2&quot;&gt;DEFAULT_LANG&lt;/span&gt;=en_US
&lt;span class=&quot;re2&quot;&gt;RGR_SOUND_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;REPORT_CTCSS&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;136.5&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#TX_CTCSS=SQL_OPEN&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MACROS&lt;/span&gt;=Macros
&lt;span class=&quot;co0&quot;&gt;#SEL5_MACRO_RANGE=03400,03499&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;FX_GAIN_NORMAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;FX_GAIN_LOW&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#QSO_RECORDER=8:QsoRecorder&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#NO_REPEAT=1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;IDLE_TIMEOUT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;30&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;OPEN_ON_1750&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPEN_ON_CTCSS=136:2000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPEN_ON_DTMF=*&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPEN_ON_SQL=5000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPEN_ON_SEL5=01234&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPEN_SQL_FLANK=OPEN&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPEN_ON_SQL_AFTER_RPT_CLOSE=10&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;IDLE_SOUND_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_FLAP_SUP_MIN_TIME=1000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_FLAP_SUP_MAX_COUNT=10&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#ACTIVATE_MODULE_ON_LONG_CMD=4:EchoLink&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#IDENT_NAG_TIMEOUT=15&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#IDENT_NAG_MIN_TIME=2000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#ONLINE_CMD=998877&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#STATE_PTY=/var/run/svxlink/state&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DTMF_CTRL_PTY=/dev/shm/repeater_dtmf_ctrl&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;ReflectorLogic&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Reflector
&lt;span class=&quot;re2&quot;&gt;DEFAULT_LANG&lt;/span&gt;=en_US
&lt;span class=&quot;re2&quot;&gt;HOSTS&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;put the right server address in here&amp;quot;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;HOST_PORT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;5300&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CALLSIGN&lt;/span&gt;=MB7AZE
&lt;span class=&quot;re2&quot;&gt;AUTH_KEY&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;put the right password in here&amp;quot;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;JITTER_BUFFER_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DEFAULT_TG&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MONITOR_TGS&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;91&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;235&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2350&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2351&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;23520&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;23590&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;23561&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TG_SELECT_TIMEOUT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;ANNOUNCE_REMOTE_MIN_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;300&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MUTE_FIRST_TX_LOC&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MUTE_FIRST_TX_REM&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TMP_MONITOR_TIMEOUT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3600&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;EVENT_HANDLER&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;share&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;events.tcl
&lt;span class=&quot;re2&quot;&gt;NODE_INFO_FILE&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;etc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;node_info.json
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;LinkToReflector&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CONNECT_LOGICS&lt;/span&gt;=SimplexLogic:&lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt;:,ReflectorLogic
&lt;span class=&quot;re2&quot;&gt;DEFAULT_ACTIVE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#TIMEOUT=300&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#AUTOACTIVATE_ON_SQL=RepeaterLogic&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;OPTIONS&lt;/span&gt;=DEFAULT_CONNECT,NO_DISCONNECT
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;QsoRecorder&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;REC_DIR&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;var&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;spool&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;qso_recorder
&lt;span class=&quot;co0&quot;&gt;#MIN_TIME=1000&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MAX_TIME&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3600&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SOFT_TIME&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;300&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MAX_DIRSIZE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1024&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DEFAULT_ACTIVE=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#TIMEOUT=300&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#QSO_TIMEOUT=300&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#ENCODER_CMD=/usr/bin/oggenc -Q \&amp;quot;%f\&amp;quot; &amp;amp;&amp;amp; rm \&amp;quot;%f\&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Voter&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Voter
&lt;span class=&quot;re2&quot;&gt;RECEIVERS&lt;/span&gt;=Rx1,Rx2,Rx3
&lt;span class=&quot;re2&quot;&gt;VOTING_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;BUFFER_LENGTH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#REVOTE_INTERVAL=1000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#HYSTERESIS=50&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_CLOSE_REVOTE_DELAY=500&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#RX_SWITCH_DELAY=500&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#COMMAND_PTY=/dev/shm/voter_ctrl&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;MultiTx&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Multi
&lt;span class=&quot;re2&quot;&gt;TRANSMITTERS&lt;/span&gt;=Tx1,Tx2,Tx3
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;NetRx&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Net
&lt;span class=&quot;re2&quot;&gt;HOST&lt;/span&gt;=remote.rx.host
&lt;span class=&quot;re2&quot;&gt;TCP_PORT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;5210&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#LOG_DISCONNECTS_ONCE=0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;AUTH_KEY&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;Change this key now!&amp;quot;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CODEC&lt;/span&gt;=S16
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_FRAMES_PER_PACKET=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_QUALITY=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_BITRATE=15000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_COMPLEXITY=2&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_VBR=0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_VBR_QUALITY=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_ABR=15000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_DEC_ENHANCER=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_FRAME_SIZE=20&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_COMPLEXITY=10&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_BITRATE=20000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_VBR=1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;NetTx&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Net
&lt;span class=&quot;re2&quot;&gt;HOST&lt;/span&gt;=remote.tx.host
&lt;span class=&quot;re2&quot;&gt;TCP_PORT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;5210&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#LOG_DISCONNECTS_ONCE=0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;AUTH_KEY&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;Change this key now!&amp;quot;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CODEC&lt;/span&gt;=S16
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_FRAMES_PER_PACKET=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_QUALITY=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_BITRATE=15000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_COMPLEXITY=2&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_VBR=0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_VBR_QUALITY=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_ABR=15000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_DEC_ENHANCER=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_FRAME_SIZE=20&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_COMPLEXITY=10&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_BITRATE=20000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_VBR=1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Rx1&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Local
&lt;span class=&quot;re2&quot;&gt;AUDIO_DEV&lt;/span&gt;=alsa:plughw:&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;AUDIO_CHANNEL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SQL_DET&lt;/span&gt;=CTCSS
&lt;span class=&quot;re2&quot;&gt;SQL_START_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SQL_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SQL_HANGTIME&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_EXTENDED_HANGTIME=1000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_EXTENDED_HANGTIME_THRESH=15&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_TIMEOUT=600&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;VOX_FILTER_DEPTH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;VOX_THRESH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_MODE=2&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CTCSS_FQ&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;77.0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_SNR_OFFSET=0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_OPEN_THRESH=15&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_CLOSE_THRESH=9&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_BPF_LOW=60&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_BPF_HIGH=270&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SERIAL_PORT=/dev/ttyUSB0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SERIAL_PIN=CTS&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SERIAL_SET_PINS=&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#EVDEV_DEVNAME=/dev/input/by-id/usb-SYNIC_SYNIC_Wireless_Audio-event-if03&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#EVDEV_OPEN=1,163,1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#EVDEV_CLOSE=1,163,0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#GPIO_PATH=/sys/class/gpio&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#GPIO_SQL_PIN=gpio25&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PTY_PATH=/tmp/rx1_sql&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;HID_DEVICE&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;hidraw0
&lt;span class=&quot;re2&quot;&gt;HID_SQL_PIN&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;VOL_DN
&lt;span class=&quot;co0&quot;&gt;#SIGLEV_DET=NOISE&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SIGLEV_SLOPE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SIGLEV_OFFSET&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SIGLEV_BOGUS_THRESH=120&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#TONE_SIGLEV_MAP=100,84,60,50,37,32,28,23,19,8&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SIGLEV_OPEN_THRESH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;30&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SIGLEV_CLOSE_THRESH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DEEMPHASIS&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_TAIL_ELIM=300&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;PREAMP&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;0.5&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PEAK_METER=1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_DEC_TYPE&lt;/span&gt;=INTERNAL
&lt;span class=&quot;re2&quot;&gt;DTMF_MUTING&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_HANGTIME&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;40&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_SERIAL&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;ttyS0
&lt;span class=&quot;co0&quot;&gt;#DTMF_PTY=/tmp/rx1_dtmf&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DTMF_MAX_FWD_TWIST=8&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DTMF_MAX_REV_TWIST=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#1750_MUTING=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SEL5_DEC_TYPE=INTERNAL&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SEL5_TYPE=ZVEI1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#FQ=433475000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#MODULATION=FM&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#WBRX=WbRx1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;WbRx1&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#TYPE=RtlUsb&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DEV_MATCH=0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#HOST=localhost&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PORT=1234&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CENTER_FQ=435075000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#FQ_CORR=0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#GAIN=0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PEAK_METER=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SAMPLE_RATE=960000&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Tx1&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Local
&lt;span class=&quot;re2&quot;&gt;AUDIO_DEV&lt;/span&gt;=alsa:plughw:&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;AUDIO_CHANNEL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;PTT_TYPE&lt;/span&gt;=Hidraw
&lt;span class=&quot;co0&quot;&gt;#PTT_PORT=/dev/ttyS0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PTT_PIN=HIDRAW&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;HID_DEVICE&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;hidraw0
&lt;span class=&quot;re2&quot;&gt;HID_PTT_PIN&lt;/span&gt;=GPIO3
&lt;span class=&quot;co0&quot;&gt;#SERIAL_SET_PINS=DTR!RTS&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#GPIO_PATH=/sys/class/gpio&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PTT_HANGTIME=1000&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TIMEOUT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;300&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TX_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CTCSS_FQ&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;77.0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CTCSS_LEVEL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;PREEMPHASIS&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_TONE_LENGTH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_TONE_SPACING&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_DIGIT_PWR&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MASTER_GAIN&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;3.5&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;LocationInfo&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;APRS_SERVER_LIST&lt;/span&gt;=euro.aprs2.net:&lt;span class=&quot;nu0&quot;&gt;14580&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;STATUS_SERVER_LIST&lt;/span&gt;=aprs.echolink.org:&lt;span class=&quot;nu0&quot;&gt;5199&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LON_POSITION&lt;/span&gt;=1.25.30W
&lt;span class=&quot;re2&quot;&gt;LAT_POSITION&lt;/span&gt;=60.17.18N
&lt;span class=&quot;re2&quot;&gt;CALLSIGN&lt;/span&gt;=EL-MB7AZE
&lt;span class=&quot;re2&quot;&gt;FREQUENCY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;430.050&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TX_POWER&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;ANTENNA_GAIN&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;ANTENNA_HEIGHT&lt;/span&gt;=1m
&lt;span class=&quot;re2&quot;&gt;ANTENNA_DIR&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PATH=WIDE1-1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;BEACON_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TONE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;77&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;COMMENT&lt;/span&gt;=Connected to UK Svx Reflector
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Macros&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;=EchoLink:&lt;span class=&quot;nu0&quot;&gt;9999&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;=EchoLink:&lt;span class=&quot;nu0&quot;&gt;973498&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;=EchoLink:&lt;span class=&quot;nu0&quot;&gt;662666&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;=:&lt;span class=&quot;nu0&quot;&gt;91235&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;=:&lt;span class=&quot;nu0&quot;&gt;9123561&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt;=:&lt;span class=&quot;nu0&quot;&gt;910&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Main config file&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;main_config_file&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;152-6389&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;audio_levels&quot;&gt;Audio levels&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Audio levels&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;audio_levels&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;6390-6415&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;devcal&quot;&gt;Devcal&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Use the &lt;code&gt;devcal&lt;/code&gt; program to set RX and TX audio levels.
&lt;/p&gt;

&lt;p&gt;
This allows adjustment of &lt;code&gt;alsamixer&lt;/code&gt; settings and then for fine tuning adjustment of &lt;code&gt;PRE-AMP&lt;/code&gt;  (for &lt;code&gt;RX&lt;/code&gt;) and &lt;code&gt;MASTER GAIN&lt;/code&gt; (for &lt;code&gt;TX&lt;/code&gt;) config options to set the correct audio level INPUT on &lt;code&gt;RX&lt;/code&gt; and deviation on &lt;code&gt;TX&lt;/code&gt;. 
&lt;/p&gt;

&lt;p&gt;
Once the correct &lt;code&gt;PRE-AMP&lt;/code&gt; or &lt;code&gt;MASTER GAIN&lt;/code&gt; values have been determined in &lt;code&gt;DEVCAL&lt;/code&gt; they are added to the relevant sections in &lt;code&gt;svxlink.conf&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
To use &lt;code&gt;DEVCAL&lt;/code&gt; first &lt;code&gt;sudo killall svxlink&lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;for_receive_audio_input&quot;&gt;For Receive audio input:&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; devcal &lt;span class=&quot;re5&quot;&gt;-r&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-m&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3000&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3000&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;etc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink.conf Rx1&lt;/pre&gt;

&lt;p&gt;
Inject a signal to the radio @ ±3kHz deviation Adjust audio input level via 
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; radio volume control&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; alsamixer Mic Capture level&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; devcal +/- to adjust PRE-AMP setting&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
until the displayed deviation agrees with the input signal&amp;#039;s deviation.
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Q&lt;/strong&gt;uit &lt;code&gt;devcal&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Transfer the displayed &lt;code&gt;PRE-AMP&lt;/code&gt; value to the conf file.
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;for_transmit_audio_output&quot;&gt;For Transmit audio output&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Monitor TX deviation
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; devcal &lt;span class=&quot;re5&quot;&gt;-t&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-m&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3000&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3000&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;etc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink.conf Tx1&lt;/pre&gt;

&lt;p&gt;
Toggle TX with &lt;code&gt;T&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Adjust 
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Alsamixer output&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; devcal +/- &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
to achieve ±3kHz TX deviation.
&lt;/p&gt;

&lt;p&gt;
Turn off TX with &lt;code&gt;T&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Q&lt;/strong&gt;uit &lt;code&gt;devcal&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Copy the displayed &lt;code&gt;MASTER GAIN&lt;/code&gt; value to the conf file.
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; alsactl store&lt;/pre&gt;

&lt;p&gt;
to save current mixer levels.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Devcal&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;devcal&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;6416-7816&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;to_prevent_echolink_incoming_connections_while_a_talkgroup_is_active&quot;&gt;To prevent Echolink incoming connections while a Talkgroup is active&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Uncomment :
&lt;/p&gt;
&lt;pre class=&quot;code tcl&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; tg_selected &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;new_tg old_tg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;### tg_selected #$new_tg (old #$old_tg)&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  # Reject incoming Echolink connections while a talkgroup is active&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$new_tg&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;= &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    setConfigValue &lt;span class=&quot;st0&quot;&gt;&amp;quot;ModuleEchoLink&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;REJECT_INCOMING&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;^.*$&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    setConfigValue &lt;span class=&quot;st0&quot;&gt;&amp;quot;ModuleEchoLink&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;REJECT_INCOMING&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;^$&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
in &lt;code&gt;/usr/local/share/svxlink/events.d/local/ReflectorLogic.tcl&lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;To prevent Echolink incoming connections while a Talkgroup is active&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;to_prevent_echolink_incoming_connections_while_a_talkgroup_is_active&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;7817-8313&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;svxinstall_eventsd_local&quot;&gt;&amp;lt;svxinstall&amp;gt;/events.d/local/&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Here are the 3 files containing tweaks to the standard behaviour.
&lt;/p&gt;

&lt;p&gt;
Editing the original files (in &lt;code&gt;events.d/&lt;/code&gt;) would work, but would get overwritten if the software is upgraded/re-installed. Putting local copies in &lt;code&gt;events.d/local&lt;/code&gt; means the changes survive upgrades etc.
&lt;/p&gt;

&lt;p&gt;
The actual path is:
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;/usr/local/share/svxlink/events.d/local/&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;ll try to document what is different once I refresh my memory.
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_a722169c895501e08bbb51c5c0f8c410_2&quot;&gt;ReflectorLogic.tcl &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_a722169c895501e08bbb51c5c0f8c410_2&quot;&gt;&lt;pre class=&quot;code tcl&quot;&gt;&lt;span class=&quot;co1&quot;&gt;###############################################################################&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# ReflectorLogic event handlers&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;###############################################################################&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# This is the namespace in which all functions below will exist. The name&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# must match the corresponding section &amp;quot;[ReflectorLogic]&amp;quot; in the configuration&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# file. The name may be changed but it must be changed in both places.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;namespace&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;eval&lt;/span&gt; ReflectorLogic &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
# The currently selected TG. Variable set from application.&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; selected_tg &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
# The previously selected TG. Variable set from application.&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; previous_tg &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
# Timestamp for previous TG announcement&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; prev_announce_time &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
# The previously announced TG&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; prev_announce_tg &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
# The minimum time between announcements of the same TG.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Change through ANNOUNCE_REMOTE_MIN_INTERVAL config variable.&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; announce_remote_min_interval &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
# This variable will be set to 1 if the QSY pending feature (&amp;quot;QSY on squelch&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# activity&amp;quot;) is active. See configuration variable QSY_PENDING_TIMEOUT.&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; qsy_pending_active &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Checking to see if this is the correct logic core&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$logic_name&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;= &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;namespace&lt;/span&gt; tail &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;namespace&lt;/span&gt; current&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an unknown command is received&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   cmd - The command string&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; unknown_command &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;cmd&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  Logic::&lt;span class=&quot;me1&quot;&gt;unknown_command&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$cmd&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a received command fails&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; command_failed &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;cmd&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  Logic::&lt;span class=&quot;me1&quot;&gt;command_failed&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$cmd&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when manual TG announcement is triggered&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; report_tg_status &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; selected_tg
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; previous_tg
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; prev_announce_time
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; prev_announce_tg
  playSilence &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$selected_tg&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; prev_announce_time &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;clock&lt;/span&gt; seconds&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; prev_announce_tg &lt;span class=&quot;re0&quot;&gt;$selected_tg&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;talk_group&amp;quot;&lt;/span&gt;
    spellNumber &lt;span class=&quot;re0&quot;&gt;$selected_tg&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;previous&amp;quot;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;talk_group&amp;quot;&lt;/span&gt;
    spellNumber &lt;span class=&quot;re0&quot;&gt;$previous_tg&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a TG has been selected&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# This function is called immediately when a change in talkgroup selection&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# occurs. In constrast, the other more specific talkgroup selection event&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# functions below is called with a delay in order to make announcement ordering&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# more logical.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   new_tg -- The talk group that has been activated&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   old_tg -- The talk group that was active&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; tg_selected &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;new_tg old_tg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;### tg_selected #$new_tg (old #$old_tg)&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  # Reject incoming Echolink connections while a talkgroup is active&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$new_tg&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;= &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    setConfigValue &lt;span class=&quot;st0&quot;&gt;&amp;quot;ModuleEchoLink&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;REJECT_INCOMING&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;^.*$&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    setConfigValue &lt;span class=&quot;st0&quot;&gt;&amp;quot;ModuleEchoLink&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;REJECT_INCOMING&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;^$&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a TG has been selected due to local activity&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   new_tg -- The talk group that has been activated&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   old_tg -- The talk group that was active&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; tg_local_activation &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;new_tg old_tg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; prev_announce_time
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; prev_announce_tg
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; selected_tg
&amp;nbsp;
  &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;### tg_local_activation&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$new_tg&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;= &lt;span class=&quot;re0&quot;&gt;$old_tg&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; prev_announce_time &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;clock&lt;/span&gt; seconds&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; prev_announce_tg &lt;span class=&quot;re0&quot;&gt;$new_tg&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;talk_group&amp;quot;&lt;/span&gt;
    spellNumber &lt;span class=&quot;re0&quot;&gt;$new_tg&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a TG has been selected due to remote activity&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   new_tg -- The talk group that has been activated&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   old_tg -- The talk group that was active&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; tg_remote_activation &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;new_tg old_tg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; prev_announce_time
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; prev_announce_tg
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; announce_remote_min_interval
&amp;nbsp;
  &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;### tg_remote_activation&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; now &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;clock&lt;/span&gt; seconds&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$new_tg&lt;/span&gt; == &lt;span class=&quot;re0&quot;&gt;$prev_announce_tg&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; \
      &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$now&lt;/span&gt; - &lt;span class=&quot;re0&quot;&gt;$prev_announce_time&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$announce_remote_min_interval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$new_tg&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;= &lt;span class=&quot;re0&quot;&gt;$old_tg&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; prev_announce_time &lt;span class=&quot;re0&quot;&gt;$now&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; prev_announce_tg &lt;span class=&quot;re0&quot;&gt;$new_tg&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;talk_group&amp;quot;&lt;/span&gt;
    spellNumber &lt;span class=&quot;re0&quot;&gt;$new_tg&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a TG has been selected due to remote activity on a prioritized&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# monitored talk group while a lower prio talk group is selected&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   new_tg -- The talk group that has been activated&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   old_tg -- The talk group that was active&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; tg_remote_prio_activation &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;new_tg old_tg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  tg_remote_activation &lt;span class=&quot;re0&quot;&gt;$new_tg&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$old_tg&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a TG has been selected by DTMF command&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   new_tg -- The talk group that has been activated&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   old_tg -- The talk group that was active&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; tg_command_activation &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;new_tg old_tg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; prev_announce_time
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; prev_announce_tg
&amp;nbsp;
  &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;### tg_command_activation&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; prev_announce_time &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;clock&lt;/span&gt; seconds&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; prev_announce_tg &lt;span class=&quot;re0&quot;&gt;$new_tg&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;talk_group&amp;quot;&lt;/span&gt;
  spellNumber &lt;span class=&quot;re0&quot;&gt;$new_tg&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a TG has been selected due to DEFAULT_TG configuration&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   new_tg -- The talk group that has been activated&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   old_tg -- The talk group that was active&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; tg_default_activation &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;new_tg old_tg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #variable prev_announce_time&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #variable prev_announce_tg&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #variable selected_tg&lt;/span&gt;
  &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;### tg_default_activation&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #if {$new_tg != $old_tg} {&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #  set prev_announce_time [clock seconds]&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #  set prev_announce_tg $new_tg&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #  playSilence 100&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #  playMsg &amp;quot;Core&amp;quot; &amp;quot;talk_group&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  # spellNumber $new_tg&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #}&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a TG QSY request have been acted upon&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   new_tg -- The talk group that has been activated&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   old_tg -- The talk group that was active&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; tg_qsy &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;new_tg old_tg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; prev_announce_time
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; prev_announce_tg
&amp;nbsp;
  &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;### tg_qsy&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; prev_announce_time &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;clock&lt;/span&gt; seconds&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; prev_announce_tg &lt;span class=&quot;re0&quot;&gt;$new_tg&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;qsy&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #playMsg &amp;quot;Core&amp;quot; &amp;quot;talk_group&amp;quot;&lt;/span&gt;
  spellNumber &lt;span class=&quot;re0&quot;&gt;$new_tg&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a QSY is followed due to squelch open (see QSY_PENDING_TIMEOUT)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   tg -- The talk group that has been activated&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; tg_qsy_on_sql &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;tg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;qsy&amp;quot;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a TG QSY request fails&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# A TG QSY may fail for primarily two reasons, either no talk group is&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# currently active or there is no connection to the reflector server.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; tg_qsy_failed &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;### tg_qsy_failed&amp;quot;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;qsy&amp;quot;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;operation_failed&amp;quot;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a TG QSY request is pending&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# tg -- The talk group requested in the QSY&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; tg_qsy_pending &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;tg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;qsy&amp;quot;&lt;/span&gt;
  spellNumber &lt;span class=&quot;re0&quot;&gt;$tg&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;pending&amp;quot;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a TG QSY request is ignored&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# tg -- The talk group requested in the QSY&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; tg_qsy_ignored &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;tg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; qsy_pending_active
  playSilence &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$qsy_pending_active&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;qsy&amp;quot;&lt;/span&gt;
    spellNumber &lt;span class=&quot;re0&quot;&gt;$tg&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;ignored&amp;quot;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;
  playTone &lt;span class=&quot;nu0&quot;&gt;880&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
  playTone &lt;span class=&quot;nu0&quot;&gt;659&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
  playTone &lt;span class=&quot;nu0&quot;&gt;440&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a TG selection has timed out&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   new_tg -- Always 0&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   old_tg -- The talk group that was active&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; tg_selection_timeout &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;new_tg old_tg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;### tg_selection_timeout&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$old_tg&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;= &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
    playTone &lt;span class=&quot;nu0&quot;&gt;880&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
    playTone &lt;span class=&quot;nu0&quot;&gt;659&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
    playTone &lt;span class=&quot;nu0&quot;&gt;440&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#  } else {&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
#    playSilence 50&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#    playTone 440 200 150&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#    playSilence 50&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed on talker start&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   tg        -- The talk group&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   callsign  -- The callsign of the talker node&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; talker_start &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;tg callsign&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #puts &amp;quot;### Talker DID start on TG #$tg: $callsign&amp;quot;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed on talker stop&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   tg        -- The talk group&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   callsign  -- The callsign of the talker node&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; talker_stop &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;tg callsign&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; selected_tg
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; ::&lt;span class=&quot;me1&quot;&gt;Logic&lt;/span&gt;::&lt;span class=&quot;me1&quot;&gt;CFG_CALLSIGN&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #puts &amp;quot;### Talker DID stop on TG #$tg: $callsign&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$tg&lt;/span&gt; == &lt;span class=&quot;re0&quot;&gt;$selected_tg&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$callsign&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;= &lt;span class=&quot;sy0&quot;&gt;$&lt;/span&gt;::&lt;span class=&quot;me1&quot;&gt;Logic&lt;/span&gt;::&lt;span class=&quot;me1&quot;&gt;CFG_CALLSIGN&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
    playTone &lt;span class=&quot;nu0&quot;&gt;440&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
    playTone &lt;span class=&quot;nu0&quot;&gt;659&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
    playTone &lt;span class=&quot;nu0&quot;&gt;880&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# A talk group was added for temporary monitoring&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   tg -- The added talk group&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; tmp_monitor_add &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;tg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;### tmp_monitor_add: $tg&amp;quot;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Default&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;activating&amp;quot;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;monitor&amp;quot;&lt;/span&gt;
  spellNumber &lt;span class=&quot;re0&quot;&gt;$tg&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# A talk group was removed from temporary monitoring&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   tg -- The removed talk group&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; tmp_monitor_remove &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;tg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;### tmp_monitor_remove: $tg&amp;quot;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Default&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;deactivating&amp;quot;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;monitor&amp;quot;&lt;/span&gt;
  spellNumber &lt;span class=&quot;re0&quot;&gt;$tg&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;info&lt;/span&gt; exists ::&lt;span class=&quot;me1&quot;&gt;Logic&lt;/span&gt;::&lt;span class=&quot;me1&quot;&gt;CFG_ANNOUNCE_REMOTE_MIN_INTERVAL&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; announce_remote_min_interval &lt;span class=&quot;sy0&quot;&gt;$&lt;/span&gt;::&lt;span class=&quot;me1&quot;&gt;Logic&lt;/span&gt;::&lt;span class=&quot;me1&quot;&gt;CFG_ANNOUNCE_REMOTE_MIN_INTERVAL&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;info&lt;/span&gt; exists ::&lt;span class=&quot;me1&quot;&gt;Logic&lt;/span&gt;::&lt;span class=&quot;me1&quot;&gt;CFG_QSY_PENDING_TIMEOUT&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;$&lt;/span&gt;::&lt;span class=&quot;me1&quot;&gt;Logic&lt;/span&gt;::&lt;span class=&quot;me1&quot;&gt;CFG_QSY_PENDING_TIMEOUT&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; qsy_pending_active &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
# end of namespace&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# This file has not been truncated&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_a722169c895501e08bbb51c5c0f8c410_3&quot;&gt;Logic.tcl &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_a722169c895501e08bbb51c5c0f8c410_3&quot;&gt;&lt;pre class=&quot;code tcl&quot;&gt;&lt;span class=&quot;co1&quot;&gt;###############################################################################&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Generic Logic event handlers&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;###############################################################################&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# This is the namespace in which all functions and variables below will exist.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;namespace&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;eval&lt;/span&gt; Logic &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# A variable used to store a timestamp for the last identification.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; prev_ident &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# A constant that indicates the minimum time in seconds to wait between two&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# identifications. Manual and long identifications is not affected.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; min_time_between_ident &lt;span class=&quot;nu0&quot;&gt;120&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Short and long identification intervals. They are setup from config&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# variables below.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; short_ident_interval &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; long_ident_interval &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; short_voice_id_enable  &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; short_cw_id_enable     &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; short_announce_enable  &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; short_announce_file    &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; long_voice_id_enable   &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; long_cw_id_enable      &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; long_announce_enable   &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; long_announce_file     &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# The ident_only_after_tx variable indicates if identification is only to&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# occur after the node has transmitted. The variable is setup below from the&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# configuration variable with the same name.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# The need_ident variable indicates if identification is needed.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; ident_only_after_tx &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; need_ident &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# List of functions that should be called periodically. Use the&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# addMinuteTickSubscriber and addSecondTickSubscriber functions to&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# add subscribers.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; minute_tick_subscribers &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; second_tick_subscribers &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Contains the ID of the last receiver that indicated squelch activity&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; sql_rx_id &lt;span class=&quot;st0&quot;&gt;&amp;quot;?&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the SvxLink software is started&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; startup &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #playMsg &amp;quot;Core&amp;quot; &amp;quot;online&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #send_short_ident&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a specified module could not be found&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   module_id - The numeric ID of the module&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; no_such_module &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;module_id&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;no_such_module&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playNumber &lt;span class=&quot;re0&quot;&gt;$module_id&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a manual identification is initiated with the * DTMF code&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; manual_identification &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; mycall&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; report_ctcss&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; active_module&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; loaded_modules&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; CFG_TYPE&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; prev_ident&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; epoch &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;clock&lt;/span&gt; seconds&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; hour &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;clock&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;format&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$epoch&lt;/span&gt; -&lt;span class=&quot;kw2&quot;&gt;format&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%k&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw2&quot;&gt;regexp&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;?&lt;/span&gt;\d&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;clock&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;format&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$epoch&lt;/span&gt; -&lt;span class=&quot;kw2&quot;&gt;format&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%M&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; -&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; minute&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; prev_ident &lt;span class=&quot;re0&quot;&gt;$epoch&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;online&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  spellWord &lt;span class=&quot;re0&quot;&gt;$mycall&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$CFG_TYPE&lt;/span&gt; == &lt;span class=&quot;st0&quot;&gt;&amp;quot;Repeater&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;repeater&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;250&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;the_time_is&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playTime &lt;span class=&quot;re0&quot;&gt;$hour&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$minute&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;250&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$report_ctcss&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;pl_is&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playFrequency &lt;span class=&quot;re0&quot;&gt;$report_ctcss&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;300&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$active_module&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;= &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;active_module&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playMsg &lt;span class=&quot;re0&quot;&gt;$active_module&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;name&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;250&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; func &lt;span class=&quot;st0&quot;&gt;&amp;quot;::&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;append&lt;/span&gt; func &lt;span class=&quot;re0&quot;&gt;$active_module&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;::status_report&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;[info procs $func]&amp;quot;&lt;/span&gt; ne &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      &lt;span class=&quot;re0&quot;&gt;$func&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;foreach&lt;/span&gt; module &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;split&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$loaded_modules&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; func &lt;span class=&quot;st0&quot;&gt;&amp;quot;::&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
      &lt;span class=&quot;kw2&quot;&gt;append&lt;/span&gt; func &lt;span class=&quot;re0&quot;&gt;$module&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;::status_report&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;[info procs $func]&amp;quot;&lt;/span&gt; ne &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
	&lt;span class=&quot;re0&quot;&gt;$func&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #playMsg &amp;quot;Default&amp;quot; &amp;quot;press_0_for_help&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #playSilence 250;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a short identification should be sent&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   hour    - The hour on which this identification occur&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   minute  - The minute on which this identification occur&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; send_short_ident &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;hour -&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;minute -&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; mycall&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; CFG_TYPE&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; short_announce_file
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; short_announce_enable
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; short_voice_id_enable
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; short_cw_id_enable
&lt;span class=&quot;co1&quot;&gt;
  # Play voice id if enabled&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$short_voice_id_enable&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Playing short voice ID&amp;quot;&lt;/span&gt;
    spellWord &lt;span class=&quot;re0&quot;&gt;$mycall&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$CFG_TYPE&lt;/span&gt; == &lt;span class=&quot;st0&quot;&gt;&amp;quot;Repeater&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;repeater&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
  # Play announcement file if enabled&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$short_announce_enable&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Playing short announce&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;file&lt;/span&gt; exist &lt;span class=&quot;st0&quot;&gt;&amp;quot;$short_announce_file&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      playFile &lt;span class=&quot;st0&quot;&gt;&amp;quot;$short_announce_file&amp;quot;&lt;/span&gt;
      playSilence &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
  # Play CW id if enabled&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$short_cw_id_enable&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Playing short CW ID&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$CFG_TYPE&lt;/span&gt; == &lt;span class=&quot;st0&quot;&gt;&amp;quot;Repeater&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; call &lt;span class=&quot;st0&quot;&gt;&amp;quot;$mycall/R&amp;quot;&lt;/span&gt;
      CW::&lt;span class=&quot;me1&quot;&gt;play&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$call&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      CW::&lt;span class=&quot;me1&quot;&gt;play&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$mycall&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a long identification (e.g. hourly) should be sent&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   hour    - The hour on which this identification occur&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   minute  - The minute on which this identification occur&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; send_long_ident &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;hour minute&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; mycall&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; loaded_modules&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; active_module&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; CFG_TYPE&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; long_announce_file
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; long_announce_enable
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; long_voice_id_enable
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; long_cw_id_enable
&lt;span class=&quot;co1&quot;&gt;
  # Play the voice ID if enabled&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$long_voice_id_enable&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Playing Long voice ID&amp;quot;&lt;/span&gt;
    spellWord &lt;span class=&quot;re0&quot;&gt;$mycall&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$CFG_TYPE&lt;/span&gt; == &lt;span class=&quot;st0&quot;&gt;&amp;quot;Repeater&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;repeater&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;the_time_is&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playTime &lt;span class=&quot;re0&quot;&gt;$hour&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$minute&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
    # Call the &amp;quot;status_report&amp;quot; function in all modules if no module is active&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$active_module&lt;/span&gt; == &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;foreach&lt;/span&gt; module &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;split&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$loaded_modules&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; func &lt;span class=&quot;st0&quot;&gt;&amp;quot;::&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;append&lt;/span&gt; func &lt;span class=&quot;re0&quot;&gt;$module&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;::status_report&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;[info procs $func]&amp;quot;&lt;/span&gt; ne &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
          &lt;span class=&quot;re0&quot;&gt;$func&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
      &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
    playSilence &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
  # Play announcement file if enabled&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$long_announce_enable&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Playing long announce&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;file&lt;/span&gt; exist &lt;span class=&quot;st0&quot;&gt;&amp;quot;$long_announce_file&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      playFile &lt;span class=&quot;st0&quot;&gt;&amp;quot;$long_announce_file&amp;quot;&lt;/span&gt;
      playSilence &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
  # Play CW id if enabled&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$long_cw_id_enable&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Playing long CW ID&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$CFG_TYPE&lt;/span&gt; == &lt;span class=&quot;st0&quot;&gt;&amp;quot;Repeater&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; call &lt;span class=&quot;st0&quot;&gt;&amp;quot;$mycall/R&amp;quot;&lt;/span&gt;
      CW::&lt;span class=&quot;me1&quot;&gt;play&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$call&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      CW::&lt;span class=&quot;me1&quot;&gt;play&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$mycall&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the squelch have just closed and the RGR_SOUND_DELAY timer has&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# expired.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; send_rgr_sound &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; sql_rx_id
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$sql_rx_id&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;= &lt;span class=&quot;st0&quot;&gt;&amp;quot;?&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
    # 150 CPM, 1000 Hz, -4 dBFS&lt;/span&gt;
    CW::&lt;span class=&quot;me1&quot;&gt;play&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$sql_rx_id&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;150&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; sql_rx_id &lt;span class=&quot;st0&quot;&gt;&amp;quot;?&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playTone &lt;span class=&quot;nu0&quot;&gt;440&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an empty macro command (i.e. D#) has been entered.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; macro_empty &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;operation_failed&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an entered macro command could not be found&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; macro_not_found &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;operation_failed&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a macro syntax error occurs (configuration error).&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; macro_syntax_error &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;operation_failed&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the specified module in a macro command is not found&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# (configuration error).&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; macro_module_not_found &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;operation_failed&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the activation of the module specified in the macro command&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# failed.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; macro_module_activation_failed &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;operation_failed&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a macro command is executed that requires a module to&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# be activated but another module is already active.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; macro_another_active_module &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; active_module&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;operation_failed&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;active_module&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;re0&quot;&gt;$active_module&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;name&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an unknown DTMF command is entered&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   cmd - The command string&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; unknown_command &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;cmd&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  spellWord &lt;span class=&quot;re0&quot;&gt;$cmd&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;unknown_command&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an entered DTMF command failed&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   cmd - The command string&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; command_failed &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;cmd&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  spellWord &lt;span class=&quot;re0&quot;&gt;$cmd&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;operation_failed&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a link to another logic core is activated.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   name  - The name of the link&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; activating_link &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;name&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;string&lt;/span&gt; length &lt;span class=&quot;re0&quot;&gt;$name&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;activating_link_to&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    spellWord &lt;span class=&quot;re0&quot;&gt;$name&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a link to another logic core is deactivated.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   name  - The name of the link&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; deactivating_link &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;name&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;string&lt;/span&gt; length &lt;span class=&quot;re0&quot;&gt;$name&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;deactivating_link_to&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    spellWord &lt;span class=&quot;re0&quot;&gt;$name&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when trying to deactivate a link to another logic core but the&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# link is not currently active.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   name  - The name of the link&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; link_not_active &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;name&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;string&lt;/span&gt; length &lt;span class=&quot;re0&quot;&gt;$name&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;link_not_active_to&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    spellWord &lt;span class=&quot;re0&quot;&gt;$name&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when trying to activate a link to another logic core but the&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# link is already active.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   name  - The name of the link&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; link_already_active &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;name&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;string&lt;/span&gt; length &lt;span class=&quot;re0&quot;&gt;$name&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;link_already_active_to&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    spellWord &lt;span class=&quot;re0&quot;&gt;$name&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed each time the transmitter is turned on or off&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   is_on - Set to 1 if the transmitter is on or 0 if it&#039;s off&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; transmit &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;is_on&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #puts &amp;quot;Turning the transmitter $is_on&amp;quot;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; prev_ident&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; need_ident&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$is_on&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;clock&lt;/span&gt; seconds&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; - &lt;span class=&quot;re0&quot;&gt;$prev_ident&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; need_ident &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed each time the squelch is opened or closed&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   rx_id   - The ID of the RX that the squelch opened/closed on&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   is_open - Set to 1 if the squelch is open or 0 if it&#039;s closed&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; squelch_open &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;rx_id is_open&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; sql_rx_id&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #puts &amp;quot;The squelch is $is_open on RX $rx_id&amp;quot;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; sql_rx_id &lt;span class=&quot;re0&quot;&gt;$rx_id&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a DTMF digit has been received&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   digit     - The detected DTMF digit&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   duration  - The duration, in milliseconds, of the digit&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Return 1 to hide the digit from further processing in SvxLink or&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# return 0 to make SvxLink continue processing as normal.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; dtmf_digit_received &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;digit duration&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #puts &amp;quot;DTMF digit \&amp;quot;$digit\&amp;quot; detected with duration $duration ms&amp;quot;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a DTMF command has been received&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   cmd - The command&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Return 1 to hide the command from further processing is SvxLink or&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# return 0 to make SvxLink continue processing as normal.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# This function can be used to implement your own custom commands or to disable&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# DTMF commands that you do not want users to execute.&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; dtmf_cmd_received &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;cmd&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #global active_module&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
  # Example: Ignore all commands starting with 3 in the EchoLink module.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #          Allow commands that have four or more digits.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #if {$active_module == &amp;quot;EchoLink&amp;quot;} {&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #  if {[string length $cmd] &amp;lt; 4 &amp;amp;&amp;amp; [string index $cmd 0] == &amp;quot;3&amp;quot;} {&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #    puts &amp;quot;Ignoring random connect command for module EchoLink: $cmd&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #    return 1&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #  }&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #}&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
  # Handle the &amp;quot;force core command&amp;quot; mode where a command is forced to be&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  # executed by the core command processor instead of by an active module.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  # The &amp;quot;force core command&amp;quot; mode is entered by prefixing a command by a star.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #if {$active_module != &amp;quot;&amp;quot; &amp;amp;&amp;amp; [string index $cmd 0] != &amp;quot;*&amp;quot;} {&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #  return 0&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #}&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #if {[string index $cmd 0] == &amp;quot;*&amp;quot;} {&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #  set cmd [string range $cmd 1 end]&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #}&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
  # Example: Custom command executed when DTMF 99 is received&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #if {$cmd == &amp;quot;99&amp;quot;} {&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #  puts &amp;quot;Executing external command&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #  playMsg &amp;quot;Core&amp;quot; &amp;quot;online&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #  exec ls &amp;amp;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #  return 1&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #}&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed once every whole minute. Don&#039;t put any code here directly&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Create a new function and add it to the timer tick subscriber list&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# by using the function addMinuteTickSubscriber.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; every_minute &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; minute_tick_subscribers&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #puts [clock format [clock seconds] -format &amp;quot;%Y-%m-%d %H:%M:%S&amp;quot;];&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;foreach&lt;/span&gt; subscriber &lt;span class=&quot;re0&quot;&gt;$minute_tick_subscribers&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;re0&quot;&gt;$subscriber&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed once every whole minute. Don&#039;t put any code here directly&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Create a new function and add it to the timer tick subscriber list&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# by using the function addSecondTickSubscriber.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; every_second &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; second_tick_subscribers&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #puts [clock format [clock seconds] -format &amp;quot;%Y-%m-%d %H:%M:%S&amp;quot;];&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;foreach&lt;/span&gt; subscriber &lt;span class=&quot;re0&quot;&gt;$second_tick_subscribers&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;re0&quot;&gt;$subscriber&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Deprecated: Use the addMinuteTickSubscriber function instead&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; addTimerTickSubscriber &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;func&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;*** WARNING: Calling deprecated TCL event handler addTimerTickSubcriber.&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;             Use addMinuteTickSubscriber instead&amp;quot;&lt;/span&gt;
  addMinuteTickSubscriber &lt;span class=&quot;re0&quot;&gt;$func&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Use this function to add a function to the list of functions that&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# should be executed once every whole minute. This is not an event&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# function but rather a management function.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; addMinuteTickSubscriber &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;func&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; minute_tick_subscribers&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw2&quot;&gt;lappend&lt;/span&gt; minute_tick_subscribers &lt;span class=&quot;re0&quot;&gt;$func&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Use this function to add a function to the list of functions that&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# should be executed once every second. This is not an event&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# function but rather a management function.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; addSecondTickSubscriber &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;func&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; second_tick_subscribers&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw2&quot;&gt;lappend&lt;/span&gt; second_tick_subscribers &lt;span class=&quot;re0&quot;&gt;$func&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Should be executed once every whole minute to check if it is time to&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# identify. Not exactly an event function. This function handle the&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# identification logic and call the send_short_ident or send_long_ident&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# functions when it is time to identify.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; checkPeriodicIdentify &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; prev_ident&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; short_ident_interval&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; long_ident_interval&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; min_time_between_ident&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; ident_only_after_tx&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; need_ident&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; logic_name&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$short_ident_interval&lt;/span&gt; == &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; now &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;clock&lt;/span&gt; seconds&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; hour &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;clock&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;format&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$now&lt;/span&gt; -&lt;span class=&quot;kw2&quot;&gt;format&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%k&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw2&quot;&gt;regexp&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;?&lt;/span&gt;\d&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;clock&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;format&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$now&lt;/span&gt; -&lt;span class=&quot;kw2&quot;&gt;format&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%M&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; -&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; minute&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; short_ident_now \
      	    &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;expr&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$hour&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt; + &lt;span class=&quot;re0&quot;&gt;$minute&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$short_ident_interval&lt;/span&gt; == &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; long_ident_now &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$long_ident_interval&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;= &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; long_ident_now \
      	    &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;expr&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$hour&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt; + &lt;span class=&quot;re0&quot;&gt;$minute&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$long_ident_interval&lt;/span&gt; == &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$long_ident_now&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;$logic_name: Sending long identification...&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    send_long_ident &lt;span class=&quot;re0&quot;&gt;$hour&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$minute&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; prev_ident &lt;span class=&quot;re0&quot;&gt;$now&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; need_ident &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$now&lt;/span&gt; - &lt;span class=&quot;re0&quot;&gt;$prev_ident&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$min_time_between_ident&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$ident_only_after_tx&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$need_ident&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$short_ident_now&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;$logic_name: Sending short identification...&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
      send_short_ident &lt;span class=&quot;re0&quot;&gt;$hour&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$minute&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; prev_ident &lt;span class=&quot;re0&quot;&gt;$now&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; need_ident &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the QSO recorder is being activated&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; activating_qso_recorder &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;activating&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;qso_recorder&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the QSO recorder is being deactivated&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; deactivating_qso_recorder &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;deactivating&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;qso_recorder&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when trying to deactivate the QSO recorder even though it&#039;s&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# not active&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; qso_recorder_not_active &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;qso_recorder&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;not_active&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when trying to activate the QSO recorder even though it&#039;s&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# already active&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; qso_recorder_already_active &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;qso_recorder&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;already_active&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the timeout kicks in to activate the QSO recorder&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; qso_recorder_timeout_activate &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;timeout&amp;quot;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;activating&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;qso_recorder&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the timeout kicks in to deactivate the QSO recorder&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; qso_recorder_timeout_deactivate &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;timeout&amp;quot;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;deactivating&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;qso_recorder&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the user is requesting a language change&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; set_language &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;lang_code&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; logic_name&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;$logic_name: Setting language $lang_code (NOT IMPLEMENTED)&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the user requests a list of available languages&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; list_languages &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; logic_name&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;$logic_name: Available languages: (NOT IMPLEMENTED)&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the node is being brought online or offline&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; logic_online &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;online&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; mycall
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; CFG_TYPE
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$online&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;online&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    spellWord &lt;span class=&quot;re0&quot;&gt;$mycall&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$CFG_TYPE&lt;/span&gt; == &lt;span class=&quot;st0&quot;&gt;&amp;quot;Repeater&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;repeater&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a configuration variable is updated at runtime in the logic&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# core&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; config_updated &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;tag value&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #puts &amp;quot;Configuration variable updated: $tag=$value&amp;quot;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a DTMF command is received from another linked logic core&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   logic -- The name of the logic core&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   cmd   -- The received command&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; remote_cmd_received &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;logic cmd&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #puts &amp;quot;Remote command received from logic $logic: $cmd&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #playDtmf &amp;quot;$cmd&amp;quot; &amp;quot;500&amp;quot; &amp;quot;50&amp;quot;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a talkgroup is received from another linked logic core&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   logic -- The name of the logic core&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   tg    -- The received talkgroup&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; remote_received_tg_updated &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;logic tg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #puts &amp;quot;Remote TG received from logic $logic: $tg&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #if {$tg &amp;gt; 0} {&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #  playDtmf &amp;quot;1$tg&amp;quot; &amp;quot;500&amp;quot; &amp;quot;50&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #}&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
##############################################################################&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Main program&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;##############################################################################&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;info&lt;/span&gt; exists CFG_SHORT_IDENT_INTERVAL&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$CFG_SHORT_IDENT_INTERVAL&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; short_ident_interval &lt;span class=&quot;re0&quot;&gt;$CFG_SHORT_IDENT_INTERVAL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;info&lt;/span&gt; exists CFG_LONG_IDENT_INTERVAL&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$CFG_LONG_IDENT_INTERVAL&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; long_ident_interval &lt;span class=&quot;re0&quot;&gt;$CFG_LONG_IDENT_INTERVAL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$short_ident_interval&lt;/span&gt; == &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; short_ident_interval &lt;span class=&quot;re0&quot;&gt;$long_ident_interval&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;info&lt;/span&gt; exists CFG_IDENT_ONLY_AFTER_TX&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$CFG_IDENT_ONLY_AFTER_TX&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; ident_only_after_tx &lt;span class=&quot;re0&quot;&gt;$CFG_IDENT_ONLY_AFTER_TX&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;info&lt;/span&gt; exists CFG_SHORT_ANNOUNCE_ENABLE&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; short_announce_enable &lt;span class=&quot;re0&quot;&gt;$CFG_SHORT_ANNOUNCE_ENABLE&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;info&lt;/span&gt; exists CFG_SHORT_ANNOUNCE_FILE&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; short_announce_file &lt;span class=&quot;re0&quot;&gt;$CFG_SHORT_ANNOUNCE_FILE&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;info&lt;/span&gt; exists CFG_SHORT_VOICE_ID_ENABLE&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; short_voice_id_enable &lt;span class=&quot;re0&quot;&gt;$CFG_SHORT_VOICE_ID_ENABLE&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;info&lt;/span&gt; exists CFG_SHORT_CW_ID_ENABLE&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; short_cw_id_enable &lt;span class=&quot;re0&quot;&gt;$CFG_SHORT_CW_ID_ENABLE&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;info&lt;/span&gt; exists CFG_LONG_ANNOUNCE_ENABLE&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; long_announce_enable &lt;span class=&quot;re0&quot;&gt;$CFG_LONG_ANNOUNCE_ENABLE&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;info&lt;/span&gt; exists CFG_LONG_ANNOUNCE_FILE&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; long_announce_file &lt;span class=&quot;re0&quot;&gt;$CFG_LONG_ANNOUNCE_FILE&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;info&lt;/span&gt; exists CFG_LONG_VOICE_ID_ENABLE&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; long_voice_id_enable &lt;span class=&quot;re0&quot;&gt;$CFG_LONG_VOICE_ID_ENABLE&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;info&lt;/span&gt; exists CFG_LONG_CW_ID_ENABLE&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; long_cw_id_enable &lt;span class=&quot;re0&quot;&gt;$CFG_LONG_CW_ID_ENABLE&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
# end of namespace&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# This file has not been truncated&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_a722169c895501e08bbb51c5c0f8c410_4&quot;&gt;EchoLink.tcl &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_a722169c895501e08bbb51c5c0f8c410_4&quot;&gt;&lt;pre class=&quot;code tcl&quot;&gt;&lt;span class=&quot;co1&quot;&gt;###############################################################################&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# EchoLink module event handlers&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;###############################################################################&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# This is the namespace in which all functions and variables below will exist.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# The name must match the configuration variable &amp;quot;NAME&amp;quot; in the&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# [ModuleEchoLink] section in the configuration file. The name may be changed&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# but it must be changed in both places.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;namespace&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;eval&lt;/span&gt; EchoLink &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Check if this module is loaded in the current logic core&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;info&lt;/span&gt; exists CFG_ID&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Extract the module name from the current namespace&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; module_name &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;namespace&lt;/span&gt; tail &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;namespace&lt;/span&gt; current&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# An &amp;quot;overloaded&amp;quot; playMsg that eliminates the need to write the module name&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# as the first argument.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; playMsg &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;msg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; module_name&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  ::&lt;span class=&quot;me1&quot;&gt;playMsg&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$module_name&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$msg&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# A convenience function for printing out information prefixed by the&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# module name&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; printInfo &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;msg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; module_name&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;$module_name: $msg&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# This variable is updated by the EchoLink module when a station connects or&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# disconnects. It contains the number of currently connected stations.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; num_connected_stations &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when this module is being activated&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; activating_module &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; module_name&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  Module::&lt;span class=&quot;me1&quot;&gt;activating_module&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$module_name&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when this module is being deactivated.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; deactivating_module &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; module_name&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  Module::&lt;span class=&quot;me1&quot;&gt;deactivating_module&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$module_name&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the inactivity timeout for this module has expired.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; timeout &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; module_name&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  Module::&lt;span class=&quot;me1&quot;&gt;timeout&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$module_name&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when playing of the help message for this module has been requested.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; play_help &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; module_name&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  Module::&lt;span class=&quot;me1&quot;&gt;play_help&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$module_name&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Spell an EchoLink callsign&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; spellEchoLinkCallsign &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;call&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; langdir
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;regexp&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;^&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;\w+&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;-L&lt;span class=&quot;sy0&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$call&lt;/span&gt; ignored callsign&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    spellWord &lt;span class=&quot;re0&quot;&gt;$callsign&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;link&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;elseif&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;regexp&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;^&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;\w+&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;-R&lt;span class=&quot;sy0&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$call&lt;/span&gt; ignored callsign&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    spellWord &lt;span class=&quot;re0&quot;&gt;$callsign&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;repeater&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;elseif&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;regexp&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;^\&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;.+&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;\&lt;span class=&quot;sy0&quot;&gt;*$&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$call&lt;/span&gt; ignored name&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;conference&amp;quot;&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; lc_name &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;string&lt;/span&gt; tolower &lt;span class=&quot;re0&quot;&gt;$name&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;file&lt;/span&gt; exists &lt;span class=&quot;st0&quot;&gt;&amp;quot;$langdir/EchoLink/conf-$lc_name.wav&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      playFile &lt;span class=&quot;st0&quot;&gt;&amp;quot;$langdir/EchoLink/conf-$lc_name.wav&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
      spellEchoLinkCallsign &lt;span class=&quot;re0&quot;&gt;$name&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    spellWord &lt;span class=&quot;re0&quot;&gt;$call&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a request to list all connected stations is received.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# That is, someone press DTMF &amp;quot;1#&amp;quot; when the EchoLink module is active.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; list_connected_stations &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;connected_stations&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playNumber &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;llength&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$connected_stations&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;connected_stations&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;foreach&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;call&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;$connected_stations&amp;quot;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    spellEchoLinkCallsign &lt;span class=&quot;re0&quot;&gt;$call&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;250&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when someone tries to setup an outgoing EchoLink connection but&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# the directory server is offline due to communications failure.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; directory_server_offline &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;directory_server_offline&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the limit for maximum number of QSOs has been reached and&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# an outgoing connection request is received.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; no_more_connections_allowed &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  # FIXME: Change the message to something that makes more sense...&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;link_busy&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a status report is requested. This usually happens at&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# manual identification when the user press DTMF &amp;quot;*&amp;quot;.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; status_report &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; num_connected_stations&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; module_name&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; active_module&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$active_module&lt;/span&gt; == &lt;span class=&quot;re0&quot;&gt;$module_name&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playNumber &lt;span class=&quot;re0&quot;&gt;$num_connected_stations&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;connected_stations&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an EchoLink id cannot be found in an outgoing connect request.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; station_id_not_found &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;station_id&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playNumber &lt;span class=&quot;re0&quot;&gt;$station_id&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;not_found&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the lookup of an EchoLink callsign fail in an outgoing connect&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# request.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; lookup_failed &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;station_id&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;operation_failed&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a local user tries to connect to the local node.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; self_connect &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;operation_failed&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a local user tries to connect to a node that is already&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# connected.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; already_connected_to &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;call&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;already_connected_to&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  spellEchoLinkCallsign &lt;span class=&quot;re0&quot;&gt;$call&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an internal error occurs.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; internal_error &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;operation_failed&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an outgoing connection has been requested.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; connecting_to &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;call&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;connecting_to&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  spellEchoLinkCallsign &lt;span class=&quot;re0&quot;&gt;$call&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an EchoLink connection has been terminated&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; disconnected &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;call&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  spellEchoLinkCallsign &lt;span class=&quot;re0&quot;&gt;$call&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;disconnected&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an incoming EchoLink connection has been accepted.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; remote_connected &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;call&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;connected&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  spellEchoLinkCallsign &lt;span class=&quot;re0&quot;&gt;$call&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an outgoing connection has been established.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   call - The callsign of the remote station&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; connected &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;call&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #puts &amp;quot;Outgoing Echolink connection to $call established&amp;quot;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;connected&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the list of connected remote EchoLink clients changes&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   client_list - List of connected clients&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; client_list_changed &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;client_list&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #foreach {call} $client_list {&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #  puts $call&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #}&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the EchoLink connection has been idle for too long. The&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# connection will be terminated.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; link_inactivity_timeout &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;timeout&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a too short connect by callsign command is received&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; cbc_too_short_cmd &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;cmd&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  spellWord &lt;span class=&quot;re0&quot;&gt;$cmd&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;operation_failed&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the connect by callsign function cannot find a match&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; cbc_no_match &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;code&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playNumber &lt;span class=&quot;re0&quot;&gt;$code&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;no_match&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the connect by callsign list has been retrieved&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; cbc_list &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;call_list&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;choose_station&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; idx &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;foreach&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;call&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$call_list&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;incr&lt;/span&gt; idx&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playNumber &lt;span class=&quot;re0&quot;&gt;$idx&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    spellEchoLinkCallsign &lt;span class=&quot;re0&quot;&gt;$call&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the connect by callsign function is manually aborted&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; cbc_aborted &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;aborted&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an out of range index is entered in the connect by callsign&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# list&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; cbc_index_out_of_range &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;idx&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playNumber &lt;span class=&quot;re0&quot;&gt;$idx&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;idx_out_of_range&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when there are more than nine matches in the connect by&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# callsign function&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; cbc_too_many_matches &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;too_many_matches&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when no station have been chosen in 60 seconds in the connect&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# by callsign function&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; cbc_timeout &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;aborted&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the disconnect by callsign list has been retrieved&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; dbc_list &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;call_list&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;disconnect_by_callsign&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;choose_station&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; idx &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;foreach&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;call&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$call_list&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;incr&lt;/span&gt; idx&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playNumber &lt;span class=&quot;re0&quot;&gt;$idx&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    spellEchoLinkCallsign &lt;span class=&quot;re0&quot;&gt;$call&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the disconnect by callsign function is manually aborted&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; dbc_aborted &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;disconnect_by_callsign&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;aborted&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an out of range index is entered in the disconnect by callsign&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# list&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; dbc_index_out_of_range &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;idx&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playNumber &lt;span class=&quot;re0&quot;&gt;$idx&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;idx_out_of_range&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when no station have been chosen in 60 seconds in the disconnect&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# by callsign function&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; dbc_timeout &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;disconnect_by_callsign&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;timeout&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a local user enter the DTMF code for playing back the&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# local node ID.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; play_node_id &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;my_node_id&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;node_id_is&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$my_node_id&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;= &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playNumber &lt;span class=&quot;re0&quot;&gt;$my_node_id&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;unknown&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an entered command failed or have bad syntax.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; command_failed &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;cmd&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  spellWord &lt;span class=&quot;re0&quot;&gt;$cmd&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;operation_failed&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an unrecognized command has been received.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; unknown_command &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;cmd&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  spellWord &lt;span class=&quot;re0&quot;&gt;$cmd&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;unknown_command&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the listen only feature is activated or deactivated&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   status    - The current status of the feature (0=deactivated, 1=activated)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   activate  - The requested new status of the feature&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#               (0=deactivate, 1=activate)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; listen_only &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;status activate&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; module_name&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$status&lt;/span&gt; == &lt;span class=&quot;re0&quot;&gt;$activate&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;listen_only&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playMsg &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;expr&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$status&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;?&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;already_active&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;not_active&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;$module_name: [expr {$activate ? &amp;quot;&lt;/span&gt;Activating&lt;span class=&quot;st0&quot;&gt;&amp;quot; : &amp;quot;&lt;/span&gt;Deactivating&lt;span class=&quot;st0&quot;&gt;&amp;quot;}]&lt;span class=&quot;es0&quot;&gt;\&lt;/span&gt;
          listen only mode.&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playMsg &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;expr&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$activate&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;?&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;activating&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;deactivating&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;listen_only&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an outgoing connection is rejected. This can happen if&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# REJECT_OUTGOING and/or ACCEPT_OUTGOING has been setup.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; reject_outgoing_connection &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;call&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  spellEchoLinkCallsign &lt;span class=&quot;re0&quot;&gt;$call&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;reject_connection&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a transmission from an EchoLink station is starting&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# or stopping&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   rx   - 1 if receiving or 0 if not&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   call - The callsign of the remote station&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; is_receiving &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;rx call&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$rx&lt;/span&gt; == &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playTone &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a chat message is received from a remote station&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   msg -- The message text&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# WARNING: This is a slightly dangerous function since unexepected input&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# may open up a security flaw. Make sure that the message string is handled&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# as unknown data that can contain anything. Check it thoroughly before&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# using it. Do not run SvxLink as user root.&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; chat_received &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;msg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #puts $msg&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an info message is received from a remote station&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   call -- The callsign of the sending station&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   msg  -- The message text&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# WARNING: This is a slightly dangerous function since unexepected input&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# may open up a security flaw. Make sure that the message string is handled&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# as unknown data that can contain anything. Check it thoroughly before&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# using it. Do not run SvxLink as user root.&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; info_received &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;call msg&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #puts &amp;quot;$call: $msg&amp;quot;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a configuration variable is updated at runtime&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; config_updated &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;tag value&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #puts &amp;quot;Configuration variable updated: $tag=$value&amp;quot;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#-----------------------------------------------------------------------------&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# The events below are for remote EchoLink announcements. Sounds are not&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# played over the local transmitter but are sent to the remote station.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#-----------------------------------------------------------------------------&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an incoming connection is accepted&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; remote_greeting &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;call&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
#  playSilence 1000;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
#  playMsg &amp;quot;greeting&amp;quot;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when an incoming connection is rejected&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; reject_remote_connection &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;perm&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$perm&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;reject_connection&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;reject_connection&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;please_try_again_later&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the inactivity timer times out&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; remote_timeout &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;timeout&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
  playSilence &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when the squelch state changes&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; squelch_open &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;is_open&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  # The listen_only_active and CFG_REMOTE_RGR_SOUND global variables are set by&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  # the C++ code&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; listen_only_active
  &lt;span class=&quot;kw1&quot;&gt;variable&lt;/span&gt; CFG_REMOTE_RGR_SOUND
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$CFG_REMOTE_RGR_SOUND&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$is_open&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$listen_only_active&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    playSilence &lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt;
    playTone &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
&amp;nbsp;
# end of namespace&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# This file has not been truncated&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
 &lt;em&gt;&lt;a href=&quot;mailto:&amp;#103;&amp;#109;&amp;#52;&amp;#115;&amp;#108;&amp;#118;&amp;#64;&amp;#103;&amp;#109;&amp;#52;&amp;#115;&amp;#108;&amp;#118;&amp;#46;&amp;#112;&amp;#108;&amp;#117;&amp;#115;&amp;#46;&amp;#99;&amp;#111;&amp;#109;&quot; class=&quot;mail&quot; title=&quot;&amp;#103;&amp;#109;&amp;#52;&amp;#115;&amp;#108;&amp;#118;&amp;#64;&amp;#103;&amp;#109;&amp;#52;&amp;#115;&amp;#108;&amp;#118;&amp;#46;&amp;#112;&amp;#108;&amp;#117;&amp;#115;&amp;#46;&amp;#99;&amp;#111;&amp;#109;&quot;&gt;John Pumford-Green&lt;/a&gt; Tue May  3 20:58:10 2022&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Page Updated : 04/06/26 07:39 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:svxlink&amp;amp;do=showtag&amp;amp;tag=svxlink&quot; class=&quot;wikilink1&quot; title=&quot;tag:svxlink&quot; rel=&quot;tag&quot;&gt;svxlink&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:mb7aze&amp;amp;do=showtag&amp;amp;tag=mb7aze&quot; class=&quot;wikilink1&quot; title=&quot;tag:mb7aze&quot; rel=&quot;tag&quot;&gt;mb7aze&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;lt;svxinstall&amp;gt;\/events.d\/local\/&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;svxinstall_eventsd_local&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:5,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;8314-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 06:39:56 +0000</pubDate>
        </item>
        <item>
            <title>SVXLink : DTMF commands</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:svxreflector_commands</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:svxlink:start&quot; data-wiki-id=&quot;public:radio:topics:svxlink:start&quot;&gt;SVXLink&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;svxlinkdtmf_commands&quot;&gt;SVXLink : DTMF commands&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://github.com/sm0svx/svxlink/wiki/SvxLinkServerUserDocs&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://github.com/sm0svx/svxlink/wiki/SvxLinkServerUserDocs&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://github.com/sm0svx/svxlink/wiki/SvxLinkServerUserDocs&lt;/a&gt;
&lt;/p&gt;
&lt;div class=&quot;table sectionedit2&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;*#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;System Status &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;0#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Help Module &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;1#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Parrot Module &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;2#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Echolink Module &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;116-216&amp;quot;} --&gt;&lt;div class=&quot;table sectionedit3&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; De-activate module&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table1&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;218-245&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;SVXLink : DTMF commands&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;svxlinkdtmf_commands&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;11-247&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;echolink_module&quot;&gt;Echolink Module&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;table sectionedit5&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;&amp;lt;node number&amp;gt;#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Connect to &lt;code&gt;&amp;lt;node number&amp;gt;&lt;/code&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;0#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Play the help message&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;1#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; List all connected stations&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;2#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Play local EchoLink node id&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;31#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Connect to a random link or repeater&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;32#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Connect to a random conference&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;4#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Reconnect to the last disconnected station&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;50#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Deactivate listen only mode&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;51#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Activate listen only mode&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;6*#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Use the connect by callsign feature&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row10&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;If connected = Disconnect, otherwise = Deactivate Echolink module &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table2&amp;quot;,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;277-778&amp;quot;} --&gt;
&lt;p&gt;
&lt;a href=&quot;https://github.com/sm0svx/svxlink/wiki/ModuleEchoLink&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://github.com/sm0svx/svxlink/wiki/ModuleEchoLink&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://github.com/sm0svx/svxlink/wiki/ModuleEchoLink&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Echolink Module&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;echolink_module&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;248-840&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;macros&quot;&gt;Macros&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;table sectionedit7&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;D1#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Echolink &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;9999 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; Echotest &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;D2#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Echolink &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;973498 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; M0HOY-L &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; Hubnet &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;D3#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Echolink &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;662666 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;M0JKT-L &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; FreeStar &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;D4#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;SVX &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;TG 235 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; UK Call &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;D5#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;SVX &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;TG 23561 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; NE Chat &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;D9#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;SVX &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;TG 0 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; Disconnect &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table3&amp;quot;,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;861-1106&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Macros&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;macros&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;841-1109&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit8&quot; id=&quot;svxreflector_commands&quot;&gt;SVXReflector Commands&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;table sectionedit9&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;9*#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Talk group status&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;90#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Not implemented yet. Reserved for help.&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;91#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Select previous talk group&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;91&amp;lt;TG&amp;gt;#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Select talk group &amp;lt;TG&amp;gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;92#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;QSY all &lt;em&gt;active&lt;/em&gt; nodes to a talk group assigned by the reflector server&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;92&amp;lt;TG&amp;gt;#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;QSY all &lt;em&gt;active&lt;/em&gt; nodes to &amp;lt;TG&amp;gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;93#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Follow last QSY&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;94&amp;lt;TG&amp;gt;#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Temporarily monitor &amp;lt;TG&amp;gt; (60 minutes)&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table4&amp;quot;,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;1145-1511&amp;quot;} --&gt;
&lt;p&gt;
&lt;a href=&quot;https://groups.io/g/svxlink/topic/new_svxreflector_with_talk/40999696&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://groups.io/g/svxlink/topic/new_svxreflector_with_talk/40999696&quot; rel=&quot;ugc nofollow noopener&quot;&gt;svxlink@groups.io&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Page Updated: 04/06/26 07:39 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:svxlink&amp;amp;do=showtag&amp;amp;tag=svxlink&quot; class=&quot;wikilink1&quot; title=&quot;tag:svxlink&quot; rel=&quot;tag&quot;&gt;svxlink&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;SVXReflector Commands&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;svxreflector_commands&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;1110-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 06:39:56 +0000</pubDate>
        </item>
        <item>
            <title>Svxlink &amp; Echolink</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:svx_echolink</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:svxlink:start&quot; data-wiki-id=&quot;public:radio:topics:svxlink:start&quot;&gt;SVXLink&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;svxlink_echolink&quot;&gt;Svxlink &amp;amp; Echolink&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt; Revisiting the Analogue FM Voice Gateway&lt;/strong&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Svxlink &amp;amp; Echolink&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;svxlink_echolink&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-97&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;svxlink_gateway_initial_setup&quot;&gt;Svxlink Gateway Initial Setup&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Svxlink Gateway Initial Setup&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;svxlink_gateway_initial_setup&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;98-141&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;trying_not_to_re-invent_the_wheel&quot;&gt;Trying not to re-invent the wheel&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; find saved Pi Image File for a previous Svxlink system&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; copy to a new SD Card and boot a spare Raspberry Pi with it&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; find and connect a modified CM108 sound-dongle - has PTT and SQL via the dongle&amp;#039;s own GPIO&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; connect to 2m FM radio and test initial config&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; make any necessary config changes - e.g. MB7AZE → GM4SLV&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; set up audio levels using &lt;em&gt;devcal&lt;/em&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; change to &lt;em&gt;9600 packet interface&lt;/em&gt; on 2m radio to remove radio pre/de emphasis and apply pre/de emphasis in Svxlink&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; set up audio levels again using &lt;em&gt;devcal&lt;/em&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Check connectivity to Echolink&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; remember to Port Forward on ADSL router : &lt;strong&gt;UDP 5198 &amp;amp; 5199&lt;/strong&gt; → svxlink Pi&amp;#039;s IP address&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; consider using a private proxy on my VPS instead? &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:jre_echolink&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:allstar:jre_echolink&quot; data-wiki-id=&quot;public:radio:topics:allstar:jre_echolink&quot;&gt;Java JRE and Echolink Proxy&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Trying not to re-invent the wheel&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;trying_not_to_re-invent_the_wheel&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;142-959&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;pi_image_file_handling&quot;&gt;Pi Image File handling&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:rpi_image&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:rpi_image&quot; data-wiki-id=&quot;public:computers:archive:rpi_image&quot;&gt;R Pi Image files&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Pi Image File handling&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;pi_image_file_handling&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;960-1034&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;devcal&quot;&gt;Devcal&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:mb7azeconf#devcal&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:svxlink:mb7azeconf&quot; data-wiki-id=&quot;public:radio:topics:svxlink:mb7azeconf&quot;&gt;devcal&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; remember to &lt;code&gt;sudo killall svxlink&lt;/code&gt; to ensure no daemon svxlink processes are running in the background&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; remember to adjust path to valid &lt;em&gt;svxlink.conf&lt;/em&gt; file which will be different to this old example&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Set for 3kHz deviation&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; remember to edit the config file(s) to change the RX Pre-amp and TX Master Gain settings to match those find using Deval&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; devcal &lt;span class=&quot;re5&quot;&gt;-r&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-m&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3000&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3000&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;etc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink_noel.conf Rx1&lt;/pre&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; devcal &lt;span class=&quot;re5&quot;&gt;-t&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-m&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3000&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3000&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;etc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink_noel.conf Tx1&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; add the PRE_AMP and MASTER_GAIN settings to &lt;strong&gt;both&lt;/strong&gt; &lt;code&gt;svxlink_el.conf&lt;/code&gt; and &lt;code&gt;svxlink_noel.conf&lt;/code&gt; &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Devcal&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;devcal&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1035-1723&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;config_files&quot;&gt;Config Files&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; One for &lt;strong&gt;Echolink Enabled&lt;/strong&gt; &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; One for &lt;strong&gt;Echolink Disabled&lt;/strong&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Switch Echolink on/off via DTMF commands&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Edit &lt;strong&gt;Logic.tcl&lt;/strong&gt; to give this functionality&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_302d5d994f7483861908ee9f146164df_1&quot;&gt;/etc/svxlink/svxlink_el.conf &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_302d5d994f7483861908ee9f146164df_1&quot;&gt;&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;###############################################################################&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#                                                                             #&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#                Configuration file for the SvxLink server                    #&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#                                                                             #&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;###############################################################################&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;GLOBAL&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#MODULE_PATH=/usr/lib/arm-linux-gnueabihf/svxlink&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LOGICS&lt;/span&gt;=SimplexLogic
&lt;span class=&quot;re2&quot;&gt;CFG_DIR&lt;/span&gt;=svxlink.d
&lt;span class=&quot;re2&quot;&gt;TIMESTAMP_FORMAT&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;%c&amp;quot;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CARD_SAMPLE_RATE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;48000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CARD_CHANNELS=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#LOCATION_INFO=LocationInfo&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#LINKS=LinkToR4&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;SimplexLogic&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Simplex
&lt;span class=&quot;re2&quot;&gt;RX&lt;/span&gt;=Rx1
&lt;span class=&quot;re2&quot;&gt;TX&lt;/span&gt;=Tx1
&lt;span class=&quot;re2&quot;&gt;MODULES&lt;/span&gt;=ModuleHelp,ModuleEchoLink,ModuleParrot
&lt;span class=&quot;re2&quot;&gt;CALLSIGN&lt;/span&gt;=GM4SLV
&lt;span class=&quot;re2&quot;&gt;SHORT_IDENT_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SHORT_CW_ID_ENABLE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SHORT_VOICE_ID_ENABLE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CW_AMP&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CW_PITCH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;800&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CW_WPM&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LONG_IDENT_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#IDENT_ONLY_AFTER_TX=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#EXEC_CMD_ON_SQL_CLOSE=500&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;EVENT_HANDLER&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;share&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;events.tcl
&lt;span class=&quot;re2&quot;&gt;DEFAULT_LANG&lt;/span&gt;=en_US
&lt;span class=&quot;re2&quot;&gt;RGR_SOUND_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#REPORT_CTCSS=77.0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#TX_CTCSS=ALWAYS&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MACROS&lt;/span&gt;=Macros
&lt;span class=&quot;re2&quot;&gt;FX_GAIN_NORMAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;FX_GAIN_LOW&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#ACTIVATE_MODULE_ON_LONG_CMD=4:EchoLink&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#QSO_RECORDER=8:QsoRecorder&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;ONLINE_CMD&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;998877&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#MUTE_RX_ON_TX=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#MUTE_TX_ON_RX=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#STATE_PTY=/var/run/svxlink/state&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DTMF_CTRL_PTY=/dev/shm/simplex_dtmf_ctrl&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TIME_FORMAT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;RGR_SOUND_ALWAYS&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;RepeaterLogic&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Repeater
&lt;span class=&quot;re2&quot;&gt;RX&lt;/span&gt;=Rx1
&lt;span class=&quot;re2&quot;&gt;TX&lt;/span&gt;=Tx1
&lt;span class=&quot;re2&quot;&gt;MODULES&lt;/span&gt;=ModuleHelp,ModuleParrot,ModuleEchoLink,ModuleTclVoiceMail
&lt;span class=&quot;re2&quot;&gt;CALLSIGN&lt;/span&gt;=MYCALL
&lt;span class=&quot;re2&quot;&gt;SHORT_IDENT_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LONG_IDENT_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#IDENT_ONLY_AFTER_TX=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#EXEC_CMD_ON_SQL_CLOSE=500&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;EVENT_HANDLER&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;share&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;events.tcl
&lt;span class=&quot;re2&quot;&gt;DEFAULT_LANG&lt;/span&gt;=en_US
&lt;span class=&quot;re2&quot;&gt;RGR_SOUND_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;REPORT_CTCSS&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;136.5&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#TX_CTCSS=SQL_OPEN&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MACROS&lt;/span&gt;=Macros
&lt;span class=&quot;co0&quot;&gt;#SEL5_MACRO_RANGE=03400,03499&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;FX_GAIN_NORMAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;FX_GAIN_LOW&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#QSO_RECORDER=8:QsoRecorder&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#NO_REPEAT=1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;IDLE_TIMEOUT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;30&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;OPEN_ON_1750&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPEN_ON_CTCSS=136:2000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPEN_ON_DTMF=*&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPEN_ON_SQL=5000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPEN_ON_SEL5=01234&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPEN_SQL_FLANK=OPEN&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPEN_ON_SQL_AFTER_RPT_CLOSE=10&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;IDLE_SOUND_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_FLAP_SUP_MIN_TIME=1000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_FLAP_SUP_MAX_COUNT=10&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#ACTIVATE_MODULE_ON_LONG_CMD=4:EchoLink&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#IDENT_NAG_TIMEOUT=15&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#IDENT_NAG_MIN_TIME=2000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#ONLINE_CMD=998877&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#STATE_PTY=/var/run/svxlink/state&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DTMF_CTRL_PTY=/dev/shm/repeater_dtmf_ctrl&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;ReflectorLogic&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Reflector
&lt;span class=&quot;re2&quot;&gt;HOST&lt;/span&gt;=reflector.example.com
&lt;span class=&quot;co0&quot;&gt;#PORT=5300&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CALLSIGN&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;MYCALL&amp;quot;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;AUTH_KEY&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;Change this key now!&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#JITTER_BUFFER_DELAY=0&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;LinkToR4&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CONNECT_LOGICS&lt;/span&gt;=RepeaterLogic:&lt;span class=&quot;nu0&quot;&gt;94&lt;/span&gt;:SK3AB,SimplexLogic:&lt;span class=&quot;nu0&quot;&gt;92&lt;/span&gt;:SK3CD
&lt;span class=&quot;co0&quot;&gt;#DEFAULT_ACTIVE=1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TIMEOUT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;300&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#AUTOACTIVATE_ON_SQL=RepeaterLogic&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;QsoRecorder&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;REC_DIR&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;var&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;spool&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;qso_recorder
&lt;span class=&quot;co0&quot;&gt;#MIN_TIME=1000&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MAX_TIME&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3600&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SOFT_TIME&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;300&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MAX_DIRSIZE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1024&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DEFAULT_ACTIVE=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#TIMEOUT=300&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#QSO_TIMEOUT=300&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#ENCODER_CMD=/usr/bin/oggenc -Q \&amp;quot;%f\&amp;quot; &amp;amp;&amp;amp; rm \&amp;quot;%f\&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Voter&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Voter
&lt;span class=&quot;re2&quot;&gt;RECEIVERS&lt;/span&gt;=Rx1,Rx2,Rx3
&lt;span class=&quot;re2&quot;&gt;VOTING_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;BUFFER_LENGTH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#REVOTE_INTERVAL=1000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#HYSTERESIS=50&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_CLOSE_REVOTE_DELAY=500&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#RX_SWITCH_DELAY=500&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#COMMAND_PTY=/dev/shm/voter_ctrl&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;MultiTx&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Multi
&lt;span class=&quot;re2&quot;&gt;TRANSMITTERS&lt;/span&gt;=Tx1,Tx2,Tx3
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;NetRx&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Net
&lt;span class=&quot;re2&quot;&gt;HOST&lt;/span&gt;=remote.rx.host
&lt;span class=&quot;re2&quot;&gt;TCP_PORT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;5210&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#LOG_DISCONNECTS_ONCE=0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;AUTH_KEY&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;Change this key now!&amp;quot;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CODEC&lt;/span&gt;=S16
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_FRAMES_PER_PACKET=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_QUALITY=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_BITRATE=15000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_COMPLEXITY=2&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_VBR=0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_VBR_QUALITY=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_ABR=15000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_DEC_ENHANCER=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_FRAME_SIZE=20&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_COMPLEXITY=10&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_BITRATE=20000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_VBR=1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;NetTx&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Net
&lt;span class=&quot;re2&quot;&gt;HOST&lt;/span&gt;=remote.tx.host
&lt;span class=&quot;re2&quot;&gt;TCP_PORT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;5210&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#LOG_DISCONNECTS_ONCE=0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;AUTH_KEY&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;Change this key now!&amp;quot;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CODEC&lt;/span&gt;=S16
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_FRAMES_PER_PACKET=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_QUALITY=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_BITRATE=15000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_COMPLEXITY=2&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_VBR=0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_VBR_QUALITY=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_ABR=15000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_DEC_ENHANCER=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_FRAME_SIZE=20&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_COMPLEXITY=10&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_BITRATE=20000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_VBR=1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Rx1&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Local
&lt;span class=&quot;re2&quot;&gt;AUDIO_DEV&lt;/span&gt;=alsa:plughw:&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;AUDIO_CHANNEL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SQL_DET&lt;/span&gt;=HIDRAW
&lt;span class=&quot;re2&quot;&gt;SQL_START_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SQL_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SQL_HANGTIME&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_EXTENDED_HANGTIME=1000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_EXTENDED_HANGTIME_THRESH=15&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_TIMEOUT=600&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;VOX_FILTER_DEPTH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;VOX_THRESH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_MODE=2&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CTCSS_FQ&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;77.0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_SNR_OFFSET=0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_OPEN_THRESH=15&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_CLOSE_THRESH=9&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_BPF_LOW=60&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_BPF_HIGH=270&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SERIAL_PORT=/dev/ttyUSB0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SERIAL_PIN=CTS&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SERIAL_SET_PINS=&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#EVDEV_DEVNAME=/dev/input/by-id/usb-SYNIC_SYNIC_Wireless_Audio-event-if03&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#EVDEV_OPEN=1,163,1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#EVDEV_CLOSE=1,163,0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#GPIO_PATH=/sys/class/gpio&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#GPIO_SQL_PIN=gpio25&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PTY_PATH=/tmp/rx1_sql&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;HID_DEVICE&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;hidraw0
&lt;span class=&quot;re2&quot;&gt;HID_SQL_PIN&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;VOL_DN
&lt;span class=&quot;co0&quot;&gt;#SIGLEV_DET=TONE&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SIGLEV_SLOPE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SIGLEV_OFFSET&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SIGLEV_BOGUS_THRESH=120&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#TONE_SIGLEV_MAP=100,84,60,50,37,32,28,23,19,8&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SIGLEV_OPEN_THRESH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;30&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SIGLEV_CLOSE_THRESH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DEEMPHASIS&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_TAIL_ELIM=300&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;PREAMP&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;1.5&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PEAK_METER=1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_DEC_TYPE&lt;/span&gt;=INTERNAL
&lt;span class=&quot;re2&quot;&gt;DTMF_MUTING&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_HANGTIME&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;40&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_SERIAL&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;ttyS0
&lt;span class=&quot;co0&quot;&gt;#DTMF_PTY=/tmp/rx1_dtmf&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DTMF_MAX_FWD_TWIST=8&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DTMF_MAX_REV_TWIST=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#1750_MUTING=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SEL5_DEC_TYPE=INTERNAL&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SEL5_TYPE=ZVEI1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#FQ=433475000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#MODULATION=FM&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#WBRX=WbRx1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;WbRx1&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#TYPE=RtlUsb&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DEV_MATCH=0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#HOST=localhost&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PORT=1234&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CENTER_FQ=435075000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#FQ_CORR=0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#GAIN=0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PEAK_METER=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SAMPLE_RATE=960000&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Tx1&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Local
&lt;span class=&quot;re2&quot;&gt;AUDIO_DEV&lt;/span&gt;=alsa:plughw:&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;AUDIO_CHANNEL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;PTT_TYPE&lt;/span&gt;=Hidraw
&lt;span class=&quot;co0&quot;&gt;#PTT_PORT=/dev/ttyS0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PTT_PIN=HIDRAW&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;HID_DEVICE&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;hidraw0
&lt;span class=&quot;re2&quot;&gt;HID_PTT_PIN&lt;/span&gt;=GPIO3
&lt;span class=&quot;co0&quot;&gt;#SERIAL_SET_PINS=DTR!RTS&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#GPIO_PATH=/sys/class/gpio&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PTT_HANGTIME=1000&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TIMEOUT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;300&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TX_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_FQ=136.5&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_LEVEL=9&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;PREEMPHASIS&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_TONE_LENGTH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_TONE_SPACING&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_DIGIT_PWR&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MASTER_GAIN&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;1.25&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;LocationInfo&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#APRS_SERVER_LIST=euro.aprs2.net:14580&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;STATUS_SERVER_LIST&lt;/span&gt;=aprs.echolink.org:&lt;span class=&quot;nu0&quot;&gt;5199&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LON_POSITION&lt;/span&gt;=1.25.30W
&lt;span class=&quot;re2&quot;&gt;LAT_POSITION&lt;/span&gt;=60.17.18N
&lt;span class=&quot;re2&quot;&gt;CALLSIGN&lt;/span&gt;=EL-GM4SLV
&lt;span class=&quot;re2&quot;&gt;FREQUENCY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;144.912&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TX_POWER&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;ANTENNA_GAIN&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;ANTENNA_HEIGHT&lt;/span&gt;=2m
&lt;span class=&quot;re2&quot;&gt;ANTENNA_DIR&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PATH=WIDE1-1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;BEACON_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;STATISTICS_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TONE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;COMMENT&lt;/span&gt;=SvxLink
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Macros&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;=EchoLink:&lt;span class=&quot;nu0&quot;&gt;9999&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;=EchoLink:&lt;span class=&quot;nu0&quot;&gt;973498&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;=EchoLink:&lt;span class=&quot;nu0&quot;&gt;662666&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_302d5d994f7483861908ee9f146164df_2&quot;&gt;/etc/svxlink/svxlink_noel.conf &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_302d5d994f7483861908ee9f146164df_2&quot;&gt;&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;###############################################################################&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#                                                                             #&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#                Configuration file for the SvxLink server                    #&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#                                                                             #&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;###############################################################################&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;GLOBAL&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#MODULE_PATH=/usr/lib/arm-linux-gnueabihf/svxlink&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LOGICS&lt;/span&gt;=SimplexLogic
&lt;span class=&quot;re2&quot;&gt;CFG_DIR&lt;/span&gt;=svxlink.d
&lt;span class=&quot;re2&quot;&gt;TIMESTAMP_FORMAT&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;%c&amp;quot;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CARD_SAMPLE_RATE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;48000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CARD_CHANNELS=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#LOCATION_INFO=LocationInfo&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#LINKS=LinkToR4&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;SimplexLogic&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Simplex
&lt;span class=&quot;re2&quot;&gt;RX&lt;/span&gt;=Rx1
&lt;span class=&quot;re2&quot;&gt;TX&lt;/span&gt;=Tx1
&lt;span class=&quot;re2&quot;&gt;MODULES&lt;/span&gt;=ModuleHelp,ModuleParrot
&lt;span class=&quot;re2&quot;&gt;CALLSIGN&lt;/span&gt;=GM4SLV
&lt;span class=&quot;re2&quot;&gt;SHORT_IDENT_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SHORT_CW_ID_ENABLE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SHORT_VOICE_ID_ENABLE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CW_AMP&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CW_PITCH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;800&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CW_WPM&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LONG_IDENT_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#IDENT_ONLY_AFTER_TX=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#EXEC_CMD_ON_SQL_CLOSE=500&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;EVENT_HANDLER&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;share&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;events.tcl
&lt;span class=&quot;re2&quot;&gt;DEFAULT_LANG&lt;/span&gt;=en_GB
&lt;span class=&quot;re2&quot;&gt;RGR_SOUND_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#REPORT_CTCSS=77.0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#TX_CTCSS=ALWAYS&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MACROS&lt;/span&gt;=Macros
&lt;span class=&quot;re2&quot;&gt;FX_GAIN_NORMAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;FX_GAIN_LOW&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#ACTIVATE_MODULE_ON_LONG_CMD=4:EchoLink&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#QSO_RECORDER=8:QsoRecorder&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;ONLINE_CMD&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;998877&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#MUTE_RX_ON_TX=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#MUTE_TX_ON_RX=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#STATE_PTY=/var/run/svxlink/state&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DTMF_CTRL_PTY=/dev/shm/simplex_dtmf_ctrl&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TIME_FORMAT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;RGR_SOUND_ALWAYS&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;RepeaterLogic&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Repeater
&lt;span class=&quot;re2&quot;&gt;RX&lt;/span&gt;=Rx1
&lt;span class=&quot;re2&quot;&gt;TX&lt;/span&gt;=Tx1
&lt;span class=&quot;re2&quot;&gt;MODULES&lt;/span&gt;=ModuleHelp,ModuleParrot,ModuleEchoLink,ModuleTclVoiceMail
&lt;span class=&quot;re2&quot;&gt;CALLSIGN&lt;/span&gt;=MYCALL
&lt;span class=&quot;re2&quot;&gt;SHORT_IDENT_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LONG_IDENT_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#IDENT_ONLY_AFTER_TX=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#EXEC_CMD_ON_SQL_CLOSE=500&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;EVENT_HANDLER&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;share&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;events.tcl
&lt;span class=&quot;re2&quot;&gt;DEFAULT_LANG&lt;/span&gt;=en_US
&lt;span class=&quot;re2&quot;&gt;RGR_SOUND_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;REPORT_CTCSS&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;136.5&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#TX_CTCSS=SQL_OPEN&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MACROS&lt;/span&gt;=Macros
&lt;span class=&quot;co0&quot;&gt;#SEL5_MACRO_RANGE=03400,03499&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;FX_GAIN_NORMAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;FX_GAIN_LOW&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#QSO_RECORDER=8:QsoRecorder&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#NO_REPEAT=1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;IDLE_TIMEOUT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;30&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;OPEN_ON_1750&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPEN_ON_CTCSS=136:2000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPEN_ON_DTMF=*&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPEN_ON_SQL=5000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPEN_ON_SEL5=01234&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPEN_SQL_FLANK=OPEN&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPEN_ON_SQL_AFTER_RPT_CLOSE=10&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;IDLE_SOUND_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_FLAP_SUP_MIN_TIME=1000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_FLAP_SUP_MAX_COUNT=10&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#ACTIVATE_MODULE_ON_LONG_CMD=4:EchoLink&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#IDENT_NAG_TIMEOUT=15&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#IDENT_NAG_MIN_TIME=2000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#ONLINE_CMD=998877&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#STATE_PTY=/var/run/svxlink/state&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DTMF_CTRL_PTY=/dev/shm/repeater_dtmf_ctrl&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;ReflectorLogic&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Reflector
&lt;span class=&quot;re2&quot;&gt;HOST&lt;/span&gt;=reflector.example.com
&lt;span class=&quot;co0&quot;&gt;#PORT=5300&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CALLSIGN&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;MYCALL&amp;quot;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;AUTH_KEY&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;Change this key now!&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#JITTER_BUFFER_DELAY=0&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;LinkToR4&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CONNECT_LOGICS&lt;/span&gt;=RepeaterLogic:&lt;span class=&quot;nu0&quot;&gt;94&lt;/span&gt;:SK3AB,SimplexLogic:&lt;span class=&quot;nu0&quot;&gt;92&lt;/span&gt;:SK3CD
&lt;span class=&quot;co0&quot;&gt;#DEFAULT_ACTIVE=1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TIMEOUT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;300&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#AUTOACTIVATE_ON_SQL=RepeaterLogic&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;QsoRecorder&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;REC_DIR&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;var&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;spool&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;qso_recorder
&lt;span class=&quot;co0&quot;&gt;#MIN_TIME=1000&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MAX_TIME&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3600&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SOFT_TIME&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;300&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MAX_DIRSIZE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1024&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DEFAULT_ACTIVE=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#TIMEOUT=300&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#QSO_TIMEOUT=300&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#ENCODER_CMD=/usr/bin/oggenc -Q \&amp;quot;%f\&amp;quot; &amp;amp;&amp;amp; rm \&amp;quot;%f\&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Voter&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Voter
&lt;span class=&quot;re2&quot;&gt;RECEIVERS&lt;/span&gt;=Rx1,Rx2,Rx3
&lt;span class=&quot;re2&quot;&gt;VOTING_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;BUFFER_LENGTH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#REVOTE_INTERVAL=1000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#HYSTERESIS=50&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_CLOSE_REVOTE_DELAY=500&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#RX_SWITCH_DELAY=500&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#COMMAND_PTY=/dev/shm/voter_ctrl&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;MultiTx&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Multi
&lt;span class=&quot;re2&quot;&gt;TRANSMITTERS&lt;/span&gt;=Tx1,Tx2,Tx3
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;NetRx&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Net
&lt;span class=&quot;re2&quot;&gt;HOST&lt;/span&gt;=remote.rx.host
&lt;span class=&quot;re2&quot;&gt;TCP_PORT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;5210&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#LOG_DISCONNECTS_ONCE=0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;AUTH_KEY&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;Change this key now!&amp;quot;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CODEC&lt;/span&gt;=S16
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_FRAMES_PER_PACKET=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_QUALITY=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_BITRATE=15000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_COMPLEXITY=2&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_VBR=0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_VBR_QUALITY=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_ABR=15000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_DEC_ENHANCER=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_FRAME_SIZE=20&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_COMPLEXITY=10&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_BITRATE=20000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_VBR=1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;NetTx&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Net
&lt;span class=&quot;re2&quot;&gt;HOST&lt;/span&gt;=remote.tx.host
&lt;span class=&quot;re2&quot;&gt;TCP_PORT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;5210&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#LOG_DISCONNECTS_ONCE=0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;AUTH_KEY&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;Change this key now!&amp;quot;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CODEC&lt;/span&gt;=S16
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_FRAMES_PER_PACKET=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_QUALITY=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_BITRATE=15000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_COMPLEXITY=2&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_VBR=0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_VBR_QUALITY=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_ENC_ABR=15000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SPEEX_DEC_ENHANCER=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_FRAME_SIZE=20&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_COMPLEXITY=10&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_BITRATE=20000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#OPUS_ENC_VBR=1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Rx1&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Local
&lt;span class=&quot;re2&quot;&gt;AUDIO_DEV&lt;/span&gt;=alsa:plughw:&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;AUDIO_CHANNEL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SQL_DET&lt;/span&gt;=HIDRAW
&lt;span class=&quot;re2&quot;&gt;SQL_START_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SQL_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SQL_HANGTIME&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_EXTENDED_HANGTIME=1000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_EXTENDED_HANGTIME_THRESH=15&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_TIMEOUT=600&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;VOX_FILTER_DEPTH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;VOX_THRESH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_MODE=2&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CTCSS_FQ&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;77.0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_SNR_OFFSET=0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_OPEN_THRESH=15&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_CLOSE_THRESH=9&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_BPF_LOW=60&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_BPF_HIGH=270&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SERIAL_PORT=/dev/ttyUSB0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SERIAL_PIN=CTS&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SERIAL_SET_PINS=&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#EVDEV_DEVNAME=/dev/input/by-id/usb-SYNIC_SYNIC_Wireless_Audio-event-if03&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#EVDEV_OPEN=1,163,1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#EVDEV_CLOSE=1,163,0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#GPIO_PATH=/sys/class/gpio&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#GPIO_SQL_PIN=gpio25&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PTY_PATH=/tmp/rx1_sql&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;HID_DEVICE&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;hidraw0
&lt;span class=&quot;re2&quot;&gt;HID_SQL_PIN&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;VOL_DN
&lt;span class=&quot;co0&quot;&gt;#SIGLEV_DET=TONE&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SIGLEV_SLOPE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SIGLEV_OFFSET&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SIGLEV_BOGUS_THRESH=120&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#TONE_SIGLEV_MAP=100,84,60,50,37,32,28,23,19,8&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SIGLEV_OPEN_THRESH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;30&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SIGLEV_CLOSE_THRESH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DEEMPHASIS&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SQL_TAIL_ELIM=300&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;PREAMP&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;1.5&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PEAK_METER=1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_DEC_TYPE&lt;/span&gt;=INTERNAL
&lt;span class=&quot;re2&quot;&gt;DTMF_MUTING&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_HANGTIME&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;40&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_SERIAL&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;ttyS0
&lt;span class=&quot;co0&quot;&gt;#DTMF_PTY=/tmp/rx1_dtmf&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DTMF_MAX_FWD_TWIST=8&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DTMF_MAX_REV_TWIST=4&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#1750_MUTING=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SEL5_DEC_TYPE=INTERNAL&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SEL5_TYPE=ZVEI1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#FQ=433475000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#MODULATION=FM&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#WBRX=WbRx1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;WbRx1&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#TYPE=RtlUsb&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DEV_MATCH=0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#HOST=localhost&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PORT=1234&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CENTER_FQ=435075000&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#FQ_CORR=0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#GAIN=0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PEAK_METER=1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#SAMPLE_RATE=960000&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Tx1&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Local
&lt;span class=&quot;re2&quot;&gt;AUDIO_DEV&lt;/span&gt;=alsa:plughw:&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;AUDIO_CHANNEL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;PTT_TYPE&lt;/span&gt;=Hidraw
&lt;span class=&quot;co0&quot;&gt;#PTT_PORT=/dev/ttyS0&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PTT_PIN=HIDRAW&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;HID_DEVICE&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;hidraw0
&lt;span class=&quot;re2&quot;&gt;HID_PTT_PIN&lt;/span&gt;=GPIO3
&lt;span class=&quot;co0&quot;&gt;#SERIAL_SET_PINS=DTR!RTS&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#GPIO_PATH=/sys/class/gpio&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PTT_HANGTIME=1000&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TIMEOUT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;300&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TX_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_FQ=136.5&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#CTCSS_LEVEL=9&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;PREEMPHASIS&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_TONE_LENGTH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_TONE_SPACING&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_DIGIT_PWR&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MASTER_GAIN&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;1.25&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;LocationInfo&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;APRS_SERVER_LIST&lt;/span&gt;=euro.aprs2.net:&lt;span class=&quot;nu0&quot;&gt;14580&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;STATUS_SERVER_LIST&lt;/span&gt;=aprs.echolink.org:&lt;span class=&quot;nu0&quot;&gt;5199&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LON_POSITION&lt;/span&gt;=1.25.30W
&lt;span class=&quot;re2&quot;&gt;LAT_POSITION&lt;/span&gt;=60.17.18N
&lt;span class=&quot;re2&quot;&gt;CALLSIGN&lt;/span&gt;=EL-GM4SLV
&lt;span class=&quot;re2&quot;&gt;FREQUENCY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;144.9125&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TX_POWER&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;ANTENNA_GAIN&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;ANTENNA_HEIGHT&lt;/span&gt;=1m
&lt;span class=&quot;re2&quot;&gt;ANTENNA_DIR&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#PATH=WIDE1-1&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#BEACON_INTERVAL=60&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TONE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;77&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;COMMENT&lt;/span&gt;=SvxLink by SM0SVX &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;www.svxlink.org&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Macros&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;=EchoLink:&lt;span class=&quot;nu0&quot;&gt;9999&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;=EchoLink:&lt;span class=&quot;nu0&quot;&gt;973498&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;=EchoLink:&lt;span class=&quot;nu0&quot;&gt;662666&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_302d5d994f7483861908ee9f146164df_3&quot;&gt;/etc/svxlink/svxlink.d/ModuleEchoLink.conf &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_302d5d994f7483861908ee9f146164df_3&quot;&gt;&lt;pre class=&quot;code&quot;&gt;[ModuleEchoLink]
NAME=EchoLink
ID=2
TIMEOUT=60
#ALLOW_IP=192.168.1.0/24
#DROP_INCOMING=^()$
#REJECT_INCOMING=^()$
#ACCEPT_INCOMING=^(.*)$
#REJECT_OUTGOING=^()$
#ACCEPT_OUTGOING=^(.*)$
#REJECT_CONF=0
#CHECK_NR_CONNECTS=2,300,120
SERVERS=servers.echolink.org
CALLSIGN=GM4SLV-L
PASSWORD=XXXXXXXXX
SYSOPNAME=John
LOCATION=[Svx] Shetland
PROXY_SERVER=my.vps.host.name
PROXY_PORT=8100
PROXY_PASSWORD=my_proxy_password
#BIND_ADDR=10.20.30.40
MAX_QSOS=5
MAX_CONNECTIONS=6
LINK_IDLE_TIMEOUT=900
#AUTOCON_ECHOLINK_ID=9999
#AUTOCON_TIME=1200
#USE_GSM_ONLY=1
#DEFAULT_LANG=en_US
#COMMAND_PTY=/dev/shm/echolink_ctrl
DESCRIPTION=&amp;quot;You have connected to a SvxLink node,\n&amp;quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_302d5d994f7483861908ee9f146164df_4&quot;&gt;/usr/local/share/svxlink/events.d/local &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_302d5d994f7483861908ee9f146164df_4&quot;&gt;
&lt;p&gt;
Edit the section &lt;code&gt;proc dtmf_cmd_received {cmd}&lt;/code&gt; to add the stanzas that run external bash scripts to stop and restart svxlink with different config files
&lt;/p&gt;
&lt;pre class=&quot;code tcl&quot;&gt;&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Executed when a DTMF command has been received&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   cmd - The command&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Return 1 to hide the command from further processing is SvxLink or&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# return 0 to make SvxLink continue processing as normal.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# This function can be used to implement your own custom commands or to disable&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# DTMF commands that you do not want users to execute.&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;proc&lt;/span&gt; dtmf_cmd_received &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;cmd&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #global active_module&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
  # Example: Ignore all commands starting with 3 in the EchoLink module.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #          Allow commands that have four or more digits.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #if {$active_module == &amp;quot;EchoLink&amp;quot;} {&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #  if {[string length $cmd] &amp;lt; 4 &amp;amp;&amp;amp; [string index $cmd 0] == &amp;quot;3&amp;quot;} {&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #    puts &amp;quot;Ignoring random connect command for module EchoLink: $cmd&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #    return 1&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #  }&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #}&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
  # Handle the &amp;quot;force core command&amp;quot; mode where a command is forced to be&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  # executed by the core command processor instead of by an active module.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  # The &amp;quot;force core command&amp;quot; mode is entered by prefixing a command by a star.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #if {$active_module != &amp;quot;&amp;quot; &amp;amp;&amp;amp; [string index $cmd 0] != &amp;quot;*&amp;quot;} {&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #  return 0&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #}&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #if {[string index $cmd 0] == &amp;quot;*&amp;quot;} {&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;
  #  set cmd [string range $cmd 1 end]&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  #}&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
  # Example: Custom command executed when DTMF 99 is received&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$cmd&lt;/span&gt; == &lt;span class=&quot;st0&quot;&gt;&amp;quot;99&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Executing external command&amp;quot;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;online&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;exec&lt;/span&gt; /home/gm4slv/svx_noel.sh &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  # Example: Custom command executed when DTMF 99 is received&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$cmd&lt;/span&gt; == &lt;span class=&quot;st0&quot;&gt;&amp;quot;98&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Executing external command&amp;quot;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;online&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;exec&lt;/span&gt; /home/gm4slv/svx_el.sh &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
  &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_302d5d994f7483861908ee9f146164df_5&quot;&gt;start with echolink : svx_el.sh &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_302d5d994f7483861908ee9f146164df_5&quot;&gt;&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;CFG&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;etc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink_el.conf
&lt;span class=&quot;re2&quot;&gt;LOG&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;home&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink.log
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;killall&lt;/span&gt; svxlink
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;killall&lt;/span&gt; svxlink
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;killall&lt;/span&gt; svxlink
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; svxlink &lt;span class=&quot;re5&quot;&gt;--daemon&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--logfile&lt;/span&gt;=&lt;span class=&quot;re1&quot;&gt;$LOG&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--config&lt;/span&gt;=&lt;span class=&quot;re1&quot;&gt;$CFG&lt;/span&gt;
&lt;span class=&quot;kw3&quot;&gt;exit&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_302d5d994f7483861908ee9f146164df_6&quot;&gt;start without echolink : svx_noel.sh &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_302d5d994f7483861908ee9f146164df_6&quot;&gt;&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;CFG&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;etc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink_noel.conf
&lt;span class=&quot;re2&quot;&gt;LOG&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;home&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink.log
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;killall&lt;/span&gt; svxlink
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;killall&lt;/span&gt; svxlink
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;killall&lt;/span&gt; svxlink
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; svxlink &lt;span class=&quot;re5&quot;&gt;--daemon&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--logfile&lt;/span&gt;=&lt;span class=&quot;re1&quot;&gt;$LOG&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--config&lt;/span&gt;=&lt;span class=&quot;re1&quot;&gt;$CFG&lt;/span&gt;
&lt;span class=&quot;kw3&quot;&gt;exit&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_302d5d994f7483861908ee9f146164df_7&quot;&gt;crontab entry to start with echolink enabled at boot time &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_302d5d994f7483861908ee9f146164df_7&quot;&gt;&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;reboot &lt;span class=&quot;kw2&quot;&gt;sleep&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;30&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-u&lt;/span&gt; gm4slv &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;home&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svx_el.sh &lt;span class=&quot;sy0&quot;&gt;&amp;gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;null &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Config Files&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;config_files&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;1724-16686&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;catch_up_with_git_version&quot;&gt;Catch up with git version&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; The version of svxlink running on this Pi was self-compiled from the GIT repository&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:svxlink#update_to_latest_version_from_git&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:svxlink:svxlink&quot; data-wiki-id=&quot;public:radio:topics:svxlink:svxlink&quot;&gt;Update to latest version from GIT&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I decided to pull &amp;amp; compile the latest version so I simply followed the instructions I&amp;#039;d put on the above wiki page and all went smoothly (if slowly)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Catch up with git version&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;catch_up_with_git_version&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:9,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;16687-17020&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;dtmf_commands&quot;&gt;DTMF Commands&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Old info &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:svxreflector_commands&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:svxlink:svxreflector_commands&quot; data-wiki-id=&quot;public:radio:topics:svxlink:svxreflector_commands&quot;&gt;SVXLink : DTMF commands&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Ignore &lt;strong&gt;Reflector&lt;/strong&gt; commands - I am not (yet) connected to the SVX Reflector &lt;a href=&quot;http://svxportal-uk.ddns.net:81/index.php&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://svxportal-uk.ddns.net:81/index.php&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://svxportal-uk.ddns.net:81/index.php&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;table sectionedit9&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;*#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;System Status &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;0#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Help Module &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;1#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Parrot Module &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;2#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Echolink Module &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;17218-17318&amp;quot;} --&gt;&lt;div class=&quot;table sectionedit10&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; De-activate module&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table1&amp;quot;,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;17320-17347&amp;quot;} --&gt;
&lt;/div&gt;

&lt;h4 id=&quot;echolink_module&quot;&gt;Echolink Module&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;div class=&quot;table sectionedit11&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;&amp;lt;node number&amp;gt;#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Connect to &lt;code&gt;&amp;lt;node number&amp;gt;&lt;/code&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;0#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Play the help message&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;1#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; List all connected stations&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;2#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Play local EchoLink node id&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;31#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Connect to a random link or repeater&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;32#&lt;/code&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Connect to a random conference&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;4#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Reconnect to the last disconnected station&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;50#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Deactivate listen only mode&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;51#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Activate listen only mode&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;6*#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Use the connect by callsign feature&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row10&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;If connected = Disconnect, otherwise = Deactivate Echolink module &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table2&amp;quot;,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;17375-17876&amp;quot;} --&gt;
&lt;p&gt;
&lt;a href=&quot;https://github.com/sm0svx/svxlink/wiki/ModuleEchoLink&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://github.com/sm0svx/svxlink/wiki/ModuleEchoLink&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://github.com/sm0svx/svxlink/wiki/ModuleEchoLink&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;macros&quot;&gt;Macros&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;div class=&quot;table sectionedit12&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;D1#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Echolink &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;9999 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; Echotest &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;D2#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Echolink &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;973498 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; M0HOY-L &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; Hubnet &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;code&gt;D3#&lt;/code&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Echolink &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;662666 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;M0JKT-L &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; FreeStar &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table3&amp;quot;,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;17955-18089&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DTMF Commands&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dtmf_commands&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:9,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;17021-18091&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit13&quot; id=&quot;sound_files&quot;&gt;Sound files&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; use &lt;code&gt;en_US&lt;/code&gt; when &lt;strong&gt;echolink is enabled&lt;/strong&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; this is also needed for &lt;strong&gt;reflector&lt;/strong&gt; when it&amp;#039;s re-enabled, as the &lt;code&gt;US&lt;/code&gt; files also have the additional reflector sound samples&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; use &lt;code&gt;en_GB&lt;/code&gt; when &lt;strong&gt;echolink is disable&lt;/strong&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; easy to tell from status &lt;code&gt;*#&lt;/code&gt; which is active!&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Sound files&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;sound_files&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:9,&amp;quot;secid&amp;quot;:13,&amp;quot;range&amp;quot;:&amp;quot;18092-18399&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit14&quot; id=&quot;proxy&quot;&gt;Proxy&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; after consideration….&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; I decided to use my VPS-hosted echolink proxy&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; remove port forwards on home router for UDP/5198 &amp;amp; UDP/5199&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; open port TPC/8100 for &lt;strong&gt;only my home IP address&lt;/strong&gt; on VPS&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; this means only one IP address can reach the Proxy on port TCP/8100&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; open ports UDP/5198 &amp;amp; UDP/5199 for anywhere on VPS&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; edit echolink proxy config on VPS to allow only GM4SLV-L to connect&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; this means only one callsign can connect to the proxy&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; start proxy in a tmux session, using bash script on VPS&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; edit ModuleEchoLink.conf on svxlink pi to use the proxy&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; restart &lt;code&gt;svx_el.sh&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;re2&quot;&gt;PROXY_SERVER&lt;/span&gt;=my.vps.host.name
&lt;span class=&quot;re2&quot;&gt;PROXY_PORT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;8100&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;PROXY_PASSWORD&lt;/span&gt;=xxxxxxxxx&lt;/pre&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 06/04/24 07:09&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
LAST MODIFIED : 01/01/70 01:00 BST
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Proxy&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;proxy&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:9,&amp;quot;secid&amp;quot;:14,&amp;quot;range&amp;quot;:&amp;quot;18400-19212&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit15&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:svxlink&amp;amp;do=showtag&amp;amp;tag=svxlink&quot; class=&quot;wikilink1&quot; title=&quot;tag:svxlink&quot; rel=&quot;tag&quot;&gt;svxlink&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:10,&amp;quot;secid&amp;quot;:15,&amp;quot;range&amp;quot;:&amp;quot;19213-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 21:01:52 +0000</pubDate>
        </item>
        <item>
            <title>Fairphone6 Screen</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:blog:fairphone6_screen</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;fairphone6_screen&quot;&gt;Fairphone6 Screen&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
I dropped my relatively new Fairphone6, face down, on a pavement….
&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I was on the way into a supermarket in the run up to Christmas - going in to do the annual Christmas-battle-trolleys food shop. I picked it up, fearing the worst and found just a small chipped/cracked area at the bottom left of the screen. Just where the *back* arrow softkey is. It worked, but the cracks extended across the screen, and the focal point of the break was slowly crumbling into glass-dust. And every time I swiped my thumb across the *back* softkey I was worried it&amp;#039;d start depositing slivers of glass in my flesh.
&lt;/p&gt;

&lt;p&gt;
I waited a couple of months, trying to ignore it. 
&lt;/p&gt;

&lt;p&gt;
I know one of the major reasons for owning a Fairphone is that they are user-repairable, with parts easily available and easily replaceable. But I wanted to wait until the desire to fix it overcame my reluctance to spend money. (I&amp;#039;m on a no-buy. Spending money to fix things *is* acceptable in my self-imposed rules, but somehow I now find it difficult to spend *any* money that isn&amp;#039;t strictly necessary. The phone still worked, so it took some mental bullying to force myself to spend to fix it.)
&lt;/p&gt;

&lt;p&gt;
Last week I ordered the screen and a Torx-5 screwdriver from the Fairphone website. Today it arrived. It took me less than 10 minutes to take the phone apart, replace the screen and put it back together again.
&lt;/p&gt;

&lt;p&gt;
The hardest part was unclicking the plastic locking tabs on the top-rear cover. Using a guitar plectrum. But it wasn&amp;#039;t *that* difficult.
&lt;/p&gt;

&lt;p&gt;
Once back together the phone booted up and the screen is perfect.
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;update_-_front_camera&quot;&gt;Update - front camera&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
It took me while to notice (several weeks), as I don&amp;#039;t take many selfies and rarely use the front facing camera, but when I did I saw the image was very blurred and blue tinted…
&lt;/p&gt;

&lt;p&gt;
I wondered if I&amp;#039;d damaged something when I fitted the screen, so I took it apart again to look…. and found a blue peel-off protective film on the inside of the screen over the aperture that the front camera looks out through!
&lt;/p&gt;

&lt;p&gt;
Peeled it off, reassembled and its all perfect again.
&lt;/p&gt;

&lt;p&gt;
There&amp;#039;s no mention of this film in the instructions, and it&amp;#039;s not immediately obvious the small piece of blue film is there, so its easy to overlook.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Fairphone6 Screen&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;fairphone6_screen&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;2-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 09:43:56 +0000</pubDate>
        </item>
        <item>
            <title>Music - A Return To An Old Hobby</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:blog:music_-_a_return_to_an_old_hobby</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;music_-_a_return_to_an_old_hobby&quot;&gt;Music - A Return To An Old Hobby&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
date: 2026-03-02 14:52
&lt;/p&gt;

&lt;p&gt;
I used to play &lt;em&gt;a lot&lt;/em&gt; of music - by this I mean actually play it myself, on instruments like mandolin, bodhran, guitar….
&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I first fiddled with guitar as a teenager. Badly. I had a cheap nylon strung &lt;em&gt;“classical”&lt;/em&gt; guitar, and even for a while a &lt;strong&gt;&lt;em&gt;very cheap and very, very nasty&lt;/em&gt;&lt;/strong&gt; electric guitar.
&lt;/p&gt;

&lt;p&gt;
When I went to University in 1984 I was already into folk music, as well as &lt;em&gt;heavily&lt;/em&gt; into early Mike Oldfield. So I knew of the bodhran. I bought myself a basic model mandolin and found a guy who made bodhrans in a small workshop in Manchester. All I could afford was a very basic calf-skin bodhran but it was enough to get the hang of it.
&lt;/p&gt;

&lt;p&gt;
I listened to a lot of Planxty, Bothy Band, Boys from the Lough, Andy Irvine etc. back then, all on vinyl. I still have the same vinyl albums and play them occasionally even now.
&lt;/p&gt;

&lt;p&gt;
Here&amp;#039;s a B&amp;amp;W photo of my stash of instruments from around 1986. I developed &amp;amp; printed it myself, using an enlarger a mate had borrowed &amp;amp; set up in the bathroom in his flat. I recently found the photo again, and put it in a clip frame and hung it in my den.
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Ablog%3Amusic_-_a_return_to_an_old_hobby&amp;amp;media=public:blog:instruments1.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:instruments1.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=e00d06&amp;amp;media=public:blog:instruments1.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;*my original mandolin, bodhran etc.*&quot; alt=&quot;*my original mandolin, bodhran etc.*&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
I later bought a better mandolin, and also got better goatskin bodhran from Hobgoblin Music. 
&lt;/p&gt;

&lt;p&gt;
I sold my 1st mandolin, and bodhran to a mate of mine. I &lt;em&gt;think&lt;/em&gt; he still has them. I certainly still have my 2nd mandolin and bodhran.
&lt;/p&gt;

&lt;p&gt;
While I was at UMIST, between 1984 and 1988 I used to drink in the &lt;strong&gt;Jolly Angler&lt;/strong&gt; in Ducie Street. It was a backstreet Irish pub, but had no music session. I went to play pool with mates and drink copious quantities of Hyde&amp;#039;s Anvil bitter (and at Christmas time their strong Winter Ale from a small barrel on the bar).
&lt;/p&gt;

&lt;p&gt;
The landlord had a niece who at that time was doing her O levels and was struggling with maths. She was a mean piano accordion player too. We started a weekly maths tuition followed by a few tunes. I took my mandolin and she took her PA. 
&lt;/p&gt;

&lt;p&gt;
After a few weeks of this a few customers asked 
&lt;/p&gt;
&lt;blockquote&gt;&lt;div class=&quot;no&quot;&gt;
 “is this a regular session?”&lt;br/&gt;
&lt;br/&gt;
“no, just us having a few tunes”&lt;br/&gt;
&lt;br/&gt;
“is it ok if we join in next week? There&amp;#039;s no good session on a Thursday nearby”&lt;br/&gt;
&lt;br/&gt;
“ Yeah! that&amp;#039;d be fun”&lt;/div&gt;&lt;/blockquote&gt;

&lt;p&gt;
and then it exploded from there.
&lt;/p&gt;

&lt;p&gt;
More and more and more people came on a Thursday night. After only a few weeks I found I was well out of my depth, and stopped playing, or trying to play. I&amp;#039;d learned a few new tunes in the first few weeks of the &lt;em&gt;session&lt;/em&gt; but then found all I could do was sit and watch and listen.
&lt;/p&gt;

&lt;p&gt;
But I still played mandolin for my own amusement. I wasn&amp;#039;t particularly good, but I enjoyed it.
&lt;/p&gt;

&lt;p&gt;
There have been various instruments over the years since then. 
&lt;/p&gt;

&lt;p&gt;
Later, after leaving UMIST and getting a job I bought myself a bouzouki from Hobgoblin too.
&lt;/p&gt;

&lt;p&gt;
My parents had found an old Hohner Double-Ray Black-Dot in B/C at an antiques fair which I later bought by visiting the guy&amp;#039;s house in Cramlington (nr. Newcastle) while we were visiting.
&lt;/p&gt;

&lt;p&gt;
The story of this is on my old, old website which I recently uncovered…
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://g4slv.info/website/pages/music.htm&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://g4slv.info/website/pages/music.htm&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://g4slv.info/website/pages/music.htm&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
I then bought a 2nd hand Saltarelle “Le Bouebe” melodeon in D/G in around 2002, and later a Castagnari Lilly melodeon for my 40th birthday in 2006. I later sold the Lilly, as I wasn&amp;#039;t playing it enough to justify keeping it. 
&lt;/p&gt;

&lt;p&gt;
I still have the Saltarelle. But I rarely ever take it out and play it any more.
&lt;/p&gt;

&lt;p&gt;
Here&amp;#039;s an old photo of me in the Westings, Shetland. 
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Ablog%3Amusic_-_a_return_to_an_old_hobby&amp;amp;media=public:blog:box1.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:box1.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=f220b0&amp;amp;media=public:blog:box1.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;*Me on Saltarelle D/G with Neil Donald on a Chromatic button box*&quot; alt=&quot;*Me on Saltarelle D/G with Neil Donald on a Chromatic button box*&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
I got to be “ok” on melodeon - but nothing better then “ok”. 
&lt;/p&gt;

&lt;p&gt;
In fact I&amp;#039;ve never got better than “ok” on anything, in the 45+ years of my trying to play.
&lt;/p&gt;

&lt;p&gt;
I didn&amp;#039;t have a guitar for several years and during Covid lockdown in 2020 I bought a cheap classical guitar (Yamaha C40) and spent a lot of time while isolated at home trying to learn proper classical guitar. I followed some of the excellent courses by Bradford Werner &lt;a href=&quot;https://www.thisisclassicalguitar.com/start-here/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.thisisclassicalguitar.com/start-here/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.thisisclassicalguitar.com/start-here/&lt;/a&gt;. When life returned to normal I stopped studying, but I&amp;#039;d already found some physical problems with my wrists and hands due to the Rheumatoid Arthritis. I still noodle on the guitar, but I can&amp;#039;t see me being able to really immerse myself in learning it properly.
&lt;/p&gt;

&lt;p&gt;
I also bought a Treble Recorder last year and then neglected to do anything about it. I&amp;#039;d played Descant Recorder as a primary schoolboy aged 10 or so. That&amp;#039;s where I learned to read music. So the Treble Recorder was supposed to be my way of reconnecting with the fun of learning a new (and at face value fairly simple) instrument. Of course the Recorder is a vastly under-rated instrument capable of magical sound when played by an expert. 
&lt;/p&gt;

&lt;p&gt;
I recently found some old mp3 recordings I&amp;#039;d done in around 2002, in a zip file which contained the HTML and other files from  a website I had back then. There were 4 mp3 files that had me playing mandolin, and bodhran (and guitar, out of tune)
&lt;/p&gt;

&lt;p&gt;
They are badly recorded - from memory I did it by using a pair of cheap stereo headphones as a microphone (!) and recording using grecord on a linux box (an old Gnome app for simple sound recording - probably running on Red Hat 6?) 
&lt;/p&gt;

&lt;p&gt;
To multi track I&amp;#039;d play the 1st recording back from the speakers on another linux box while recording the 2nd track (and the playback of the 1st which was audible in the background….) and I&amp;#039;d repeat this again to get a 3rd track.
&lt;/p&gt;

&lt;p&gt;
The are in &lt;a href=&quot;https://g4slv.info/website/pshed/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://g4slv.info/website/pshed/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://g4slv.info/website/pshed/&lt;/a&gt; and these are the links to the files
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://g4slv.info/website/pshed/erin_a.mp3&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://g4slv.info/website/pshed/erin_a.mp3&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Farewell to Erin&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://g4slv.info/website/pshed/mason_c.mp3&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://g4slv.info/website/pshed/mason_c.mp3&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Mason&amp;#039;s Apron&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://g4slv.info/website/pshed/mooncoin_b.mp3&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://g4slv.info/website/pshed/mooncoin_b.mp3&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Mooncoin Jig&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://g4slv.info/website/pshed/boing.mp3&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://g4slv.info/website/pshed/boing.mp3&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Banging on the bodhran&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Music - A Return To An Old Hobby&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;music_-_a_return_to_an_old_hobby&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;1-5894&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;the_future&quot;&gt;The future?&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Ablog%3Amusic_-_a_return_to_an_old_hobby&amp;amp;media=public:blog:instruments2.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:instruments2.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=78649f&amp;amp;media=public:blog:instruments2.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;*some of my current musical instruments*&quot; alt=&quot;*some of my current musical instruments*&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
So, now, at 60 years old I&amp;#039;m wondering what to do with myself. What hobby to persue. How to find joy and fun again. 
&lt;/p&gt;

&lt;p&gt;
I found myself looking up at my mandolin a few nights ago, thinking *“I wonder if I remember any tunes?”* and I took it down from its hanger. And 2 hours later I forced myself to put it down &amp;amp; go to bed….
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;ve been a little lost recently, not knowing what to do with my spare time. Perhaps this is the answer. Just enjoy playing music for my own amusement again.
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:music&amp;amp;do=showtag&amp;amp;tag=music&quot; class=&quot;wikilink1&quot; title=&quot;tag:music&quot; rel=&quot;tag&quot;&gt;music&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;The future?&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;the_future&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;5895-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 19 Apr 2026 08:45:07 +0000</pubDate>
        </item>
        <item>
            <title>Privacy ?</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:blog:privacy</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;privacy&quot;&gt;Privacy ?&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt; Private versus Public &lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
I recently got totally fed-up with the state of *the internet*. Mobile phones so tightly tied to *Google* or *Apple* that they track your every move and communicate every action you make online with databrokers that use this to profile you and target ads (and worse?) at you….
&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Why isn&amp;#039;t it possible just to use a phone to make phone calls, send text messages, and to innocently and privately look at websites?
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Privacy ?&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;privacy&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;1-483&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;de-googling_etc&quot;&gt;De-Googling etc.&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I started *de-googling*[^1] as far as I could. And this included my *desktop* interaction with the web too. I&amp;#039;d already been using adblockers for years, but this time I went further.
&lt;/p&gt;

&lt;p&gt;
And I found it&amp;#039;s *impossible to fully de-google*. 
&lt;/p&gt;

&lt;p&gt;
Of course I *knew* this - after all, Android *is* Google. And the web *is* Google.
&lt;/p&gt;

&lt;p&gt;
But I made tiny first steps. Why do I need accounts with Google and other major enshitifiers to do the things I still enjoy online? This feeling also tied in with a desire to cut-back on online shopping (I&amp;#039;ll do a post on my *no-buy* aspirations another time) so I got rid of other accounts too.
&lt;/p&gt;

&lt;p&gt;
I got rid of my accounts with (at least these, probably others that I&amp;#039;ve forgotten about):
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Google&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; My You Tube Channel was deleted too&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Microsoft&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Amazon&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Paypal&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; eBay&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Reddit&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
I didn&amp;#039;t have *Facebook* or *Twitter/X* or *Mastodon* or *Instagram* or *Tik-Tok* or any other *social media* accounts, so there was no FOFOMO[^2] to worry about.
&lt;/p&gt;

&lt;p&gt;
#### A quiet online life?
&lt;/p&gt;

&lt;p&gt;
This still means I can use the internet but reduces the level of *integration* which happens - where everything talks to everything else *via Google*.
&lt;/p&gt;

&lt;p&gt;
#### To properly de-Google?
&lt;/p&gt;

&lt;p&gt;
After doing as much as I could with my stock Android phone I ran into the usual problem of how tightly integrated even the simplest of apps is with the Google eco-system and that it didn&amp;#039;t seem possible to use a *normal* Android phone and at the same time to be invisible to Google &amp;amp; to escape its spying.
&lt;/p&gt;

&lt;p&gt;
A fully de-googled-at-source-android was the answer. There are a few options. I won&amp;#039;t go into them in detail, I just took the easiest route.
&lt;/p&gt;

&lt;p&gt;
I bought a Fairphone6 pre-installed with /e/OS.
&lt;/p&gt;

&lt;p&gt;
I tried it first *without* running *micro-G* (which spoofs some of the functionality of *Google Play Services* etc. and which gives access to certain Google services anonymously so that the apps that rely on some Google functionality can still be installed and will run). 
&lt;/p&gt;

&lt;p&gt;
But that limited my options for apps.
&lt;/p&gt;

&lt;p&gt;
So I enabled *micro-G* and installed a *very small number* of non-FOSS Android apps:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 2 &lt;strong&gt;Banking&lt;/strong&gt; apps for my personal and business bank accounts&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;strong&gt;BBC Sounds&lt;/strong&gt; - but only because &lt;strong&gt;*I can&amp;#039;t abide adverts&lt;/strong&gt;* even in podcasts - and the BBC is the only source I can trust not to shove commercial adverts at me during podcasts&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;strong&gt;Canon Print&lt;/strong&gt; - to access my little Canon Selphy printer (yes, it is possible without the Canon Print app, but it&amp;#039;s fiddly and error-prone)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
And that&amp;#039;s all. 
&lt;/p&gt;

&lt;p&gt;
Everything else is either the pre-installed version from /e/OS or it&amp;#039;s a FOSS version from *f-Droid*
&lt;/p&gt;

&lt;p&gt;
/e/OS has a built in system-level tracking blocker which circumvents the many (many) *phone-home* tracking messages that these non-FOSS apps send to various analytic/tracking providers. It&amp;#039;s quite scary to see just how chatty these apps are, and how many external 3++rd++ party tracking services are fed data - quite separately from the actual application&amp;#039;s useful and necessary network traffic (this still flows and allows the app to function normally).
&lt;/p&gt;

&lt;p&gt;
#### Privacy - hiding from real people on the internet 
&lt;/p&gt;

&lt;p&gt;
I took things a step further - and tried to extract myself from *any online activity* which would involve showing anything of mine to *strangers on the internet*. 
&lt;/p&gt;

&lt;p&gt;
I made my [Commonplace Wiki](&lt;a href=&quot;https://g4slv.info/dokuwiki/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://g4slv.info/dokuwiki/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://g4slv.info/dokuwiki/&lt;/a&gt;) private - nothing was readable by passing strangers.
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;d deleted my You Tube stuff already, as a part of *de-googling* so that had already been taken care of.
&lt;/p&gt;

&lt;p&gt;
I started to delete various accounts that I had on web-forums, and thus my old posts disappeared too (I don&amp;#039;t contribute much, and my words are unlikely to be missed by anyone). 
&lt;/p&gt;

&lt;p&gt;
I wanted to *disappear* from the online world. 
&lt;/p&gt;

&lt;p&gt;
I know it&amp;#039;s not possible to remove all traces of your past online life - but I wanted my future involvement with the web to be invisible.
&lt;/p&gt;

&lt;p&gt;
#### The Hypocrisy of this
&lt;/p&gt;

&lt;p&gt;
But I was still reading *other* people&amp;#039;s websites and blogs. Watching other people&amp;#039;s You Tube videos - but *not-logged-in* and via a browser with an *adblocker* (or more often via `NewPipe` or by downloading the video to my laptop 1++st++ by using `yt-dlp`)
&lt;/p&gt;

&lt;p&gt;
I was *consuming* but not *contributing*
&lt;/p&gt;

&lt;p&gt;
This seems selfish and petty.
&lt;/p&gt;

&lt;p&gt;
So I un-hid my dokuwiki site, and it&amp;#039;s now readable by anyone. I don&amp;#039;t know if anyone finds any of it useful, it exists mainly for me to have a place to store *useful-to-me* information.
&lt;/p&gt;

&lt;p&gt;
I figure though that it&amp;#039;s *good* to share stuff online (even when there are probably very few people that&amp;#039;ll ever read it). But, because *I* find other peoples&amp;#039; stuff useful, interesting etc. then should I not let other people make up their own minds about my stuff? By at least making it accessible.
&lt;/p&gt;

&lt;p&gt;
The important thing to me now is that this sharing &lt;strong&gt;*must be done without involving the enshitifying platforms&lt;/strong&gt;* like *Google*, *Meta* etc. etc.
&lt;/p&gt;

&lt;p&gt;
I *can* share my thoughts, experiments, notes etc. with real people on the internet - but only by hosting it myself.
&lt;/p&gt;

&lt;p&gt;
This can be done with a blog (like this one) or a wiki like [this one](&lt;a href=&quot;https://g4slv.info/dokuwiki/doku.php?id=start&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://g4slv.info/dokuwiki/doku.php?id=start&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://g4slv.info/dokuwiki/doku.php?id=start&lt;/a&gt;) and even with an old hand-built plain html website from more than 20 years ago, like [this one](&lt;a href=&quot;https://g4slv.info/website/index.html&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://g4slv.info/website/index.html&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://g4slv.info/website/index.html&lt;/a&gt;) which I used to have back in the early 2000&amp;#039;s and which has been languishing in a zip file for many years. 
&lt;/p&gt;

&lt;p&gt;
#### Blogging in 2026
&lt;/p&gt;

&lt;p&gt;
After deciding that I don&amp;#039;t want to hide from *real* people, that the internet is (still) a good thing when used for good reasons. It allows us to share with other *real* people. Enshitification has largely spoiled the *mainstream* web, but there are still lots of personal web sites, blogs, wikis etc. 
&lt;/p&gt;

&lt;p&gt;
Let&amp;#039;s keep them going.
&lt;/p&gt;

&lt;p&gt;
This is why I&amp;#039;m blogging now. It&amp;#039;s been a few years since I last did any blogging, but I think I can enjoy it again (regardless of the number of readers) and create a small corner of the internet out of my own head. It might be self-indulgent twaddle, it might be pointless and meaningless and if *I* get some happiness out of making it, that&amp;#039;s enough. But it *has* to be online and *has* to feel like it&amp;#039;s a small fight against the enshitification that the major platforms have wrought on the once wonderful web.
&lt;/p&gt;

&lt;p&gt;
[^1]: I use this as a generic term for *cutting out as much surveillance and tracking as possible*
[^2]: Is this a new coining? &lt;strong&gt;Fear of FOMO&lt;/strong&gt;  The fear that I&amp;#039;ll suffer *“Fear of Missing Out”*
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;De-Googling etc.&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;de-googling_etc&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;484-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 19 Apr 2026 08:45:35 +0000</pubDate>
        </item>
        <item>
            <title>QMX Two Way QSO</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:blog:qmx_two_way_qso</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;qmx_two_way_qso&quot;&gt;QMX Two Way QSO&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
I was tuning around last night, after adding the 40m trap to turn my EFHW Inverted-L into a dual band 40n/30m antenna, on 40m.
&lt;/p&gt;

&lt;p&gt;
On 7030kHz I heard a CQ from &lt;strong&gt;G4NNJ&lt;/strong&gt; and I replied. It took a couple of tries but then we got into a QSO.
&lt;/p&gt;

&lt;p&gt;
Allan told me he was using a QMX and EFWH…
&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
So I replied “RIG ALSO QMX PWR 5W ANT ALSO EFHW”
&lt;/p&gt;

&lt;p&gt;
We had a nice, short QRP QSO two way QMX ↔ QMX and even exchanged G-QRP Club member numbers, which I&amp;#039;ve not done for many years. 
&lt;/p&gt;

&lt;p&gt;
Conditions have been poor over the weekend, with Geomagnetic storms and K index up to 7! The K-Index was still around 4 during the evening, and up here that tends to mean very poor HF, so I&amp;#039;m really happy to have made the QSO.
&lt;/p&gt;

&lt;p&gt;
I went on to have another QSO, this time with Ken &lt;strong&gt;G0OBK&lt;/strong&gt; - he was running 25W.
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;m going to try and call/listen on 7030kHz and 10116kHz more often and try to work more QRP operators. 
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:qmx&amp;amp;do=showtag&amp;amp;tag=qmx&quot; class=&quot;wikilink1&quot; title=&quot;tag:qmx&quot; rel=&quot;tag&quot;&gt;qmx&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:qrp&amp;amp;do=showtag&amp;amp;tag=qrp&quot; class=&quot;wikilink1&quot; title=&quot;tag:qrp&quot; rel=&quot;tag&quot;&gt;qrp&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:cw&amp;amp;do=showtag&amp;amp;tag=cw&quot; class=&quot;wikilink1&quot; title=&quot;tag:cw&quot; rel=&quot;tag&quot;&gt;cw&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 07 Jul 2026 09:04:06 +0000</pubDate>
        </item>
        <item>
            <title>QRSS</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:blog:qrss</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;qrss&quot;&gt;QRSS&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
I&amp;#039;ve been running my QMX on WSPR, using its DigiMode and the USB interface to a laptop running WSJT-X, when I&amp;#039;m not using for real QSOs.
&lt;/p&gt;

&lt;p&gt;
But I got to thinking “is that all there is?”
&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
I&amp;#039;ve seen almost continuous QRSS signals on the WSJT-X waterfall on 30m while running WPSR, and I remembered running a grabber on 600m/500kHz back in the early days of access to that band, and I wondered what activity there still was using QRSS. So I looked around the &amp;#039;net and found that the “QRSS Knights” group are still going and I wondered about joining it. It would give a more human interaction and more human use of the “down time” - I could still monitor propagation, but not using the computer to do &lt;em&gt;everything&lt;/em&gt;… you still need to actively &lt;strong&gt;look&lt;/strong&gt; at the waterfall and &lt;em&gt;read&lt;/em&gt; the morse code from the noisy trace on the screen.
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;ve joined the Knights QRSS on groups.io &lt;a href=&quot;https://groups.io/g/qrssknights&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://groups.io/g/qrssknights&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://groups.io/g/qrssknights&lt;/a&gt; and last night I set about getting a &lt;em&gt;grabber&lt;/em&gt; up and running.
&lt;/p&gt;

&lt;p&gt;
I settled on good old Spectrum Lab which I know has always worked well under Wine on Linux. After a bit of fiddling I got a working setup to display the “QRSS Watering Hole” on 30m, my band of interest, and then fiddled with some bash scripts to automate the “grab and upload” function to send images to my website. &lt;a href=&quot;https://g4slv.info/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://g4slv.info/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://g4slv.info/&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:blog:capt.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:capt.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=64a0a8&amp;amp;media=public:blog:capt.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
On this image from 10:20UTC today there are several QRSS signals…. 
&lt;/p&gt;

&lt;p&gt;
From the top:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; S52AB&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; G0PKT&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; M0BMN&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; G0MBA&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; G4JQT&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; IK2JET&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
I tried sending some QRSS at 1W this morning for an hour or so, but only saw the faintest of traces on the grabber of Fabian (DJ5CW) on his Polish-sited Grabber SO5CW which &lt;em&gt;might&lt;/em&gt; have been me.
&lt;/p&gt;

&lt;p&gt;
Once again, it seems that my quiet location is better for receive than transmit. 
&lt;/p&gt;

&lt;p&gt;
My grabber is now included on the grabber list at &lt;a href=&quot;https://swharden.com/qrss/plus/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://swharden.com/qrss/plus/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://swharden.com/qrss/plus/&lt;/a&gt; so let&amp;#039;s see what appears on my screen.
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;ll put some details of the simple bash scripts that do the uploads on the main wiki Radio pages, and add more info about QRSS there, when I get a chance.
&lt;/p&gt;

&lt;p&gt;
J
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;QRSS&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;qrss&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;1-2100&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;update&quot;&gt;Update&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
I ran on TX again in the afternoon and Fabian DJ5CW/ SO5CW confirmed reception in Poland!
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Ablog%3Aqrss&amp;amp;media=public:blog:gm4slv_30m-20260708-1641.png&quot; class=&quot;media&quot; title=&quot;public:blog:gm4slv_30m-20260708-1641.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=2ddd18&amp;amp;media=public:blog:gm4slv_30m-20260708-1641.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
The “L” really pops out at one point!
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:qrss&amp;amp;do=showtag&amp;amp;tag=qrss&quot; class=&quot;wikilink1&quot; title=&quot;tag:qrss&quot; rel=&quot;tag&quot;&gt;qrss&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:qrp&amp;amp;do=showtag&amp;amp;tag=qrp&quot; class=&quot;wikilink1&quot; title=&quot;tag:qrp&quot; rel=&quot;tag&quot;&gt;qrp&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:qmx&amp;amp;do=showtag&amp;amp;tag=qmx&quot; class=&quot;wikilink1&quot; title=&quot;tag:qmx&quot; rel=&quot;tag&quot;&gt;qmx&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:knightsqrss&amp;amp;do=showtag&amp;amp;tag=knightsqrss&quot; class=&quot;wikilink1&quot; title=&quot;tag:knightsqrss&quot; rel=&quot;tag&quot;&gt;knightsqrss&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Update&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;update&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;2101-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 08 Jul 2026 16:22:31 +0000</pubDate>
        </item>
        <item>
            <title>Shack To Makerspace</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:blog:shack_to_makerspace</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;shack_to_makerspace&quot;&gt;Shack To Makerspace&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
I used to have a radio-shack in the house, with component drawers on the walls, a filing cabinet to keep tools, parts, hardware etc.
&lt;/p&gt;

&lt;p&gt;
I built things and operated radios. 
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:blog:old_shack_1.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:old_shack_1.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=4620c6&amp;amp;media=public:blog:old_shack_1.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Shack To Makerspace&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;shack_to_makerspace&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;1-253&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;move_to_the_shed&quot;&gt;Move to the shed&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Then in around 2013 I renovated the old garden shed and moved my shack out there. It was a pleasant few years having a space to do as I pleased, with just enough space to have a radio-bench and a work-bench.
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:blog:shed.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:shed.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=ab711b&amp;amp;media=public:blog:shed.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:blog:shed_shack_1.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:shed_shack_1.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=160a22&amp;amp;media=public:blog:shed_shack_1.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:blog:shed_shack_2.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:shed_shack_2.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=4ac7e8&amp;amp;media=public:blog:shed_shack_2.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Gradually the shed succumbed to the ravages of the Shetland weather and I decided it wasn&amp;#039;t really worth continuing using it. And at the same time I gave up playing radio at all.
&lt;/p&gt;

&lt;p&gt;
I had a few brief periods of in-the-house radio operation last year, but never really got deeply involved.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Move to the shed&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;move_to_the_shed&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;254-913&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;move_back_to_the_house&quot;&gt;Move back to the house&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Now, in 2026 I&amp;#039;m getting interested in radio again - in operating and in building. So I started setting up a shack. One rig was brought out of retirement. Then another.
&lt;/p&gt;

&lt;p&gt;
I put shelves over the operating desk to hold some test gear etc. but I still had no real building/tinkering facilities. My component drawers, junk boxes, books and test gear were still in the shed.
&lt;/p&gt;

&lt;p&gt;
Today I put a filing cabinet in the new shack. Moved books, test gear, some old projects and work in progress into the shack and then moved my wall-mounted component drawers from the shed to the new shack. I can now sit and tinker with circuits on my tiny operating desk. I can build projects. I can experiment. All from the relative comfort of my tiny shack.
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;m still finding places for everything, so it&amp;#039;s a bit of a mess, but here&amp;#039;s how it looks at the moment.
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:blog:new_shack_3.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:new_shack_3.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=922539&amp;amp;media=public:blog:new_shack_3.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:blog:new_shack_1.jpg&quot; class=&quot;media&quot; title=&quot;public:blog:new_shack_1.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=bc03c2&amp;amp;media=public:blog:new_shack_1.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:shack&amp;amp;do=showtag&amp;amp;tag=shack&quot; class=&quot;wikilink1&quot; title=&quot;tag:shack&quot; rel=&quot;tag&quot;&gt;shack&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Move back to the house&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;move_back_to_the_house&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;914-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 09 Jul 2026 21:47:25 +0000</pubDate>
        </item>
        <item>
            <title>Benchmarking</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:benchmarking:start</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:start&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:start&quot; data-wiki-id=&quot;public:calculator:start&quot;&gt;Calculators&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;benchmarking&quot;&gt;Benchmarking&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt;Various methods to test the speed of calculators &lt;/strong&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Benchmarking&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;benchmarking&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;13-96&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;hp_museum_benchmarks&quot;&gt;HP Museum Benchmarks&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
These pseudo-code examples need tweaking for each calculator, some have &lt;code&gt;alpha&lt;/code&gt; register names, some &lt;code&gt;numeric&lt;/code&gt;. 
&lt;/p&gt;

&lt;p&gt;
The handling of the &amp;lt;loop&amp;gt; is different in each calculator,too.
&lt;/p&gt;

&lt;p&gt;
The Programs are run for 1 minute and the result (the number of loops completed) is found in register 2 (or wherever is used in the calculator being tested).
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;HP Museum Benchmarks&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;hp_museum_benchmarks&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;97-471&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;hp_museum_maths_benchmark&quot;&gt;HP Museum Maths Benchmark&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2b77356d1ed6b6f8549872b9c4a844bc_1&quot;&gt;psuedo code &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2b77356d1ed6b6f8549872b9c4a844bc_1&quot;&gt;&lt;pre class=&quot;code&quot;&gt;LBL &amp;lt;whatever&amp;gt;
0
STO 2
1.01234 EEX 6
STO 0
2.345
STO 1
&amp;lt;loop&amp;gt;
RCL 1
RCL 0
*
RCL 1
-
RCL 0
/
RCL 1
*
3.5
/
SQRT
1
STO+ 2
GTO &amp;lt;loop&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;HP Museum Maths Benchmark&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;hp_museum_maths_benchmark&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;472-684&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;hp_museum_trig_benchmark&quot;&gt;HP Museum Trig Benchmark&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2b77356d1ed6b6f8549872b9c4a844bc_2&quot;&gt;pseudo code &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2b77356d1ed6b6f8549872b9c4a844bc_2&quot;&gt;&lt;pre class=&quot;code&quot;&gt;LBL &amp;lt;whatever&amp;gt;
56.26
STO 0
0
STO 2
&amp;lt;loop&amp;gt;
RCL 0
SIN
ASIN
COS
ACOS
TAN
ATAN
LN
e^x
1
STO + 2
GTO &amp;lt;loop&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;HP Museum Trig Benchmark&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;hp_museum_trig_benchmark&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;685-865&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;overall_results&quot;&gt;Overall Results&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;strong&gt; sorted by Maths Benchmark&lt;/strong&gt;
&lt;/p&gt;
&lt;div class=&quot;table sectionedit6&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Date&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Calculator&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Serial No&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Firmware&lt;/th&gt;&lt;th class=&quot;col4&quot;&gt;Maths Result&lt;/th&gt;&lt;th class=&quot;col5&quot;&gt; Maths % &lt;sup&gt;&lt;a href=&quot;#fn__1&quot; id=&quot;fnt__1&quot; class=&quot;fn_top&quot;&gt;1)&lt;/a&gt;&lt;/sup&gt;&lt;/th&gt;&lt;th class=&quot;col6&quot;&gt;Trig Result&lt;/th&gt;&lt;th class=&quot;col7&quot;&gt;Trig %&lt;sup&gt;&lt;a href=&quot;#fn__2&quot; id=&quot;fnt__2&quot; class=&quot;fn_top&quot;&gt;2)&lt;/a&gt;&lt;/sup&gt;&lt;/th&gt;&lt;th class=&quot;col8&quot;&gt;Comment&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 12/01/26&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM15L * &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 21350 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:lf15c_250408.hex&quot; class=&quot;media mediafile mf_hex&quot; title=&quot;public:calculator:info:lf15c_250408.hex (175.8 KB)&quot;&gt;lf15c_250408.hex&lt;/a&gt;&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;99,869 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 14,708% &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 17,306 &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; 43,265% &lt;/td&gt;&lt;td class=&quot;col8 leftalign&quot;&gt; 3rd Party Firmware  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 21/09/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM15L * &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 21350 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:guides:lf15c_beta240920.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:guides:lf15c_beta240920.zip (66.8 KB)&quot;&gt;lf15c_beta240920.zip&lt;/a&gt;&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 68,791 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 10,131% &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 14,159 &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; 35,397% &lt;/td&gt;&lt;td class=&quot;col8 leftalign&quot;&gt; 3rd Party Firmware   &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; 20/07/23  &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; DM32  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 00812 &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt; 2.03  &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt; 46,265  &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt; 6,813%   &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 12,224 &lt;/td&gt;&lt;td class=&quot;col7 leftalign&quot;&gt; 30,560%    &lt;/td&gt;&lt;td class=&quot;col8 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;26/05/22   &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;DM42    &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;06434  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 3.21&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;24,701 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt;3,637% &lt;/td&gt;&lt;td class=&quot;col6 leftalign&quot;&gt;3,741  &lt;/td&gt;&lt;td class=&quot;col7 leftalign&quot;&gt;9,352.5%  &lt;/td&gt;&lt;td class=&quot;col8 leftalign&quot;&gt;    &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;09/05/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;DM42 * &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 06434&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; C47 00.109.01.03a2 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 4,976 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 732.8% &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 210 &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; 525.0% &lt;/td&gt;&lt;td class=&quot;col8&quot;&gt; 3rd Party Firmware &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 02/08/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM41X &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;01266 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;2.2&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;3,273 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 482% &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 627 &lt;/td&gt;&lt;td class=&quot;col7 leftalign&quot;&gt; 1,690%  &lt;/td&gt;&lt;td class=&quot;col8&quot;&gt; FAST/USB power&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 17/09/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM15L * &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 21350 &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:guides:lf15c_beta240916_2.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:guides:lf15c_beta240916_2.zip (67.5 KB)&quot;&gt;lf15c_beta240916_2.zip&lt;/a&gt;  &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;1,346 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 198% &lt;/td&gt;&lt;td class=&quot;col6 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; &lt;/td&gt;&lt;td class=&quot;col8 leftalign&quot;&gt; 3rd Party Firmware  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;26/05/22   &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;DM41X    &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;01266 &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt; 2.1  &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;1,117 &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt;164%  &lt;/td&gt;&lt;td class=&quot;col6 leftalign&quot;&gt;228  &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt;570% &lt;/td&gt;&lt;td class=&quot;col8 leftalign&quot;&gt;FAST mode   &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 02/08/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM41X &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 01266 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 2.2 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;1,038 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 152% &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 206 &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; 515% &lt;/td&gt;&lt;td class=&quot;col8&quot;&gt; FAST &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row10&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 14/01/26 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM41X &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 01266 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 2.3 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;900 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 132% &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 177 &lt;/td&gt;&lt;td class=&quot;col7 leftalign&quot;&gt; 442%  &lt;/td&gt;&lt;td class=&quot;col8&quot;&gt; FAST &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row11&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;23/01/26 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM15L &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 21350 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; DM15_M1B_34 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;790 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 116% &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 199 &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; 497% &lt;/td&gt;&lt;td class=&quot;col8&quot;&gt; 48MHz &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row12&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;26/05/22    &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;DM15L &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;21350 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;DM15_M1B_32 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;676 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt;99% &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 185 &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; 462.5% &lt;/td&gt;&lt;td class=&quot;col8&quot;&gt;48MHz&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row13&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;26/05/22    &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;HP35S    &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;PHA9150KFF&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; n/a&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;292  &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt;43% &lt;/td&gt;&lt;td class=&quot;col6 leftalign&quot;&gt;113  &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt;282.5% &lt;/td&gt;&lt;td class=&quot;col8&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row14&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;23/12/25 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM41L &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 05121 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; DM41_34 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 261 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 38% &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt;140 &lt;/td&gt;&lt;td class=&quot;col7 leftalign&quot;&gt; 350%  &lt;/td&gt;&lt;td class=&quot;col8&quot;&gt; 48MHz &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row15&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;26/08/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM41L &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 05121 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;DM41_32 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;154 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 22% &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 108 &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; 270% &lt;/td&gt;&lt;td class=&quot;col8&quot;&gt; 48MHz &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row16&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;26/05/22    &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;DM15L &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;21350 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;DM15_M1B_32 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;150 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt;22% &lt;/td&gt;&lt;td class=&quot;col6 leftalign&quot;&gt;41  &lt;/td&gt;&lt;td class=&quot;col7 leftalign&quot;&gt;102.5%  &lt;/td&gt;&lt;td class=&quot;col8&quot;&gt;12MHz&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row17&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;26/08/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM41L &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 05121&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; DM41_32 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 96 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 14% &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 40 &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; 100% &lt;/td&gt;&lt;td class=&quot;col8&quot;&gt; 12MHz &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row18&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;26/05/22   &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;DM41X    &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;01266 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;2.1&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;93  &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt;13%  &lt;/td&gt;&lt;td class=&quot;col6 leftalign&quot;&gt;18  &lt;/td&gt;&lt;td class=&quot;col7 leftalign&quot;&gt;45%  &lt;/td&gt;&lt;td class=&quot;col8 leftalign&quot;&gt;SLOW mode (original HP41 Speed)  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row19&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;02/08/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;DM41X &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 01266 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;2.2&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 93 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 13% &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 18 &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; 45% &lt;/td&gt;&lt;td class=&quot;col8 leftalign&quot;&gt; SLOW  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row20&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;28/07/22 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;HP11C  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 2219AO3710 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; n/a&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;37 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt;5.45%&lt;/td&gt;&lt;td class=&quot;col6&quot;&gt;9 &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt;22.5%&lt;/td&gt;&lt;td class=&quot;col8 leftalign&quot;&gt;   &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;925-2736&amp;quot;} --&gt;&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Reference is HP9100 : Maths Score = 679, Trig Score = 40&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Overall Results&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;overall_results&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;866-2799&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;code&quot;&gt;Code&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
State Files for DM32 
&lt;/p&gt;

&lt;p&gt;
Maths : hpbmm : &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:benchmarking:hpbmm.d32&quot; class=&quot;media mediafile mf_d32&quot; title=&quot;public:calculator:benchmarking:hpbmm.d32 (885 B)&quot;&gt;hpbmm.d32&lt;/a&gt; : Run as &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;A&lt;/kbd&gt; : Get result from &lt;kbd class=&quot;__keyboard&quot;&gt;RCL&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;C&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
Trig : hpbmt : &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:benchmarking:hpbmt.d32&quot; class=&quot;media mediafile mf_d32&quot; title=&quot;public:calculator:benchmarking:hpbmt.d32 (839 B)&quot;&gt;hpbmt.d32&lt;/a&gt; : Run as &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;A&lt;/kbd&gt; : Get result from &lt;kbd class=&quot;__keyboard&quot;&gt;RCL&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;C&lt;/kbd&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2b77356d1ed6b6f8549872b9c4a844bc_3&quot;&gt;Maths Benchmark Listing for DM42 &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2b77356d1ed6b6f8549872b9c4a844bc_3&quot;&gt;&lt;pre class=&quot;code&quot;&gt;LBL &amp;quot;BM&amp;quot;
0
STO 02
1.01234E6 
STO 00
2.345
STO 01
LBL 02
RCL 01
RCL 00
x
RCL 01
-
RCL 00
÷
RCL 01
x
3.5
÷
SQRT
1
STO+ 02
GTO 02
END&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
Raw File : Maths Benchmark (bm) file for DM41X &amp;amp; DM42 &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:progs:bm.raw&quot; class=&quot;media mediafile mf_raw&quot; title=&quot;public:calculator:progs:bm.raw (48 B)&quot;&gt;bm.raw&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Raw File : Trig Benchmark (bmt) file for DM41X &amp;amp; DM42 &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:progs:bmt.raw&quot; class=&quot;media mediafile mf_raw&quot; title=&quot;public:calculator:progs:bmt.raw (35 B)&quot;&gt;bmt.raw&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2b77356d1ed6b6f8549872b9c4a844bc_4&quot;&gt;Maths Benchmark Listing for DM41X &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2b77356d1ed6b6f8549872b9c4a844bc_4&quot;&gt;&lt;pre class=&quot;code&quot;&gt;LBL ¬BM
0
STO 02
1.01234 E6
STO 00
2.345
STO 01
LBL 02
RCL 01
RCL 00
*
RCL 01
-
RCL 00
/
RCL 01
*
3.5
/
SQRT
1
ST+ 02
GTO 02
END
&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2b77356d1ed6b6f8549872b9c4a844bc_5&quot;&gt;Maths Benchmark Listing for HP35S &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2b77356d1ed6b6f8549872b9c4a844bc_5&quot;&gt;&lt;pre class=&quot;code&quot;&gt;LBL X
0
STO C
1.01234E6
STO A
2.345
STO B
RCL B  &amp;lt;-- loop in
RCL A
x
RCL B
-
RCL A
÷
RCL B
x
3.5
÷
√x
1
STO+ C
GTO X008  --&amp;gt; loop in
&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2b77356d1ed6b6f8549872b9c4a844bc_6&quot;&gt;Maths Benchmark Listing for DM15L / HP15C &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2b77356d1ed6b6f8549872b9c4a844bc_6&quot;&gt;&lt;pre class=&quot;code&quot;&gt;42,21,15
0
42 2
1
48
0
1
2
3
4
26
6
44 0
2
48
3
4
5
44 1
42,21,2
45 1
45 0
20
45 1
30
45 0
10
45 1
20
3
48
5
10
11
1
44,40, 2
22 2
43 32&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;LBL E
0
STO 2
1
.
0
1
2
3
4
EEX
6 
STO 0
2
.
3
4
5
STO 1
LBL 2
RCL 1
RCL 0
x
RCL 1
-
RCL 0
÷
RCL 1
x
3
.
5
÷
√x
1
STO + 2
GTO 2
RTN&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2b77356d1ed6b6f8549872b9c4a844bc_7&quot;&gt;Maths Benchmark Listing for DM32 &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2b77356d1ed6b6f8549872b9c4a844bc_7&quot;&gt;&lt;pre class=&quot;code&quot;&gt;LBL A
0
STO C
1.01234 E 6
STO A
2.345
STO B
LBL B
RCL B
RCL A
X
RCL B
-
RCL A
/
RCL B
X
3.5
/
SQRT
1
STO+ C
GTO B
RTN&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2b77356d1ed6b6f8549872b9c4a844bc_8&quot;&gt;DM15L Memory Dump : Maths Benchmark = LBL A, Trig Benchmark = LBL B &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2b77356d1ed6b6f8549872b9c4a844bc_8&quot;&gt;&lt;pre class=&quot;code&quot;&gt;DM15_M1B
00  05626000000001  01000000000000  01000000000000  00000000000000
04  04975000fff000  00000000000008  0000000000000c  00999999999eae
08  00000000000000  2a2f87beda1280  00000000bcaf80  00000000000000
10  05626000000001  02345000000000  00000000000000  04000000000001
14  f0000000000402  1b4c4c4c4c4c4c  000000000007f7  000000000007fe
18  00000000000000  0000000000007f  00000000a00000  01990000000002
1c  01387265622000  01579783596001  05000000000000  03000000000000
20  00000000000000  00000000000000  04000000000000  08000000000000
24  02100000000001  00000000000000  00000000000000  00000000000000
f4  00000000000000  00000000000000  00000000000000  b21282dff1cafd
f8  f5c0f3fc31fd30  fb31fc30310241  f5f4f3c0f240f6  c6f4f3f2f1f0c0
fc  f142f00ab21382  dff1cbbbb9c9b8  c8b7c7300342f0  40f6f2c0f6f50b
A: 04975000fff000  B: 04975000fffeae  C: 00999999999eae
S: 00000000000000
M: 04000000000000  N: 04975000000000  G: 06
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Code&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;code&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;2800-5493&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit8&quot; id=&quot;the_savage_benchmark&quot;&gt;The SAVAGE benchmark&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
From &lt;strong&gt;HPCC&lt;/strong&gt; Datafile  V37N1 pp38-42
&lt;/p&gt;

&lt;p&gt;
Raw File : Savage Benchmark (svg) for DM41X &amp;amp; DM42 &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:progs:svg.raw&quot; class=&quot;media mediafile mf_raw&quot; title=&quot;public:calculator:progs:svg.raw (50 B)&quot;&gt;svg.raw&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
State File : savage for DM32 &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:benchmarking:savage.d32&quot; class=&quot;media mediafile mf_d32&quot; title=&quot;public:calculator:benchmarking:savage.d32 (369 B)&quot;&gt;savage.d32&lt;/a&gt; : &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;S&lt;/kbd&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2b77356d1ed6b6f8549872b9c4a844bc_9&quot;&gt;Listing for self-timed version &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2b77356d1ed6b6f8549872b9c4a844bc_9&quot;&gt;&lt;pre class=&quot;code&quot;&gt;LBL &amp;quot;SVG&amp;quot;
&amp;quot;SAVAGE&amp;quot;
AVIEW
RAD
2499
STO 00
1
ENTER
ENTER
ENTER
STO 01
TIME
X&amp;lt;&amp;gt; 01
LBL 01
X^2
SQRT
LN
E^X
ATAN
TAN
+
DSE 00 
GTO 01
TIME
RCL 01
HMS-
HR
3600
*
END&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2b77356d1ed6b6f8549872b9c4a844bc_10&quot;&gt;Listing for the simple (manual timed) version &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2b77356d1ed6b6f8549872b9c4a844bc_10&quot;&gt;
&lt;p&gt;
No time calculation, it needs a stopwatch to measure the time… for calculators without TIME functions
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;LBL A
RAD
2499
STO A (for HP11C &amp;quot;STO I&amp;quot;, for DM15L &amp;quot;STO 0&amp;quot;)
1
ENTER
ENTER
ENTER
LBL B
X^2
SQRT
LN
E^X
ATAN
TAN
+
DSE A  (for HP11C &amp;quot;DSE&amp;quot;, for DM15L &amp;quot;DSE 0&amp;quot; )
GTO B
RTN&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2b77356d1ed6b6f8549872b9c4a844bc_11&quot;&gt;DM15L Memory Dump &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2b77356d1ed6b6f8549872b9c4a844bc_11&quot;&gt;&lt;pre class=&quot;code&quot;&gt;DM15_M1B
00  01000000000000  01000000000000  01000000000000  00000000000000
04  32499970322000  00000000000008  0000000000000c  40997997010eae
08  00000000000000  3ebeefb6e4228f  e79282e8bc2ac0  00000000000000
10  00000000000000  08000000000000  06000000000000  02498970322003
14  f0000000000504  1b2d2d2d2d2d2d  000000000001fc  00000000000000
18  00000000000000  0000000000007f  00000000a00000  06000000000000
1c  04000000000000  07000000000000  05000000000000  03000000000000
20  00000000000000  00000000000000  04000000000000  08000000000000
24  02100000000001  00000000000000  00000000000000  00000000000000
fc  000000000000b2  1b82fac9b9cbbb  caba0bc1c1c1f1  40f9f9f4f2e80a
A: 32499970322000  B: 32499970322eae  C: 40997997010eae
S: 00000000000000
M: 00000000000000  N: 02499970322003  G: 09
&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2b77356d1ed6b6f8549872b9c4a844bc_12&quot;&gt;LF15C Memory Dump &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2b77356d1ed6b6f8549872b9c4a844bc_12&quot;&gt;
&lt;p&gt;

43 100 112 30 27 36 36 13 0 26 22 22 22 43 101 84 4 88 8 99 19 37 71 0 7 101 58 86 0

&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;The SAVAGE benchmark&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;the_savage_benchmark&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:9,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;5494-7313&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit9&quot; id=&quot;results&quot;&gt;Results&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
On Battery:
&lt;/p&gt;
&lt;div class=&quot;table sectionedit10&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt; Calculator &lt;/th&gt;&lt;th class=&quot;col1&quot;&gt; Firmware &lt;/th&gt;&lt;th class=&quot;col2&quot;&gt; Seconds &lt;/th&gt;&lt;th class=&quot;col3&quot;&gt; Mins/seconds &lt;/th&gt;&lt;th class=&quot;col4&quot;&gt; Comment &lt;/th&gt;&lt;th class=&quot;col5&quot;&gt; Displayed Result &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;DM15L * &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15c_beta250217b &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 3.862 seconds &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 0 mins 3.862 sec &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; Timed by internal function “runTime” &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 2500.00000000118 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;DM15L * &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15c_beta250215 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 3.969 seconds &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 0 mins 3.969 sec &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; Timed by internal function “runTime” &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 2500.00000000118 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; DM15l * &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C_250408 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 4.008 seconds &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 0 mins 4.008 sec &lt;/td&gt;&lt;td class=&quot;col4 rightalign&quot;&gt;  Timed by internal function “runTime” &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 2500.00000000118 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; DM15L * &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15c_beta241006 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 5.9510 seconds &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 0 mins 5.951 sec &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; Timed by internal function “runTime” &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 2500.00000000118 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; DM15L * &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; LF15C_beta240928 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 6.3 seconds &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 0 min 6.3 sec &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; manually timed &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 2500.00000000118 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; DM32  &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 2.03 &amp;amp; 2.06 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 6.3 seconds &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 0 min 6.3 sec &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 2500.00000000 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; DM42  &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 3.22 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;14.9 seconds &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 0 min 14.9 sec &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 2500.00000000 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; DM41X &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 2.3 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 143.69 seconds &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;2 min 26.69 sec &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; FAST mode / USB Power &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 2499.970322 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; DM41X &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 2.1 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 207.03 seconds &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;3 min 27.03 sec &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; FAST mode &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 2499.970322 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row10&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; DM41X &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 2.2 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 244.2 seconds&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 4 min 4.25 sec &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; FAST mode&lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 2499.970322 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row11&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; DM15L &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM15_M1B_34 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 247.3 seconds &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 4 min 34.3 sec &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 48MHz &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 2499.970322 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row12&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; DM41X &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 2.3 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 284.15 seconds &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 4 min 44.15 sec &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; FAST Mode &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 2499.970322 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row13&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; DM15L &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM15_32 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 288 seconds &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 4 min 48 sec&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 48MHz &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 2499.970322 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row14&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; DM41L &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM41_34 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 513.73 seconds &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 8 min 33 sec &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 48MHZ &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 2499.970322 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row15&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; DM41L &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM41_32 &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; 758.67 seconds  &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt; 12 min 38.67 sec  &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 48MHz &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt; 2499.970322  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row16&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; HP35S &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; n/a &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;877 seconds &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 14 min 37 sec &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 2499.99939863 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row17&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; DM41L &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM41_34 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 1285.93 seconds &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 21 min 25.93 seconds &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 12MHz &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 2499.970322 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row18&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; DM41X &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 2.1 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;2652.37 seconds &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 44 min 12.37 sec &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;SLOW mode &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt; 2499.970322  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row19&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; HP11C &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;5160 seconds   &lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  1 hour 26 min 0 sec   &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;     &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt; 2499.970322  &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table1&amp;quot;,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;7346-9074&amp;quot;} --&gt;
&lt;p&gt;
On USB Power : 
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; DM41X : 58.1 seconds (FAST mode) (F/W/ Version ?)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; DM42  : 5.56 seconds&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Results&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;results&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:12,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;7314-9176&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit11&quot; id=&quot;n-queens&quot;&gt;N-Queens&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.hpmuseum.org/cgi-bin/articles.cgi?read=700&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/cgi-bin/articles.cgi?read=700&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.hpmuseum.org/cgi-bin/articles.cgi?read=700&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Raw File : N-Queens file (nqu) for DM41X &amp;amp; DM42 &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:progs:nqu.raw&quot; class=&quot;media mediafile mf_raw&quot; title=&quot;public:calculator:progs:nqu.raw (81 B)&quot;&gt;nqu.raw&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
State File : nqu for DM32 &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:benchmarking:nqu.d32&quot; class=&quot;media mediafile mf_d32&quot; title=&quot;public:calculator:benchmarking:nqu.d32 (738 B)&quot;&gt;nqu.d32&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2b77356d1ed6b6f8549872b9c4a844bc_13&quot;&gt;Listing for HP41/DM41X/DM41L/HP42/DM42 &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2b77356d1ed6b6f8549872b9c4a844bc_13&quot;&gt;&lt;pre class=&quot;code&quot;&gt;
// for HP41 / HP 42  ... DM41X, DM41L, DM42
// shows run-time on completion

LBL &amp;quot;NQU&amp;quot;   
CLRG
TIME
STO 20
8 
STO 11
LBL 00  
RCL 00 
RCL 11
X=Y? 
GTO 04
ISG 00 
DEG
STO IND 00
LBL 01 
ISG 10 
DEG
RCL 00 
STO 09
LBL 02  
DSE 09 
DEG
RCL 09 
X=0? 
GTO 00
RCL IND 00 
RCL IND 09 
-
X=0? 
GTO 03
ABS 
RCL 00 
RCL 09 
-
X&amp;lt;&amp;gt;Y? 
GTO 02
LBL 03  
DSE IND 00 
GTO 01
DSE 00 
GTO 03
LBL 04 
RCL 10
TIME 
RCL 20
HMS-
HR
3600
*
RTN
&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2b77356d1ed6b6f8549872b9c4a844bc_14&quot;&gt;Listing for DM15L with LF15C firmware &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2b77356d1ed6b6f8549872b9c4a844bc_14&quot;&gt;&lt;pre class=&quot;code&quot;&gt;LBL 88
CLEAR REG
8
STO 10
LBL 80
RCL 0
RCL 10
X=Y?
GTO 84
1
STO+ 0
RCL 0
STO I
RCL 10
STO (i)
LBL 81
1
STO+ 11
RCL 0
STO 9
LBL 82
1
STO- 9
RCL 9
X=0?
GTO 80
RCL 0
STO I
RCL (i)
RCL 9
STO I
RDN
RCL (i)
-
X=0?
GTO 83
ABS
RCL 0
RCL 9
-
X&amp;lt;&amp;gt;Y?
GTO 82
LBL 83
RCL 0
STO I
1
STO- (i)
RCL (i)
X&amp;lt;&amp;gt;0?
GTO 81
1
STO- 0
RCL 0
X&amp;lt;&amp;gt;0?
GTO 83
LBL 84
RCL 11
runTime
RTN
&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2b77356d1ed6b6f8549872b9c4a844bc_15&quot;&gt;LF15C Memory Dump &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2b77356d1ed6b6f8549872b9c4a844bc_15&quot;&gt;
&lt;p&gt;
Runs via &lt;code&gt;f LBL 88&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;

43 88 54 32 13 10 43 80 17 0 17 10 118 6 7 84 26 121 0 17 0 13 254 17 10 13 255 43 81 26 121 11 17 0 13 9 43 82 26 122 9 17 9 118 12 7 80 17 0 13 254 17 255 17 9 13 254 10 17 255 38 118 12 7 83 104 17 0 17 9 38 118 7 7 82 43 83 17 0 13 254 26 122 255 17 255 118 1 7 81 26 122 0 17 0 118 1 7 83 43 84 17 11 58 86 0 

&lt;/p&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2b77356d1ed6b6f8549872b9c4a844bc_16&quot;&gt;Listing for DM15L / HP15C &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2b77356d1ed6b6f8549872b9c4a844bc_16&quot;&gt;&lt;pre class=&quot;code&quot;&gt;LBL A
CLR_REG
8
STO .0
LBL 0
RCL 0
RCL .0
TEST 5
GTO 4
1
STO+0
RCL 0
STO I
RCL .0
STO (i)
LBL 1
1
STO+.1
RCL 0
STO 9
LBL 2
1
STO-9
RCL 9
x=0
GTO 0
RCL 0
STO I
RCL (i)
RCL 9
STO I
R_down
RCL (i)
-
x=0
GTO 3
ABS
RCL 0
RCL 9
-
TEST 6
GTO 2
LBL 3
RCL 0
STO I
1
STO-(i)
RCL (i)
TEST 0
GTO 1
1
STO-0
RCL 0
TEST 0
GTO 3
LBL 4
RCL .1
RTN
&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2b77356d1ed6b6f8549872b9c4a844bc_17&quot;&gt;DM15L Memory Dump &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2b77356d1ed6b6f8549872b9c4a844bc_17&quot;&gt;&lt;pre class=&quot;code&quot;&gt;DM15_M1B
00  08000000000000  08000000000000  00000000000000  00000000000000
04  065140fffff000  00000000000008  0000000000000c  00000000999eae
08  00000000000000  22af8d9e7e0080  00000000000000  00000000000000
10  08000000000000  08000000000000  01000000000000  01000000000000
14  f0000000000537  1b2d2d2d2d2d2d  000000000007f7  00000000000000
18  00000000000000  0000000000007f  00000000a00000  04000000000000
1c  01000000000000  03000000000000  06000000000000  02000000000000
20  07000000000000  05000000000000  00000000000000  08000000000000
24  08760000000002  00000000000000  00000000000000  00000000000000
f4  00000000000000  00000000000000  00000000000000  b25104137030a0
f8  dff1117086bddf  f19730031276fb  3930b313ecfb86  c4973986973010
fc  ec39a9dff10249  3091dff1019650  973080dff11475  50300060f8a50a
A: 065140fffff000  B: 065140fffffeae  C: 00000000999eae
S: 00000000000000
M: aaaaaaaaaaaaaa  N: 06514000000000  G: 04
&lt;/pre&gt;
&lt;/div&gt;&lt;div class=&quot;table sectionedit12&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Date&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Calculator&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Serial No.&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Firmware&lt;/th&gt;&lt;th class=&quot;col4&quot;&gt;Seconds&lt;/th&gt;&lt;th class=&quot;col5&quot;&gt;Mins : Secs&lt;/th&gt;&lt;th class=&quot;col6&quot;&gt;Comment&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;12/01/26&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM15L* &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;21350 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; LF15C_250408 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 0.992 seconds &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 0:0.992 &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; Self-timed with runTime function &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;14/04/26&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM32 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 00812 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 2.11 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 3.02 seconds &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 0:03.02 &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; Manual Timed. Battery &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;14/04/26&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM32 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 00812 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 2.11 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 1.3 seconds &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 0:01.30 &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; Manual Timed. USB Power &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;28/01/26&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; DM42  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 06434 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 3.23 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 7.30 seconds &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 0:07.30 &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; Battery &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;14/01/26&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM41X &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 01266 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 2.3 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 49.55 seconds &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 0:49.55 &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; FAST mode / USB Power &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;10/01/26&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM41X &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 01266 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 2.3 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 101.29 seconds &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt;1:41.29 &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; FAST mode / battery &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;23/01/26&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM15L &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 21350 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; DM15_M1B_34 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 202.16 seconds &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 3:22.16 &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 48MHz, manually timed &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;10/01/26&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM41L &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 05121 &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt; DM41_34  &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt; 509.19 seconds  &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt; 8:29.19   &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt;48MHz &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;11/01/26&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM41L &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 05121 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; DM41_34 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 870.58 seconds &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt; 14:30.58  &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 12MHz &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row10&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;10/01/26&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM41X &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 01266 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 2.3 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 1008.60 seconds &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt; 16:48.60  &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; SLOW mode / battery &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table2&amp;quot;,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;12085-12977&amp;quot;} --&gt;
&lt;p&gt;
* Running 3rd party firmware &lt;a href=&quot;https://www.hpmuseum.org/forum/thread-20046.html&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.hpmuseum.org/forum/thread-20046.html&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.hpmuseum.org/forum/thread-20046.html&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;N-Queens&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;n-queens&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:12,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;9177-13065&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit13&quot; id=&quot;tony_s_benchmark&quot;&gt;Tony&amp;#039;s Benchmark&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
From &lt;a href=&quot;http://www.thimet.de/CalcCollection/CalcPerformance.html&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://www.thimet.de/CalcCollection/CalcPerformance.html&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://www.thimet.de/CalcCollection/CalcPerformance.html&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Tony&amp;#039;s Benchmark&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tony_s_benchmark&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:16,&amp;quot;secid&amp;quot;:13,&amp;quot;range&amp;quot;:&amp;quot;13066-13162&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit14&quot; id=&quot;code1&quot;&gt;Code&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_2b77356d1ed6b6f8549872b9c4a844bc_18&quot;&gt;Listing for the benchmark &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_2b77356d1ed6b6f8549872b9c4a844bc_18&quot;&gt;&lt;pre class=&quot;code&quot;&gt;LBL A  (For DM41X and DM42 : LBL &amp;quot;AA&amp;quot;)
10
STO A  (For DM41X and DM42 : STO 00 )
LBL B
1
+
4.567E-4
-
70
+
69
-
7
x
11
/
RCL A (RCL 00)
1
-
STO A (STO 00)
X≠0?
GTO B
R↓
LOG
SIN
SQRT
SQRT
RTN


LBL C  (For DM41X and DM42 : LBL &amp;quot;TBM&amp;quot;)
XEQ A  (XEQ &amp;quot;AA&amp;quot;)
RCL C  (RCL 03)
1
-
STO C (STO 03)
X≠0?
GTO C (GTO &amp;quot;TBM&amp;quot;)
RTN&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
For multiple loops store a Loop Count in C (or in Register 03) 
&lt;/p&gt;

&lt;p&gt;
(&lt;code&gt;1000 STO C&lt;/code&gt;) and then &lt;code&gt;XEQ C&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
For single loop (slow calculator) simply &lt;code&gt;XEQ A&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Result is the time to complete the loop(s) and deliver the answer &lt;code&gt;0.264577&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Performance Index is calculated as 
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;Loops x 34 / Time&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
For 1000 loops in 13 seconds:
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt; 1000 x 34 / 13 = 2615.38 &lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Code&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;code1&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:16,&amp;quot;secid&amp;quot;:14,&amp;quot;range&amp;quot;:&amp;quot;13163-13909&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit15&quot; id=&quot;results1&quot;&gt;Results&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;table sectionedit16&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Date&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Calculator&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Serial No&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Loops&lt;/th&gt;&lt;th class=&quot;col4&quot;&gt;Time&lt;/th&gt;&lt;th class=&quot;col5&quot;&gt;Performance Index&lt;/th&gt;&lt;th class=&quot;col6&quot;&gt;Comments&lt;/th&gt;&lt;th class=&quot;col7&quot;&gt;Result&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;22/11/23&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM42 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 06434 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 1000 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 8 sec &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 4250 &lt;/td&gt;&lt;td class=&quot;col6 leftalign&quot;&gt; USB Power    &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;22/11/23&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM32 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 00812 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 1000 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 13 sec &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 2615 &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; f/w : 2.06 &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt;0.26457749818 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;22/11/23&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM42 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 06434 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 1000 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 21 sec &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 1619 &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; Battery Power &lt;/td&gt;&lt;td class=&quot;col7 leftalign&quot;&gt; 0.26457749818  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;21/09/24&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM15L * &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 21350 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 1000 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 42.8 sec &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 794 &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 3rd Party Firmware : LF15C_beta240921 &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; 0.26457749817596 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;21/09/24&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM15L * &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 21350 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 100 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 4.5 sec &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 756 &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 3rd Party Firmware : LF15C_beta240921 &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; 0.26457749817596 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;22/11/23&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM41X&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 01266 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 20 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 6 sec &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 113 &lt;/td&gt;&lt;td class=&quot;col6 leftalign&quot;&gt; FAST mode / USB  &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;09/05/24&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM42 * &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 06434 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 30 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 9.6 sec &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 106 &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 3rd Party Firmware : C47 00.109.01.03a2 &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;22/11/23&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM15L &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 21350 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 10 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 12 sec &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 28 &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 48MHz &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; 0.264577498 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;22/11/23&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM41X&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 01266 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 10 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 10 sec &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 24 &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; FAST mode / Battery &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; 0.264577498 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row10&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;22/11/23&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; HP35S &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; PHA9150KFF &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 5 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 25 sec &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 6.8 &lt;/td&gt;&lt;td class=&quot;col6 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row11&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;22/11/23&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM15L &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 21350 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 10 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 54 sec &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 6.3 &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; 12MHz &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; 0.264577498&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row12&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;22/11/23&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; DM41X&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 01266 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 10 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 118 sec &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 2.8 &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; SLOW mode/ Battery&lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row13&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;22/11/23&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; HP11C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 2219A03710 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 1 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 21 sec &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; 1.6 &lt;/td&gt;&lt;td class=&quot;col6 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table3&amp;quot;,&amp;quot;secid&amp;quot;:16,&amp;quot;range&amp;quot;:&amp;quot;13929-15002&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Results&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;results1&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:17,&amp;quot;secid&amp;quot;:15,&amp;quot;range&amp;quot;:&amp;quot;13910-15005&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit17&quot; id=&quot;fingerprinting&quot;&gt;Fingerprinting&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Each calculator handles the calculation of functions (SIN, COS etc) differently - different algorithms, different degrees of precision etc.
&lt;/p&gt;

&lt;p&gt;
One way of spotting similar underlying hard/firmware is to carry out a fixed chained calculation on each calculator and to observe the result.
&lt;/p&gt;

&lt;p&gt;
One common test is a sequence of SIN COS TAN ATAN ACOS ASIN on a relatively low starting number - such as 9
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;9&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;SIN&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;COS&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;TAN&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ATAN&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ACOS&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ASIN&lt;/kbd&gt; gives a number (hopefully) very close to the starting value of &lt;code&gt;9&lt;/code&gt; - and the variance from &lt;code&gt;9&lt;/code&gt; is a fingerprint that can be used to spot similarities between different models.
&lt;/p&gt;
&lt;div class=&quot;table sectionedit18&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Calculator&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt; Displayed Result &lt;sup&gt;&lt;a href=&quot;#fn__3&quot; id=&quot;fnt__3&quot; class=&quot;fn_top&quot;&gt;3)&lt;/a&gt;&lt;/sup&gt;&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt; Error (Result - 9) &lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Firmware &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; HP11C &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 9.000417403 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 4.17403e-4 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; DM15L &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 9.000417403 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 4.17403e-4 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; DM15_32 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; DM41X &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 9.000417403 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 4.17403e-4 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 2.1 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; DM41L &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 9.000417403 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 4.17403e-4 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; DM41_32 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; HP35S &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 8.99999986001 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; -1.3999e-7 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; DM15L * &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 8.99999999983416 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; -1.65842e-10 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 3rd party LF15C_beta240916 17/09/24 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; DM42  &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 9.00000000000 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; -6.2466e-29 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; DM42 3.22 / Free42 3.0.15 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; DM32  &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 9.00000000000 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; -6.2466e-29 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 2.06 &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table4&amp;quot;,&amp;quot;secid&amp;quot;:18,&amp;quot;range&amp;quot;:&amp;quot;15713-16221&amp;quot;} --&gt;
&lt;p&gt;
I also found a different version of the same idea at &lt;a href=&quot;https://tangentsoft.com/rpn/wiki?name=Ballpark+Accuracy#results&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://tangentsoft.com/rpn/wiki?name=Ballpark+Accuracy#results&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://tangentsoft.com/rpn/wiki?name=Ballpark+Accuracy#results&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Instead of &lt;strong&gt;subtracting 9&lt;/strong&gt; from the result this test &lt;strong&gt;divides the result by 9&lt;/strong&gt; and then finds the &lt;strong&gt;LOG&lt;sub&gt;10&lt;/sub&gt;&lt;/strong&gt; of this fractional error
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;9&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;SIN&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;COS&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;TAN&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ATAN&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ACOS&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ASIN&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;9&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;/&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;LOG&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
Here are some of these results 
&lt;/p&gt;
&lt;div class=&quot;table sectionedit19&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Calculator&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Displayed Result&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Error=(Result / 9)&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Log&lt;sub&gt;10&lt;/sub&gt;(Error)&lt;/th&gt;&lt;th class=&quot;col4&quot;&gt;Comments&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;DM41X&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;9.000417403&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;1.000046378&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;2.0141242e&lt;strong&gt;-05&lt;/strong&gt;&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; f/w 2.3 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;DM41L&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;9.000417403&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;1.000046378&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;2.0141242e&lt;strong&gt;-05&lt;/strong&gt;&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; f/w DM41_34 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;DM15L*&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;8.99999999983416&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;0.999999999981573&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;-8.0027125631e&lt;strong&gt;-12&lt;/strong&gt;&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;3rd Party F/W LF15C_250408 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;DM42&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;9.00000000000&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;1.00000000000&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;3.01430771055e&lt;strong&gt;-30&lt;/strong&gt;&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;DM42 3.26 / Free42 3.3.10 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;DM32&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;9.00000000000&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;1.00000000000&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;3.01430771055e&lt;strong&gt;-30&lt;/strong&gt;&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;DM32 2.11 &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table5&amp;quot;,&amp;quot;secid&amp;quot;:19,&amp;quot;range&amp;quot;:&amp;quot;16675-17126&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Fingerprinting&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;fingerprinting&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:17,&amp;quot;secid&amp;quot;:17,&amp;quot;range&amp;quot;:&amp;quot;15006-17127&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit20&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Page created Thu May 26 07:58:36 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 14/04/26 14:35 BST
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:17,&amp;quot;secid&amp;quot;:20,&amp;quot;range&amp;quot;:&amp;quot;17128-17245&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit21&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:calculator&amp;amp;do=showtag&amp;amp;tag=calculator&quot; class=&quot;wikilink1&quot; title=&quot;tag:calculator&quot; rel=&quot;tag&quot;&gt;calculator&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:17,&amp;quot;secid&amp;quot;:21,&amp;quot;range&amp;quot;:&amp;quot;17246-&amp;quot;} --&gt;&lt;div class=&quot;footnotes&quot;&gt;
&lt;div class=&quot;fn&quot;&gt;&lt;sup&gt;&lt;a href=&quot;#fnt__1&quot; id=&quot;fn__1&quot; class=&quot;fn_bot&quot;&gt;1)&lt;/a&gt;&lt;/sup&gt; 
&lt;div class=&quot;content&quot;&gt;versus HP9100 : 679&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;fn&quot;&gt;&lt;sup&gt;&lt;a href=&quot;#fnt__2&quot; id=&quot;fn__2&quot; class=&quot;fn_bot&quot;&gt;2)&lt;/a&gt;&lt;/sup&gt; 
&lt;div class=&quot;content&quot;&gt;versus HP9100 : 40&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;fn&quot;&gt;&lt;sup&gt;&lt;a href=&quot;#fnt__3&quot; id=&quot;fn__3&quot; class=&quot;fn_bot&quot;&gt;3)&lt;/a&gt;&lt;/sup&gt; 
&lt;div class=&quot;content&quot;&gt;at max. display resolution&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 14 Apr 2026 13:35:47 +0000</pubDate>
        </item>
        <item>
            <title>DM41X 41z Module</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:41z_module</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:start&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:start&quot; data-wiki-id=&quot;public:calculator:start&quot;&gt;Calculators&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;dm41x_41z_module&quot;&gt;DM41X 41z Module&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DM41X 41z Module&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dm41x_41z_module&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;13-45&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;keyboard_overlay&quot;&gt;Keyboard Overlay&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Acalculator%3Aguides%3A41z_module&amp;amp;media=public:calculator:guides:large_41z.png&quot; class=&quot;media&quot; title=&quot;public:calculator:guides:large_41z.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=6b3f4d&amp;amp;media=public:calculator:guides:large_41z.png&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Keyboard Overlay&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;keyboard_overlay&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;46-127&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;setup&quot;&gt;Setup&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; assign the &lt;em&gt;complex keyboard&lt;/em&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;code&gt;i.e. function ΣZL&lt;/code&gt; to USER menu on key &lt;kbd class=&quot;__keyboard&quot;&gt;Σ+&lt;/kbd&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ASN&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;F&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;L&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Σ+&lt;/kbd&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;F&lt;/kbd&gt; is the method of getting &lt;code&gt;Σ&lt;/code&gt; from the ALPHA keyboard (see the back of calculator)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Enter &lt;code&gt;USER&lt;/code&gt; mode with &lt;kbd class=&quot;__keyboard&quot;&gt;USR&lt;/kbd&gt; key&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; The &lt;kbd class=&quot;__keyboard&quot;&gt;Σ+&lt;/kbd&gt; now activates a &lt;em&gt;complex number&lt;/em&gt; function when it&amp;#039;s pressed - for one operation only&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Setup&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;setup&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;128-688&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;module&quot;&gt;Module&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:info:41z_bs_2x2_2_.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:calculator:info:41z_bs_2x2_2_.zip (16 KB)&quot;&gt; Fixed version Sept. 2024&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Module&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;module&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;689-786&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;user_guide&quot;&gt;User Guide&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:calculator:guides:41z_deluxe_manual_1_.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:calculator:guides:41z_deluxe_manual_1_.pdf (4.5 MB)&quot;&gt;41z_deluxe_manual_1_.pdf&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;User Guide&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;user_guide&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;787-870&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;zk_yn_update_5_8_22&quot;&gt;ZK?YN (UPDATE 5/8/22)&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_58b855adad2e04b23d13476b918efba9_2&quot;&gt;ZK?YN Info &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_58b855adad2e04b23d13476b918efba9_2&quot;&gt;
&lt;p&gt;
To simplify use it&amp;#039;s possible change the keyboard to the &lt;em&gt;complex keyboard&lt;/em&gt;, and remove the need to trigger &lt;em&gt;every&lt;/em&gt; command with &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
Enable the keyboard with &lt;code&gt;ZK?YN&lt;/code&gt; and answer &lt;code&gt;Y&lt;/code&gt;. 
&lt;/p&gt;

&lt;p&gt;
Put &lt;code&gt;ZK?YN&lt;/code&gt; on the &lt;code&gt;CST&lt;/code&gt; custom user menu for quick access!
&lt;/p&gt;

&lt;p&gt;
Now the &lt;code&gt;USER&lt;/code&gt; keyboard is re-mapped to match the overlay and things are much easier. To use &lt;code&gt;normal&lt;/code&gt; functions simply press &lt;kbd class=&quot;__keyboard&quot;&gt;USR&lt;/kbd&gt; to temporarily switch off the &lt;em&gt;complex keyboard&lt;/em&gt;. Press &lt;kbd class=&quot;__keyboard&quot;&gt;USR&lt;/kbd&gt; to switch back to &lt;em&gt;complex&lt;/em&gt; mode. To leave &lt;em&gt;complex&lt;/em&gt; mode completely and return &lt;code&gt;USER&lt;/code&gt; keyboard to normal re-run &lt;code&gt;ZK?YN&lt;/code&gt; and answer &lt;code&gt;N&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
To enter a complex number in this mode :
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;2 + 3i&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;2&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;3&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
To add &lt;code&gt;2 + 3i&lt;/code&gt; &lt;code&gt;+&lt;/code&gt; &lt;code&gt;10 - 4i&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;2&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;3&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;10&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;4&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;CHS&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;+&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
Result:
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;12 - j 1&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
The alternative “permanent Z-Keyboard” method is less cumbersome and more intuitive. 
&lt;/p&gt;

&lt;h4&gt;Some commands still require the Z prefix to access sub-functions&lt;/h4&gt;

&lt;p&gt;
 e.g. &lt;code&gt;POLAR&lt;/code&gt; mode
&lt;/p&gt;

&lt;p&gt;
Enter a complex number in rectangular mode and then switch to &lt;code&gt;POLAR&lt;/code&gt; mode
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;50&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;23&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;6&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;55.04 ∠ 24.70&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
All further entries will remain as &lt;code&gt;POLAR&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
eg a new complex number in POLAR format 
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;100 ∠ - 85&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;100&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;85&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;CHS&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
display : 
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;100 ∠ - 85&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Switch back to &lt;code&gt;RECT&lt;/code&gt; mode
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;5&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;8.72 - 99.62&lt;/code&gt;
&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;strong&gt;
 The rest of the guide was written without the use of full-time ZKEYS in mind 
&lt;/strong&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; in the  &lt;a href=&quot;https://forum.swissmicros.com/viewtopic.php?f=26&amp;amp;t=4029&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://forum.swissmicros.com/viewtopic.php?f=26&amp;amp;t=4029&quot; rel=&quot;ugc nofollow noopener&quot;&gt; forum thread&lt;/a&gt; dealing with the factorization bug in the &lt;code&gt;deluxe&lt;/code&gt; version Angel recommended I use the &lt;code&gt;ΣZL&lt;/code&gt; method. He fears that occasionally &lt;code&gt;ZKEYS&lt;/code&gt; might be broken with incorrect/missing &lt;code&gt;USER&lt;/code&gt; assignments - so I&amp;#039;ll try to stick to the normal &lt;code&gt;ΣZL&lt;/code&gt; method. &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;ZK?YN (UPDATE 5\/8\/22)&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;zk_yn_update_5_8_22&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;871-3009&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit7&quot; id=&quot;quick_ref&quot;&gt;Quick Ref&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;Σ+&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;↑IM/AG&lt;/kbd&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ZREAL↑&lt;/kbd&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;RCL&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ZIMAG↑&lt;/kbd&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ZINV&lt;/kbd&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;1/X&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;POLAR&lt;/kbd&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;R→P&lt;/kbd&gt; (i.e. &lt;kbd class=&quot;__keyboard&quot;&gt;6&lt;/kbd&gt;)  &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;RECT&lt;/kbd&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;P→R&lt;/kbd&gt;  (i.e. &lt;kbd class=&quot;__keyboard&quot;&gt;5&lt;/kbd&gt;)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ZCONJ&lt;/kbd&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;CHS&lt;/kbd&gt; (complex conjugate)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z ^ X&lt;/kbd&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;EEX&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z ^ 1/X&lt;/kbd&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;EEX&lt;/kbd&gt; (root(s) of complex number) : see &lt;a href=&quot;#cubic_roots&quot; title=&quot;public:calculator:guides:41z_module ↵&quot; class=&quot;wikilink1&quot;&gt;Cubic Roots&lt;/a&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ZNXTNRT _&lt;/kbd&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;√x&lt;/kbd&gt; &lt;code&gt;NEXT ROOT&lt;/code&gt;  enter the root you want &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ZWDOT&lt;/kbd&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;.&lt;/kbd&gt; : dot product of 2 vectors/complex numbers&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ZWCROSS&lt;/kbd&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;2&lt;/kbd&gt; : &lt;strong&gt;Magnitude&lt;/strong&gt; of the Cross Product of 2 vectors/complex numbers (no sign)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ZWDET&lt;/kbd&gt; = &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;7&lt;/kbd&gt; : Determinant (Cross Product) of 2 vectors/complex numbers, incl. sign/direction&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Quick Ref&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;quick_ref&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;3010-4251&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit8&quot; id=&quot;basic_operation&quot;&gt;Basic Operation&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Basic Operation&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;basic_operation&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;4252-4280&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit9&quot; id=&quot;enter_two_numbers_and_add_them_together&quot;&gt;enter two numbers and add them together&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;

&lt;h4 id=&quot;the_natural_entry_method&quot;&gt;The &amp;#039;&amp;#039;natural&amp;#039;&amp;#039; entry method&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Enter a complex number to the stack&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt; 5 + j 20 &lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;5&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;2&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;0&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;Z XEQ&lt;/code&gt; is &lt;code&gt;^IM/AG&lt;/code&gt; - set the imaginary part&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; add a second number to the stack&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;10 - j 32&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;10&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;3&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;2&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;CHS&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; add the two numbers together&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;+&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;15 - j 12&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;enter two numbers and add them together&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;enter_two_numbers_and_add_them_together&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;4281-4830&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit10&quot; id=&quot;enter_a_real_number&quot;&gt;Enter a real number&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt; 2.75 + j 0 &lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;2.75&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;RCL&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Enter a real number&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;enter_a_real_number&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;4831-4946&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit11&quot; id=&quot;enter_an_imaginary_number&quot;&gt;Enter an imaginary number&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt; 0 + j 3.1415 &lt;/code&gt; (i Pi)&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;π&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h4 id=&quot;use_it_to_calculate_with&quot;&gt;Use it to calculate with....&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; calculate e&lt;sup&gt;iπ&lt;/sup&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;e&lt;sup&gt;x&lt;/sup&gt;&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt; - 1 + j 0 &lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; e&lt;sup&gt;iπ&lt;/sup&gt; = -1&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Enter an imaginary number&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;enter_an_imaginary_number&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;4947-5274&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit12&quot; id=&quot;parallel_impedances&quot;&gt;Parallel Impedances&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
This involves the &lt;code&gt;complex inverse&lt;/code&gt; function &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;1/x&lt;/kbd&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;Z1 = 50 + j 13&lt;/code&gt; in parallel with &lt;code&gt;Z2 = 23 - j 85&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; enter Z1 &lt;kbd class=&quot;__keyboard&quot;&gt;50&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;13&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; and invert it &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;1/X&lt;/kbd&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;0.02 - j 4.87E-3&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; enter Z2 &lt;kbd class=&quot;__keyboard&quot;&gt;23&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;85&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;CHS&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; and invert it &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;1/X&lt;/kbd&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;2.97E-3 + j0.01&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; add them together &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;+&lt;/kbd&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;0.02 +j0.01&lt;/code&gt; and invert &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;1/X&lt;/kbd&gt; &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;42.72 - j 11.99&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Parallel Impedances&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;parallel_impedances&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;5275-5919&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit13&quot; id=&quot;convert_to_rectangular_polar_operation&quot;&gt;convert to Rectangular ⇔ Polar operation&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;Z = 50 - j 23&lt;/code&gt; &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; initially in rectangular form…&lt;sup&gt;&lt;a href=&quot;#fn__1&quot; id=&quot;fnt__1&quot; class=&quot;fn_top&quot;&gt;1)&lt;/a&gt;&lt;/sup&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; enter Z as usual&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;50&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;23&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;CHS&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; convert to Polar format&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;6&lt;/kbd&gt; ( &lt;strong&gt;6&lt;/strong&gt; is &lt;code&gt;R→P&lt;/code&gt; but needs &lt;strong&gt;two&lt;/strong&gt; presses of &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; to activate it)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;55.04 ∠ -24.70&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; convert back to Rectangular operation&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;5&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;50 - j 23&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;convert to Rectangular \u21d4 Polar operation&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;convert_to_rectangular_polar_operation&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:13,&amp;quot;range&amp;quot;:&amp;quot;5920-6506&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit14&quot; id=&quot;enter_a_number_directly_in_polar_format&quot;&gt;enter a number directly in Polar format&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; To enter &lt;code&gt;5 ∠ 53.13&lt;/code&gt; directly&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; switch to Polar format &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;6&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; enter Mag / Angle:&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;5&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;53.13&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; display : &lt;code&gt;5 ∠ 53.13&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; convert to Rect&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;5&lt;/kbd&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; display : &lt;code&gt;3.00 + j 4.00&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;enter a number directly in Polar format&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;enter_a_number_directly_in_polar_format&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:14,&amp;quot;range&amp;quot;:&amp;quot;6507-6908&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit15&quot; id=&quot;cubic_roots&quot;&gt;Cubic Roots&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;

&lt;h4 id=&quot;rectangular&quot;&gt;Rectangular&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; enter complex &lt;code&gt;real&lt;/code&gt; number &lt;code&gt;-8 + j 0&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;8&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;CHS&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;RCL&lt;/kbd&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt; -8 + j 0&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; enter &lt;kbd class=&quot;__keyboard&quot;&gt;3&lt;/kbd&gt; (&lt;code&gt;goes into the normal X register&lt;/code&gt;)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; find the result of &lt;code&gt;Z↑1/x&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;EEX&lt;/kbd&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;1 + j 1.732&lt;/code&gt;  (the first of the cube-roots of -8)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; find the next root with the function &lt;code&gt;ZNXTNRT&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;√x&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; enter &lt;kbd class=&quot;__keyboard&quot;&gt;3&lt;/kbd&gt; at the &lt;code&gt;_&lt;/code&gt; prompt&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-2 + j 0&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; find the next root with the function &lt;code&gt;ZNXTNRT&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;√x&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; enter &lt;kbd class=&quot;__keyboard&quot;&gt;3&lt;/kbd&gt; at the &lt;code&gt;_&lt;/code&gt; prompt&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;1 - j 1.732&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
The 3 cube roots of &lt;code&gt;-8&lt;/code&gt; are
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;1 + j 1.732&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-2 + j 0&lt;/code&gt; (the basic &lt;code&gt;real&lt;/code&gt; cube root)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;1 - j 1.732&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h4 id=&quot;polar&quot;&gt;Polar&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; enter complex &lt;code&gt;real&lt;/code&gt; number &lt;code&gt;-8 + j 0&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;8&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;CHS&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;RCL&lt;/kbd&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt; -8 + j 0&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; convert to POLAR&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level4 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;6&lt;/kbd&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level5&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;8 ∠ 180&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; enter &lt;kbd class=&quot;__keyboard&quot;&gt;3&lt;/kbd&gt; (&lt;code&gt;goes into the normal X register&lt;/code&gt;)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; find the result of &lt;code&gt;Z↑1/x&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;EEX&lt;/kbd&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;2 ∠ 60.000&lt;/code&gt;  (the first of the cube-roots of -8)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; find the next root with the function &lt;code&gt;ZNXTNRT&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;√x&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; enter &lt;kbd class=&quot;__keyboard&quot;&gt;3&lt;/kbd&gt; at the &lt;code&gt;_&lt;/code&gt; prompt&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;2 ∠ 180&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; find the next root with the function &lt;code&gt;ZNXTNRT&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;√x&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; enter &lt;kbd class=&quot;__keyboard&quot;&gt;3&lt;/kbd&gt; at the &lt;code&gt;_&lt;/code&gt; prompt&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;2 ∠ -60.000&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
The 3 cube roots (in &lt;code&gt;POLAR&lt;/code&gt;) of &lt;code&gt;-8&lt;/code&gt; are
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;2 ∠ 60.000&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;2 ∠ 180&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;2 ∠ -60.000&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Cubic Roots&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;cubic_roots&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:15,&amp;quot;range&amp;quot;:&amp;quot;6909-8790&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit16&quot; id=&quot;alternate_input_method&quot;&gt;Alternate input method&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;strong&gt;BEWARE&lt;/strong&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; key Imaginary part first &amp;amp; press &lt;em&gt;normal&lt;/em&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; key real part (and no ENTER)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; do &lt;code&gt;complex enter&lt;/code&gt; (&lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;) or another &lt;code&gt;complex function&lt;/code&gt; (e.g. &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;+&lt;/kbd&gt;) (be careful with the stack lift or it gets confusing)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; e.g. &lt;code&gt;52 + j 36&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;36&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;52&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;52 + j 36&lt;/code&gt; is now in Stack&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; enter second number &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; e.g. &lt;code&gt;23 - j 15&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;15&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;CHS&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;23&lt;/kbd&gt; (&lt;strong&gt;don&amp;#039;t&lt;/strong&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; this…!!)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; to add them together use &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;+&lt;/kbd&gt; now (instead of &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; result : &lt;code&gt;75 + j 21&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h4 id=&quot;gotcha&quot;&gt;gotcha&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; pressing &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; after the second number (instead of the required complex function) will give you&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;table sectionedit17&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Stack value&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Stack&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; U &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;52 + j 36 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; V &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;23 - j 15 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; W &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;23 - j 15 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Z &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:17,&amp;quot;range&amp;quot;:&amp;quot;9690-9770&amp;quot;} --&gt;
&lt;p&gt;
doing a &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;+&lt;/kbd&gt; now will add the second number to itself and the result will be &lt;code&gt;46 - j 30&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
This is normal RPN stack behaviour, but is confusing when you&amp;#039;re building complex numbers. 
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;use_im_ag_instead&quot;&gt;use  ↑IM/AG instead&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
The &lt;code&gt;natural&lt;/code&gt; entry mode is &lt;em&gt;much&lt;/em&gt; better
&lt;/p&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; you enter the real and imaginary parts in the order you expect them&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; the stack operation is less obscure. &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; It just seems more intuitive.&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;
Page created Wed May 25 15:14:29 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 17/02/26 15:42 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:calculator&amp;amp;do=showtag&amp;amp;tag=calculator&quot; class=&quot;wikilink1&quot; title=&quot;tag:calculator&quot; rel=&quot;tag&quot;&gt;calculator&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dm41x&amp;amp;do=showtag&amp;amp;tag=dm41x&quot; class=&quot;wikilink1&quot; title=&quot;tag:dm41x&quot; rel=&quot;tag&quot;&gt;dm41x&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Alternate input method&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;alternate_input_method&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:16,&amp;quot;range&amp;quot;:&amp;quot;8791-&amp;quot;} --&gt;&lt;div class=&quot;footnotes&quot;&gt;
&lt;div class=&quot;fn&quot;&gt;&lt;sup&gt;&lt;a href=&quot;#fnt__1&quot; id=&quot;fn__1&quot; class=&quot;fn_bot&quot;&gt;1)&lt;/a&gt;&lt;/sup&gt; 
&lt;div class=&quot;content&quot;&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;5&lt;/kbd&gt; to make sure!&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 17 Feb 2026 15:42:44 +0000</pubDate>
        </item>
        <item>
            <title>DM15L Startup Keys &amp; Serial Console</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm15l_start</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:start&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:start&quot; data-wiki-id=&quot;public:calculator:guides:start&quot;&gt;Hints &amp;amp; Tips&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;dm15l_startup_keys_serial_console&quot;&gt;DM15L Startup Keys &amp;amp; Serial Console&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DM15L Startup Keys &amp;amp; Serial Console&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dm15l_startup_keys_serial_console&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-67&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;start_keys&quot;&gt;Start Keys&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; The DM15L has a few options which are set by holding certain keys at &lt;strong&gt;power on&lt;/strong&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; In the Update from V33 onwards these settings can also be modified directly via the “Setup Menu”&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; press &lt;kbd class=&quot;__keyboard&quot;&gt;f&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;ON&lt;/kbd&gt; then the key for the function as below….&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;table sectionedit3&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Key&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Function description&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;A &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Display time/date for 5 minutes&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;B &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Benchmark. Evaluate speed compared to original calculator&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;C &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Switch to serial console&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;D &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Start Bootloader &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;E &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;System info. Firmware version, battery voltage, CPU frequency, etc.&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;CHS&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Change LCD contrast.&lt;sup&gt;&lt;a href=&quot;#fn__1&quot; id=&quot;fnt__1&quot; class=&quot;fn_top&quot;&gt;1)&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;EEX&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Reset LCD contrast to default values.&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;STO&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Adjust RTC: decrement -1h&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;RCL&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Adjust RTC: increment +1h&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row10&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;7 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Cycle through available fonts&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row11&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;1 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; One Line Display &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row12&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;2 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Two Line Display &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row13&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;9 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Configure CPU speed. Toggle between 12MHz and 48MHz&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row14&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;÷ &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Keyboard self test&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row15&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;⨯ &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Self test&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row16&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; − &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Power reset&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row17&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; + &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Endless test&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row18&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; . &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Toggle decimal delimiter&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row19&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;SST&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Time/date adjustment.&lt;sup&gt;&lt;a href=&quot;#fn__2&quot; id=&quot;fnt__2&quot; class=&quot;fn_top&quot;&gt;2)&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row20&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;GTO &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Toggle annunciator position&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;364-1219&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Start Keys&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;start_keys&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;68-1220&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;serial_console&quot;&gt;Serial Console&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Serial Console&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;serial_console&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;1221-1248&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;settings&quot;&gt;Settings&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Speed : 38400&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Data bits : 8&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Stop bits : 1&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Parity : None&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Flow control : XON/XOFF (or none)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Settings&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;settings&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1249-1379&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;commands&quot;&gt;Commands&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt; 
VOYAGER &amp;gt;&amp;gt; ?
Firmware DM15_M80_V32

?          Help
p          Key press
s          Dump memory
l          Load memory
ct         Console timeout
bootloader Invoke Bootloader
t          Get time
ts         Set time
td         Update time
kb         Toggle keyboard output to console
d          Toggle display output to console
b          Read battery voltage

Type &amp;#039;&amp;lt;command&amp;gt; ?&amp;#039; for params
VOYAGER &amp;gt;&amp;gt;&lt;/pre&gt;

&lt;p&gt;
The calculator can be programmed using the dumps, via the Serial Console, by &lt;code&gt;copy &amp;amp; paste&lt;/code&gt; of the text of dump using the Serial Console command &lt;code&gt;l&lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Commands&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;commands&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;1380-1971&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;an_example_session&quot;&gt;An example session&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Acalculator%3Aguides%3Adm15l_start&amp;amp;media=public:calculator:screenshot_2022-05-29_21.16.22.png&quot; class=&quot;media&quot; title=&quot;public:calculator:screenshot_2022-05-29_21.16.22.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=0b36d2&amp;amp;media=public:calculator:screenshot_2022-05-29_21.16.22.png&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Memory dump captured by Copy &amp;amp; Paste from the console session above.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;DM15_M1B
00  03000007146000  03999994641000  03999994641000  00000000000000
04  49828382834000  00000000000008  0000000000000c  00002005999eae
08  00000000000000  39fa0ffffaea8f  dba083fce4bf80  00000000000000
10  00000000000000  00000000000000  00000000000000  05000000000000
14  f0000000000089  20323232323232  000000000001f2  00000000000000
18  00000000000000  0000000000007f  00000000a00000  05313010235001
1c  00000000000000  00000000000000  00000000000000  01844692622004
f0  00000000000000  00000000000000  000000000000b2  fdfbf132faf142
f4  ccfdf0f20cb2c3  fcf0f2bcfdfaf1  32fbf1420bb233  44fcc3f0f2bcfd
f8  faf133fbf143fd  a2cff182cff142  cafd0ab21282df  f1cafdf5c0f3fc
fc  31fd30fb31fc30  310241f5f4f3c0  f240f6c6f4f3f2  f1f0c0f142f00e
A: 49828382834000  B: 49828382834eae  C: 00002005999eae
S: 00000000001000
M: 01844692622004  N: 99828382834004  G: 06&lt;/pre&gt;

&lt;p&gt;
This dump pasted into the &lt;a href=&quot;https://technical.swissmicros.com/decoders/nut/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://technical.swissmicros.com/decoders/nut/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Swiss Micro decoder&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Acalculator%3Aguides%3Adm15l_start&amp;amp;media=public:calculator:screenshot_2022-05-29_21.36.05.png&quot; class=&quot;media&quot; title=&quot;public:calculator:screenshot_2022-05-29_21.36.05.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=f84454&amp;amp;media=public:calculator:screenshot_2022-05-29_21.36.05.png&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
The decoded dump, showing the actual program commands
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;001  LBL E        | 42,21,15
002  0            |        0
003  STO 2        |    44  2
004  1            |        1
005  .            |       48
006  0            |        0
007  1            |        1
008  2            |        2
009  3            |        3
010  4            |        4
011  EEX          |       26
012  6            |        6
013  STO 0        |    44  0
014  2            |        2
015  .            |       48
016  3            |        3
017  4            |        4
018  5            |        5
019  STO 1        |    44  1
020  LBL 2        | 42,21, 2
021  RCL 1        |    45  1
022  RCL 0        |    45  0
023  *            |       20
024  RCL 1        |    45  1
025  -            |       30
026  RCL 0        |    45  0
027  /            |       10
028  RCL 1        |    45  1
029  *            |       20
030  3            |        3
031  .            |       48
032  5            |        5
033  /            |       10
034  sqrt         |       11
035  1            |        1
036  STO+2        | 44,40, 2
037  GTO 2        |    22  2
038  RTN          |   43  32
039  LBL A        | 42,21,11
040  /            |       10
041  sqrt         |       11
042  STO 2        |    44  2
043  1            |        1
044  RCL+2        | 45,40, 2
045  1            |        1
046  RCL-2        | 45,30, 2
047  /            |       10
048  STO 3        |    44  3
049  1            |        1
050  -            |       30
051  RCL 3        |    45  3
052  1            |        1
053  +            |       40
054  /            |       10
055  LOG          |   43  13
056  2            |        2
057  0            |        0
058  CHS          |       16
059  *            |       20
060  STO 4        |    44  4
061  RCL 3        |    45  3
062  RTN          |   43  32
063  LBL B        | 42,21,12
064  STO 2        |    44  2
065  1            |        1
066  -            |       30
067  RCL 2        |    45  2
068  1            |        1
069  +            |       40
070  /            |       10
071  LOG          |   43  13
072  2            |        2
073  0            |        0
074  *            |       20
075  CHS          |       16
076  RTN          |   43  32
077  LBL C        | 42,21,13
078  2            |        2
079  0            |        0
080  /            |       10
081  10^x         |       13
082  STO 2        |    44  2
083  1            |        1
084  +            |       40
085  RCL 2        |    45  2
086  1            |        1
087  -            |       30
088  /            |       10
089  RTN          |   43  32&lt;/pre&gt;

&lt;p&gt;
Page created Thu May 26 17:41:19 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 24/01/26 08:10 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:calculator&amp;amp;do=showtag&amp;amp;tag=calculator&quot; class=&quot;wikilink1&quot; title=&quot;tag:calculator&quot; rel=&quot;tag&quot;&gt;calculator&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dm15l&amp;amp;do=showtag&amp;amp;tag=dm15l&quot; class=&quot;wikilink1&quot; title=&quot;tag:dm15l&quot; rel=&quot;tag&quot;&gt;dm15l&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;An example session&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;an_example_session&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;1972-&amp;quot;} --&gt;&lt;div class=&quot;footnotes&quot;&gt;
&lt;div class=&quot;fn&quot;&gt;&lt;sup&gt;&lt;a href=&quot;#fnt__1&quot; id=&quot;fn__1&quot; class=&quot;fn_bot&quot;&gt;1)&lt;/a&gt;&lt;/sup&gt; 
&lt;div class=&quot;content&quot;&gt; LCD Setting : Param1: up +, down −, Param2: up Σ+, down 3&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;fn&quot;&gt;&lt;sup&gt;&lt;a href=&quot;#fnt__2&quot; id=&quot;fn__2&quot; class=&quot;fn_bot&quot;&gt;2)&lt;/a&gt;&lt;/sup&gt; 
&lt;div class=&quot;content&quot;&gt;Date Adjustment Usage: Up +, Down −, Next ⨯, Prev ÷, ENTER to Set, ON to Cancel&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 24 Jan 2026 08:10:32 +0000</pubDate>
        </item>
        <item>
            <title>DM41X Catalogues</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm41x_catalogues</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:start&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:start&quot; data-wiki-id=&quot;public:calculator:guides:start&quot;&gt;Hints &amp;amp; Tips&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;dm41x_catalogues&quot;&gt;DM41X Catalogues&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DM41X Catalogues&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dm41x_catalogues&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-48&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;what_the_different_catalogues_show&quot;&gt;What the different Catalogues show&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; &amp;amp; enter the number of the catalogue.
&lt;kbd class=&quot;__keyboard&quot;&gt;R/S&lt;/kbd&gt; to stop the auto-scrolling and use &lt;kbd class=&quot;__keyboard&quot;&gt;SST&lt;/kbd&gt; or &lt;kbd class=&quot;__keyboard&quot;&gt;⇑&lt;/kbd&gt; / &lt;kbd class=&quot;__keyboard&quot;&gt;⇓&lt;/kbd&gt; to step through the listing of items.
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Catalogue 1 is &lt;code&gt;User Programs&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Catalogue 2 is &lt;code&gt;External Functions&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Catalogue 3 is &lt;code&gt;Standard Functions&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Catalogue 4 is &lt;code&gt;Extended Memory Directory&lt;/code&gt; (is usually empty. After running Cat 4 the current free-size of extended memory is left in X)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Catalogue 5 is &lt;code&gt;Alarms&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Catalogue 6 is &lt;code&gt;USR Keyboard assignments&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Page created Wed May 25 16:57:27 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 08/04/24 00:10 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:calculator&amp;amp;do=showtag&amp;amp;tag=calculator&quot; class=&quot;wikilink1&quot; title=&quot;tag:calculator&quot; rel=&quot;tag&quot;&gt;calculator&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dm41x&amp;amp;do=showtag&amp;amp;tag=dm41x&quot; class=&quot;wikilink1&quot; title=&quot;tag:dm41x&quot; rel=&quot;tag&quot;&gt;dm41x&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;What the different Catalogues show&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;what_the_different_catalogues_show&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;49-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 07 Apr 2024 23:10:25 +0000</pubDate>
        </item>
        <item>
            <title>DM41 Save/Restore Statistics</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm41_save_stats</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:start&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:start&quot; data-wiki-id=&quot;public:calculator:guides:start&quot;&gt;Hints &amp;amp; Tips&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;dm41_save_restore_statistics&quot;&gt;DM41 Save/Restore Statistics&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt; Using Extended Memory to save Statistics Registers &lt;/strong&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DM41 Save\/Restore Statistics&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dm41_save_restore_statistics&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-118&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;background&quot;&gt;Background&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Statistics use 6 regular registers to keep track of data for calculating Mean and Standard Deviations.
&lt;/p&gt;

&lt;p&gt;
Keeping a long-term record of a set of variables means not being able to use the Statistics functions for anything else unless steps are taken to save and restore the registers.
&lt;/p&gt;

&lt;p&gt;
It is possible to save the 6 registers in a data file in Extended Memory and then use the statistics for other things, and restore the saved Statistics back to Main Memory when required.
&lt;/p&gt;

&lt;p&gt;
By Default the Statistics registers start at &lt;strong&gt;R11&lt;/strong&gt; but this can be changed with the command &lt;code&gt;∑REG&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
This is the default list of Statistics Registers and contents
&lt;/p&gt;
&lt;div class=&quot;table sectionedit3&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;R11&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;∑x&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;Summation of x-values&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;R12&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;∑x&lt;sup&gt;2&lt;/sup&gt;&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;Summation of squares of x-values.&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;R13&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;∑y&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;Summation of y-values.&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;R14&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;∑y&lt;sup&gt;2&lt;/sup&gt;&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;Summation of squares of y-values.&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;R15&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;∑xy&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;Summation of products of x- and y-values.&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;R16&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;n&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;Number of data points accumulated.&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;783-1060&amp;quot;} --&gt;
&lt;p&gt;
&lt;strong&gt;Advantage Pac : CFIT application &lt;/strong&gt; seems to reset &lt;code&gt;∑REG&lt;/code&gt; to &lt;strong&gt;12&lt;/strong&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Background&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;background&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;119-1136&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;extended_memory_data_file&quot;&gt;Extended Memory Data File&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
The statistics registers use 6 Main Memory registers, &lt;em&gt;&lt;strong&gt;usually R11 → R16&lt;/strong&gt;&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
We need to create a Data File in Extended Memory to hold these.
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Put the name in &lt;code&gt;ALPHA&lt;/code&gt; e.g. &lt;code&gt;REGS&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Put &lt;code&gt;6&lt;/code&gt; in &lt;code&gt;x&lt;/code&gt; register&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; excecute &lt;code&gt;CRFLD&lt;/code&gt; to create the Data File &lt;code&gt;REGS&lt;/code&gt; in Extended Memory&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Once it&amp;#039;s created it can be used to hold the contents of the 6 Statistics Registers
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Extended Memory Data File&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;extended_memory_data_file&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;1137-1559&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;save_registers_to_extended_memory&quot;&gt;Save Registers to Extended Memory&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; We need to make sure our Data File is the current file and that the pointer is at the beginning of the file&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Put &lt;code&gt;REGS&lt;/code&gt; in &lt;code&gt;ALPHA&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Put &lt;code&gt;0&lt;/code&gt; in &lt;code&gt;X&lt;/code&gt; so that we put the pointer at the first register record in the data file.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Execute &lt;code&gt;SEEKPTA&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Now we need to copy the 6 Registers R11 → R16 to the Data File &lt;code&gt;REGS&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; ensure &lt;code&gt;REGS&lt;/code&gt; is still in &lt;code&gt;ALPHA&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; put a number in &lt;code&gt;X&lt;/code&gt; to indicate which range of Registers to save, this is &lt;code&gt;bbb.eee&lt;/code&gt; where &lt;code&gt;b&lt;/code&gt; is the beginning register and &lt;code&gt;e&lt;/code&gt; is the end&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; put &lt;code&gt;11.016&lt;/code&gt; in &lt;code&gt;X&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; execute &lt;code&gt;SAVERX&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Save Registers to Extended Memory&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;save_registers_to_extended_memory&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1560-2207&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;restore_registers_from_extended_memory_to_main_memory&quot;&gt;Restore Registers from Extended Memory to Main Memory&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; We need to make sure our Data File is the current file and that the pointer is at the beginning of the file&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Put &lt;code&gt;REGS&lt;/code&gt; in &lt;code&gt;ALPHA&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Put &lt;code&gt;0&lt;/code&gt; in &lt;code&gt;X&lt;/code&gt; &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Execute &lt;code&gt;SEEKPTA&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; We can copy the 6 registers held in the Data File &lt;code&gt;REGS&lt;/code&gt; back to R11 → R16&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; ensure &lt;code&gt;REGS&lt;/code&gt; is still in &lt;code&gt;ALPHA&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; put a number in &lt;code&gt;X&lt;/code&gt; to indicate where the recovered registers will be put in Main Memory &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; put &lt;code&gt;11.016&lt;/code&gt; in &lt;code&gt;X&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; execute &lt;code&gt;GETRX&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Restore Registers from Extended Memory to Main Memory&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;restore_registers_from_extended_memory_to_main_memory&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;2208-2750&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit7&quot; id=&quot;a_program_to_make_it_easier&quot;&gt;A program to make it easier&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
It is possible to change the base register of the 6 Statistics Registers, away from the default of R11. 
&lt;/p&gt;

&lt;p&gt;
We need to take this into account.
&lt;/p&gt;

&lt;p&gt;
This uses the query &lt;code&gt;∑REG?&lt;/code&gt; to find the base register, then create &lt;code&gt;bbb.eee&lt;/code&gt; using simple arithmetic.
&lt;/p&gt;

&lt;p&gt;
When used in &lt;code&gt;SAVER&lt;/code&gt; (save&lt;code&gt;R&lt;/code&gt;egs) we ensure we copy the current Statistics Registers data.
&lt;/p&gt;

&lt;p&gt;
When used in &lt;code&gt;GETR&lt;/code&gt; (get&lt;code&gt;R&lt;/code&gt;egs) we ensure we restore our data to the Registers currently set to be the active Statistics Registers (they may have changed since first saving them)
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;
LBL ¬SAVER
¬REGS
0
SEEKPTA
∑REG?
1.001
*
.005
+
SAVERX
¬REGS SAVED
AVIEW
PSE
CLD
RTN
LBL ¬GETR
¬REGS
0
SEEKPTA
∑REG?
1.001
*
.005
+
GETRX
¬REGS OK
AVIEW
PSE
CLD
RTN
&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;A program to make it easier&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;a_program_to_make_it_easier&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;2751-3516&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit8&quot; id=&quot;multiple_saved_files&quot;&gt;Multiple Saved Files&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
It&amp;#039;s possible to have more than one Extended Memory file with Stats registers.
&lt;/p&gt;

&lt;p&gt;
This could keep track of different sets of statistics and allow restore, update, save for many sets of statistical data.
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;ve set up &lt;strong&gt;two&lt;/strong&gt; data files : &lt;code&gt;REGS&lt;/code&gt; and &lt;code&gt;CHESS&lt;/code&gt; in extended memory and made &lt;strong&gt;two&lt;/strong&gt; version of the simple program above, the only change is to alter the lines which put the name of the file in &lt;code&gt;ALPHA&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Then I thought of adding a 7th Register holding the &lt;code&gt;DATE&lt;/code&gt; of the latest &lt;code&gt;SAVE&lt;/code&gt; for the &lt;code&gt;CHESS&lt;/code&gt; statistics, so I can keep track of whether I&amp;#039;m up to date in entering the scores.
&lt;/p&gt;

&lt;p&gt;
Delete the original &lt;code&gt;CHESS&lt;/code&gt; Data File &amp;amp; make a new one with 7 registers 
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;ALPHA&lt;/code&gt; → &lt;code&gt;CHESS&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; execute &lt;code&gt;PURFL&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;X&lt;/code&gt; = &lt;code&gt;7&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;ALPHA&lt;/code&gt; still → &lt;code&gt;CHESS&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; execute &lt;code&gt;CRFLD&lt;/code&gt; to create the new 7-register data file&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
The date is automatically stored in the register just &lt;em&gt;after&lt;/em&gt; the &lt;code&gt;Stats&lt;/code&gt; - in general in &lt;code&gt;R18&lt;/code&gt; when &lt;code&gt;ΣREG&lt;/code&gt; is &lt;code&gt;12&lt;/code&gt; - and automatically adapts the register used depending on &lt;code&gt;ΣREG?&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Here is &lt;code&gt;SAVEC&lt;/code&gt; and &lt;code&gt;GETC&lt;/code&gt; for save&lt;code&gt;C&lt;/code&gt;hess and get&lt;code&gt;C&lt;/code&gt;hess
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;
LBL ¬SAVEC
¬CHESS
0
SEEKPTA
∑REG?
STO 01
6
+
STO 00
DATE
STO IND 00
RCL 01
1.001
*
.006
+
SAVERX
¬CHESS SAVED
AVIEW
PSE
CLD
RTN
END
&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;LBL ¬GETC
¬CHESS
0
SEEKPTA
∑REG?
STO 01
6
+
STO 00
RCL 01
1.001
*
.006
+
GETRX
CLA
RCL IND 00
¬LAST 
ADATE
AVIEW
PSE
CLD
RTN
END
&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Multiple Saved Files&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;multiple_saved_files&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;3517-4960&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit9&quot; id=&quot;further_ideas&quot;&gt;Further Ideas&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I might make a better version which prompts for a Data File name rather than having one separate program for each scenario
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:calculator&amp;amp;do=showtag&amp;amp;tag=calculator&quot; class=&quot;wikilink1&quot; title=&quot;tag:calculator&quot; rel=&quot;tag&quot;&gt;calculator&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dm41x&amp;amp;do=showtag&amp;amp;tag=dm41x&quot; class=&quot;wikilink1&quot; title=&quot;tag:dm41x&quot; rel=&quot;tag&quot;&gt;dm41x&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dm41l&amp;amp;do=showtag&amp;amp;tag=dm41l&quot; class=&quot;wikilink1&quot; title=&quot;tag:dm41l&quot; rel=&quot;tag&quot;&gt;dm41l&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Ideas&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_ideas&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;4961-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 10 Feb 2026 18:01:25 +0000</pubDate>
        </item>
        <item>
            <title>DM41X Hints &amp; Tips</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm41_snippets</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:start&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:start&quot; data-wiki-id=&quot;public:calculator:guides:start&quot;&gt;Hints &amp;amp; Tips&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;dm41x_hints_tips&quot;&gt;DM41X Hints &amp;amp; Tips&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DM41X Hints &amp;amp; Tips&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dm41x_hints_tips&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-50&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;module_switching&quot;&gt;Module Switching&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Using the &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm41x_ladybug_module&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm41x_ladybug_module&quot; data-wiki-id=&quot;public:calculator:guides:dm41x_ladybug_module&quot;&gt; Ladybug module&lt;/a&gt; for Integer/Base calculations means it&amp;#039;s impossible to also have the &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:41z_module&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:41z_module&quot; data-wiki-id=&quot;public:calculator:guides:41z_module&quot;&gt; 41Z complex number module&lt;/a&gt; or the &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:hp16c_emulator&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:hp16c_emulator&quot; data-wiki-id=&quot;public:calculator:guides:hp16c_emulator&quot;&gt; HP16C simulator module&lt;/a&gt; and the necessary library “plugged in” at the same time. There is a clash between &lt;code&gt;Library 4&lt;/code&gt; needed for &lt;code&gt;41z&lt;/code&gt; (and also needed for &lt;code&gt;16C&lt;/code&gt;) and &lt;code&gt;OS/4&lt;/code&gt; which is needed for &lt;code&gt;Ladybug&lt;/code&gt;.
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;ve used the DM41X “module save/load” function to have different module-plugged states:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;41z.m41&lt;/code&gt; : with &lt;code&gt;41Z 2&amp;times;2 Deluxe&lt;/code&gt; and &lt;code&gt;Library 4&lt;/code&gt; modules active&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;16c.m41&lt;/code&gt; : with &lt;code&gt;HP16 C Simulator&lt;/code&gt; and &lt;code&gt;Library 4&lt;/code&gt; modules active&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;lady.m41&lt;/code&gt; : with &lt;code&gt;Boost&lt;/code&gt;, &lt;code&gt;OS/4&lt;/code&gt; and &lt;code&gt;Ladybug&lt;/code&gt; modules active&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;adv.m41&lt;/code&gt; : with &lt;code&gt;Advantage Pac&lt;/code&gt; module active&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
These are accessed via &lt;code&gt;setup&lt;/code&gt; → &lt;code&gt;2. Module&lt;/code&gt; → &lt;code&gt;4. Load Modules&lt;/code&gt; → &lt;code&gt;1. Load AM list&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Choosing the required *.m41 file will automatically unplug/plug whichever modules were active when the config. was saved.
&lt;/p&gt;

&lt;p&gt;
This makes it easier to remember which supporting library/module are needed to use each particular module&amp;#039;s functions.
&lt;/p&gt;

&lt;p&gt;
It&amp;#039;s possible to also save the &lt;code&gt;flash&lt;/code&gt; state - which modules have been pre-loaded into the DM41X&amp;#039;s Flash Memory making them &lt;em&gt;available&lt;/em&gt; to be &lt;em&gt;plugged in&lt;/em&gt; using different options at the &lt;code&gt;setup&lt;/code&gt; &lt;code&gt;2. Module&lt;/code&gt; choices…. you&amp;#039;ll work it out.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Module Switching&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;module_switching&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;51-1448&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;advantage_pacflag_21&quot;&gt;Advantage Pac : Flag 21&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I found that using some of the Advantage Pac programs (e.g. &lt;code&gt;MATRX&lt;/code&gt; or &lt;code&gt;CFIT&lt;/code&gt;) would lead to &lt;code&gt;AVIEW&lt;/code&gt; instructions in programs run subsequently to cause a &lt;code&gt;HALT&lt;/code&gt; - requiring use of the &lt;kbd class=&quot;__keyboard&quot;&gt;R/S&lt;/kbd&gt; key.
&lt;/p&gt;

&lt;p&gt;
I was told via a question on the &lt;a href=&quot;https://forum.swissmicros.com/viewforum.php?f=24&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://forum.swissmicros.com/viewforum.php?f=24&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Swiss Micros Forum &lt;/a&gt; that this was likely to be due to the Advantage Pac setting &lt;code&gt;FLAG 21&lt;/code&gt; (printer active) to help in its own presentation of information on the display. 
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;FLAG 21&lt;/code&gt; SET while &lt;code&gt;FLAG 55&lt;/code&gt; is CLEAR (since there&amp;#039;s no Printer Module active) causes AVIEW instructions to halt awaiting user intervention (&lt;kbd class=&quot;__keyboard&quot;&gt;R/S&lt;/kbd&gt; key)
&lt;/p&gt;

&lt;p&gt;
To restore things to &lt;em&gt;normal&lt;/em&gt; : either &lt;code&gt;CLEAR&lt;/code&gt; Flag 21 via &lt;code&gt;CF&lt;/code&gt; or simply turn the calculator off and on again.
&lt;/p&gt;

&lt;p&gt;
See APPENDIX D in the HP41CX User Manual Volume 2 for a better explanation of the use of Flag 21 to control &lt;code&gt;AVIEW&lt;/code&gt; behaviour.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Advantage Pac : Flag 21&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;advantage_pacflag_21&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1449-2379&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;extended_memory&quot;&gt;Extended Memory&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/fixme.svg&quot; class=&quot;icon smiley&quot; alt=&quot;FIXME&quot; /&gt;
&lt;/p&gt;

&lt;p&gt;
Copy a program to Extended Memory:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Put Prog&amp;#039;s name in &lt;code&gt;Alpha&lt;/code&gt; register&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; XEQ &lt;code&gt;storep&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; The prog remains in main memory but can be deleted (&lt;code&gt;CLP&lt;/code&gt;) if memory needed&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; To restore to main memory put name in &lt;code&gt;Alpha&lt;/code&gt; and then &lt;code&gt;XEQ&lt;/code&gt; &lt;code&gt;GETSUB&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Extended Memory&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;extended_memory&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;2380-2677&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;ddays&quot;&gt;DDAYS&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;strong&gt;To find the number of days between two dates&lt;/strong&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; enter 1&lt;sup&gt;st&lt;/sup&gt; date into Y-stack as &lt;code&gt;dd.mmyyyy&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; key in 2&lt;sup&gt;nd&lt;/sup&gt; date into X-stack as &lt;code&gt;dd.mmyyyy&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;D&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;D&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;A&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Y&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;S&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt; &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; result is the difference in days.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;DDAYS&lt;/code&gt; can be added to the &lt;code&gt;CST&lt;/code&gt; program chooser to make it easier if multiple calculations are required&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DDAYS&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;ddays&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;2678-3144&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;example&quot;&gt;Example&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Days between 27/2/66 and 31/5/22
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;27.021966&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt;
&lt;code&gt;31.052022&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;D&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;D&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;A&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Y&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;S&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
Result = &lt;code&gt;20,547&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Check : 
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;365&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;÷&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
Result &lt;code&gt;56.293&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;m 56 and a bit… sounds right…
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Example&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;example&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;3145-3471&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit7&quot; id=&quot;xyzalm&quot;&gt;XYZALM&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;strong&gt;Various Alarm functions&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
Put any message for the Alarm into the &lt;code&gt;ALHPA&lt;/code&gt; register
&lt;/p&gt;

&lt;p&gt;
Load the stack registers with:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Z : Repeat Interval &lt;code&gt;HHHH.MMSSs&lt;/code&gt; or &lt;code&gt;0&lt;/code&gt; &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Y : Date &lt;code&gt;DD.MMYYYY&lt;/code&gt; or &lt;code&gt;0&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; X : Time &lt;code&gt;HH.MMSSs&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Execute &lt;code&gt;XYZALM&lt;/code&gt; to set the alarm
&lt;/p&gt;

&lt;p&gt;
When alarm goes off it is &lt;code&gt;acknowledged&lt;/code&gt; by pressing any key except &lt;code&gt;STO&lt;/code&gt;.
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Acknowledging a non-repeating (i.e. &lt;code&gt;Z&lt;/code&gt; was &lt;code&gt;0&lt;/code&gt;) alarm cancels it. &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Acknowledging a repeating alarm cancels it and re-arms it, adding the &lt;code&gt;Repeat Interval&lt;/code&gt; to create the new alarm time.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Pressing &lt;kbd class=&quot;__keyboard&quot;&gt;STO&lt;/kbd&gt; cancels the alarm but makes it a &lt;code&gt;PAST DUE&lt;/code&gt; alarm.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;XYZALM&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;xyzalm&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;3472-4123&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;example1&quot;&gt;Example&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Set alarm for 22:20, today, not repeating, called &lt;code&gt;Supper&lt;/code&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;S&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;U&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;P&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;P&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;E&lt;/kbd&gt;&lt;kbd class=&quot;__keyboard&quot;&gt;R&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;0&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; (for Z = repeat interval)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;0&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ENTER&lt;/kbd&gt; (for Y = Date = Today)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;22.20&lt;/code&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;XEQ&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;X&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Y&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;Z&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;A&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;L&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;M&lt;/kbd&gt; &lt;kbd class=&quot;__keyboard&quot;&gt;ALPHA&lt;/kbd&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
At &lt;code&gt;22:20&lt;/code&gt; the alarm is activated. &lt;code&gt;ALPHA&lt;/code&gt; shows &lt;code&gt;SUPPER&lt;/code&gt;. 
&lt;/p&gt;

&lt;p&gt;
Alarm is cancelled by pressing &lt;em&gt;any key but &lt;kbd class=&quot;__keyboard&quot;&gt;STO&lt;/kbd&gt;&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Pressing &lt;kbd class=&quot;__keyboard&quot;&gt;STO&lt;/kbd&gt; creates a &lt;code&gt;PAST DUE&lt;/code&gt; alarm which means it gets re-triggered if the calculator is turned off. It can be cancelled and deleted by pressing any key (except &lt;kbd class=&quot;__keyboard&quot;&gt;STO&lt;/kbd&gt;) and then the calculator will turn off. Pressing &lt;kbd class=&quot;__keyboard&quot;&gt;STO&lt;/kbd&gt; will create a new Past Due alarm, and allow the calculator to turn off. On turn on the Past Due alarm will still exist and turning off will trigger it again.
&lt;/p&gt;

&lt;p&gt;
A Past Due alarm is useful to remind you that something happened previously and turning the calculator off is a memory-jogger.
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;CATALOGUE 5&lt;/code&gt; &lt;code&gt;R/S&lt;/code&gt; and &lt;code&gt;⇑&lt;/code&gt; &lt;code&gt;⇓&lt;/code&gt; steps through all alarms. 
&lt;/p&gt;

&lt;p&gt;
To clear an alarm from the Catalogue: &lt;code&gt;SHIFT&lt;/code&gt; &lt;code&gt;C&lt;/code&gt; ( where &lt;code&gt;C&lt;/code&gt; is &lt;code&gt;√&lt;/code&gt; on top row )  
&lt;/p&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 31/05/22 13:13&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Page last updated: 24/01/26 08:09 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:calculator&amp;amp;do=showtag&amp;amp;tag=calculator&quot; class=&quot;wikilink1&quot; title=&quot;tag:calculator&quot; rel=&quot;tag&quot;&gt;calculator&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dm41x&amp;amp;do=showtag&amp;amp;tag=dm41x&quot; class=&quot;wikilink1&quot; title=&quot;tag:dm41x&quot; rel=&quot;tag&quot;&gt;dm41x&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Example&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;example1&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;4124-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 24 Jan 2026 08:09:46 +0000</pubDate>
        </item>
        <item>
            <title>Hints &amp; Tips</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:start</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:start&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:start&quot; data-wiki-id=&quot;public:calculator:start&quot;&gt;Calculators&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;hints_tips&quot;&gt;Hints &amp;amp; Tips&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;script type=&quot;text/javascript&quot;&gt; catlist_baseurl = &quot;https://www.g4slv.info/dokuwiki/&quot;; catlist_basescript = &quot;doku.php&quot;; catlist_useslash = 0; catlist_userewrite = 0; catlist_sepchar = &quot;_&quot;; catlist_deaccent = 1; catlist_pagename_sanitize = 1; &lt;/script&gt;&lt;ul class=&quot;catlist-nslist&quot; &gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm15l_miso_solve&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm15l_miso_solve&quot; data-wiki-id=&quot;public:calculator:guides:dm15l_miso_solve&quot;&gt;DM15L/41X/41L &amp;quot;Multi-Variable&amp;quot; Solve&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm15l_curve_fit&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm15l_curve_fit&quot; data-wiki-id=&quot;public:calculator:guides:dm15l_curve_fit&quot;&gt;DM15L Non-linear Curve Fit&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm15l_start&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm15l_start&quot; data-wiki-id=&quot;public:calculator:guides:dm15l_start&quot;&gt;DM15L Startup Keys &amp;amp; Serial Console&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm16l_startup_keys&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm16l_startup_keys&quot; data-wiki-id=&quot;public:calculator:guides:dm16l_startup_keys&quot;&gt;DM16L Startup Keys&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm32_curve_fit&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm32_curve_fit&quot; data-wiki-id=&quot;public:calculator:guides:dm32_curve_fit&quot;&gt;DM32 Curve Fit&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm32_polynomial_solver&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm32_polynomial_solver&quot; data-wiki-id=&quot;public:calculator:guides:dm32_polynomial_solver&quot;&gt;DM32 Polynomial Solver&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm32_simultaneos_equations&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm32_simultaneos_equations&quot; data-wiki-id=&quot;public:calculator:guides:dm32_simultaneos_equations&quot;&gt;DM32 Simultaneous Equations&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm41_save_stats&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm41_save_stats&quot; data-wiki-id=&quot;public:calculator:guides:dm41_save_stats&quot;&gt;DM41 Save/Restore Statistics&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:41z_module&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:41z_module&quot; data-wiki-id=&quot;public:calculator:guides:41z_module&quot;&gt;DM41X 41z Module&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:advantage_pac&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:advantage_pac&quot; data-wiki-id=&quot;public:calculator:guides:advantage_pac&quot;&gt;DM41X Advantage Pac&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm41x_catalogues&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm41x_catalogues&quot; data-wiki-id=&quot;public:calculator:guides:dm41x_catalogues&quot;&gt;DM41X Catalogues&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm41x_curve_fitting&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm41x_curve_fitting&quot; data-wiki-id=&quot;public:calculator:guides:dm41x_curve_fitting&quot;&gt;DM41X Curve Fitting&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm41_snippets&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm41_snippets&quot; data-wiki-id=&quot;public:calculator:guides:dm41_snippets&quot;&gt;DM41X Hints &amp;amp; Tips&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:hp16c_emulator&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:hp16c_emulator&quot; data-wiki-id=&quot;public:calculator:guides:hp16c_emulator&quot;&gt;DM41X HP16C Module&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm41x_ladybug_module&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm41x_ladybug_module&quot; data-wiki-id=&quot;public:calculator:guides:dm41x_ladybug_module&quot;&gt;DM41X Ladybug Module&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm41x_matrix&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm41x_matrix&quot; data-wiki-id=&quot;public:calculator:guides:dm41x_matrix&quot;&gt;DM41X Matrix&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:matrx&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:matrx&quot; data-wiki-id=&quot;public:calculator:guides:matrx&quot;&gt;DM41X MATRX Simultaneous Equations&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:polynomial&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:polynomial&quot; data-wiki-id=&quot;public:calculator:guides:polynomial&quot;&gt;DM41X Polynomial Solver&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:ppc_cv&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:ppc_cv&quot; data-wiki-id=&quot;public:calculator:guides:ppc_cv&quot;&gt;DM41X PPC ROM Curve Fit&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm41x_ppc&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm41x_ppc&quot; data-wiki-id=&quot;public:calculator:guides:dm41x_ppc&quot;&gt;DM41X PPC ROM Solve &amp;amp; Integrate&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:guides:dm41x_solve&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:guides:dm41x_solve&quot; data-wiki-id=&quot;public:calculator:guides:dm41x_solve&quot;&gt;DM41X Solve&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Hints &amp;amp; Tips&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;hints_tips&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;13-73&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Page created Wed May 25 16:03:44 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/03/25 07:27 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:calculator&amp;amp;do=showtag&amp;amp;tag=calculator&quot; class=&quot;wikilink1&quot; title=&quot;tag:calculator&quot; rel=&quot;tag&quot;&gt;calculator&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;74-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 04 Mar 2025 07:27:15 +0000</pubDate>
        </item>
        <item>
            <title>DM42 Progs</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:progs:dm42_progs</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:progs:start&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:progs:start&quot; data-wiki-id=&quot;public:calculator:progs:start&quot;&gt;Programs&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;dm42_progs&quot;&gt;DM42 Progs&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Using the Swiss Micros online encode/decode tool   
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://technical.swissmicros.com/decoders/dm42/index.php&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://technical.swissmicros.com/decoders/dm42/index.php&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://technical.swissmicros.com/decoders/dm42/index.php&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
to convert a “RAW” file into readable text:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 110-Byte Prgm }
01▸LBL &amp;quot;SWR&amp;quot;
02 INPUT &amp;quot;Fwd&amp;quot;
03 INPUT &amp;quot;Ref&amp;quot;
04 RCL &amp;quot;Ref&amp;quot;
05 RCL÷ &amp;quot;Fwd&amp;quot;
06 SQRT
07 STO &amp;quot;RHO&amp;quot;
08 1
09 RCL+ &amp;quot;RHO&amp;quot;
10 1
11 RCL- &amp;quot;RHO&amp;quot;
12 ÷
13 STO &amp;quot;SWR&amp;quot;
14 RCL &amp;quot;RHO&amp;quot;
15 LOG
16 20
17 ×
18 +/-
19 STO &amp;quot;RL&amp;quot;
20 VIEW &amp;quot;Ref&amp;quot;
21 PSE
22 VIEW &amp;quot;Fwd&amp;quot;
23 PSE
24 VIEW &amp;quot;RL&amp;quot;
25 PSE
26 VIEW &amp;quot;SWR&amp;quot;
27 PSE
28 RCL &amp;quot;Ref&amp;quot;
29 RCL &amp;quot;Fwd&amp;quot;
30 RCL &amp;quot;RL&amp;quot;
31 RCL &amp;quot;SWR&amp;quot;
32 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 41-Byte Prgm }
01▸LBL &amp;quot;.flc&amp;quot;
02 MVAR &amp;quot;freq&amp;quot;
03 MVAR &amp;quot;C&amp;quot;
04 MVAR &amp;quot;L&amp;quot;
05 RCL &amp;quot;L&amp;quot;
06 RCL &amp;quot;C&amp;quot;
07 ×
08 SQRT
09 PI
10 ×
11 2
12 ×
13 1/X
14 RCL &amp;quot;freq&amp;quot;
15 -
16 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 280-Byte Prgm }
01▸LBL &amp;quot;LCC&amp;quot;
02 INPUT &amp;quot;Vcc&amp;quot;
03 INPUT &amp;quot;PWR&amp;quot;
04 INPUT &amp;quot;freq&amp;quot;
05 RCL &amp;quot;Vcc&amp;quot;
06 X^2
07 RCL &amp;quot;PWR&amp;quot;
08 2
09 ×
10 ÷
11 STO &amp;quot;RL&amp;quot;
12 RCL &amp;quot;RL&amp;quot;
13 50
14 X≤Y?
15 XEQ &amp;quot;LCC&amp;quot;
16 RCL÷ &amp;quot;RL&amp;quot;
17 1
18 -
19 SQRT
20 STO &amp;quot;Qmin&amp;quot;
21 VIEW &amp;quot;Qmin&amp;quot;
22 PSE
23▸LBL 01
24 INPUT &amp;quot;Q&amp;quot;
25 RCL &amp;quot;Qmin&amp;quot;
26 X≥Y?
27 GTO 01
28 RCL &amp;quot;freq&amp;quot;
29 2
30 ×
31 PI
32 ×
33 STO &amp;quot;w&amp;quot;
34 RCL &amp;quot;Q&amp;quot;
35 X^2
36 1
37 +
38 RCL× &amp;quot;RL&amp;quot;
39 STO &amp;quot;B&amp;quot;
40 50
41 ÷
42 1
43 -
44 SQRT
45 STO &amp;quot;A&amp;quot;
46 RCL &amp;quot;Q&amp;quot;
47 RCL× &amp;quot;RL&amp;quot;
48 STO &amp;quot;XL&amp;quot;
49 RCL &amp;quot;B&amp;quot;
50 RCL &amp;quot;Q&amp;quot;
51 RCL- &amp;quot;A&amp;quot;
52 ÷
53 STO &amp;quot;XC1&amp;quot;
54 RCL &amp;quot;A&amp;quot;
55 50
56 ×
57 STO &amp;quot;XC2&amp;quot;
58 RCL &amp;quot;XL&amp;quot;
59 RCL÷ &amp;quot;w&amp;quot;
60 STO &amp;quot;L&amp;quot;
61 RCL &amp;quot;w&amp;quot;
62 RCL× &amp;quot;XC1&amp;quot;
63 1/X
64 STO &amp;quot;C1&amp;quot;
65 RCL &amp;quot;w&amp;quot;
66 RCL× &amp;quot;XC2&amp;quot;
67 1/X
68 STO &amp;quot;C2&amp;quot;
69 &amp;quot;Load&amp;quot;
70 AVIEW
71 PSE
72 VIEW &amp;quot;RL&amp;quot;
73 PSE
74 &amp;quot;Inductor&amp;quot;
75 AVIEW
76 PSE
77 VIEW &amp;quot;L&amp;quot;
78 PSE
79 &amp;quot;Shunt Cap&amp;quot;
80 AVIEW
81 PSE
82 VIEW &amp;quot;C2&amp;quot;
83 PSE
84 &amp;quot;Series Cap&amp;quot;
85 AVIEW
86 PSE
87 VIEW &amp;quot;C1&amp;quot;
88 PSE
89 RCL &amp;quot;RL&amp;quot;
90 RCL &amp;quot;L&amp;quot;
91 RCL &amp;quot;C2&amp;quot;
92 RCL &amp;quot;C1&amp;quot;
93 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 290-Byte Prgm }
01▸LBL &amp;quot;LCL&amp;quot;
02 INPUT &amp;quot;Vcc&amp;quot;
03 INPUT &amp;quot;PWR&amp;quot;
04 INPUT &amp;quot;freq&amp;quot;
05 RCL &amp;quot;Vcc&amp;quot;
06 X^2
07 RCL &amp;quot;PWR&amp;quot;
08 2
09 ×
10 ÷
11 STO &amp;quot;RL&amp;quot;
12 RCL &amp;quot;RL&amp;quot;
13 50
14 X≤Y?
15 XEQ &amp;quot;LCL&amp;quot;
16 RCL÷ &amp;quot;RL&amp;quot;
17 1
18 -
19 SQRT
20 STO &amp;quot;Qmin&amp;quot;
21 VIEW &amp;quot;Qmin&amp;quot;
22 PSE
23▸LBL 01
24 INPUT &amp;quot;Q&amp;quot;
25 RCL &amp;quot;Qmin&amp;quot;
26 X≥Y?
27 GTO 01
28 RCL &amp;quot;freq&amp;quot;
29 2
30 ×
31 PI
32 ×
33 STO &amp;quot;w&amp;quot;
34 RCL &amp;quot;Q&amp;quot;
35 X^2
36 1
37 +
38 RCL× &amp;quot;RL&amp;quot;
39 STO &amp;quot;A&amp;quot;
40 50
41 ÷
42 1
43 -
44 SQRT
45 STO &amp;quot;B&amp;quot;
46 RCL &amp;quot;RL&amp;quot;
47 RCL× &amp;quot;Q&amp;quot;
48 STO &amp;quot;XL1&amp;quot;
49 RCL &amp;quot;B&amp;quot;
50 50
51 ×
52 STO &amp;quot;XL2&amp;quot;
53 RCL &amp;quot;A&amp;quot;
54 RCL &amp;quot;Q&amp;quot;
55 RCL+ &amp;quot;B&amp;quot;
56 ÷
57 STO &amp;quot;XC&amp;quot;
58 RCL &amp;quot;XL1&amp;quot;
59 RCL÷ &amp;quot;w&amp;quot;
60 STO &amp;quot;L1&amp;quot;
61 RCL &amp;quot;XL2&amp;quot;
62 RCL÷ &amp;quot;w&amp;quot;
63 STO &amp;quot;L2&amp;quot;
64 RCL &amp;quot;XC&amp;quot;
65 RCL× &amp;quot;w&amp;quot;
66 1/X
67 STO &amp;quot;C&amp;quot;
68 &amp;quot;Load&amp;quot;
69 AVIEW
70 PSE
71 VIEW &amp;quot;RL&amp;quot;
72 PSE
73 &amp;quot;Input Inductor&amp;quot;
74 AVIEW
75 PSE
76 VIEW &amp;quot;L1&amp;quot;
77 PSE
78 &amp;quot;Shunt Cap&amp;quot;
79 AVIEW
80 PSE
81 VIEW &amp;quot;C&amp;quot;
82 PSE
83 &amp;quot;Output Inductor&amp;quot;
84 AVIEW
85 PSE
86 VIEW &amp;quot;L2&amp;quot;
87 PSE
88 RCL &amp;quot;RL&amp;quot;
89 RCL &amp;quot;L1&amp;quot;
90 RCL &amp;quot;C&amp;quot;
91 RCL &amp;quot;L2&amp;quot;
92 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 260-Byte Prgm }
01▸LBL &amp;quot;DTC&amp;quot;
02 INPUT &amp;quot;Z&amp;quot;
03 INPUT &amp;quot;Fmin&amp;quot;
04 INPUT &amp;quot;Fmax&amp;quot;
05 INPUT &amp;quot;L&amp;quot;
06 INPUT &amp;quot;Qu&amp;quot;
07 RCL &amp;quot;Fmin&amp;quot;
08 RCL× &amp;quot;Fmax&amp;quot;
09 SQRT
10 2
11 ×
12 PI
13 ×
14 STO &amp;quot;w&amp;quot;
15 RCL &amp;quot;L&amp;quot;
16 RCL &amp;quot;w&amp;quot;
17 X^2
18 ×
19 1/X
20 STO &amp;quot;Co&amp;quot;
21 RCL &amp;quot;w&amp;quot;
22 RCL &amp;quot;Fmax&amp;quot;
23 RCL- &amp;quot;Fmin&amp;quot;
24 2
25 ×
26 PI
27 ×
28 ÷
29 STO &amp;quot;Ql&amp;quot;
30 RCL &amp;quot;Co&amp;quot;
31 RCL &amp;quot;Ql&amp;quot;
32 2
33 SQRT
34 ×
35 ÷
36 STO &amp;quot;C12&amp;quot;
37 RCL &amp;quot;Ql&amp;quot;
38 2
39 SQRT
40 ×
41 STO &amp;quot;Qj&amp;quot;
42 RCL &amp;quot;Qj&amp;quot;
43 1/X
44 RCL &amp;quot;Qu&amp;quot;
45 1/X
46 -
47 1/X
48 STO &amp;quot;Qej&amp;quot;
49 RCL× &amp;quot;w&amp;quot;
50 RCL× &amp;quot;L&amp;quot;
51 STO &amp;quot;Rej&amp;quot;
52 RCL &amp;quot;Rej&amp;quot;
53 RCL× &amp;quot;Z&amp;quot;
54 RCL &amp;quot;Z&amp;quot;
55 X^2
56 -
57 SQRT
58 RCL× &amp;quot;w&amp;quot;
59 1/X
60 STO &amp;quot;Cjl&amp;quot;
61 RCL &amp;quot;Co&amp;quot;
62 RCL- &amp;quot;Cjl&amp;quot;
63 RCL- &amp;quot;C12&amp;quot;
64 STO &amp;quot;Cj&amp;quot;
65 &amp;quot;Tank Cap&amp;quot;
66 AVIEW
67 PSE
68 VIEW &amp;quot;Cj&amp;quot;
69 PSE
70 &amp;quot;Coupling Cap&amp;quot;
71 AVIEW
72 PSE
73 VIEW &amp;quot;C12&amp;quot;
74 PSE
75 &amp;quot;End Cap&amp;quot;
76 AVIEW
77 PSE
78 VIEW &amp;quot;Cjl&amp;quot;
79 PSE
80 RCL &amp;quot;Fmin&amp;quot;
81 RCL &amp;quot;Cj&amp;quot;
82 RCL &amp;quot;C12&amp;quot;
83 RCL &amp;quot;Cjl&amp;quot;
84 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 49-Byte Prgm }
01▸LBL &amp;quot;.VppdBm&amp;quot;
02 MVAR &amp;quot;Vpp&amp;quot;
03 MVAR &amp;quot;dBm&amp;quot;
04 RCL &amp;quot;Vpp&amp;quot;
05 X^2
06 400
07 ÷
08 1ᴇ-3
09 ÷
10 LOG
11 10
12 ×
13 RCL &amp;quot;dBm&amp;quot;
14 -
15 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 40-Byte Prgm }
01▸LBL &amp;quot;.LXl&amp;quot;
02 MVAR &amp;quot;L&amp;quot;
03 MVAR &amp;quot;freq&amp;quot;
04 MVAR &amp;quot;XL&amp;quot;
05 RCL &amp;quot;freq&amp;quot;
06 RCL× &amp;quot;L&amp;quot;
07 2
08 ×
09 PI
10 ×
11 RCL &amp;quot;XL&amp;quot;
12 -
13 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 42-Byte Prgm }
01▸LBL &amp;quot;.CXc&amp;quot;
02 MVAR &amp;quot;XC&amp;quot;
03 MVAR &amp;quot;freq&amp;quot;
04 MVAR &amp;quot;C&amp;quot;
05 RCL &amp;quot;XC&amp;quot;
06 RCL× &amp;quot;freq&amp;quot;
07 RCL× &amp;quot;C&amp;quot;
08 2
09 ×
10 PI
11 ×
12 1
13 -
14 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 45-Byte Prgm }
01▸LBL &amp;quot;.S→RL&amp;quot;
02 MVAR &amp;quot;RL&amp;quot;
03 MVAR &amp;quot;SWR&amp;quot;
04 RCL &amp;quot;SWR&amp;quot;
05 1
06 -
07 RCL &amp;quot;SWR&amp;quot;
08 1
09 +
10 ÷
11 LOG
12 20
13 ×
14 +/-
15 RCL- &amp;quot;RL&amp;quot;
16 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 58-Byte Prgm }
01▸LBL &amp;quot;.S→RF&amp;quot;
02 MVAR &amp;quot;Ref&amp;quot;
03 MVAR &amp;quot;Fwd&amp;quot;
04 MVAR &amp;quot;SWR&amp;quot;
05 1
06 RCL &amp;quot;Ref&amp;quot;
07 RCL÷ &amp;quot;Fwd&amp;quot;
08 SQRT
09 +
10 1
11 RCL &amp;quot;Ref&amp;quot;
12 RCL÷ &amp;quot;Fwd&amp;quot;
13 SQRT
14 -
15 ÷
16 RCL- &amp;quot;SWR&amp;quot;
17 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 37-Byte Prgm }
01▸LBL &amp;quot;.VppW&amp;quot;
02 MVAR &amp;quot;Vpp&amp;quot;
03 MVAR &amp;quot;Watt&amp;quot;
04 RCL &amp;quot;Vpp&amp;quot;
05 X^2
06 400
07 ÷
08 RCL- &amp;quot;Watt&amp;quot;
09 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 160-Byte Prgm }
01▸LBL &amp;quot;OpBPF&amp;quot;
02 INPUT &amp;quot;freq&amp;quot;
03 INPUT &amp;quot;BW&amp;quot;
04 INPUT &amp;quot;Gain&amp;quot;
05 INPUT &amp;quot;C&amp;quot;
06 RCL &amp;quot;freq&amp;quot;
07 RCL÷ &amp;quot;BW&amp;quot;
08 STO &amp;quot;Q&amp;quot;
09 RCL &amp;quot;freq&amp;quot;
10 2
11 ×
12 PI
13 ×
14 STO &amp;quot;w&amp;quot;
15 RCL &amp;quot;Gain&amp;quot;
16 RCL &amp;quot;C&amp;quot;
17 RCL &amp;quot;Q&amp;quot;
18 2
19 ×
20 RCL &amp;quot;w&amp;quot;
21 RCL× &amp;quot;C&amp;quot;
22 ÷
23 STO &amp;quot;R3&amp;quot;
24 RCL &amp;quot;Q&amp;quot;
25 RCL &amp;quot;Gain&amp;quot;
26 RCL× &amp;quot;w&amp;quot;
27 RCL× &amp;quot;C&amp;quot;
28 ÷
29 STO &amp;quot;R1&amp;quot;
30 RCL &amp;quot;Q&amp;quot;
31 RCL &amp;quot;Q&amp;quot;
32 X^2
33 2
34 ×
35 RCL- &amp;quot;Gain&amp;quot;
36 RCL× &amp;quot;w&amp;quot;
37 RCL× &amp;quot;C&amp;quot;
38 ÷
39 STO &amp;quot;R2&amp;quot;
40 VIEW &amp;quot;R1&amp;quot;
41 PSE
42 VIEW &amp;quot;R2&amp;quot;
43 PSE
44 VIEW &amp;quot;R3&amp;quot;
45 RCL &amp;quot;freq&amp;quot;
46 RCL &amp;quot;R1&amp;quot;
47 RCL &amp;quot;R2&amp;quot;
48 RCL &amp;quot;R3&amp;quot;
49 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 51-Byte Prgm }
01▸LBL &amp;quot;.PD&amp;quot;
02 MVAR &amp;quot;R1&amp;quot;
03 MVAR &amp;quot;R2&amp;quot;
04 MVAR &amp;quot;Vin&amp;quot;
05 MVAR &amp;quot;Vout&amp;quot;
06 RCL &amp;quot;Vin&amp;quot;
07 RCL &amp;quot;R1&amp;quot;
08 RCL+ &amp;quot;R2&amp;quot;
09 ÷
10 RCL &amp;quot;Vout&amp;quot;
11 RCL÷ &amp;quot;R2&amp;quot;
12 -
13 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 178-Byte Prgm }
01 GTO &amp;quot;.S←→RL&amp;quot;
02▸LBL &amp;quot;Lmat&amp;quot;
03 INPUT &amp;quot;Rlo&amp;quot;
04 INPUT &amp;quot;Rhi&amp;quot;
05 RCL &amp;quot;Rhi&amp;quot;
06 RCL &amp;quot;Rlo&amp;quot;
07 X≥Y?
08 XEQ &amp;quot;Lmat&amp;quot;
09 RCL &amp;quot;Rhi&amp;quot;
10 RCL÷ &amp;quot;Rlo&amp;quot;
11 1
12 -
13 SQRT
14 STO &amp;quot;Q&amp;quot;
15 RCL× &amp;quot;Rlo&amp;quot;
16 STO &amp;quot;XL&amp;quot;
17 RCL &amp;quot;Rhi&amp;quot;
18 RCL÷ &amp;quot;Q&amp;quot;
19 STO &amp;quot;XC&amp;quot;
20 INPUT &amp;quot;freq&amp;quot;
21 RCL &amp;quot;freq&amp;quot;
22 2
23 ×
24 PI
25 ×
26 STO &amp;quot;w&amp;quot;
27 RCL &amp;quot;XL&amp;quot;
28 RCL÷ &amp;quot;w&amp;quot;
29 STO &amp;quot;L&amp;quot;
30 RCL &amp;quot;XC&amp;quot;
31 RCL× &amp;quot;w&amp;quot;
32 1/X
33 STO &amp;quot;C&amp;quot;
34 &amp;quot;Q&amp;quot;
35 AVIEW
36 PSE
37 VIEW &amp;quot;Q&amp;quot;
38 PSE
39 &amp;quot;Inductor&amp;quot;
40 AVIEW
41 PSE
42 VIEW &amp;quot;L&amp;quot;
43 PSE
44 &amp;quot;Capacitor&amp;quot;
45 AVIEW
46 PSE
47 VIEW &amp;quot;C&amp;quot;
48 PSE
49 RCL &amp;quot;Rlo&amp;quot;
50 RCL &amp;quot;Rhi&amp;quot;
51 RCL &amp;quot;L&amp;quot;
52 RCL &amp;quot;C&amp;quot;
53 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 251-Byte Prgm }
01▸LBL &amp;quot;Tmat&amp;quot;
02 INPUT &amp;quot;Rhi&amp;quot;
03 INPUT &amp;quot;Rlo&amp;quot;
04 INPUT &amp;quot;freq&amp;quot;
05 RCL &amp;quot;Rhi&amp;quot;
06 RCL &amp;quot;Rlo&amp;quot;
07 X&amp;gt;Y?
08 XEQ &amp;quot;Tmat&amp;quot;
09 RCL &amp;quot;Rhi&amp;quot;
10 RCL÷ &amp;quot;Rlo&amp;quot;
11 1
12 -
13 SQRT
14 STO &amp;quot;Qmin&amp;quot;
15 VIEW &amp;quot;Qmin&amp;quot;
16 PSE
17▸LBL 01
18 INPUT &amp;quot;Q&amp;quot;
19 RCL &amp;quot;Qmin&amp;quot;
20 X≥Y?
21 GTO 01
22 RCL &amp;quot;Q&amp;quot;
23 X^2
24 1
25 +
26 RCL× &amp;quot;Rlo&amp;quot;
27 STO &amp;quot;A&amp;quot;
28 RCL÷ &amp;quot;Rhi&amp;quot;
29 1
30 -
31 SQRT
32 STO &amp;quot;B&amp;quot;
33 RCL &amp;quot;Rlo&amp;quot;
34 RCL× &amp;quot;Q&amp;quot;
35 STO &amp;quot;XL1&amp;quot;
36 RCL &amp;quot;Rhi&amp;quot;
37 RCL× &amp;quot;B&amp;quot;
38 STO &amp;quot;XL2&amp;quot;
39 RCL &amp;quot;A&amp;quot;
40 RCL &amp;quot;Q&amp;quot;
41 RCL+ &amp;quot;B&amp;quot;
42 ÷
43 STO &amp;quot;XC&amp;quot;
44 RCL &amp;quot;freq&amp;quot;
45 2
46 ×
47 PI
48 ×
49 STO &amp;quot;w&amp;quot;
50 RCL &amp;quot;XL1&amp;quot;
51 RCL÷ &amp;quot;w&amp;quot;
52 STO &amp;quot;L1&amp;quot;
53 RCL &amp;quot;XL2&amp;quot;
54 RCL÷ &amp;quot;w&amp;quot;
55 STO &amp;quot;L2&amp;quot;
56 RCL &amp;quot;XC&amp;quot;
57 RCL× &amp;quot;w&amp;quot;
58 1/X
59 STO &amp;quot;C&amp;quot;
60 &amp;quot;L hi&amp;quot;
61 AVIEW
62 PSE
63 VIEW &amp;quot;L1&amp;quot;
64 PSE
65 &amp;quot;C shunt&amp;quot;
66 AVIEW
67 PSE
68 VIEW &amp;quot;C&amp;quot;
69 PSE
70 &amp;quot;L low&amp;quot;
71 AVIEW
72 PSE
73 VIEW &amp;quot;L2&amp;quot;
74 PSE
75 RCL &amp;quot;Q&amp;quot;
76 RCL &amp;quot;L1&amp;quot;
77 RCL &amp;quot;C&amp;quot;
78 RCL &amp;quot;L2&amp;quot;
79 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 135-Byte Prgm }
01▸LBL &amp;quot;Piatt&amp;quot;
02 INPUT &amp;quot;Att&amp;quot;
03 INPUT &amp;quot;Z&amp;quot;
04 RCL &amp;quot;Att&amp;quot;
05 20
06 +/-
07 ÷
08 10^X
09 STO &amp;quot;A&amp;quot;
10 1
11 RCL+ &amp;quot;A&amp;quot;
12 1
13 RCL- &amp;quot;A&amp;quot;
14 ÷
15 RCL× &amp;quot;Z&amp;quot;
16 STO &amp;quot;R1&amp;quot;
17 1
18 RCL &amp;quot;A&amp;quot;
19 X^2
20 -
21 2
22 RCL× &amp;quot;A&amp;quot;
23 ÷
24 RCL× &amp;quot;Z&amp;quot;
25 STO &amp;quot;R2&amp;quot;
26 &amp;quot;Shunt R1&amp;quot;
27 AVIEW
28 PSE
29 VIEW &amp;quot;R1&amp;quot;
30 PSE
31 &amp;quot;Series R2&amp;quot;
32 AVIEW
33 PSE
34 VIEW &amp;quot;R2&amp;quot;
35 PSE
36 &amp;quot;Shunt R3&amp;quot;
37 AVIEW
38 PSE
39 VIEW &amp;quot;R1&amp;quot;
40 PSE
41 RCL &amp;quot;Att&amp;quot;
42 RCL &amp;quot;R1&amp;quot;
43 RCL &amp;quot;R2&amp;quot;
44 RCL &amp;quot;R1&amp;quot;
45 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 144-Byte Prgm }
01▸LBL &amp;quot;MPad&amp;quot;
02 INPUT &amp;quot;Zh&amp;quot;
03 INPUT &amp;quot;Zl&amp;quot;
04 RCL &amp;quot;Zl&amp;quot;
05 RCL÷ &amp;quot;Zh&amp;quot;
06 STO &amp;quot;A&amp;quot;
07 1
08 RCL- &amp;quot;A&amp;quot;
09 SQRT
10 RCL× &amp;quot;Zh&amp;quot;
11 STO &amp;quot;R1&amp;quot;
12 RCL &amp;quot;Zl&amp;quot;
13 1
14 RCL- &amp;quot;A&amp;quot;
15 SQRT
16 ÷
17 STO &amp;quot;R2&amp;quot;
18 RCL &amp;quot;A&amp;quot;
19 1/X
20 1
21 -
22 SQRT
23 RCL &amp;quot;A&amp;quot;
24 1/X
25 SQRT
26 +
27 X^2
28 1/X
29 LOG
30 10
31 ×
32 +/-
33 STO &amp;quot;G&amp;quot;
34 &amp;quot;Loss&amp;quot;
35 AVIEW
36 PSE
37 VIEW &amp;quot;G&amp;quot;
38 PSE
39 &amp;quot;Series R(hiZ)&amp;quot;
40 AVIEW
41 PSE
42 VIEW &amp;quot;R1&amp;quot;
43 PSE
44 &amp;quot;Shunt R(loZ)&amp;quot;
45 AVIEW
46 PSE
47 VIEW &amp;quot;R2&amp;quot;
48 PSE
49 RCL &amp;quot;G&amp;quot;
50 RCL &amp;quot;R1&amp;quot;
51 RCL &amp;quot;R2&amp;quot;
52 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 141-Byte Prgm }
01▸LBL &amp;quot;Tatt&amp;quot;
02 INPUT &amp;quot;Att&amp;quot;
03 INPUT &amp;quot;Z&amp;quot;
04 RCL &amp;quot;Att&amp;quot;
05 20
06 ÷
07 10^X
08 STO &amp;quot;G&amp;quot;
09 RCL &amp;quot;G&amp;quot;
10 1
11 -
12 RCL &amp;quot;G&amp;quot;
13 1
14 +
15 ÷
16 RCL× &amp;quot;Z&amp;quot;
17 STO &amp;quot;R1&amp;quot;
18 STO &amp;quot;R2&amp;quot;
19 RCL &amp;quot;G&amp;quot;
20 RCL &amp;quot;G&amp;quot;
21 X^2
22 1
23 -
24 ÷
25 RCL× &amp;quot;Z&amp;quot;
26 2
27 ×
28 STO &amp;quot;R3&amp;quot;
29 &amp;quot;Series R1&amp;quot;
30 AVIEW
31 PSE
32 VIEW &amp;quot;R1&amp;quot;
33 PSE
34 &amp;quot;Shunt R3&amp;quot;
35 AVIEW
36 PSE
37 VIEW &amp;quot;R3&amp;quot;
38 PSE
39 &amp;quot;Series R2&amp;quot;
40 AVIEW
41 PSE
42 VIEW &amp;quot;R2&amp;quot;
43 PSE
44 RCL &amp;quot;Att&amp;quot;
45 RCL &amp;quot;R1&amp;quot;
46 RCL &amp;quot;R3&amp;quot;
47 RCL &amp;quot;R2&amp;quot;
48 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 151-Byte Prgm }
01▸LBL &amp;quot;Bias&amp;quot;
02 INPUT &amp;quot;Vcc&amp;quot;
03 INPUT &amp;quot;Hfe&amp;quot;
04 INPUT &amp;quot;Ie&amp;quot;
05 RCL &amp;quot;Vcc&amp;quot;
06 12
07 ÷
08 STO &amp;quot;Ve&amp;quot;
09 0.7
10 +
11 STO &amp;quot;Vb&amp;quot;
12 RCL &amp;quot;Ve&amp;quot;
13 RCL÷ &amp;quot;Ie&amp;quot;
14 STO &amp;quot;Re&amp;quot;
15 RCL &amp;quot;Ie&amp;quot;
16 RCL÷ &amp;quot;Hfe&amp;quot;
17 STO &amp;quot;Ib&amp;quot;
18 RCL &amp;quot;Vb&amp;quot;
19 10
20 RCL× &amp;quot;Ib&amp;quot;
21 ÷
22 STO &amp;quot;R2&amp;quot;
23 RCL &amp;quot;Vcc&amp;quot;
24 RCL- &amp;quot;Vb&amp;quot;
25 11
26 RCL× &amp;quot;Ib&amp;quot;
27 ÷
28 STO &amp;quot;R1&amp;quot;
29 RCL &amp;quot;Vcc&amp;quot;
30 2
31 ÷
32 STO &amp;quot;Vc&amp;quot;
33 RCL &amp;quot;Vcc&amp;quot;
34 RCL- &amp;quot;Vc&amp;quot;
35 RCL÷ &amp;quot;Ie&amp;quot;
36 STO &amp;quot;Rc&amp;quot;
37 RCL &amp;quot;R1&amp;quot;
38 RCL &amp;quot;R2&amp;quot;
39 RCL &amp;quot;Rc&amp;quot;
40 RCL &amp;quot;Re&amp;quot;
41 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 26-Byte Prgm }
01▸LBL &amp;quot;FIB&amp;quot;
02 STO &amp;quot;N&amp;quot;
03 1
04 ENTER
05 0
06▸LBL A
07 +
08 LASTX
09 X&amp;lt;&amp;gt;Y
10 DSE &amp;quot;N&amp;quot;
11 GTO A
12 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 10-Byte Prgm }
01▸LBL &amp;quot;Eng3&amp;quot;
02 ENG 03
03 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 10-Byte Prgm }
01▸LBL &amp;quot;Fix6&amp;quot;
02 FIX 06
03 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 19-Byte Prgm }
01▸LBL &amp;quot;SM&amp;quot;
02 STO 00
03 0
04 STO 01
05▸LBL 01
06 RCL 00
07 STO+ 01
08 DSE 00
09 GTO 01
10 RCL 01
11 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 49-Byte Prgm }
01▸LBL &amp;quot;BM&amp;quot;
02 0
03 STO 02
04 1.01234ᴇ6
05 STO 00
06 2.345
07 STO 01
08▸LBL 02
09 RCL 01
10 RCL 00
11 ×
12 RCL 01
13 -
14 RCL 00
15 ÷
16 RCL 01
17 ×
18 3.5
19 ÷
20 SQRT
21 1
22 STO+ 02
23 GTO 02
24 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 33-Byte Prgm }
01▸LBL &amp;quot;BMT&amp;quot;
02 56.26
03 STO 00
04 0
05 STO 02
06▸LBL 04
07 RCL 00
08 SIN
09 ASIN
10 COS
11 ACOS
12 TAN
13 ATAN
14 LN
15 E^X
16 1
17 STO+ 02
18 GTO 04
19 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 64-Byte Prgm }
01▸LBL &amp;quot;P→S&amp;quot;
02 RECT
03 INPUT &amp;quot;Rp&amp;quot;
04 INPUT &amp;quot;Xp&amp;quot;
05 RCL &amp;quot;Rp&amp;quot;
06 RCL÷ &amp;quot;Xp&amp;quot;
07 STO &amp;quot;Q&amp;quot;
08 X^2
09 1
10 +
11 RCL &amp;quot;Rp&amp;quot;
12 X&amp;lt;&amp;gt;Y
13 ÷
14 STO &amp;quot;Rs&amp;quot;
15 RCL &amp;quot;Q&amp;quot;
16 ×
17 STO &amp;quot;Xs&amp;quot;
18 RCL &amp;quot;Rs&amp;quot;
19 RCL &amp;quot;Xs&amp;quot;
20 COMPLEX
21 STO &amp;quot;Zs&amp;quot;
22 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 51-Byte Prgm }
01▸LBL &amp;quot;S→P&amp;quot;
02 RECT
03 INPUT &amp;quot;Rs&amp;quot;
04 INPUT &amp;quot;Xs&amp;quot;
05 RCL÷ &amp;quot;Rs&amp;quot;
06 STO &amp;quot;Q&amp;quot;
07 X^2
08 1
09 +
10 RCL× &amp;quot;Rs&amp;quot;
11 STO &amp;quot;Rp&amp;quot;
12 RCL÷ &amp;quot;Q&amp;quot;
13 STO &amp;quot;Xp&amp;quot;
14 RCL &amp;quot;Rp&amp;quot;
15 RCL &amp;quot;Xp&amp;quot;
16 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 97-Byte Prgm }
01▸LBL &amp;quot;Z→&amp;quot;
02 RECT
03 INPUT &amp;quot;Rs&amp;quot;
04 INPUT &amp;quot;Xs&amp;quot;
05 RCL &amp;quot;Rs&amp;quot;
06 RCL &amp;quot;Xs&amp;quot;
07 COMPLEX
08 STO &amp;quot;Zs&amp;quot;
09 50
10 -
11 RCL &amp;quot;Zs&amp;quot;
12 50
13 +
14 ÷
15 STO &amp;quot;Rho&amp;quot;
16 ABS
17 STO &amp;quot;P&amp;quot;
18 1
19 RCL+ &amp;quot;P&amp;quot;
20 1
21 RCL- &amp;quot;P&amp;quot;
22 ÷
23 STO &amp;quot;S&amp;quot;
24 RCL &amp;quot;P&amp;quot;
25 LOG
26 20
27 ×
28 STO &amp;quot;Rl&amp;quot;
29 RCL &amp;quot;Zs&amp;quot;
30 RCL &amp;quot;Rho&amp;quot;
31 RCL &amp;quot;S&amp;quot;
32 RCL &amp;quot;Rl&amp;quot;
33 POLAR
34 RTN
35 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 92-Byte Prgm }
01▸LBL &amp;quot;PIXCIR&amp;quot;
02 MVAR &amp;quot;R&amp;quot;
03 MVAR &amp;quot;X&amp;quot;
04 MVAR &amp;quot;Y&amp;quot;
05 VARMENU &amp;quot;PIXCIR&amp;quot;
06 STOP
07 EXITALL
08 2
09 STO &amp;quot;GrMod&amp;quot;
10 1
11 360
12 1ᴇ3
13 ÷
14 +
15 STO 01
16 CLLCD
17▸LBL 01
18 RCL &amp;quot;Y&amp;quot;
19 RCL &amp;quot;R&amp;quot;
20 RCL 01
21 IP
22 SIN
23 ×
24 -
25 RCL &amp;quot;X&amp;quot;
26 RCL &amp;quot;R&amp;quot;
27 RCL 01
28 IP
29 COS
30 ×
31 +
32 PIXEL
33 RCL 01
34 ISG 01
35 GTO 01
36 XEQ &amp;quot;PIXCIR&amp;quot;
37 END&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;00 { 204-Byte Prgm }
01▸LBL &amp;quot;BFil&amp;quot;
02 ENG 03
03 SF 00
04 INPUT &amp;quot;MHz&amp;quot;
05 1ᴇ6
06 ×
07 STO &amp;quot;F&amp;quot;
08 INPUT &amp;quot;N&amp;quot;
09 X&amp;lt;0?
10 CF 00
11 XEQ 06
12▸LBL 01
13 RCL &amp;quot;I&amp;quot;
14 IP
15 XEQ 00
16 FS? 00
17 1/X
18 STO IND &amp;quot;I&amp;quot;
19 ISG &amp;quot;I&amp;quot;
20 GTO 01
21 &amp;quot;Coefficients&amp;quot;
22 AVIEW
23 STOP
24 GTO 07
25▸LBL 08
26 RCL IND &amp;quot;I&amp;quot;
27 RCL &amp;quot;F&amp;quot;
28 2
29 ×
30 PI
31 ×
32 ÷
33 RTN
34▸LBL 07
35 XEQ 06
36▸LBL 03
37 RCL &amp;quot;I&amp;quot;
38 IP
39 2
40 ÷
41 FP
42 FS? 00
43 GTO 09
44 GTO 10
45▸LBL 09
46 &amp;quot;HPF&amp;quot;
47 AVIEW
48 X=0?
49 GTO 05
50 GTO 04
51 RTN
52▸LBL 10
53 &amp;quot;LPF&amp;quot;
54 AVIEW
55 X=0?
56 GTO 04
57 GTO 05
58 RTN
59▸LBL 04
60 XEQ 08
61 50
62 ×
63 STO IND &amp;quot;I&amp;quot;
64 ISG &amp;quot;I&amp;quot;
65 GTO 03
66 RTN
67▸LBL 05
68 XEQ 08
69 50
70 ÷
71 STO IND &amp;quot;I&amp;quot;
72 ISG &amp;quot;I&amp;quot;
73 GTO 03
74 RTN
75▸LBL 06
76 RCL &amp;quot;N&amp;quot;
77 ABS
78 1000
79 ÷
80 1
81 +
82 STO &amp;quot;I&amp;quot;
83 RTN
84▸LBL 00
85 2
86 ×
87 1
88 -
89 180
90 ×
91 RCL &amp;quot;N&amp;quot;
92 ABS
93 2
94 ×
95 ÷
96 SIN
97 2
98 ×
99 RTN
100 END

&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;DM42 Progs&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dm42_progs&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-11924&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Page created Thu May 26 17:32:54 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 24/01/26 08:08 GMT
&lt;/p&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 24/04/23 16:08&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Back to &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:progs:dm42_progs&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:progs:dm42_progs&quot; data-wiki-id=&quot;public:calculator:progs:dm42_progs&quot;&gt;Top&lt;/a&gt; of page&lt;/strong&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:30,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;11925-12115&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:calculator&amp;amp;do=showtag&amp;amp;tag=calculator&quot; class=&quot;wikilink1&quot; title=&quot;tag:calculator&quot; rel=&quot;tag&quot;&gt;calculator&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dm42&amp;amp;do=showtag&amp;amp;tag=dm42&quot; class=&quot;wikilink1&quot; title=&quot;tag:dm42&quot; rel=&quot;tag&quot;&gt;dm42&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:30,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;12116-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 24 Jan 2026 08:08:10 +0000</pubDate>
        </item>
        <item>
            <title>HP35s Progs</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:progs:hp35s_progs</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:progs:start&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:progs:start&quot; data-wiki-id=&quot;public:calculator:progs:start&quot;&gt;Programs&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;hp35s_progs&quot;&gt;HP35s Progs&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;============= 13/2/22 ===========================


#### HP35s Butterworth Filter designer
#
# Changed 12/2/22 to make it fit in a single prog label with no
# sub routines (ie using up additional labels). Frequency entry
# now in MHz.
# Results are copied from indirect-only registers 1-&amp;gt;9 into Registers R -&amp;gt; Z 
# to make them accessible from RCL R, RCL S etc. on keyboard 
#



M001 LBL M
M002 SF 0
M003 INPUT F
M004 1E6
M005 X
M006 STO F
M007 INPUT N
M008 X&amp;lt;0?
M009 CF 0
M010 18.026
M011 STO A
M012 RCL A
M013 IP
M014 +/-
M015 STO J
M016 0
M017 STO(J)
M018 ISG A
M019 GTO M012
M020 ENG 3
M021 RCL N
M022 ABS
M023 1000
M024 /
M025 1
M026 +
M027 STO I
M028 STO H
M029 RCL I
M030 IP
M031 2
M032 X
M033 1
M034 -
M035 180
M036 X
M037 RCL N
M038 ABS
M039 2
M040 X
M041 /
M042 SIN
M043 2
M044 X
M045 FS? 0
M046 1/x
M047 STO(I)
M048 ISG I
M049 GTO M029
M050 RCL H
M051 STO I
M052 RCL I
M053 IP
M054 2
M055 /
M056 FP
M057 FS? 0
M058 GTO M101
M059 GTO M105
M060 RTN
M061 RCL(I)
M062 RCL F
M063 2
M064 X
M065 PI
M066 X
M067 /
M068 50
M069 X
M070 STO(I)
M071 RCL I
M072 17
M073 +
M074 +/-
M075 STO J
M076 RCL(I)
M077 STO(J)
M078 ISG I
M079 GTO M052
M080 RTN
M081 RCL(I)
M082 RCL F
M083 2
M084 X
M085 PI
M086 X
M087 /
M088 50
M089 /
M090 STO(I)
M091 RCL I
M092 17
M093 +
M094 +/-
M095 STO J
M096 RCL(I)
M097 STO(J)
M098 ISG I
M099 GTO M052
M100 RTN
M101 x=0?
M102 GTO M081
M103 GTO M061
M104 RTN
M015 x=0?
M106 GTO M061
M107 GTO M081
M108 RTN
&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;HP35s Progs&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;hp35s_progs&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-1494&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Page created Thu May 26 17:37:39 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 24/01/26 08:11 GMT
&lt;/p&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 24/04/23 16:10&lt;/em&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;1495-1664&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:calculator&amp;amp;do=showtag&amp;amp;tag=calculator&quot; class=&quot;wikilink1&quot; title=&quot;tag:calculator&quot; rel=&quot;tag&quot;&gt;calculator&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:hp35s&amp;amp;do=showtag&amp;amp;tag=hp35s&quot; class=&quot;wikilink1&quot; title=&quot;tag:hp35s&quot; rel=&quot;tag&quot;&gt;hp35s&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1665-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 24 Jan 2026 08:11:53 +0000</pubDate>
        </item>
        <item>
            <title>Dokuwiki Mirror</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:dokuwiki_mirror</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:start&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:start&quot; data-wiki-id=&quot;public:computers:archive:start&quot;&gt;Archive&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;dokuwiki_mirror&quot;&gt;Dokuwiki Mirror&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
I&amp;#039;m running a &lt;strong&gt;SANDBOX&lt;/strong&gt; installation of dokuwiki on the small headless server in have in the shack.
&lt;/p&gt;

&lt;p&gt;
This is to allow me to mess around with templates and layouts and things without impacting the &lt;em&gt;real&lt;/em&gt; wiki.
&lt;/p&gt;

&lt;p&gt;
To give it some data - a full mirror of the existing &lt;em&gt;real&lt;/em&gt; wiki - I&amp;#039;ve used &lt;code&gt;rsync&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;cd&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;var&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;www&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;html&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; rsync &lt;span class=&quot;re5&quot;&gt;-av&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--delete&lt;/span&gt; gm4slv&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;gm4slv.org.uk:&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;var&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;www&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;html&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dokuwiki&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt; .&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dokuwiki&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
This copies the &lt;em&gt;production&lt;/em&gt; wiki into the web server root on the little &lt;em&gt;sandbox&lt;/em&gt; machine.
&lt;/p&gt;
&lt;div class=&quot;plugin_note noteclassic&quot;&gt;&lt;strong&gt;UPDATE — &lt;em&gt;John Pumford-Green 27/04/23 05:53&lt;/em&gt;&lt;/strong&gt;
&lt;p&gt;
Added &lt;code&gt;–delete&lt;/code&gt; to the command, to remove pages in the Mirror copy that have been deleted from the VPS (production) server, to keep them properly in step.
&lt;/p&gt;

&lt;/div&gt;
&lt;p&gt;
I can then play around to my heart&amp;#039;s content.
&lt;/p&gt;

&lt;p&gt;
The same mechanism would work to retrieve/install the whole wiki from a  &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:dokuwiki_backup&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:dokuwiki_backup&quot; data-wiki-id=&quot;public:computers:archive:dokuwiki_backup&quot;&gt;backup&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;ve put it in a shell script:
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;WEBDIR&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;var&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;www&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;html&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dokuwiki&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;SERVERDIR&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;var&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;www&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;html&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dokuwiki&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;SERVER&lt;/span&gt;=gm4slv.org.uk
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt;  rsync &lt;span class=&quot;re5&quot;&gt;-e&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;ssh -l gm4slv -i /home/gm4slv/.ssh/id_rsa&amp;quot;&lt;/span&gt;  &lt;span class=&quot;re5&quot;&gt;-av&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$SERVER&lt;/span&gt;:&lt;span class=&quot;re1&quot;&gt;$SERVERDIR&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$WEBDIR&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
This means I can automate the mirroring with &lt;code&gt;crontab&lt;/code&gt; of I wanted to, but it would mean the &lt;em&gt;sandbox&lt;/em&gt; will lose any local modifications I&amp;#039;ve done. Perhaps it&amp;#039;s best to keep the option to &lt;em&gt;revert to production version&lt;/em&gt; as something I do from time to time, rather then automatically.
&lt;/p&gt;

&lt;p&gt;
(UPDATE — &lt;em&gt;John Pumford-Green 30/05/22 19:37&lt;/em&gt; )
&lt;/p&gt;

&lt;p&gt;
Encrypted Password Plugin…. see &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:sandbox_server&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:sandbox_server&quot; data-wiki-id=&quot;public:computers:archive:sandbox_server&quot;&gt;Sandbox Server&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Dokuwiki Mirror&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dokuwiki_mirror&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-1693&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 30/05/22 13:37&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/06/26 08:17 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dokuwiki&amp;amp;do=showtag&amp;amp;tag=dokuwiki&quot; class=&quot;wikilink1&quot; title=&quot;tag:dokuwiki&quot; rel=&quot;tag&quot;&gt;dokuwiki&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:linux&amp;amp;do=showtag&amp;amp;tag=linux&quot; class=&quot;wikilink1&quot; title=&quot;tag:linux&quot; rel=&quot;tag&quot;&gt;linux&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;1694-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 07:17:18 +0000</pubDate>
        </item>
        <item>
            <title>Code &amp; Command Snippets</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:gists</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:start&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:start&quot; data-wiki-id=&quot;public:computers:archive:start&quot;&gt;Archive&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;code_command_snippets&quot;&gt;Code &amp;amp; Command Snippets&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Code &amp;amp; Command Snippets&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;code_command_snippets&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-55&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;windows_wifi_disconnect&quot;&gt;Windows WiFi Disconnect&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Windows will disconnect a WIFI connection when it discovers there&amp;#039;s no WAN internet - presumably Windows thinks ALL networks are connected to the Internet and this prevents using WIFI for an isolated LAN, and also throws you off the WLAN whenever the ADSL connection fails, even when you&amp;#039;re busy using only internal LAN sessions. 
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;THIS IS WRONG BEHAVIOUR.&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
I found a solution, and typically it&amp;#039;s a REGEDIT task:
&lt;/p&gt;

&lt;p&gt;
From : &lt;a href=&quot;https://superuser.com/questions/1650052/how-to-keep-windows-10-connected-to-wifi-without-internet&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://superuser.com/questions/1650052/how-to-keep-windows-10-connected-to-wifi-without-internet&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://superuser.com/questions/1650052/how-to-keep-windows-10-connected-to-wifi-without-internet&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Add a Registry DWORD “NoActiveProbe” value “1” at &lt;code&gt;Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Job Done. You stay on your LAN even when the interwebs is down. 
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Acomputers%3Aarchive%3Agists&amp;amp;media=public:computers:screenshot_2024-03-26_20.19.56.png&quot; class=&quot;media&quot; title=&quot;public:computers:screenshot_2024-03-26_20.19.56.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=409612&amp;amp;media=public:computers:screenshot_2024-03-26_20.19.56.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Windows WiFi Disconnect&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;windows_wifi_disconnect&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;56-902&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;chrome_redirects&quot;&gt;Chrome redirects&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
To remove a “permanent redirect” - e.g. from an &lt;code&gt;http&lt;/code&gt; to an &lt;code&gt;https&lt;/code&gt; URL - I found the answer here:
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.neilwithdata.com/chrome-redirect-forget&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.neilwithdata.com/chrome-redirect-forget&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.neilwithdata.com/chrome-redirect-forget&lt;/a&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Open the Chrome Developer Tools (F12)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Go to the Network tab and make sure Disable cache is ticked&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Reload (or navigate to) the page you no longer want to be redirected while keeping the dev tools open.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 27/04/23 06:12&lt;/em&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Chrome redirects&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;chrome_redirects&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;903-1351&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;vim_pasting&quot;&gt;Vim Pasting&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I recently had problems pasting text into Vim by the traditional &lt;kbd class=&quot;__keyboard&quot;&gt;RIGHT&lt;/kbd&gt; click method. Vim would enter &lt;code&gt;Insert(VISUAL)&lt;/code&gt; mode instead.
&lt;/p&gt;

&lt;p&gt;
One solution when using &lt;code&gt;Putty&lt;/code&gt; is to use its own mechanism :
&lt;/p&gt;

&lt;p&gt;
&lt;kbd class=&quot;__keyboard&quot;&gt;SHIFT&lt;/kbd&gt;+&lt;kbd class=&quot;__keyboard&quot;&gt;INS&lt;/kbd&gt;
&lt;/p&gt;

&lt;p&gt;
I prefer to use &lt;kbd class=&quot;__keyboard&quot;&gt;RIGHT&lt;/kbd&gt; click, as it&amp;#039;s more natural so I found the solution is to add
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; mouse-=a&lt;/pre&gt;

&lt;p&gt;
to &lt;code&gt;~/.vimrc&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
This solves the problem, and I don&amp;#039;t need to use &lt;code&gt;nano&lt;/code&gt; when editing text files on my remote server via &lt;code&gt;SSH&lt;/code&gt; using Putty.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Vim Pasting&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;vim_pasting&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;1352-1885&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;raspberry_pi_stuff&quot;&gt;Raspberry Pi Stuff&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; find Raspberry Pi Model : &lt;code&gt;cat /sys/firmware/devicetree/base/model&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; mount a raspberry pi image&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code bash&quot;&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;laptop:~&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;piimg $ &lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; losetup &lt;span class=&quot;re5&quot;&gt;-Pf&lt;/span&gt; igate.img
gm4slv&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;laptop:~&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;piimg $ lsblk
NAME      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0       &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;:&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;    &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;   4.3G  &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; loop
├─loop0p1 &lt;span class=&quot;nu0&quot;&gt;259&lt;/span&gt;:&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;    &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;   256M  &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; part
└─loop0p2 &lt;span class=&quot;nu0&quot;&gt;259&lt;/span&gt;:&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;    &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;     4G  &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; part
sda         &lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;:&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;    &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 298.1G  &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; disk
├─sda1      &lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;:&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;    &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 235.1G  &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; part &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;
├─sda2      &lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;:&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;    &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;     1K  &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; part
├─sda3      &lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;:&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;    &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;  50.9G  &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; part
└─sda5      &lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;:&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;    &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;  12.1G  &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; part &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;SWAP&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
sr0        &lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt;:&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;    &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;  1024M  &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; rom
gm4slv&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;laptop:~&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;piimg $ &lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;mount&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;loop0p2 &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;mnt&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; remove mounted image&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code bash&quot;&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;laptop:~&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;piimg $ &lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;umount&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;mnt
gm4slv&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;laptop:~&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;piimg $ &lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; losetup &lt;span class=&quot;re5&quot;&gt;-D&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Raspberry Pi Stuff&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;raspberry_pi_stuff&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1886-2710&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;git&quot;&gt;Git&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
 Basic Workflow
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; do all changes to code&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;git add .&lt;/code&gt; to add changed files to staging&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;git commit -m “commit message” &lt;/code&gt; to do the commit&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;git push&lt;/code&gt; to push new commits to &lt;code&gt;github&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Git&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;git&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;2711-2930&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit7&quot; id=&quot;windows_host_file&quot;&gt;Windows Host File&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Start  → Windows Accessories → Notepad → &amp;lt;right click&amp;gt; … more…Run as Administrator&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; edit &lt;code&gt;C:\Windows\System32\drivers\etc\hosts&lt;/code&gt; (set &lt;code&gt;All files&lt;/code&gt; rather than &lt;code&gt;txt&lt;/code&gt; to be able to see the &lt;code&gt;hosts&lt;/code&gt; file in the file chooser)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Save&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Windows Host File&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;windows_host_file&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;2931-3213&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit8&quot; id=&quot;auto_ssh_tunnels&quot;&gt;Auto SSH Tunnels&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Used on remote installations to create persistent SSH &lt;code&gt;reverse&lt;/code&gt; tunnels. 
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Auto SSH Tunnels&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;auto_ssh_tunnels&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;3214-3320&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit9&quot; id=&quot;an_example&quot;&gt;An example&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:svx&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:svxlink:svx&quot; data-wiki-id=&quot;public:radio:topics:svxlink:svx&quot;&gt;svxlink hotspot&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;An example&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;an_example&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;3321-3380&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit10&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Page created Thu May 26 14:00:21 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/06/26 21:03 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:linux&amp;amp;do=showtag&amp;amp;tag=linux&quot; class=&quot;wikilink1&quot; title=&quot;tag:linux&quot; rel=&quot;tag&quot;&gt;linux&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:pi&amp;amp;do=showtag&amp;amp;tag=pi&quot; class=&quot;wikilink1&quot; title=&quot;tag:pi&quot; rel=&quot;tag&quot;&gt;pi&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;3381-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 20:03:26 +0000</pubDate>
        </item>
        <item>
            <title>Java JRE and Echolink Proxy</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:jave_jre</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:start&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:start&quot; data-wiki-id=&quot;public:computers:archive:start&quot;&gt;Archive&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;java_jre_and_echolink_proxy&quot;&gt;Java JRE and Echolink Proxy&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Java JRE and Echolink Proxy&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;java_jre_and_echolink_proxy&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-59&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;setting_up_echolink_proxy_on_vps&quot;&gt;Setting up Echolink Proxy on VPS&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;apt-get install&lt;/span&gt; default-jre-headless
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;wget&lt;/span&gt; http:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;echolink.org&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;downloads&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;EchoLinkProxy_1_2_3.zip
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;apt-get install&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;unzip&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;unzip&lt;/span&gt; EchoLinkProxy_1_2_3.zip
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;chmod&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;755&lt;/span&gt; EcholinkProxy.jar
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;vi&lt;/span&gt; ELProxy.conf&lt;/pre&gt;

&lt;p&gt;
and set new password
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;vps_firewall&quot;&gt;VPS Firewall&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
on fasthost control panel open 
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;TCP/8100&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;UDP/5198&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;UDP/5199&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:computers:fhfw.png&quot; class=&quot;media&quot; title=&quot;public:computers:fhfw.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=065fdb&amp;amp;media=public:computers:fhfw.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Setting up Echolink Proxy on VPS&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;setting_up_echolink_proxy_on_vps&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;60-498&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;start_proxy&quot;&gt;Start Proxy&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;code&gt;java -jar EcholinkProxy.jar&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co4&quot;&gt;gm4slv@gm4slv:~$ &lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;java&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-jar&lt;/span&gt; EchoLinkProxy.jar
EchoLink Proxy version 1.2.3
Listening &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; connections on port &lt;span class=&quot;nu0&quot;&gt;8100&lt;/span&gt;
Ready &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; new client connection.
Client connected: 80.229.223.86
Client authenticated &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re2&quot;&gt;call&lt;/span&gt;=GM4SLV&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;/pre&gt;

&lt;p&gt;
This runs and works okay.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Start Proxy&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;start_proxy&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;499-817&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;start_in_tmux&quot;&gt;Start in tmux&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:computers:archive:jave_jre&amp;amp;codeblock=2&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_sh&quot;&gt;start_proxy.sh&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;session&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;proxy&amp;quot;&lt;/span&gt;
&amp;nbsp;
tmux start-server
&amp;nbsp;
tmux new-session &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-s&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$session&lt;/span&gt;
&amp;nbsp;
tmux rename-window &lt;span class=&quot;st0&quot;&gt;&amp;quot;echolink&amp;quot;&lt;/span&gt;
&amp;nbsp;
tmux selectp &lt;span class=&quot;re5&quot;&gt;-t&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
tmux send-keys &lt;span class=&quot;st0&quot;&gt;&amp;quot;java -jar /home/gm4slv/EchoLinkProxy.jar&amp;quot;&lt;/span&gt; C-m&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;

&lt;p&gt;
add &lt;code&gt;crontab&lt;/code&gt; to start &lt;code&gt;@reboot&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;@reboot sleep 30 &amp;amp;&amp;amp; sudo -u gm4slv /home/gm4slv/start_proxy.sh &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Start in tmux&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;start_in_tmux&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;818-1196&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 04/06/22 07:26&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Page last updated: 30/12/25 09:55 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:svxlink&amp;amp;do=showtag&amp;amp;tag=svxlink&quot; class=&quot;wikilink1&quot; title=&quot;tag:svxlink&quot; rel=&quot;tag&quot;&gt;svxlink&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:echolink&amp;amp;do=showtag&amp;amp;tag=echolink&quot; class=&quot;wikilink1&quot; title=&quot;tag:echolink&quot; rel=&quot;tag&quot;&gt;echolink&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:linux&amp;amp;do=showtag&amp;amp;tag=linux&quot; class=&quot;wikilink1&quot; title=&quot;tag:linux&quot; rel=&quot;tag&quot;&gt;linux&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1197-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>MediaWiki VPS Install</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:mediawiki</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:start&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:start&quot; data-wiki-id=&quot;public:computers:archive:start&quot;&gt;Archive&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;mediawiki_vps_install&quot;&gt;MediaWiki VPS Install&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;div class=&quot;plugin_note noteclassic&quot;&gt;— &lt;em&gt;John Pumford-Green 27/04/23 06:21&lt;/em&gt;
&lt;p&gt;
I have recenlty rebuilt the VPS install during a hardware upgrade, and the &lt;code&gt;Mediawiki&lt;/code&gt; install is no longer in place.
&lt;/p&gt;

&lt;p&gt;
The following guide would allow it to be re-installed should I decide to.
&lt;/p&gt;

&lt;/div&gt;
&lt;p&gt;
To compare &lt;code&gt;mediawiki&lt;/code&gt; with &lt;code&gt;dokuwiki&lt;/code&gt; I installed &lt;code&gt;mediawiki&lt;/code&gt; on my little shack server. 
&lt;/p&gt;

&lt;p&gt;
I followed the instructions here
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_or_Ubuntu&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_or_Ubuntu&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_or_Ubuntu&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
and did a few tweaks etc. to get things running.
&lt;/p&gt;

&lt;p&gt;
I forgot to document the tweaks!
&lt;/p&gt;

&lt;p&gt;
So I thought there would be no harm in installing it on my VPS to run alongside the main &lt;code&gt;dokuwiki&lt;/code&gt; site, with a view to deciding whether to switch to &lt;code&gt;mediawiki&lt;/code&gt; later.
&lt;/p&gt;

&lt;p&gt;
Here are my steps to install mediawiki on the VPS machine, which already has a fully configured and working webserver &amp;amp; PHP. The main addition will be setting up a SQL server (probably MariaDB).
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;MediaWiki VPS Install&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;mediawiki_vps_install&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;16-975&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;installing_pre-requisites&quot;&gt;Installing pre-requisites&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;apt-get install&lt;/span&gt; apache2 mariadb-server php php-mysql libapache2-mod-php php-xml php-mbstring&lt;/pre&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;wget&lt;/span&gt; https:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;releases.wikimedia.org&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;mediawiki&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1.38&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;mediawiki-1.38.1.tar.gz&lt;/pre&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;tar&lt;/span&gt; zxvf mediawiki-1.38.1.tar.gz&lt;/pre&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;mkdir&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;var&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;www&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;html&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;mediawiki&lt;/pre&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;mv&lt;/span&gt; mediawiki-1.38.1&lt;span class=&quot;sy0&quot;&gt;/*&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;var&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;www&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;html&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;mediawiki&lt;/pre&gt;

&lt;p&gt;
That has installed a SQL server and the &lt;code&gt;mediawiki&lt;/code&gt; files into the webserver root. Next is to configure the SQL database to hold the wiki.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Installing pre-requisites&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;installing_pre-requisites&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;976-1541&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;sql_configuration&quot;&gt;SQL Configuration&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code sql&quot;&gt;gm4slv@gm4slv:~$ sudo service mysql &lt;span class=&quot;kw1&quot;&gt;START&lt;/span&gt;
gm4slv@gm4slv:~$ sudo mysql &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt;u root &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt;p
Enter password:
Welcome &lt;span class=&quot;kw1&quot;&gt;TO&lt;/span&gt; the MariaDB monitor&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;  Commands &lt;span class=&quot;kw1&quot;&gt;END&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;WITH&lt;/span&gt; ; &lt;span class=&quot;kw1&quot;&gt;OR&lt;/span&gt; \g&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;
Your MariaDB connection id &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;36&lt;/span&gt;
Server version: 10&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;3&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;34&lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt;MariaDB&lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt;deb10u1 Debian &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
&amp;nbsp;
Copyright &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;c&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2018&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; Oracle&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; MariaDB Corporation Ab &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; others&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;TYPE&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;help;&#039;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;OR&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\h&lt;/span&gt;&#039;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;FOR&lt;/span&gt; help&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TYPE&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\c&lt;/span&gt;&#039;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TO&lt;/span&gt; clear the &lt;span class=&quot;kw1&quot;&gt;CURRENT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INPUT&lt;/span&gt; statement&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;
&amp;nbsp;
MariaDB &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;NONE&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;USER&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;new_mysql_user&#039;&lt;/span&gt;@&lt;span class=&quot;st0&quot;&gt;&#039;localhost&#039;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;IDENTIFIED&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;BY&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;mwPass&#039;&lt;/span&gt;;
Query OK&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;ROWS&lt;/span&gt; affected &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0.018&lt;/span&gt; sec&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
MariaDB &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;NONE&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; quit;
Bye&lt;/pre&gt;

&lt;/div&gt;

&lt;h4 id=&quot;create_the_database_and_grant_the_user_access&quot;&gt;Create the database and grant the user access&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code sql&quot;&gt;gm4slv@gm4slv:~$ sudo mysql &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt;u root &lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt;p
Enter password:
Welcome &lt;span class=&quot;kw1&quot;&gt;TO&lt;/span&gt; the MariaDB monitor&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;  Commands &lt;span class=&quot;kw1&quot;&gt;END&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;WITH&lt;/span&gt; ; &lt;span class=&quot;kw1&quot;&gt;OR&lt;/span&gt; \g&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;
Your MariaDB connection id &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;37&lt;/span&gt;
Server version: 10&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;3&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;34&lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt;MariaDB&lt;span class=&quot;sy0&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt;deb10u1 Debian &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
&amp;nbsp;
Copyright &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;c&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2000&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2018&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; Oracle&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; MariaDB Corporation Ab &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; others&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;TYPE&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;help;&#039;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;OR&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\h&lt;/span&gt;&#039;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;FOR&lt;/span&gt; help&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TYPE&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\c&lt;/span&gt;&#039;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TO&lt;/span&gt; clear the &lt;span class=&quot;kw1&quot;&gt;CURRENT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INPUT&lt;/span&gt; statement&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;
&amp;nbsp;
MariaDB &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;NONE&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;DATABASE&lt;/span&gt; my_wiki;
Query OK&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;ROW&lt;/span&gt; affected &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0.003&lt;/span&gt; sec&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
MariaDB &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;NONE&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;USE&lt;/span&gt; my_wiki;
&lt;span class=&quot;kw1&quot;&gt;DATABASE&lt;/span&gt; changed
MariaDB &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;my_wiki&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;GRANT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;ALL&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; my_wiki&lt;span class=&quot;sy0&quot;&gt;.*&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TO&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;new_mysql_user&#039;&lt;/span&gt;@&lt;span class=&quot;st0&quot;&gt;&#039;localhost&#039;&lt;/span&gt;;
Query OK&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;ROWS&lt;/span&gt; affected &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0.001&lt;/span&gt; sec&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
MariaDB &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;my_wiki&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; quit;
Bye&lt;/pre&gt;

&lt;p&gt;
Browse to &lt;a href=&quot;https://gm4slv.org.uk/mediawiki&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://gm4slv.org.uk/mediawiki&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://gm4slv.org.uk/mediawiki&lt;/a&gt; and got an error message that there was a PHP component missing &lt;code&gt;intl&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;apt-get install&lt;/span&gt; php-intl&lt;/pre&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; service apache2 restart&lt;/pre&gt;

&lt;p&gt;
Browse to &lt;code&gt;mediawiki&lt;/code&gt; again and all seems well. The message now is that LocalSettings.php is missing, which is created at the next step, following the on screen link.
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:computers:screenshot_2022-06-29_15.43.11.png&quot; class=&quot;media&quot; title=&quot;public:computers:screenshot_2022-06-29_15.43.11.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=5d5cd8&amp;amp;media=public:computers:screenshot_2022-06-29_15.43.11.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Configure the SQL access: 
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;Database Username : new_mysql_user
Database Password : mwPass&lt;/pre&gt;

&lt;p&gt;
Complete the questions, select the required extensions etc. and download the &lt;code&gt;LocalSettings.php&lt;/code&gt; file. Then upload the file to the VPS and put it in &lt;code&gt;/var/www/html/mediawiki&lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;SQL Configuration&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;sql_configuration&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:5,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1542-3580&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;tweaks&quot;&gt;Tweaks&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;

&lt;h4 id=&quot;file_uploads&quot;&gt;File uploads&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Make sure &lt;code&gt;images&lt;/code&gt; directory has &lt;code&gt;ugo+rwx&lt;/code&gt; permissions
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;logo&quot;&gt;Logo&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Somehow upload a &lt;code&gt;logo.png&lt;/code&gt; into &lt;code&gt;images&lt;/code&gt; and edit &lt;code&gt;LocalSetting.php&lt;/code&gt; to point at the log:
&lt;/p&gt;
&lt;pre class=&quot;code php&quot;&gt;&lt;span class=&quot;re0&quot;&gt;$wgLogos&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;
        &lt;span class=&quot;st_h&quot;&gt;&#039;1x&#039;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es4&quot;&gt;$wgResourceBasePath&lt;/span&gt;/images/logo.png&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;st_h&quot;&gt;&#039;icon&#039;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es4&quot;&gt;$wgResourceBasePath&lt;/span&gt;/images/logo.png&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h4 id=&quot;image_thumbnails_pdf&quot;&gt;Image thumbnails &amp;amp; pdf&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;code&gt;to be continued&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; apt &lt;span class=&quot;kw2&quot;&gt;install&lt;/span&gt; ghostscript imagemagick xpdf-utils &lt;/pre&gt;

&lt;p&gt;
add to LocalSettings.php:
&lt;/p&gt;
&lt;pre class=&quot;code php&quot;&gt;&lt;span class=&quot;re0&quot;&gt;$wgPdfProcessor&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;&#039;/usr/bin/gs&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$wgPdfPostProcessor&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$wgImageMagickConvertCommand&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// if defined via ImageMagick&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;// $wgPdfPostProcessor = &#039;/usr/bin/convert&#039;;  // if not defined via ImageMagick&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$wgPdfInfo&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;&#039;/usr/bin/pdfinfo&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$wgPdftoText&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;&#039;/usr/bin/pdftotext&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;re0&quot;&gt;$wgFileExtensions&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;&#039;pdf&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
Now upload a &lt;code&gt;pdf&lt;/code&gt; file and  it should appear in the file brower.
&lt;/p&gt;

&lt;p&gt;
Try putting it in a page with the &amp;lt;gallery&amp;gt; funtion
&lt;/p&gt;
&lt;pre class=&quot;code html4strict&quot;&gt;&lt;span class=&quot;sc2&quot;&gt;&amp;lt;gallery&amp;gt;&lt;/span&gt;
File:Blog.pdf|page=1
&lt;span class=&quot;sc2&quot;&gt;&amp;lt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gallery&amp;gt;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Tweaks&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tweaks&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:10,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;3581-4603&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 29/06/22 15:15&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Page last updated: 30/12/25 09:55 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:mediawiki&amp;amp;do=showtag&amp;amp;tag=mediawiki&quot; class=&quot;wikilink1&quot; title=&quot;tag:mediawiki&quot; rel=&quot;tag&quot;&gt;mediawiki&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:14,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;4604-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>Pinouts</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:pinouts</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:start&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:start&quot; data-wiki-id=&quot;public:computers:archive:start&quot;&gt;Archive&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;pinouts&quot;&gt;Pinouts&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Pinouts&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;pinouts&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-39&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;ethernet_rj45_b&quot;&gt;Ethernet RJ45 B&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; The normal straight cable is a 568B&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;table sectionedit3&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt; 1 &lt;/th&gt;&lt;th class=&quot;col1&quot;&gt; 2 &lt;/th&gt;&lt;th class=&quot;col2&quot;&gt; 3 &lt;/th&gt;&lt;th class=&quot;col3&quot;&gt; 4 &lt;/th&gt;&lt;th class=&quot;col4&quot;&gt; 5 &lt;/th&gt;&lt;th class=&quot;col5&quot;&gt; 6 &lt;/th&gt;&lt;th class=&quot;col6&quot;&gt; 7 &lt;/th&gt;&lt;th class=&quot;col7&quot;&gt; 8 &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; O/W &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; O &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; G/W &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; B &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; B/W &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; G &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; Bn/W &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; Bn &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;109-186&amp;quot;} --&gt;
&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Acomputers%3Aarchive%3Apinouts&amp;amp;media=public:computers:rj45-pinout-t568b.jpg&quot; class=&quot;media&quot; title=&quot;public:computers:rj45-pinout-t568b.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=904e70&amp;amp;media=public:computers:rj45-pinout-t568b.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;ethernet_x-over_a-b&quot;&gt;Ethernet X-over A-B&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; for use without a switch/hub and where the device cannot do automatic cross-over itself.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Acomputers%3Aarchive%3Apinouts&amp;amp;media=public:computers:rj45-ethernet-pinout-crossover-cable.jpg&quot; class=&quot;media&quot; title=&quot;public:computers:rj45-ethernet-pinout-crossover-cable.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=835a27&amp;amp;media=public:computers:rj45-ethernet-pinout-crossover-cable.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Ethernet RJ45 B&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;ethernet_rj45_b&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;40-432&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;raspberry_pi_gpio&quot;&gt;Raspberry Pi GPIO&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:computers:raspberry-pi-gpio-pinouts.png&quot; class=&quot;media&quot; title=&quot;public:computers:raspberry-pi-gpio-pinouts.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=6863a2&amp;amp;media=public:computers:raspberry-pi-gpio-pinouts.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Raspberry Pi GPIO&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;raspberry_pi_gpio&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;433-526&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;pyboard&quot;&gt;PyBoard&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:computers:pybv11-pinout.jpg&quot; class=&quot;media&quot; title=&quot;public:computers:pybv11-pinout.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=73597d&amp;amp;media=public:computers:pybv11-pinout.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;PyBoard&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;pyboard&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;527-597&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Page created Thu May 26 10:39:13 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/04/24 21:33 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:network&amp;amp;do=showtag&amp;amp;tag=network&quot; class=&quot;wikilink1&quot; title=&quot;tag:network&quot; rel=&quot;tag&quot;&gt;network&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;598-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Apr 2024 20:33:46 +0000</pubDate>
        </item>
        <item>
            <title>Sandbox Server</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:sandbox_server</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:start&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:start&quot; data-wiki-id=&quot;public:computers:archive:start&quot;&gt;Archive&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;sandbox_server&quot;&gt;Sandbox Server&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt; UPDATE — &lt;em&gt;John Pumford-Green 04/03/25 08:02 GMT&lt;/em&gt; &lt;/strong&gt;
&lt;/p&gt;
&lt;div class=&quot;plugin_note noteclassic&quot;&gt;The hardware running this little machine has recently become unreliable, the SSD is dying, so I&amp;#039;ve turned it off. I&amp;#039;ll leave any old information about this box for future reference

&lt;/div&gt;
&lt;p&gt;
&lt;strong&gt; UPDATE — &lt;em&gt;John Pumford-Green 27/04/23 06:16&lt;/em&gt; &lt;/strong&gt;
&lt;/p&gt;
&lt;div class=&quot;plugin_note noteclassic&quot;&gt;I have removed the self-signed SSL configuration on the shack &lt;em&gt;sandbox&lt;/em&gt; server and reverted it to plain HTTP.
I may re-instate it at some point in the future, but I decided I didn&amp;#039;t want the hassle of persuading Chrome to accept the self-signed &lt;em&gt;unsafe&lt;/em&gt; certificate all the time.
&lt;p&gt;
The details below show how it was originally set up, and can be used in future should I decide to repeat the process.
&lt;/p&gt;

&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Sandbox Server&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;sandbox_server&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-779&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;encryption&quot;&gt;Encryption&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
The shack webserver has a mirror of my &lt;em&gt;real&lt;/em&gt; dokuwiki, to use as a test-bed and after setting it up I discovered that the encryption plugin I was using on the &lt;em&gt;real&lt;/em&gt; wiki &lt;a href=&quot;https://www.dokuwiki.org/plugin:encryptedpasswords&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:encryptedpasswords&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Encrypted Passwords Plugin&lt;/a&gt; didn&amp;#039;t work.
&lt;/p&gt;

&lt;p&gt;
After some head scratching, and after trying out another plugin (dokucrypt2 plugin), I figured out the difference between the 2 web servers….
&lt;/p&gt;

&lt;p&gt;
The &lt;em&gt;real&lt;/em&gt; server is configured to do proper HTTPS, with a real, signed SSL certificate. The shack server only does plain old HTTP, no encryption.
&lt;/p&gt;

&lt;p&gt;
To test out my theory that this is what was &lt;em&gt;breaking&lt;/em&gt; Encrypted Password Plugin I setup self-signed SSL on the shack webserver. It&amp;#039;s just for local testing so there&amp;#039;s no need for traceable certification, just the ability to handle HTTPS traffic.
&lt;/p&gt;

&lt;p&gt;
It turned out to be quite simple….
&lt;/p&gt;

&lt;p&gt;
I found the information here : &lt;a href=&quot;https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-apache-in-ubuntu-16-04&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-apache-in-ubuntu-16-04&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-apache-in-ubuntu-16-04&lt;/a&gt;
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;shack:~&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;ssl_setup$ &lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; openssl req &lt;span class=&quot;re5&quot;&gt;-x509&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-nodes&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-days&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;365&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-newkey&lt;/span&gt; rsa:&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-keyout&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;etc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;ssl&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;private&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;apache-selfsigned.key &lt;span class=&quot;re5&quot;&gt;-out&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;etc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;ssl&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;certs&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;apache-selfsigned.crt
Generating a RSA private key
.......................+++++
...........+++++
writing new private key to &lt;span class=&quot;st_h&quot;&gt;&#039;/etc/ssl/private/apache-selfsigned.key&#039;&lt;/span&gt;
&lt;span class=&quot;re5&quot;&gt;-----&lt;/span&gt;
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter &lt;span class=&quot;st_h&quot;&gt;&#039;.&#039;&lt;/span&gt;, the field will be left blank.
&lt;span class=&quot;re5&quot;&gt;-----&lt;/span&gt;
Country Name &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; letter code&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;AU&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;:GB
State or Province Name &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;full name&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Some-State&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;:Shetland
Locality Name &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;eg, city&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;:Clousta
Organization Name &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;eg, company&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Internet Widgits Pty Ltd&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;:GM4SLV
Organizational Unit Name &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;eg, section&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;:GM4SLV
Common Name &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;e.g. server FQDN or YOUR name&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;:shack
Email Address &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;:&lt;/pre&gt;

&lt;p&gt;
The certificates are put in the directories already pointed to in the default SSL site config file so all I had to do was tell apache to enable ssl 
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; a2enmod ssl&lt;/pre&gt;

&lt;p&gt;
and enable the default SSL site
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;shack:&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;etc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;apache2&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sites-enabled$ &lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; a2ensite default-ssl.conf
Enabling site default-ssl.
To activate the new configuration, you need to run:
  systemctl reload apache2
gm4slv&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;shack:&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;etc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;apache2&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sites-enabled$ &lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; service apache2 restart&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Encryption&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;encryption&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;780-3302&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;ssl_enabled&quot;&gt;SSL enabled&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Browse to &lt;a href=&quot;https://shack/dokuwiki&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://shack/dokuwiki&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://shack/dokuwiki&lt;/a&gt; and I got the usual dire Chrome warning
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:computers:screenshot_2022-05-30_19.19.16.png&quot; class=&quot;media&quot; title=&quot;public:computers:screenshot_2022-05-30_19.19.16.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=aa13cc&amp;amp;media=public:computers:screenshot_2022-05-30_19.19.16.png&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
…. but chose to continue anyway…
&lt;/p&gt;

&lt;p&gt;
and it works!
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:computers:screenshot_2022-05-30_19.15.26.png&quot; class=&quot;media&quot; title=&quot;public:computers:screenshot_2022-05-30_19.15.26.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=863cab&amp;amp;media=public:computers:screenshot_2022-05-30_19.15.26.png&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;SSL enabled&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;ssl_enabled&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;3303-3600&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;encrypted_password_plugin&quot;&gt;Encrypted Password Plugin&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Then I tested the Encrypted Passwords Plugin and &lt;strong&gt; it also works &lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
UPDATE— &lt;em&gt;John Pumford-Green 31/05/22 21:13&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
The &lt;a href=&quot;https://www.dokuwiki.org/plugin:encryptedpasswords&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dokuwiki.org/plugin:encryptedpasswords&quot; rel=&quot;ugc nofollow noopener&quot;&gt;plugin page&lt;/a&gt; does say that HTTPS is needed:
&lt;/p&gt;
&lt;blockquote&gt;&lt;div class=&quot;no&quot;&gt;
 Please note that the modern encryption mechanisms used within this Plugin require a modern Browser, JavaScript enabled and a wiki served via HTTPS!&lt;/div&gt;&lt;/blockquote&gt;

&lt;/div&gt;

&lt;h4 id=&quot;result&quot;&gt;Result!&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
I can now use the &lt;em&gt;sandbox&lt;/em&gt; wiki to test everything that&amp;#039;s running on the &lt;em&gt;real&lt;/em&gt; wiki server.
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;redirect_to_https&quot;&gt;Redirect to https&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
(&lt;strong&gt;UPDATE&lt;/strong&gt; — &lt;em&gt;John Pumford-Green 31/05/22 10:08&lt;/em&gt;)
&lt;/p&gt;

&lt;p&gt;
edit 
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;/etc/apache2/sites-enabled/000-default.conf&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
to add 
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;ServerName gm4slv.plus.com
Redirect permanent / https://gm4slv.plus.com/&lt;/pre&gt;

&lt;p&gt;
Open &amp;amp; forward router&amp;#039;s port TCP/443 to the shack webserver
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;sudo service apache2 restart&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Hey presto - external access to HTTPS 
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Encrypted Password Plugin&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;encrypted_password_plugin&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;3601-4503&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 30/05/22 19:05&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Page last updated: 30/12/25 09:55 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:ssl&amp;amp;do=showtag&amp;amp;tag=ssl&quot; class=&quot;wikilink1&quot; title=&quot;tag:ssl&quot; rel=&quot;tag&quot;&gt;ssl&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:apache&amp;amp;do=showtag&amp;amp;tag=apache&quot; class=&quot;wikilink1&quot; title=&quot;tag:apache&quot; rel=&quot;tag&quot;&gt;apache&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dokuwiki&amp;amp;do=showtag&amp;amp;tag=dokuwiki&quot; class=&quot;wikilink1&quot; title=&quot;tag:dokuwiki&quot; rel=&quot;tag&quot;&gt;dokuwiki&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;4504-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>Diversion into the Linux Serial Console...</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:serial_terminal</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;diversion_into_the_linux_serial_console&quot;&gt;Diversion into the Linux Serial Console...&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 01/10/22 22:26&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
In preparation to my plan of adding a pair of RS232 serial ports to the next iteration of the 6502 computer I dug out an old Wyse serial terminal to use. I thought I&amp;#039;d check it still worked after many idle years gathering dust. It was last used when I first started playing with Linux on an old 486/DX2 machine (Red Hat 6 I think) and used it to access the headless 486 machine through a serial console.
&lt;/p&gt;

&lt;p&gt;
To re-live the experience I hooked it up to my little “pico-ITX” Linux server, which has a real serial port with a 9-pin D connector (!) and set about configuring Debian 11 with systemd (urgh!) to provide a console and login on /dev/ttyS0.
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:linux_serial_console&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:linux_serial_console&quot; data-wiki-id=&quot;public:computers:archive:linux_serial_console&quot;&gt;Linux Serial Console&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:computers:img_20220930_120917_052_1.jpg&quot; class=&quot;media&quot; title=&quot;public:computers:img_20220930_120917_052_1.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=1eb796&amp;amp;media=public:computers:img_20220930_120917_052_1.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:computers:img_20220930_120938_557_1.jpg&quot; class=&quot;media&quot; title=&quot;public:computers:img_20220930_120938_557_1.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=ce7150&amp;amp;media=public:computers:img_20220930_120938_557_1.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Then I remembered using Pine as an email client via a terminal session (and in xterm windows, and a non-X linux virtual terminal) so I thought I&amp;#039;d install it and re-live those days. Pine is no longer (easily) available but a new version is still being maintained - &lt;a href=&quot;https://alpineapp.email/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://alpineapp.email/&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Alpine &lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Installed it and spent a happy evening getting it to work with 2 different IMAP accounts (and the correct SMTP servers) &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:alpine&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:alpine&quot; data-wiki-id=&quot;public:computers:archive:alpine&quot;&gt;Old stuff but good&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
And then, telnet and telnetd….. and ftp and ftpd….. oh, those were the days..!
&lt;/p&gt;

&lt;p&gt;
I wanted to install and run &lt;code&gt;slrn&lt;/code&gt; for USENET NNTP news, like the old days, but I discovered there was no point even trying, as there seems to be no freely available NNTP servers around any more. Back in the day most ISPs seemed to provide a server even if it was limited in the newsgroups it carried. That doesn&amp;#039;t seem to be the case any more.
&lt;/p&gt;

&lt;p&gt;
On the subject of Wyse terminals and Linux I stumbled on a You Tube video &lt;a href=&quot;https://www.youtube.com/watch?v=xQTr9ZOJkC0&amp;amp;feature=share&amp;amp;si=ELPmzJkDCLju2KnD5oyZMQ&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.youtube.com/watch?v=xQTr9ZOJkC0&amp;amp;feature=share&amp;amp;si=ELPmzJkDCLju2KnD5oyZMQ&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.youtube.com/watch?v=xQTr9ZOJkC0&amp;amp;feature=share&amp;amp;si=ELPmzJkDCLju2KnD5oyZMQ&lt;/a&gt; and this led to another interesting video &lt;a href=&quot;https://www.youtube.com/watch?v=NUmTaRu6o8g&amp;amp;feature=share&amp;amp;si=ELPmzJkDCLju2KnD5oyZMQ&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.youtube.com/watch?v=NUmTaRu6o8g&amp;amp;feature=share&amp;amp;si=ELPmzJkDCLju2KnD5oyZMQ&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.youtube.com/watch?v=NUmTaRu6o8g&amp;amp;feature=share&amp;amp;si=ELPmzJkDCLju2KnD5oyZMQ&lt;/a&gt; describing a console-mode RSS reader &lt;a href=&quot;https://newsboat.org/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://newsboat.org/&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Newsboat&lt;/a&gt; so I had to try it….
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;ve enabled the RSS feed from this dokuwiki WiKi/Blog, just to play…. point your RSS software at &lt;a href=&quot;https://www.gm4slv.org.uk/dokuwiki/feed.php&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.gm4slv.org.uk/dokuwiki/feed.php&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.gm4slv.org.uk/dokuwiki/feed.php&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Well, now I&amp;#039;ve got Alpine, Lynx and Newsboat running in a Tmux session, accessed from a nice amber glowing CRT with the Wyse-185.
&lt;/p&gt;

&lt;p&gt;
Now I need to build Mk2 of the 6502 - which is going to be wire-wrapped and much more compact than the rat&amp;#039;s nest of Mk1
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:computer&amp;amp;do=showtag&amp;amp;tag=computer&quot; class=&quot;wikilink1&quot; title=&quot;tag:computer&quot; rel=&quot;tag&quot;&gt;computer&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:linux&amp;amp;do=showtag&amp;amp;tag=linux&quot; class=&quot;wikilink1&quot; title=&quot;tag:linux&quot; rel=&quot;tag&quot;&gt;linux&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 07:16:30 +0000</pubDate>
        </item>
        <item>
            <title>Tmux tips and tricks</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:tmux</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:start&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:start&quot; data-wiki-id=&quot;public:computers:archive:start&quot;&gt;Archive&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;tmux_tips_and_tricks&quot;&gt;Tmux tips and tricks&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Tmux tips and tricks&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tmux_tips_and_tricks&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;16-51&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;prefix_key&quot;&gt;prefix key&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
From &lt;a href=&quot;https://gist.github.com/JikkuJose/7509315&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://gist.github.com/JikkuJose/7509315&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://gist.github.com/JikkuJose/7509315&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Change “prefix” key to the backtick `
add to ~/.tmux.conf 
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;unbind C-b
set-option &lt;span class=&quot;re5&quot;&gt;-g&lt;/span&gt; prefix &lt;span class=&quot;sy0&quot;&gt;`&lt;/span&gt;
&lt;span class=&quot;kw3&quot;&gt;bind&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;`&lt;/span&gt; send-prefix&lt;/pre&gt;

&lt;p&gt;
the last line means typing two backticks in succession will pass the second one to the application - so can still enter ` into app. running in the tmux window.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;prefix key&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;prefix_key&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;52-415&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;terminal_colours&quot;&gt;terminal colours&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Colours in tmux… need TERM “xterm-256color”…
&lt;/p&gt;

&lt;p&gt;
add to ~/.bashrc:
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;export&lt;/span&gt; &lt;span class=&quot;re2&quot;&gt;TERM&lt;/span&gt;=xterm-256color&lt;/pre&gt;

&lt;p&gt;
also to ~/.tmux.conf
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-g&lt;/span&gt; default-terminal &lt;span class=&quot;st0&quot;&gt;&amp;quot;xterm-256color&amp;quot;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;terminal colours&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;terminal_colours&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;416-644&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;start_programs_in_tmux&quot;&gt;start programs in tmux&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Something like this:
&lt;/p&gt;
&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:computers:archive:tmux&amp;amp;codeblock=3&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_sh&quot;&gt;start_direwolf.sh&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;session&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;Igate&amp;quot;&lt;/span&gt;
&amp;nbsp;
tmux start-server
&amp;nbsp;
tmux new-session &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-s&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$session&lt;/span&gt;
&amp;nbsp;
tmux rename-window &lt;span class=&quot;st0&quot;&gt;&amp;quot;direwolf&amp;quot;&lt;/span&gt;
&amp;nbsp;
tmux selectp &lt;span class=&quot;re5&quot;&gt;-t&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
tmux send-keys &lt;span class=&quot;st0&quot;&gt;&amp;quot;direwolf -t 1 -T &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;c&lt;span class=&quot;st0&quot;&gt;&amp;quot; -c /home/gm4slv/direwolf.conf&amp;quot;&lt;/span&gt; C-m&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:linux&amp;amp;do=showtag&amp;amp;tag=linux&quot; class=&quot;wikilink1&quot; title=&quot;tag:linux&quot; rel=&quot;tag&quot;&gt;linux&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:tmux&amp;amp;do=showtag&amp;amp;tag=tmux&quot; class=&quot;wikilink1&quot; title=&quot;tag:tmux&quot; rel=&quot;tag&quot;&gt;tmux&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;start programs in tmux&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;start_programs_in_tmux&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;645-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Apr 2024 20:37:08 +0000</pubDate>
        </item>
        <item>
            <title>Monobook template wikis</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:dokuwiki:monobook_wikis</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:dokuwiki:start&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:dokuwiki:start&quot; data-wiki-id=&quot;public:computers:dokuwiki:start&quot;&gt;Dokuwiki&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;monobook_template_wikis&quot;&gt;Monobook template wikis&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt; A list of wikis I&amp;#039;ve found that use the &lt;code&gt;monobook&lt;/code&gt; (occasionally &lt;code&gt;vector&lt;/code&gt;)template&lt;/strong&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I&amp;#039;m a fan of the vintage style of &lt;code&gt;monobook&lt;/code&gt; and &lt;code&gt;vector&lt;/code&gt; wikis&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; here are some I&amp;#039;ve found, listed here for easy reference&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; they often include interesting techniques &amp;amp; plugins etc. or are a just glimpse into the past&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;a href=&quot;https://tjgrant.com/wiki/projects:monobook_for_dokuwiki&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://tjgrant.com/wiki/projects:monobook_for_dokuwiki&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://tjgrant.com/wiki/projects:monobook_for_dokuwiki&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;http://www.can-wiki.info/doku.php?id=start&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://www.can-wiki.info/doku.php?id=start&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://www.can-wiki.info/doku.php?id=start&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://support.rbg.informatik.tu-darmstadt.de/wiki//en/start&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://support.rbg.informatik.tu-darmstadt.de/wiki//en/start&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://support.rbg.informatik.tu-darmstadt.de/wiki//en/start&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.dam.brown.edu/dpd/doku.php/start&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dam.brown.edu/dpd/doku.php/start&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.dam.brown.edu/dpd/doku.php/start&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://badgrads.berkeley.edu/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://badgrads.berkeley.edu/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://badgrads.berkeley.edu/&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.alienbase.nl/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://wiki.alienbase.nl/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://wiki.alienbase.nl/&lt;/a&gt; &lt;code&gt;Vector&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://docs.slackware.com/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://docs.slackware.com/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://docs.slackware.com/&lt;/a&gt;  &lt;code&gt;Vector&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;http://www.trirand.com/jqgridwiki/doku.php?id=start&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://www.trirand.com/jqgridwiki/doku.php?id=start&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://www.trirand.com/jqgridwiki/doku.php?id=start&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;http://wiki.synchro.net/wiki:index&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://wiki.synchro.net/wiki:index&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://wiki.synchro.net/wiki:index&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://users.ece.cmu.edu/~jhoe/doku/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://users.ece.cmu.edu/~jhoe/doku/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://users.ece.cmu.edu/~jhoe/doku/&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;http://dispim.org/start&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://dispim.org/start&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://dispim.org/start&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://murmann-group.stanford.edu/doku.php?id=main_page&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://murmann-group.stanford.edu/doku.php?id=main_page&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://murmann-group.stanford.edu/doku.php?id=main_page&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://math.chapman.edu/~jipsen/structures/doku.php?id=start&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://math.chapman.edu/~jipsen/structures/doku.php?id=start&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://math.chapman.edu/~jipsen/structures/doku.php?id=start&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;http://bkchem.zirael.org/wiki/start&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://bkchem.zirael.org/wiki/start&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://bkchem.zirael.org/wiki/start&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;http://wordspace.collocations.de/doku.php/start&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://wordspace.collocations.de/doku.php/start&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://wordspace.collocations.de/doku.php/start&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.astron.nl/wsrt/wiki/doku.php?id=start&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.astron.nl/wsrt/wiki/doku.php?id=start&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.astron.nl/wsrt/wiki/doku.php?id=start&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.pmstieber.com/mstieber/doku.php?id=start&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.pmstieber.com/mstieber/doku.php?id=start&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.pmstieber.com/mstieber/doku.php?id=start&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.dpeddi.com/about&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.dpeddi.com/about&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.dpeddi.com/about&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://punbb.informer.com/wiki/start&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://punbb.informer.com/wiki/start&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://punbb.informer.com/wiki/start&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wikihost.nscl.msu.edu/gretina/doku.php/start&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://wikihost.nscl.msu.edu/gretina/doku.php/start&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://wikihost.nscl.msu.edu/gretina/doku.php/start&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;http://computer-chess.org/doku.php&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://computer-chess.org/doku.php&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://computer-chess.org/doku.php&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Monobook template wikis&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;monobook_template_wikis&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;16-1326&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;dead_links_or_no_longer_monobook_vector&quot;&gt;Dead Links (or no longer Monobook/Vector)&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;del&gt;&lt;a href=&quot;https://wiki.sahanafoundation.org/start&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://wiki.sahanafoundation.org/start&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://wiki.sahanafoundation.org/start&lt;/a&gt;&lt;/del&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;del&gt;&lt;a href=&quot;http://www.dpi.inpe.br/terralib5-design/doku.php?id=wiki:designimplementation&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://www.dpi.inpe.br/terralib5-design/doku.php?id=wiki:designimplementation&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://www.dpi.inpe.br/terralib5-design/doku.php?id=wiki:designimplementation&lt;/a&gt;&lt;/del&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;del&gt;&lt;a href=&quot;http://topas.dur.ac.uk/topaswiki/doku.php?id=topas&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://topas.dur.ac.uk/topaswiki/doku.php?id=topas&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://topas.dur.ac.uk/topaswiki/doku.php?id=topas&lt;/a&gt;&lt;/del&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;del&gt;&lt;a href=&quot;http://wiki.greenstone.org/doku.php?id=index&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://wiki.greenstone.org/doku.php?id=index&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://wiki.greenstone.org/doku.php?id=index&lt;/a&gt;&lt;/del&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;del&gt;&lt;a href=&quot;https://wiki.urspringer.de/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://wiki.urspringer.de/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://wiki.urspringer.de/&lt;/a&gt;&lt;/del&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;del&gt;&lt;a href=&quot;https://services.byu.edu/sw/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://services.byu.edu/sw/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://services.byu.edu/sw/&lt;/a&gt;&lt;/del&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;del&gt;&lt;a href=&quot;http://troop-394.org/wiki/doku.php/start?do=recent&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://troop-394.org/wiki/doku.php/start?do=recent&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://troop-394.org/wiki/doku.php/start?do=recent&lt;/a&gt;&lt;/del&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;del&gt;&lt;a href=&quot;http://www.cptcif.com/pfe/wiki/doku.php&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://www.cptcif.com/pfe/wiki/doku.php&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://www.cptcif.com/pfe/wiki/doku.php&lt;/a&gt;&lt;/del&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;del&gt;&lt;a href=&quot;http://www.ub.edu/persp/metaphysics/doku.php?id=start&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://www.ub.edu/persp/metaphysics/doku.php?id=start&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://www.ub.edu/persp/metaphysics/doku.php?id=start&lt;/a&gt;&lt;/del&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;del&gt;&lt;a href=&quot;http://pacs.ece.ohio-state.edu/doku.php&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://pacs.ece.ohio-state.edu/doku.php&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://pacs.ece.ohio-state.edu/doku.php&lt;/a&gt;&lt;/del&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;del&gt;&lt;a href=&quot;http://www.chemical-engineering.at/doku.php&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://www.chemical-engineering.at/doku.php&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://www.chemical-engineering.at/doku.php&lt;/a&gt;&lt;/del&gt;
&lt;/p&gt;

&lt;p&gt;
Last Modified : 28/01/26 18:23 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:monobook&amp;amp;do=showtag&amp;amp;tag=monobook&quot; class=&quot;wikilink1&quot; title=&quot;tag:monobook&quot; rel=&quot;tag&quot;&gt;monobook&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dokuwiki&amp;amp;do=showtag&amp;amp;tag=dokuwiki&quot; class=&quot;wikilink1&quot; title=&quot;tag:dokuwiki&quot; rel=&quot;tag&quot;&gt;dokuwiki&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Dead Links (or no longer Monobook\/Vector)&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dead_links_or_no_longer_monobook_vector&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;1327-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 28 Jan 2026 18:23:06 +0000</pubDate>
        </item>
        <item>
            <title>John&#039;s Bike Notes</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:bikes:john_bike</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:bikes:start&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:bikes:start&quot; data-wiki-id=&quot;public:miscellany:bikes:start&quot;&gt;Bikes&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;john_s_bike_notes&quot;&gt;John&amp;#039;s Bike Notes&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;John&amp;#039;s Bike Notes&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;john_s_bike_notes&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-49&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;additions_extras&quot;&gt;Additions / Extras&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Brooks B17 Saddle (Brown) 16/6/22&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;Carradice Zipped Roll Saddlebag (Red) 17/6/22&lt;/del&gt; → moved to Kate&amp;#039;s bike 21/5/25&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Pedals : Nukeproof Evo Flat Pedals (Yellow) 23/6/22&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Bottle Cage : Zefal (Red) 23/6/22&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Carradice Barley Saddlebag (Green) 21/5/25&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Additions \/ Extras&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;additions_extras&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;50-354&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;distance_record&quot;&gt;Distance Record&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;table sectionedit4&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Date&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Mileage&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Kilometers&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Comments&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0 centeralign&quot;&gt;  16/06/22  &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  0  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  0  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;New &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0 centeralign&quot;&gt;  24/04/25  &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  36  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  58  &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;Start of getting fit for 2025  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0 centeralign&quot;&gt;  10/05/25  &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  63  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  101  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0 centeralign&quot;&gt;  16/05/25  &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  120  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;382-570&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Distance Record&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;distance_record&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;355-571&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;maintenance_repairs&quot;&gt;Maintenance / Repairs&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;table sectionedit6&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Date&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;What&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Actions&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0 centeralign&quot;&gt;  13/05/25  &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Rear Derailleur &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Stops and cable tension adjusted to correct overshifting &amp;amp; inability to get into small (9th) cog &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0 centeralign&quot;&gt;  13/05/25  &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Rear Brakes &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Caliper re-centred to equalize piston/pad travel &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table1&amp;quot;,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;604-835&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Maintenance \/ Repairs&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;maintenance_repairs&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;572-839&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 14/06/22 18:27&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Page last updated: 30/12/25 09:55 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:trek&amp;amp;do=showtag&amp;amp;tag=trek&quot; class=&quot;wikilink1&quot; title=&quot;tag:trek&quot; rel=&quot;tag&quot;&gt;trek&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:bike&amp;amp;do=showtag&amp;amp;tag=bike&quot; class=&quot;wikilink1&quot; title=&quot;tag:bike&quot; rel=&quot;tag&quot;&gt;bike&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;840-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>Kate&#039;s Bike Notes</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:bikes:kate_bike</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:bikes:start&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:bikes:start&quot; data-wiki-id=&quot;public:miscellany:bikes:start&quot;&gt;Bikes&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;kate_s_bike_notes&quot;&gt;Kate&amp;#039;s Bike Notes&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Kate&amp;#039;s Bike Notes&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;kate_s_bike_notes&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-49&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;additions_extras&quot;&gt;Additions / Extras&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Terry Gel Saddle : 16/6/22 (from old Thorn Club Tour)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;Bottle Cage : Zefal (Red) 23/6/22&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Pedals : Nukeprook Junior Platform (Purple)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Restrap Frame bag (Small)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Bar End Mirror&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Carradice Zipped Roll Saddlebag (Red) 21/5/22&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Additions \/ Extras&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;additions_extras&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;50-335&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;mileage_record&quot;&gt;Mileage Record&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Mileage Record&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;mileage_record&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;336-363&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;maintenance_repairs&quot;&gt;Maintenance / Repairs&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Maintenance \/ Repairs&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;maintenance_repairs&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;364-399&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 14/06/22 18:28&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Page last updated: 30/12/25 09:55 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:bike&amp;amp;do=showtag&amp;amp;tag=bike&quot; class=&quot;wikilink1&quot; title=&quot;tag:bike&quot; rel=&quot;tag&quot;&gt;bike&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:trek&amp;amp;do=showtag&amp;amp;tag=trek&quot; class=&quot;wikilink1&quot; title=&quot;tag:trek&quot; rel=&quot;tag&quot;&gt;trek&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;400-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>Bikes</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:bikes:start</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:start&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:start&quot; data-wiki-id=&quot;public:miscellany:start&quot;&gt;Miscellany&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;bikes&quot;&gt;Bikes&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4 id=&quot;summer_2022&quot;&gt;Summer 2022&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_e3d70ffd69e86e1a793b7204025d9a0a_2&quot;&gt;We finally admitted defeat with the plan to rebuild/refurbish our old Thorn Club Tours : &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_e3d70ffd69e86e1a793b7204025d9a0a_2&quot;&gt;
&lt;p&gt;
Work Needed
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; brazing on new cable guides &amp;amp; stops&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; new brake and gear bosses&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; forks and steering stems were seized together&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; bottom brackets seized and housings looked swollen&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; bottle bosses rusted and a bolt sheered off inside at least one, needing removal and new bosses installing&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; possibly (serious?) internal corrosion after standing with tubes full of water&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
and pretty much &lt;em class=&quot;u&quot;&gt;everything&lt;/em&gt; else needed replacing too :
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; front and rear derailleur gears&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; rear sprockets&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; chainwheels&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; brakes&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; wheels / hubs / freewheel&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; brake and gear levers&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; saddles&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; head bearings&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; bottom brackets&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; pedals &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; etc. etc. etc… &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
The only things that could have been re-used were handlebars and cranks. 
&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;
It &lt;em&gt;was&lt;/em&gt; a romantic idea to restore them to their former glory, but realistically it would have been unjustifiably expensive and time consuming… we just wanted to ride bikes again after several years away from them.
&lt;/p&gt;

&lt;p&gt;
So we decided to invest in 2 new modern hybrid bikes instead. 
&lt;/p&gt;

&lt;p&gt;
Two new Trek FX 2 Disc (&lt;em&gt;Equipped&lt;/em&gt;) will replace the old Club Tours.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Bikes&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;bikes&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;13-1255&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;new_bike_notes&quot;&gt;New Bike Notes&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;script type=&quot;text/javascript&quot;&gt; catlist_baseurl = &quot;https://www.g4slv.info/dokuwiki/&quot;; catlist_basescript = &quot;doku.php&quot;; catlist_useslash = 0; catlist_userewrite = 0; catlist_sepchar = &quot;_&quot;; catlist_deaccent = 1; catlist_pagename_sanitize = 1; &lt;/script&gt;&lt;ul class=&quot;catlist-nslist&quot; &gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:bikes:john_bike&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:bikes:john_bike&quot; data-wiki-id=&quot;public:miscellany:bikes:john_bike&quot;&gt;John&amp;#039;s Bike Notes&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:bikes:kate_bike&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:bikes:kate_bike&quot; data-wiki-id=&quot;public:miscellany:bikes:kate_bike&quot;&gt;Kate&amp;#039;s Bike Notes&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:bikes:trek&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:bikes:trek&quot; data-wiki-id=&quot;public:miscellany:bikes:trek&quot;&gt;Trek FX2 Purchase 2022&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;New Bike Notes&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;new_bike_notes&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;1256-1312&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 13/06/22 09:35&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Page last updated: 30/12/25 09:55 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:bike&amp;amp;do=showtag&amp;amp;tag=bike&quot; class=&quot;wikilink1&quot; title=&quot;tag:bike&quot; rel=&quot;tag&quot;&gt;bike&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1313-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>Trek FX2 Purchase 2022</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:bikes:trek</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:bikes:start&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:bikes:start&quot; data-wiki-id=&quot;public:miscellany:bikes:start&quot;&gt;Bikes&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;trek_fx2_purchase_2022&quot;&gt;Trek FX2 Purchase 2022&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Trek FX2 Purchase 2022&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;trek_fx2_purchase_2022&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-54&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;purchase_details&quot;&gt;Purchase Details&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;

&lt;h4 id=&quot;model&quot;&gt;Model&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Trek FX 2 Disc “Equipped” (2022 model) in Viper Red&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Size (me) = XL &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Size (Kate) = S&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;span class=&quot;encryptedpasswords crypted&quot; data-crypted=&quot;U2FsdGVkX18pYQJG7a1EtkTrfUikO2iWznC+ZKcQE0usHhaHCImXRHEI3SqjMqbx9wXBGkLUmb7qbwrk2Oi0B8zjileFl0fdUTGf3LVg7ee1hApZKd55/ca7N8dwROAM&quot;&gt;&lt;span&gt;••••••••••&lt;/span&gt;&lt;svg viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z&quot;/&gt;&lt;/svg&gt;&lt;svg viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17Z&quot;/&gt;&lt;/svg&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;date_of_purchase&quot;&gt;Date of purchase&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 8 June 2022&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h4 id=&quot;dealer&quot;&gt;Dealer&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Balfe&amp;#039;s Bikes &lt;a href=&quot;https://www.balfesbikes.co.uk/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.balfesbikes.co.uk/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.balfesbikes.co.uk/&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h4 id=&quot;price&quot;&gt;Price&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; £725 each&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h4 id=&quot;arrived&quot;&gt;Arrived&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Delivered to Shetland Transport (Glasgow) 13/6/22&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Arrived Shetland Transport (Lerwick) : 16/6/22&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; £61.61 delivery charge&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Purchase Details&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;purchase_details&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;55-642&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;equipped_extras&quot;&gt;Equipped  Extras&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Mudguards&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Front Light : Axa Greenline 35 USB &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Rear Light : Spanninga Solo&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Rear Pannier Rack&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Kickstand&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Bell&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Equipped  Extras&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;equipped_extras&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;643-802&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;components&quot;&gt;Components&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Gears&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Front : Acera T3000&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Rear : Altus M2000&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Shifters : Altus M2010&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Brakes&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Tektro Hydraulic Disc&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; HD-R280&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; 160mm rotors&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Pads : E10.11 or P20.11&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Cassette&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; HG200 - 9 speed 11-36&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; 11, 13, 15, 17, 20, 23, 26, 30, 36&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Bottom Bracket&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Sealed cartridge, 68mm&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Chainrings&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; 46 / 30&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Wheels&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Bontrager Connection 622&amp;times;20&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Tyres&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Bontrager H2 Comp : 700 x 32&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Headset&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; 1-1/8&amp;#039;&amp;#039; threadless, sealed cartridge bearings&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h4 id=&quot;gear_inches&quot;&gt;Gear Inches&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;div class=&quot;table sectionedit5&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0 leftalign&quot;&gt;  &lt;/th&gt;&lt;th class=&quot;col1 centeralign&quot;&gt;  9  &lt;/th&gt;&lt;th class=&quot;col2 centeralign&quot;&gt;  8  &lt;/th&gt;&lt;th class=&quot;col3 centeralign&quot;&gt;  7  &lt;/th&gt;&lt;th class=&quot;col4 centeralign&quot;&gt;  6  &lt;/th&gt;&lt;th class=&quot;col5 centeralign&quot;&gt;  5  &lt;/th&gt;&lt;th class=&quot;col6 centeralign&quot;&gt;  4  &lt;/th&gt;&lt;th class=&quot;col7 centeralign&quot;&gt;  3  &lt;/th&gt;&lt;th class=&quot;col8 centeralign&quot;&gt;  2  &lt;/th&gt;&lt;th class=&quot;col9 centeralign&quot;&gt;  1  &lt;/th&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;th class=&quot;col0 centeralign&quot;&gt;  Teeth   &lt;/th&gt;&lt;th class=&quot;col1 centeralign&quot;&gt;  11  &lt;/th&gt;&lt;th class=&quot;col2 centeralign&quot;&gt;  13  &lt;/th&gt;&lt;th class=&quot;col3 centeralign&quot;&gt;  15  &lt;/th&gt;&lt;th class=&quot;col4 centeralign&quot;&gt;  17  &lt;/th&gt;&lt;th class=&quot;col5 centeralign&quot;&gt;  20  &lt;/th&gt;&lt;th class=&quot;col6 centeralign&quot;&gt;  23  &lt;/th&gt;&lt;th class=&quot;col7 centeralign&quot;&gt;  26  &lt;/th&gt;&lt;th class=&quot;col8 centeralign&quot;&gt;  30  &lt;/th&gt;&lt;th class=&quot;col9 centeralign&quot;&gt;  36  &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;th class=&quot;col0 centeralign&quot;&gt;  &lt;strong&gt;46&lt;/strong&gt;  &lt;/th&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  113  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  96  &lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  83  &lt;/td&gt;&lt;td class=&quot;col4 centeralign&quot;&gt;  &lt;strong&gt;73&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col5 centeralign&quot;&gt;  &lt;strong&gt;62&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col6 centeralign&quot;&gt;  &lt;strong&gt;54&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col7 centeralign&quot;&gt;  &lt;strong&gt;48&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col8 centeralign&quot;&gt;  41  &lt;/td&gt;&lt;td class=&quot;col9 centeralign&quot;&gt;  &lt;em&gt;35&lt;/em&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;th class=&quot;col0 centeralign&quot;&gt;  &lt;strong&gt;30&lt;/strong&gt;  &lt;/th&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  &lt;em&gt;&lt;strong&gt;74&lt;/strong&gt;&lt;/em&gt;  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  &lt;strong&gt;62&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  &lt;strong&gt;54&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col4 centeralign&quot;&gt;  &lt;strong&gt;48&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col5 centeralign&quot;&gt;  41  &lt;/td&gt;&lt;td class=&quot;col6 centeralign&quot;&gt;  35  &lt;/td&gt;&lt;td class=&quot;col7 centeralign&quot;&gt;  31  &lt;/td&gt;&lt;td class=&quot;col8 centeralign&quot;&gt;  27  &lt;/td&gt;&lt;td class=&quot;col9 centeralign&quot;&gt;  22  &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1358-1685&amp;quot;} --&gt;
&lt;/div&gt;

&lt;h4 id=&quot;gear_ratios&quot;&gt;Gear Ratios&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;div class=&quot;table sectionedit6&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0 leftalign&quot;&gt;  &lt;/th&gt;&lt;th class=&quot;col1 centeralign&quot;&gt;  9  &lt;/th&gt;&lt;th class=&quot;col2 centeralign&quot;&gt;  8  &lt;/th&gt;&lt;th class=&quot;col3 centeralign&quot;&gt;  7  &lt;/th&gt;&lt;th class=&quot;col4 centeralign&quot;&gt;  6  &lt;/th&gt;&lt;th class=&quot;col5 centeralign&quot;&gt;  5  &lt;/th&gt;&lt;th class=&quot;col6 centeralign&quot;&gt;  4  &lt;/th&gt;&lt;th class=&quot;col7 centeralign&quot;&gt;  3  &lt;/th&gt;&lt;th class=&quot;col8 centeralign&quot;&gt;  2  &lt;/th&gt;&lt;th class=&quot;col9 centeralign&quot;&gt;  1  &lt;/th&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;th class=&quot;col0 centeralign&quot;&gt;  Teeth   &lt;/th&gt;&lt;th class=&quot;col1 centeralign&quot;&gt;  11  &lt;/th&gt;&lt;th class=&quot;col2 centeralign&quot;&gt;  13  &lt;/th&gt;&lt;th class=&quot;col3 centeralign&quot;&gt;  15  &lt;/th&gt;&lt;th class=&quot;col4 centeralign&quot;&gt;  17  &lt;/th&gt;&lt;th class=&quot;col5 centeralign&quot;&gt;  20  &lt;/th&gt;&lt;th class=&quot;col6 centeralign&quot;&gt;  23  &lt;/th&gt;&lt;th class=&quot;col7 centeralign&quot;&gt;  26  &lt;/th&gt;&lt;th class=&quot;col8 centeralign&quot;&gt;  30  &lt;/th&gt;&lt;th class=&quot;col9 centeralign&quot;&gt;  36  &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;th class=&quot;col0 centeralign&quot;&gt;  &lt;strong&gt;46&lt;/strong&gt;  &lt;/th&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  4.2  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  3.5  &lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  3.1  &lt;/td&gt;&lt;td class=&quot;col4 centeralign&quot;&gt;  &lt;strong&gt;2.7&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col5 centeralign&quot;&gt;  &lt;strong&gt;2.3&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col6 centeralign&quot;&gt;  &lt;strong&gt;2.0&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col7 centeralign&quot;&gt;  &lt;strong&gt;1.8&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col8 centeralign&quot;&gt;  1.5  &lt;/td&gt;&lt;td class=&quot;col9 centeralign&quot;&gt;  &lt;em&gt;1.3&lt;/em&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;th class=&quot;col0 centeralign&quot;&gt;  &lt;strong&gt;30&lt;/strong&gt;  &lt;/th&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  &lt;em&gt;&lt;strong&gt;2.7&lt;/strong&gt;&lt;/em&gt;  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  &lt;strong&gt;2.3&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  &lt;strong&gt;2.0&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col4 centeralign&quot;&gt;  &lt;strong&gt;1.8&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col5 centeralign&quot;&gt;  1.5  &lt;/td&gt;&lt;td class=&quot;col6 centeralign&quot;&gt;  1.3  &lt;/td&gt;&lt;td class=&quot;col7 centeralign&quot;&gt;  1.2  &lt;/td&gt;&lt;td class=&quot;col8 centeralign&quot;&gt;  1.0  &lt;/td&gt;&lt;td class=&quot;col9 centeralign&quot;&gt;  0.8  &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table1&amp;quot;,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;1708-2052&amp;quot;} --&gt;&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; 1.8:1 - 2.7:1 (48“ - 73”) are common single-speed general-use ratios &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://surlybikes.com/pages/single-speed-gearing-101&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://surlybikes.com/pages/single-speed-gearing-101&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://surlybikes.com/pages/single-speed-gearing-101&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:bikes:john_bike&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:bikes:john_bike&quot; data-wiki-id=&quot;public:miscellany:bikes:john_bike&quot;&gt;My Bike notes&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:bikes:kate_bike&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:bikes:kate_bike&quot; data-wiki-id=&quot;public:miscellany:bikes:kate_bike&quot;&gt;Kate&amp;#039;s Bike notes&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Components&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;components&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;803-2257&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 14/06/22 11:48&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Page last updated: 29/01/26 17:24 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:bike&amp;amp;do=showtag&amp;amp;tag=bike&quot; class=&quot;wikilink1&quot; title=&quot;tag:bike&quot; rel=&quot;tag&quot;&gt;bike&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:trek&amp;amp;do=showtag&amp;amp;tag=trek&quot; class=&quot;wikilink1&quot; title=&quot;tag:trek&quot; rel=&quot;tag&quot;&gt;trek&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;2258-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 29 Jan 2026 17:24:34 +0000</pubDate>
        </item>
        <item>
            <title>Land Rover Data</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:landrover:land_rover_data</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:landrover:start&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:landrover:start&quot; data-wiki-id=&quot;public:miscellany:landrover:start&quot;&gt;Land Rover&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;land_rover_data&quot;&gt;Land Rover Data&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Created Monday 29 May 2017
&lt;/p&gt;

&lt;p&gt;
J275 MDO
&lt;/p&gt;

&lt;p&gt;
1991 200TDi
&lt;/p&gt;

&lt;p&gt;
VIN : HA703374
&lt;/p&gt;

&lt;p&gt;
Legal Due Dates
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; MOT		Due : 20/12/19	&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Tax		Due : 30/6/20 (renews automatically, monthly direct debit)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Insurance	Due : 30/7/20&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Part Numbers
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Sump Drain Washer 			: ETC7398&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Gearbox Drain Washer 			: FTC4112&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Gearbox Extension Drain Washer 	: FRC4810&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Transfer Box Drain Washer		: FRC4808&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Switch Panel				: MTC2640&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Vent Flap Lever			: 346576 &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Rear Door Check Link			: LR016708&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Towing Drop Plate			: NRC8208&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Transfer Box Front Flange Kit		: STC3432&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Front Diff Flange Kit			: STC4858&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Lifting Handle			: NTC5116&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Rear Wheel Bearing Kit		: DA2380G&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Lock Stud Plate			: ASR2667&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Lock Nut Plate			: ASR2668&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Lock Seal Gasket			: MXC9445&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Door seals - LH &amp;amp; RH as kit		: LRC1369&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Door Seal - bottom			: MWC6130&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
See &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:landrover:refurb2017&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:landrover:refurb2017&quot; data-wiki-id=&quot;public:miscellany:landrover:refurb2017&quot;&gt;Land Rover Refurb May 2017&lt;/a&gt; and &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:landrover:refurb2019&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:landrover:refurb2019&quot; data-wiki-id=&quot;public:miscellany:landrover:refurb2019&quot;&gt;Land Rover Refurb 2019&lt;/a&gt; for running logs
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Land Rover Data&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;land_rover_data&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-954&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Page created Sun May 22 14:48:20 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 29/01/26 17:22 GMT
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;955-1068&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;tags&quot;&gt;tags&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:landie&amp;amp;do=showtag&amp;amp;tag=landie&quot; class=&quot;wikilink1&quot; title=&quot;tag:landie&quot; rel=&quot;tag&quot;&gt;landie&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1069-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 29 Jan 2026 17:22:28 +0000</pubDate>
        </item>
        <item>
            <title>Land Rover Refurb May 2017</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:landrover:refurb2017</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:landrover:start&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:landrover:start&quot; data-wiki-id=&quot;public:miscellany:landrover:start&quot;&gt;Land Rover&lt;/a&gt;
&lt;/p&gt;

&lt;h2 class=&quot;sectionedit1&quot; id=&quot;land_rover_refurb_may_2017&quot;&gt;Land Rover Refurb May 2017&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Land Rover Refurb May 2017&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;land_rover_refurb_may_2017&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;16-55&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;faults&quot;&gt;Faults:&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Exhaust &lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Middle section &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; End section&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Front propshaft rear-most UJ&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Handbrake tension&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Rear o/s mud flap&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Door Hinge : passenger lower pin sheared&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Engine service : Oil &amp;amp; filter change&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Lubrication of locks etc.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Wipers : both front wipers u/s. Motor running constantly.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Passenger door lock and window regulator&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Sunroof seal&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Chassis etc. waxoyl / rust treatment&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Front bumper rust/ paint&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Faults:&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;faults&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;56-516&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;parts_ordered&quot;&gt;Parts Ordered:&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 18/5/17 :&lt;del&gt; Paddock : Exhast Middle &amp;amp; End sections and Filter Service Kit&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 18/5/17 : &lt;del&gt;Shop4AutoParts : 2 x Heavy Duty Hardy Spicer UJs&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 19/5/17 : &lt;del&gt;LRDirect : 2 x Wiper Wheel Box, Wiper cable rack, Door hinge captive nuts, Door hinge bolts Parts&lt;/del&gt; &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Parts Ordered:&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;parts_ordered&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;517-829&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;parts_arrived&quot;&gt;Parts Arrived&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; HD Propshaft UJs : 23/5/17 &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Filter Service Kit : 25/5/17&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Wiper parts &amp;amp; Hinge nuts/bolts : 26/5/17&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; wrong drive cable, wrong bolts&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; wiper wheel boxes ok! &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Exhaust : 26/5/17&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Parts Arrived&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;parts_arrived&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;830-1055&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;initial_work_plan&quot;&gt;Initial Work Plan&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;Oil and filter change&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;Handbrake tension adjust&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;Lubricate locks etc.&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;Fit Exhaust - done 27/5/17&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;Remove front propshaft&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;remove UJs from previous front propshaft&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;Install new Hardy Spicer UJs into front propshaft.&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;Refit front propshaft&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Remove failed UJs from remaining front and rear propshafts and leave good ones in place. These propshafts to be cleaned and stored for future refurb as emergency spares&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;Remove dash/facia and remove old wiper wheelboxes / drive rack cable.&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;Fit new wiper wheelboxes and drive rack cable.&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;Replace dash facia&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;Replace rear o/s mudflap  or remove all mudflaps - front are already missing  &lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Initial Work Plan&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;initial_work_plan&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1056-1888&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;tools_and_other_items_needed&quot;&gt;Tools and other items needed&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Circlip pliers&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Large G-cramp&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Hammer&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Engine Oil&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Coolant&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Waxoyl spray for bulkhead&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; silicone sealant&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Goggles&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Penetrating Fluid &amp;amp; WD40 &amp;amp; 3-in-1&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Rust Treatment&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Primer / Paint for bulkhead @ Hinges &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Drills : 3/6/9mm&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Black (hammerite?) paint for bumper and rear x-member&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Nylon nut/bolts for front number plate&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; double sided foam tape for rear number plate&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Jizer / Gunk for engine bay degreasing&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Oil can for lubricating locks, hinges etc etc &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Tools and other items needed&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tools_and_other_items_needed&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;1889-2431&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit7&quot; id=&quot;work_complete_28_5_17&quot;&gt;Work complete 28/5/17&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Exhaust (middle &amp;amp; rear) removed&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; New middle &amp;amp; rear fitted. Front (downpipe) is still in good condition&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Front propshaft removed.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Previously removed (spare) front propshaft stripped of old UJs and new HD UJs fitted. &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Front propshaft replaced&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Oil, oil filter, air filter, fuel filter changed (169,000 miles)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Passenger door lock un-seized (door card removed) and opened&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Wiper motor, drive rack and wheel boxes removed. &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; unsure if wiper motor crank is okay - replace just in case&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; New wiper wheel boxes fitted.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Handbrake adjusted&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Passenger door window regulator faulty. New one needed.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; steering u/js oiled &amp;amp; greased&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; door mechanisms oiled &amp;amp; greased&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
New drive rack DLE000010 is too short. Wrong type.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Work complete 28\/5\/17&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;work_complete_28_5_17&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;2432-3216&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;parts_ordered_29_5_17&quot;&gt;Parts ordered 29/5/17&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
 Paddock
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Wiper motor crank gear&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Wiper drive cable RTC202&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Front washer jet&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Stainless steel bolt kit for front door hinges&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Window regulator LH&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Headlamps (wipac halogen)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Parts ordered 29\/5\/17&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;parts_ordered_29_5_17&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;3217-3446&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit9&quot; id=&quot;parts_ordered_1_6_17&quot;&gt;Parts ordered 1/6/17&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
LRDirect
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; driver door checklink : genuine L/R&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; driver door channel : genuine L/R&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Parts ordered 1\/6\/17&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;parts_ordered_1_6_17&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;3447-3566&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit10&quot; id=&quot;parts_arrived1&quot;&gt;Parts arrived&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Door bolt kit 5/6/17&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Window Regulator 5/6/17&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Washer jet 5/6/17&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Wiper crank arm 5/6/17&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Wiper drive cable 5/6/17&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Headlamps 5/6/17&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; driver door checklink : genuine L/R 12/6/17&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; driver door channel : genuine L/R 12/6/17&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Parts arrived&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;parts_arrived1&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;3567-3840&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit11&quot; id=&quot;work_completed_4_6_17&quot;&gt;Work completed 4/6/17&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Door hinges removed from bulkhead and j-nuts retreived.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Waxoyl sprayed into door pillars&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Check-link channels removed to give extra access to pillars for waxoyl. Drivers channel will be replaced with new.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Bumper : red-oxide and hammerite black spray paint&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Mud flap brackets (x4) removed&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Rear door spare wheel carrier removed. Plates put back, holes need covering.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Rear propshaft removed, greased and replaced&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Coolant topped up&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Work completed 4\/6\/17&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;work_completed_4_6_17&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;3841-4334&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit12&quot; id=&quot;work_completed_6_6_17&quot;&gt;Work completed 6/6/17&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Wiper drive cable installed&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Wiper motor crank insalled&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Wipers tested&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Washer jet installed&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Dash replaced&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Drivers door hinges replaced &amp;amp; door hung&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Passenger window regulator replaced&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Passenger door hinges replaced &amp;amp; door hung&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Body washed&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Underside washed&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Headlamps replaced&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Work completed 6\/6\/17&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;work_completed_6_6_17&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;4335-4686&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit13&quot; id=&quot;parts_ordered_8_6_17&quot;&gt;Parts ordered 8/6/17&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
 SP 4&amp;times;4
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Premium rear door&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Plain glass (fitted)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; front door sill seals x 2&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Parts ordered 8\/6\/17&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;parts_ordered_8_6_17&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:13,&amp;quot;range&amp;quot;:&amp;quot;4687-4806&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit14&quot; id=&quot;parts_ordered_24_6_17&quot;&gt;Parts ordered 24/6/17&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Paddock
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Rear door lock sealing gasket&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Rear door lock circular seal&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Service filter kit&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Fan Belt (genuine LR)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 2 x Window Waist strips&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Exhaust Strap ESR266&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Parts ordered 24\/6\/17&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;parts_ordered_24_6_17&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:14,&amp;quot;range&amp;quot;:&amp;quot;4807-5018&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit15&quot; id=&quot;work_still_to_complete&quot;&gt;Work still to complete&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Pressure wash &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Waxoyl underneath&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; fit new crank arm to wiper motor&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; fit new wiper drive cable&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; refit wiper motor and test wiper operation&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; fit new washer jet to front&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; replace dash/trim etc.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; remove doors from hinges&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; fit new window regulator to passenger door while on floor (easier?)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; remove door hinges from body and replace with new hinges &amp;amp; s/s bolts (copper grease bolts!)&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; drill out heads if too tight/rusted. Can then remove captive nuts easily.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; spray waxoyl into bulkhead openings while hinges are off&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; waxoyl door interiors (inc. rear)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; remove rear door lining and spare wheel carrier&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; top up coolant&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; fit new headlamps and attempt to align&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; lubricate rear propshaft UJs&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; fit new channel/checklink to driver&amp;#039;s door &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; wire brush bumper &amp;amp; paint black&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; remove carpet in rear / bulkhead&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; remove mudflap brackets&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; fit new number plate for rear - take V5 to JBs&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; refit front number plate to bumper&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; degrease engine bay&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; pressure wash engine bay   &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Fit new rear door&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Fit front door sill seals (with pop rivets) &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Fit window waist strips&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Fit ESR266 bracket&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Fit Rear Door lock seals&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Fan belt slipping&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Seal sunroof&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Work still to complete&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;work_still_to_complete&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:15,&amp;quot;range&amp;quot;:&amp;quot;5019-6277&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit16&quot; id=&quot;future_work_updated_oct_2019&quot;&gt;Future work (Updated Oct 2019)&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Driver&amp;#039;s footwell corrosion!   new footwell Dec 2018&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Exhaust downpipe bracket : ESR266. Broken bracket removed 18/6/17 to stop annoying rattles.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Fit new LED lamps in dashboard Sept/Oct 2019&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Check handbrake for shoes binding - judder&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; New rear door? Lock mouting plate very badly corroded, and spare wheel mount holes need covering. - ordered 8/6/17&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; source heated rear window switch (YUF101500) and fit&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Drivers window seals - waist strip ordered 24/6/17&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Fit new towbar  Not doing&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Headlight alignment Sept/Oct 2019&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Driver door - rattle/vibration and refit card : fixings == MXC1800 and MWC3136 or DA1411 (old card @ LRT?) : leave without cards on both doors for ease of lubrication &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Source new L/H front brake caliper RTC5573G (genuine AP @ Paddock £139) &amp;amp; replace both brake calipers O/S - Aug 2017 N/S - Dec 2018&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Replace antenna mount for HF antenna 22/5/17&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; fit IC-M710&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Fit CG3000 ATU and move antenna mount to side for whip&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Spare wheel carrier?  Not Doing&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Remove transfers on doors/body prior to   Sept/Oct 2019&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Paint body with NATO Green military synthetic satin finish paint&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Fit FM1100 for 4m &amp;amp; antenna   Not Doing &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
RUNNING LOG OF REFURB COMPLETED AUG 2017
Outstanding Items transferred to new &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:landrover:repairs_and_mods&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:landrover:repairs_and_mods&quot; data-wiki-id=&quot;public:miscellany:landrover:repairs_and_mods&quot;&gt;Land Rover Repairs And Mods&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Page created Sun May 22 14:47:03 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 29/01/26 17:23 GMT
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Future work (Updated Oct 2019)&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;future_work_updated_oct_2019&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:16,&amp;quot;range&amp;quot;:&amp;quot;6278-7714&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit17&quot; id=&quot;tags&quot;&gt;tags&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:landie&amp;amp;do=showtag&amp;amp;tag=landie&quot; class=&quot;wikilink1&quot; title=&quot;tag:landie&quot; rel=&quot;tag&quot;&gt;landie&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:17,&amp;quot;range&amp;quot;:&amp;quot;7715-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 29 Jan 2026 17:23:43 +0000</pubDate>
        </item>
        <item>
            <title>Land Rover Refurb 2019</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:landrover:refurb2019</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:landrover:start&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:landrover:start&quot; data-wiki-id=&quot;public:miscellany:landrover:start&quot;&gt;Land Rover&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;land_rover_refurb_2019&quot;&gt;Land Rover Refurb 2019&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Land Rover Refurb 2019&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;land_rover_refurb_2019&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-57&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;september_october_2019&quot;&gt;September/October 2019&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;September\/October 2019&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;september_october_2019&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;58-91&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;refurb_complete_29_10_19&quot;&gt;Refurb Complete 29/10/19&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; pressure wash and waxoyl&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; wet service&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; LED bulbs in dash&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; remove headlining&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; insulate roof&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; remount tow ball&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; new front discs&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; new number plate light&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; disconnected alarm&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; new door light switches&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; new hazard light swith&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; LED interior lights&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; new front diff drive flange/seal&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; new transfer box front drive flange/seal&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; new rear o/s hub bearings&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; new rear drums and shoes&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; new wheels&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; new BFG T/A All Terrain tyres&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; fitted Jate rings to rear&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; new front Series-type two piece doors&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; patched 2 holes in front exhaust pipe&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; patched pin-hole in sump-pan&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; filled holes in bulkhead&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; lubricated rear step&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; repair poor earth for reversing light&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; paint NATO Green&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
For further work see &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:landrover:repairs_and_mods&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:landrover:repairs_and_mods&quot; data-wiki-id=&quot;public:miscellany:landrover:repairs_and_mods&quot;&gt;Land Rover Repairs And Mods&lt;/a&gt; and &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:landrover:land_rover_data&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:landrover:land_rover_data&quot; data-wiki-id=&quot;public:miscellany:landrover:land_rover_data&quot;&gt;Land Rover Data&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Page created Sun May 22 14:45:22 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 29/01/26 17:23 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:landie&amp;amp;do=showtag&amp;amp;tag=landie&quot; class=&quot;wikilink1&quot; title=&quot;tag:landie&quot; rel=&quot;tag&quot;&gt;landie&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Refurb Complete 29\/10\/19&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;refurb_complete_29_10_19&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;92-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 29 Jan 2026 17:23:12 +0000</pubDate>
        </item>
        <item>
            <title>Land Rover Repairs And Mods</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:landrover:repairs_and_mods</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:landrover:start&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:landrover:start&quot; data-wiki-id=&quot;public:miscellany:landrover:start&quot;&gt;Land Rover&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;land_rover_repairs_and_mods&quot;&gt;Land Rover Repairs And Mods&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Land Rover Repairs And Mods&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;land_rover_repairs_and_mods&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-61&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;faults&quot;&gt;Faults&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 21/10/19	Rattling (from dash area??)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 21/10/19	Leak from top of doors / roof&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 21/10/19	Nearside Vent Flap Lever u/s (part number 346576 : £29.59 (Exc VAT) at LRParts )&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 02/11/19  	Fog lamp not working. &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 27/11/19	Full-beam warning light on dash intermittent&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 03/12/19	MOT FAILURE : chassis holes &amp;amp; leak in front brake pipe&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Faults&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;faults&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;62-424&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;additional_work_mods&quot;&gt;Additional work / mods&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; paint NATO Green&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Replace front door seals - side/top &amp;amp; bottom&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Fit second lifting handle (o/s/r)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Additional work \/ mods&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;additional_work_mods&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;425-568&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;parts_ordered_29_10_19&quot;&gt;Parts ordered 29/10/19&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Door seals - LH &amp;amp; RH LRC1369 / Bottom x2 MWC6130.AM : LRParts £34.94 : Arrived 1/11/19&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Parts ordered 29\/10\/19&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;parts_ordered_29_10_19&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;569-695&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;work_completed&quot;&gt;Work Completed&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 26/10/19 : painted with 2 coats grey primer&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 27/10/19 : painted with 2 coats NATO green&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 28/10/19 : painted with 3rd and final coat NATO green ~180800 miles&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 29/10/19 : V5 posted to DVLA to inform of colour change.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 30/10/19 : repaired broken N/S vent flap lever.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 30/10/19 : swapped 8mm bolt for proper “clevis pin” (found inside dash) →  driver&amp;#039;s door checklink.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 31/10/19 : corrected phase and orientation of front prop shaft. Sliding joint →  transfer box and flanges 45° apart&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 02/11/19 : fitted door seals and adjusted driver&amp;#039;s door hanging&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 03/11/19 : fitted 2nd lifting handle&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 14/11/19 : adjusted rear o/s hub bearing after settling in period (slight play)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Page created Sun May 22 14:46:11 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 30/12/25 09:55 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:landie&amp;amp;do=showtag&amp;amp;tag=landie&quot; class=&quot;wikilink1&quot; title=&quot;tag:landie&quot; rel=&quot;tag&quot;&gt;landie&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Work Completed&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;work_completed&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;696-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>Mastodon &amp; Twitter</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:random_thoughts:mastodon</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;mastodon_twitter&quot;&gt;Mastodon &amp;amp; Twitter&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 20/12/22 07:39&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
I recently tried Mastodon - the distributed, not-powered-by-advertising, not-run-by-megalomaniac-billionaires social media platform.
&lt;/p&gt;

&lt;p&gt;
This was after years of “not-using-Twitter”. I didn&amp;#039;t use Twitter for a variety of reasons. One was “what&amp;#039;s the point of it?” and another was “I don&amp;#039;t like AI and Algorithms deciding what I should see” and another was “I ABSOLUTELY HATE ADVERTISING”.
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;d looked at Mastodon a few times over the last year or so, but thought “what&amp;#039;s the point of it?” and “everyone else is on Twitter anyway”.
&lt;/p&gt;

&lt;p&gt;
Then Elon Musk took over Twitter and there seemed to be a mass exodus of people, and Mastodon was where they were going. 
&lt;/p&gt;

&lt;p&gt;
So I set up a Mastodon account and started to explore.
&lt;/p&gt;

&lt;p&gt;
Initially it seemed to make sense - I had an account on an “instance” centred around the radio hobby, and most of the postings were interesting (or at least “on topic”) and it looked like it was possible to get involved, make “friends” and share experiences, and even post/read/enjoy the odd off-topic item.
&lt;/p&gt;

&lt;p&gt;
I couldn&amp;#039;t shake off the annoyance I felt that many of the posts were references to things still going on “over in the other place”, “on the Bird Site” etc. Lots of Twitter-in-jokes and references, that made no sense to people who had no interest or previous connection with Twitter, and were probably also annoying to people who had “escaped” Twitter and were enjoying the new atmosphere of Mastodon. 
&lt;/p&gt;

&lt;p&gt;
Carrying over old Twitter baggage started to dominate (as I saw things) as more and more “refugees” made the jump. 
&lt;/p&gt;

&lt;p&gt;
Endless “have I done the right thing?” or “I&amp;#039;m here now, what do I do?”, or “This doesn&amp;#039;t work like Twitter, I don&amp;#039;t like X, Y or Z”.
&lt;/p&gt;

&lt;p&gt;
… then the floods of “memes” referencing ongoing Twitter happenings…
&lt;/p&gt;

&lt;p&gt;
In my mind if you leave Twitter and join Mastodon you don&amp;#039;t need to keep dragging over Twitter-related posts, jokes, comments, memes.
&lt;/p&gt;

&lt;p&gt;
I started trying to filter out content I didn&amp;#039;t want to wade through, stuff that made no sense to me (as a non-Twitter user), then I started un-following people that persisted in filling up the timeline(s) with such stuff.
&lt;/p&gt;

&lt;p&gt;
Then I thought “What&amp;#039;s the point of this?”
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;d managed perfectly well without Twitter all these years.
&lt;/p&gt;

&lt;p&gt;
I was now spending more time trying to “clean up” my Mastodon timeline &amp;amp; home feed than I was happy with. 
&lt;/p&gt;

&lt;p&gt;
So I decide “No. It&amp;#039;s not for me”
&lt;/p&gt;

&lt;p&gt;
and Deleted my Mastodon.radio account (as well as the account I&amp;#039;d set up but not yet used on Mastodonapp.uk)
&lt;/p&gt;

&lt;p&gt;
Enough was enough. 
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;m just not a “social media microblogging” kind of person, I suppose.
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:mastodon&amp;amp;do=showtag&amp;amp;tag=mastodon%2C&quot; class=&quot;wikilink1&quot; title=&quot;tag:mastodon&quot; rel=&quot;tag&quot;&gt;mastodon,&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:twitter&amp;amp;do=showtag&amp;amp;tag=twitter&quot; class=&quot;wikilink1&quot; title=&quot;tag:twitter&quot; rel=&quot;tag&quot;&gt;twitter&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>COSC</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:cosc</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:start&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:start&quot; data-wiki-id=&quot;public:miscellany:watches:start&quot;&gt;Watches&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;cosc&quot;&gt;COSC&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;COSC&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;cosc&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-36&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;history&quot;&gt;History&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://en.wikipedia.org/wiki/COSC&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/COSC&quot;&gt;COSC&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;History&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;history&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;37-75&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;test_definitions&quot;&gt;Test definitions&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Test definitions&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;test_definitions&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;76-105&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;day_test_regime&quot;&gt;15 day test regime&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;table sectionedit5&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Day&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Temp/°C&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Pos&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Daily rate&lt;/th&gt;&lt;th class=&quot;col4&quot;&gt;Variance&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;1&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;23&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;6H&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;M1&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;2&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;23&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;M2&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;V1&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;3&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;23&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;3H&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;M3&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;4&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;23&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;M4&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;V2&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;5&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;23&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;9H&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;M5&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;6&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;23&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;M6&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;V3&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;7&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;23&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;Dd&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;M7&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;8&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;23&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;M8&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;V4&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;9&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;23&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;Du&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;M9&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row10&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;10&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;23&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;M10&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;V5&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row11&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;11&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;8&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;Du&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;M11&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row12&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;12&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;23&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;Du&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;M12&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row13&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;13&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;38&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;Du&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;M13&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row14&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;14&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;23&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;6H&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;M14&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row15&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;15&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;23&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;6H&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;M15&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;136-425&amp;quot;} --&gt;&lt;div class=&quot;table sectionedit6&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Test&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;ID&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Description&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Limit&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Mean Daily Rate M(1→10)&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;M &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; average of M1 → M10 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; -4/+6 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Mean Variation&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;V &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; average of V1 → V5 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 2 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Greatest Variation&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;V&lt;sub&gt;max&lt;/sub&gt; &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;Largest of V1 → V5 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 5 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Difference V → H &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;D&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Average(M1→M2) - Average(M9→M10) &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; -6 / +8 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Largest Variation from mean&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;P &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;Largest Value difference between any individual M and average of M(1→10) &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 10 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Thermal Variation &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;C &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; (M13 - M11) / (38 - 8) &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; ±0.6 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Rate Resumption &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;R &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; M15 - Ave(M1→M2) &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; ±5 &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table1&amp;quot;,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;427-912&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;15 day test regime&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;day_test_regime&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;106-916&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit7&quot; id=&quot;pseudo_tests_with_timegrapher&quot;&gt;pseudo Tests with Timegrapher&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Ignoring Temperature Variations. 
&lt;/p&gt;

&lt;p&gt;
Make 2 measurements on Timegrapher in each position, separated by 24 hours and record them in table:
&lt;/p&gt;
&lt;div class=&quot;table sectionedit8&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Day&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Pos&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Daily rate&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Variance&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;1&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;6H&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M1&lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;2&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M2&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;V1&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;3&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;3H&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M3&lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;4&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M4&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;V2&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;5&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;9H&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M5&lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;6&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M6&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;V3&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;7&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Ddn&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M7&lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;8&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M8&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;V4&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;9&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Dup&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M9&lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row10&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;14&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;6H&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M14&lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row11&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;15&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;6H&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M15&lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table2&amp;quot;,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;1097-1275&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;pseudo Tests with Timegrapher&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;pseudo_tests_with_timegrapher&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;917-1279&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit9&quot; id=&quot;some_results&quot;&gt;Some results&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Archimede Deck watch (a 10 day test, not a timegrapher pseudo-test)
&lt;/p&gt;
&lt;div class=&quot;table sectionedit10&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Day&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Pos&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt; &lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Daily rate&lt;/th&gt;&lt;th class=&quot;col4&quot;&gt; &lt;/th&gt;&lt;th class=&quot;col5&quot;&gt;Variance&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;1&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;6H&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M1&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; +0.3&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;2&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M2 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;+1.3&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;V1 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt;1.0&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;3&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;3H&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M3 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;-0.7&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;4&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M4 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;-1.7&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;V2 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt;1.0&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;5&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;9H&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M5 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;+8.2&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;6&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M6 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;+6.1&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;V3 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt;2.1&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;7&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Dd&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M7 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;+11.0&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt;   &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;8&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M8 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;+10.9&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;V4 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt;0.1&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;9&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Du&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M9 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;+9.9&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row10&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;10&lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M10 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;+9.5&lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;V5 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt;0.4&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row11&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;14&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;6H&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M14 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;+2.5&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row12&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;15&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;6H&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;M15 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;+2.7&lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table3&amp;quot;,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;1375-1691&amp;quot;} --&gt;&lt;div class=&quot;table sectionedit11&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Test&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Desc&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Result&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Pass/Fail&lt;/th&gt;&lt;th class=&quot;col4&quot;&gt;Limit&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;M&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Mean Daily Rate &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; +5.5 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; Pass &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; -4 / +6 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;V&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Mean Variation &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 0.9 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; Pass &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 2 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;V&lt;sub&gt;max&lt;/sub&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Greatest Variation&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 2.1&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; Pass &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 5 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;D&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Difference Vert → Horiz&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-8.9 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; Fail &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; -6 / +8 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;P &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Largest Difference from Mean &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 7.2 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; Pass &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 10 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;R &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Rate resumption &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 1.9 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; Pass &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; -5 / +5 &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table4&amp;quot;,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;1693-2012&amp;quot;} --&gt;
&lt;p&gt;
Page created Sun May 22 00:23:48 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 30/12/25 09:55 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:watch&amp;amp;do=showtag&amp;amp;tag=watch&quot; class=&quot;wikilink1&quot; title=&quot;tag:watch&quot; rel=&quot;tag&quot;&gt;watch&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:cosc&amp;amp;do=showtag&amp;amp;tag=cosc&quot; class=&quot;wikilink1&quot; title=&quot;tag:cosc&quot; rel=&quot;tag&quot;&gt;cosc&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Some results&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;some_results&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;1280-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>Rolex Info</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:rolex_info</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:start&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:start&quot; data-wiki-id=&quot;public:miscellany:watches:start&quot;&gt;Watches&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;rolex_info&quot;&gt;Rolex Info&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Rolex Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;rolex_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-42&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;history&quot;&gt;History&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;History&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;history&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;43-64&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;interesting_current_models&quot;&gt;Interesting Current Models&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Interesting Current Models&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;interesting_current_models&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;65-104&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;milgauss&quot;&gt;Milgauss&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;table sectionedit5&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Date&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Model Reference&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Calibre&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;List Price&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Dec 2017 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;116400GV&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;£6050 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Oct 2018 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;116400GV&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;£6300  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;May 2019 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;   &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;£6300  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Jan 2020 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;£6650&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Sep 2021 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;116400GV&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;£6650&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;May 2022 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;116400GV&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;3131&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;£7350&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Oct 2023 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Has been discontinued &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;124-389&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Milgauss&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;milgauss&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;105-390&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;explorer_i&quot;&gt;Explorer I&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;table sectionedit7&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Date&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Model Reference&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Calibre&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;List Price&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Oct 2018 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;214270 39mm&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;£5000  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;May 2019 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;£5000  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Jan 2020 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;£5200  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Sep 2021 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;124270 36mm&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;£5150&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;May 2022 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;124270 36mm&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;3230  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;£5700&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Oct 2023 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;124270 36mm &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 3230 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; £6100 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Feb 2025 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;124270 36mm&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 3230 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; £6400 &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table1&amp;quot;,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;413-699&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Explorer I&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;explorer_i&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;391-700&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;gmt_master_ii&quot;&gt;GMT Master II&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;table sectionedit9&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Date&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Model Reference&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Calibre&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;List Price&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Oct 2018  &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;126710BLRO&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;   &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;£7150  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Jan 2020  &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;£7750  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Sep 2021  &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;126710BLNR&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;   &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;£7750  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;May 2022  &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;126710BLNR&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;3285  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;£8400 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Oct 2023 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;126710BLNR&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;3285 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;£9150 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Feb 2025 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 126710BLNR &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 3285 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; £9450 &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table2&amp;quot;,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;726-988&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;GMT Master II&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;gmt_master_ii&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;701-989&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit10&quot; id=&quot;submariner&quot;&gt;Submariner&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;table sectionedit11&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Date&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Model Reference&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Calibre&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;List Price&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Oct 2018  &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;116610LN&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;£6650  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;May 2019  &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;£6650  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Jan 2020  &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;£7150  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Nov 2020  &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;126610LV&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;£7650 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Sep 2021  &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;£7300 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;May 2022 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;126610LN&lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;3235  &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;£8050 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Oct 2023 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 126610LN &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 3235 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; £8650 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Feb 2025&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 126610LN &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 3235 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; £9100 &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table3&amp;quot;,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;1012-1317&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Submariner&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;submariner&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;990-1319&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit12&quot; id=&quot;air_king&quot;&gt;Air King&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;table sectionedit13&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Date&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Model Reference&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Calibre&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;List Price&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;May 2022&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;126900&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;3230&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;£5900&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Oct 2023 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 126900 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 3230 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; £6250 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Feb 2025 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 126900 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 3230 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; £6600 &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table4&amp;quot;,&amp;quot;secid&amp;quot;:13,&amp;quot;range&amp;quot;:&amp;quot;1340-1485&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Air King&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;air_king&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;1320-1488&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit14&quot; id=&quot;vintage_model_prices&quot;&gt;Vintage Model Prices&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Vintage Model Prices&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;vintage_model_prices&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:14,&amp;quot;range&amp;quot;:&amp;quot;1489-1523&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit15&quot; id=&quot;rolex_website&quot;&gt;Rolex Website&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.rolex.com/watches.html&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.rolex.com/watches.html&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.rolex.com/watches.html&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Page created Sun May 22 00:24:48 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 30/12/25 09:55 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:watch&amp;amp;do=showtag&amp;amp;tag=watch&quot; class=&quot;wikilink1&quot; title=&quot;tag:watch&quot; rel=&quot;tag&quot;&gt;watch&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:rolex&amp;amp;do=showtag&amp;amp;tag=rolex&quot; class=&quot;wikilink1&quot; title=&quot;tag:rolex&quot; rel=&quot;tag&quot;&gt;rolex&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Rolex Website&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;rolex_website&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:15,&amp;quot;range&amp;quot;:&amp;quot;1524-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>Watchwinder</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:watchwinder_python_code</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:start&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:start&quot; data-wiki-id=&quot;public:miscellany:watches:start&quot;&gt;Watches&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;watchwinder&quot;&gt;Watchwinder&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Watchwinder&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;watchwinder&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-44&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;home_brew_winder&quot;&gt;Home Brew Winder&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
I built a simple watch-winder to keep automatic watches fully wound when not being worn. Mainly as a small project to play with a &lt;a href=&quot;https://store.micropython.org/product/PYBv1.1H&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://store.micropython.org/product/PYBv1.1H&quot; rel=&quot;ugc nofollow noopener&quot;&gt;pyBoard&lt;/a&gt; and a servo motor.
&lt;/p&gt;

&lt;p&gt;
A short piece of microPython makes the servo turn, first one direction, then then other, then a pause, at a speed that makes sure a watch is fully wound overnight. The speed depends on the required number of turns to achieve full-wind, which depends on the watch movement, and whether the movement winds in one or other, or both, rotational directions.
&lt;/p&gt;

&lt;p&gt;
The watch is placed in a plastic box attached to the servo motor and the motor is simple clamped in a &lt;code&gt;panavise&lt;/code&gt;, with the axis of the servo at about 45°
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Home Brew Winder&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;home_brew_winder&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;45-793&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;photos&quot;&gt;Photos&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_col2 wrap__dark plugin_wrap&quot;&gt;
&lt;p&gt;
&lt;a href=&quot;https://docs.micropython.org/en/latest/pyboard/quickref.html&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://docs.micropython.org/en/latest/pyboard/quickref.html&quot; rel=&quot;ugc nofollow noopener&quot;&gt;pyBoard Quick Reference&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Amiscellany%3Awatches%3Awatchwinder_python_code&amp;amp;media=public:watches:pyboard.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:pyboard.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=339642&amp;amp;media=public:watches:pyboard.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Amiscellany%3Awatches%3Awatchwinder_python_code&amp;amp;media=public:watches:pybv11-pinout.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:pybv11-pinout.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=da4bc7&amp;amp;media=public:watches:pybv11-pinout.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Amiscellany%3Awatches%3Awatchwinder_python_code&amp;amp;media=public:watches:winder_1.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:winder_1.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=5deab8&amp;amp;media=public:watches:winder_1.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Amiscellany%3Awatches%3Awatchwinder_python_code&amp;amp;media=public:watches:winder_2.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:winder_2.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=85ec50&amp;amp;media=public:watches:winder_2.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Amiscellany%3Awatches%3Awatchwinder_python_code&amp;amp;media=public:watches:winder_3.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:winder_3.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=224def&amp;amp;media=public:watches:winder_3.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Amiscellany%3Awatches%3Awatchwinder_python_code&amp;amp;media=public:watches:winder_4.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:winder_4.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=3a7fef&amp;amp;media=public:watches:winder_4.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;p&gt;
&lt;span class=&quot;todo&quot;&gt;&lt;input type=&quot;checkbox&quot; class=&quot;todocheckbox&quot; data-index=&quot;0&quot; data-date=&quot;1767088507&quot; data-pageid=&quot;public:miscellany:watches:watchwinder_python_code&quot; data-strikethrough=&quot;1&quot; checked=&quot;checked&quot; /&gt; &lt;span class=&quot;todouser&quot;&gt;[✓ John Pumford-Green, 2025-03-09]&lt;/span&gt;&lt;span class=&quot;todotext clickabletodo todohlght&quot;&gt;&lt;del&gt;&lt;span class=&quot;todoinnertext&quot;&gt;add some photos&lt;/span&gt;&lt;/del&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Photos&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;photos&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;794-1210&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;python_code&quot;&gt;Python Code&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
microPython  code for Pyboard to control continuous rotation servo.
&lt;/p&gt;
&lt;pre class=&quot;code python&quot;&gt;&lt;span class=&quot;co1&quot;&gt;# main.py -- put your code here!&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; pyb
&amp;nbsp;
servo1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; pyb.&lt;span class=&quot;me1&quot;&gt;Servo&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# LED colours&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# red flash = motor stopped&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# green on = manual stop for 120 seconds&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# yellow on/flash = motor running&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# blue flash = 5 seconds before a change of state&lt;/span&gt;
&amp;nbsp;
ledr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; pyb.&lt;span class=&quot;me1&quot;&gt;LED&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; 
ledg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; pyb.&lt;span class=&quot;me1&quot;&gt;LED&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
ledy &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; pyb.&lt;span class=&quot;me1&quot;&gt;LED&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
ledb &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; pyb.&lt;span class=&quot;me1&quot;&gt;LED&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; 
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# servo speeds to achieve approx 6 rpm in either direction.&lt;/span&gt;
ccw &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt;
cw &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;
stop &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# 12 minute cycle :&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# observed turns complete per stage:&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# 2 min CW = ~11 turns&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# 4 min stop&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# 2 min CCW = ~ 12 turns&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# 4 min stop&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# 23 turns / 12 min = 115 turns / hour&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# ETA 2836-2 requires 650 turns / day for full winding &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# this would take 5.6 hours on winder per day to guarantee full wind.&lt;/span&gt;
&amp;nbsp;
period &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;120&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;# seconds&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# turn LEDs off (unneccesary?)&lt;/span&gt;
ledr.&lt;span class=&quot;me1&quot;&gt;off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
ledg.&lt;span class=&quot;me1&quot;&gt;off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; 
ledy.&lt;span class=&quot;me1&quot;&gt;off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
ledb.&lt;span class=&quot;me1&quot;&gt;off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# interrupt function to allow changing/removing watch&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; stop_servo&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
	&lt;span class=&quot;co1&quot;&gt;# red LED on at start of interruption&lt;/span&gt;
	ledr.&lt;span class=&quot;me1&quot;&gt;on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	ledy.&lt;span class=&quot;me1&quot;&gt;off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
	&lt;span class=&quot;co1&quot;&gt;# turn off any flashing LEDs during interruption&lt;/span&gt;
	tim4.&lt;span class=&quot;me1&quot;&gt;callback&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;None&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
	&lt;span class=&quot;co1&quot;&gt;# flash blue LED to signal stop imminent&lt;/span&gt;
	flash_blue&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
	&lt;span class=&quot;co1&quot;&gt;# stop servo&lt;/span&gt;
	servo1.&lt;span class=&quot;me1&quot;&gt;speed&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
	&lt;span class=&quot;co1&quot;&gt;# red LED off and green LED on to indicate &amp;quot;safe to proceed&amp;quot;&lt;/span&gt;
	ledr.&lt;span class=&quot;me1&quot;&gt;off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	ledg.&lt;span class=&quot;me1&quot;&gt;on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
	&lt;span class=&quot;co1&quot;&gt;# pause for 2 minute&lt;/span&gt;
	pyb.&lt;span class=&quot;me1&quot;&gt;delay&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;120&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
	&lt;span class=&quot;co1&quot;&gt;# flash blue LED to signal re-start imminent&lt;/span&gt;
	flash_blue&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
	&lt;span class=&quot;co1&quot;&gt;# green LED off to indicate end of interruption.&lt;/span&gt;
	ledg.&lt;span class=&quot;me1&quot;&gt;off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
	pyb.&lt;span class=&quot;me1&quot;&gt;hard_reset&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
	&lt;span class=&quot;co1&quot;&gt;# after resumption from interrupt the next stage will usually be a &lt;/span&gt;
	&lt;span class=&quot;co1&quot;&gt;# &amp;quot;stop&amp;quot; period, assuming the interrupt occurred during a &amp;quot;run&amp;quot; period&lt;/span&gt;
	&lt;span class=&quot;co1&quot;&gt;# perhaps need to look at the best way of resuming? or even quit()&lt;/span&gt;
	&lt;span class=&quot;co1&quot;&gt;# at the end of the stop_servo() interrupt and then manually reset via the &lt;/span&gt;
	&lt;span class=&quot;co1&quot;&gt;# RST button?&lt;/span&gt;
&amp;nbsp;
	&lt;span class=&quot;co1&quot;&gt;# main programme resumes where it left off....&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; cycle_led&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
	ledb.&lt;span class=&quot;me1&quot;&gt;on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	pyb.&lt;span class=&quot;me1&quot;&gt;delay&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	ledy.&lt;span class=&quot;me1&quot;&gt;on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	pyb.&lt;span class=&quot;me1&quot;&gt;delay&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	ledg.&lt;span class=&quot;me1&quot;&gt;on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	pyb.&lt;span class=&quot;me1&quot;&gt;delay&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	ledr.&lt;span class=&quot;me1&quot;&gt;on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	pyb.&lt;span class=&quot;me1&quot;&gt;delay&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	ledb.&lt;span class=&quot;me1&quot;&gt;off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	ledy.&lt;span class=&quot;me1&quot;&gt;off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	ledg.&lt;span class=&quot;me1&quot;&gt;off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	ledr.&lt;span class=&quot;me1&quot;&gt;off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
	&lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; flash_blue&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
	t &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; t &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;:
&amp;nbsp;
		ledb.&lt;span class=&quot;me1&quot;&gt;toggle&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
		pyb.&lt;span class=&quot;me1&quot;&gt;delay&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
		t +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; rotate_cw&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;p&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
	&lt;span class=&quot;co1&quot;&gt;# solid yellow LED when going CW&lt;/span&gt;
	ledy.&lt;span class=&quot;me1&quot;&gt;on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	servo1.&lt;span class=&quot;me1&quot;&gt;speed&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cw&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	pyb.&lt;span class=&quot;me1&quot;&gt;delay&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;p * &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	flash_blue&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	ledy.&lt;span class=&quot;me1&quot;&gt;off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
	&lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; rotate_ccw&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;p&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
	&lt;span class=&quot;co1&quot;&gt;# flash yellow LED when going CCW&lt;/span&gt;
	tim4.&lt;span class=&quot;me1&quot;&gt;callback&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt; t: ledy.&lt;span class=&quot;me1&quot;&gt;toggle&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	servo1.&lt;span class=&quot;me1&quot;&gt;speed&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccw&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	pyb.&lt;span class=&quot;me1&quot;&gt;delay&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;p * &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	flash_blue&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	tim4.&lt;span class=&quot;me1&quot;&gt;callback&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;None&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	ledy.&lt;span class=&quot;me1&quot;&gt;off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
	&lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; pause&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;p&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
	&lt;span class=&quot;co1&quot;&gt;# flash red LED during motor pause period&lt;/span&gt;
	tim4.&lt;span class=&quot;me1&quot;&gt;callback&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt; t: ledr.&lt;span class=&quot;me1&quot;&gt;toggle&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	servo1.&lt;span class=&quot;me1&quot;&gt;speed&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;stop&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	pyb.&lt;span class=&quot;me1&quot;&gt;delay&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;p * &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	flash_blue&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	tim4.&lt;span class=&quot;me1&quot;&gt;callback&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;None&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	ledr.&lt;span class=&quot;me1&quot;&gt;off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
	&lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# USR on-board switch used to pause running to allow&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# watch to be removed / changed&lt;/span&gt;
sw &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; pyb.&lt;span class=&quot;me1&quot;&gt;Switch&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# callback to run the function that pauses the operation&lt;/span&gt;
sw.&lt;span class=&quot;me1&quot;&gt;callback&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;stop_servo&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#timer to flash LEDs&lt;/span&gt;
tim4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; pyb.&lt;span class=&quot;me1&quot;&gt;Timer&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; freq&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
cycle_led&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# the main loop&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;:
&amp;nbsp;
		rotate_cw&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;period&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
		pause&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; * period&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
		rotate_ccw&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;period&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
		pause&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; * period&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Python Code&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;python_code&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;1211-4284&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Page created Sun May 22 00:52:45 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 30/12/25 09:55 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:watch&amp;amp;do=showtag&amp;amp;tag=watch&quot; class=&quot;wikilink1&quot; title=&quot;tag:watch&quot; rel=&quot;tag&quot;&gt;watch&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:python&amp;amp;do=showtag&amp;amp;tag=python&quot; class=&quot;wikilink1&quot; title=&quot;tag:python&quot; rel=&quot;tag&quot;&gt;python&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;4285-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>Anytone AT-D878UV</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:at-d878uv</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:start&quot; data-wiki-id=&quot;public:radio:radio_database:start&quot;&gt;Rig and Key List&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;anytone_at-d878uv&quot;&gt;Anytone AT-D878UV&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Anytone AT-D878UV&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;anytone_at-d878uv&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-51&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;files&quot;&gt;Files&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;table sectionedit3&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Date&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;File&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Comments&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 17/03/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:current_878_170324.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:radio:radio_database:current_878_170324.zip (4.8 MB)&quot;&gt;current_878_170324.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Codeplug 3 DMR plus DMR2YSF &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 17/03/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:d878uv_v1.21.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:radio:radio_database:d878uv_v1.21.zip (7.7 MB)&quot;&gt;d878uv_v1.21.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Working 1.21 &amp;amp; CPS &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 17/03/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:878_contacts.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:radio:radio_database:878_contacts.zip (4.3 MB)&quot;&gt;878_contacts.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Pruned Contacts file &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 06/04/25 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:current_878_050425.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:radio:radio_database:current_878_050425.zip (4.7 MB)&quot;&gt;current_878_050425.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Codeplug 3 DMR &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 06/04/25 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:contacts_050425.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:radio:radio_database:contacts_050425.zip (4.2 MB)&quot;&gt;contacts_050425.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Pruned Contacts file &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;71-560&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Files&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;files&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;52-562&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Page created Wed May 25 00:02:24 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/06/26 07:39 BST
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;563-676&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;tags&quot;&gt;tags&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dv&amp;amp;do=showtag&amp;amp;tag=dv&quot; class=&quot;wikilink1&quot; title=&quot;tag:dv&quot; rel=&quot;tag&quot;&gt;dv&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dmr&amp;amp;do=showtag&amp;amp;tag=dmr&quot; class=&quot;wikilink1&quot; title=&quot;tag:dmr&quot; rel=&quot;tag&quot;&gt;dmr&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;677-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 06:39:56 +0000</pubDate>
        </item>
        <item>
            <title>CRT SS9900</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:crt_ss9900</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:start&quot; data-wiki-id=&quot;public:radio:radio_database:start&quot;&gt;Rig and Key List&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;crt_ss9900&quot;&gt;CRT SS9900&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt; Multi-Mode 10m/11m/12m &lt;/strong&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;CRT SS9900&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;crt_ss9900&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-72&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;background&quot;&gt;Background&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I wanted a mobile 10m radio for use on 10m FM, and occasionally SSB, to try and re-capture the fun I had in the early days of being a ham (1983). Looking around I found a lot of choice of radios covering 12m and 10m amateur bands, and (of course) all the space in between containing the 11m/CB bands.
&lt;/p&gt;

&lt;p&gt;
I bought a CRT9900 which seemed to offer the best versatility - it&amp;#039;s more like a ham radio than a channelized CB.
&lt;/p&gt;

&lt;p&gt;
It&amp;#039;s hardly been used - I don&amp;#039;t think I&amp;#039;ve ever had a QSO with it yet - so I now intend to make a concerted effort to get some use from it,  and even looking at 11m when 10m is moribund.
&lt;/p&gt;

&lt;p&gt;
Propagation conditions should be improving as Solar Cycle 25 peaks, and (writing this in early May 2023) the summer Sporadic-E season should also bring some inter-Europe propagation too.
&lt;/p&gt;

&lt;p&gt;
p.s. I even have a CB callsign from the &lt;a href=&quot;https://charlietangodxgroup.forumotion.com/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://charlietangodxgroup.forumotion.com/&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Charlie Tango&lt;/a&gt; group : “108 CT 2182”  (108 = Scotland and I asked for 2182 as a nod to SSB marine radio) 
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://charlietangodxgroup.forumotion.com/t147-world-ct-call-signs-92-div-to-137-div&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://charlietangodxgroup.forumotion.com/t147-world-ct-call-signs-92-div-to-137-div&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://charlietangodxgroup.forumotion.com/t147-world-ct-call-signs-92-div-to-137-div&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Background&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;background&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;73-1176&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;user_manual&quot;&gt;User Manual&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:manual_crt_ss9900_eng.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:radio_database:manual_crt_ss9900_eng.pdf (1.6 MB)&quot;&gt;manual_crt_ss9900_eng.pdf&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;User Manual&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;user_manual&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1177-1264&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;configurations&quot;&gt;Configurations&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;table sectionedit5&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Date&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Config files&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt; A &lt;/th&gt;&lt;th class=&quot;col3&quot;&gt; B &lt;/th&gt;&lt;th class=&quot;col4&quot;&gt; C &lt;/th&gt;&lt;th class=&quot;col5&quot;&gt; D &lt;/th&gt;&lt;th class=&quot;col6&quot;&gt; E &lt;/th&gt;&lt;th class=&quot;col7&quot;&gt; F &lt;/th&gt;&lt;th class=&quot;col8&quot;&gt; G &lt;/th&gt;&lt;th class=&quot;col9&quot;&gt; H &lt;/th&gt;&lt;th class=&quot;col10&quot;&gt; I &lt;/th&gt;&lt;th class=&quot;col11&quot;&gt; J &lt;/th&gt;&lt;th class=&quot;col12&quot;&gt; Comments &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 05/05/23 &lt;/td&gt;&lt;td class=&quot;col1 rightalign&quot;&gt;  &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:ss9900_050523.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:radio:radio_database:ss9900_050523.zip (7.6 KB)&quot;&gt;ss9900_050523.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; S.S.Low &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; S.Low &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt; Low  &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; Mid EU &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; High &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; S.High &lt;/td&gt;&lt;td class=&quot;col8&quot;&gt; UK40 &lt;/td&gt;&lt;td class=&quot;col9&quot;&gt; 10m? &lt;/td&gt;&lt;td class=&quot;col10&quot;&gt; 10m? &lt;/td&gt;&lt;td class=&quot;col11&quot;&gt; 10m? &lt;/td&gt;&lt;td class=&quot;col12 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 09/05/23 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:ss9900_090523.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:radio:radio_database:ss9900_090523.zip (11.7 KB)&quot;&gt;ss9900_090523.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; S.S.Low &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; S.Low &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt; Low  &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; Mid EU &lt;/td&gt;&lt;td class=&quot;col6&quot;&gt; High &lt;/td&gt;&lt;td class=&quot;col7&quot;&gt; S.High &lt;/td&gt;&lt;td class=&quot;col8 leftalign&quot;&gt; UK40   &lt;/td&gt;&lt;td class=&quot;col9&quot;&gt; 28.200 - 28.590 &lt;/td&gt;&lt;td class=&quot;col10&quot;&gt; 28.910 - 29.300 &lt;/td&gt;&lt;td class=&quot;col11&quot;&gt; 29.310 - 29.700 &lt;/td&gt;&lt;td class=&quot;col12&quot;&gt; LSB mode added &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1293-1713&amp;quot;} --&gt;
&lt;p&gt;
Last Update : 04/06/26 07:39 BST
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Configurations&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;configurations&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;1265-1741&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; CB Channels - All Freeband&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Aradio%3Aradio_database%3Acrt_ss9900&amp;amp;media=public:radio:radio_database:freeband_cb.jpg&quot; class=&quot;media&quot; title=&quot;public:radio:radio_database:freeband_cb.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=d89664&amp;amp;media=public:radio:radio_database:freeband_cb.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; CB Channels - Legal UK&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Aradio%3Aradio_database%3Acrt_ss9900&amp;amp;media=public:radio:radio_database:uk_cb.jpg&quot; class=&quot;media&quot; title=&quot;public:radio:radio_database:uk_cb.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=a7af89&amp;amp;media=public:radio:radio_database:uk_cb.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 05/05/23 09:59&lt;/em&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;1742-1984&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit7&quot; id=&quot;further_information1&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:10m&amp;amp;do=showtag&amp;amp;tag=10m&quot; class=&quot;wikilink1&quot; title=&quot;tag:10m&quot; rel=&quot;tag&quot;&gt;10m&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:11m&amp;amp;do=showtag&amp;amp;tag=11m&quot; class=&quot;wikilink1&quot; title=&quot;tag:11m&quot; rel=&quot;tag&quot;&gt;11m&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:cb&amp;amp;do=showtag&amp;amp;tag=cb&quot; class=&quot;wikilink1&quot; title=&quot;tag:cb&quot; rel=&quot;tag&quot;&gt;cb&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:ss9900&amp;amp;do=showtag&amp;amp;tag=ss9900&quot; class=&quot;wikilink1&quot; title=&quot;tag:ss9900&quot; rel=&quot;tag&quot;&gt;ss9900&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information1&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;1985-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 06:39:56 +0000</pubDate>
        </item>
        <item>
            <title>Yaesu FRG-7700</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:frg-7700</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:start&quot; data-wiki-id=&quot;public:radio:radio_database:start&quot;&gt;Rig and Key List&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;yaesu_frg-7700&quot;&gt;Yaesu FRG-7700&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Yaesu FRG-7700&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;yaesu_frg-7700&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-48&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Page created Wed May 25 00:04:23 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/06/26 07:39 BST
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;49-162&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;tags&quot;&gt;tags&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;163-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 06:39:56 +0000</pubDate>
        </item>
        <item>
            <title>Yaesu FT-60</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:ft-60</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:start&quot; data-wiki-id=&quot;public:radio:radio_database:start&quot;&gt;Rig and Key List&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;yaesu_ft-60&quot;&gt;Yaesu FT-60&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Yaesu FT-60&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;yaesu_ft-60&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-45&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;46-67&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;documentation&quot;&gt;Documentation&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:ft-60r_operating.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:radio_database:ft-60r_operating.pdf (2.2 MB)&quot;&gt;ft-60r_operating.pdf&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Page created Wed May 25 00:00:44 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/06/26 07:39 BST
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Documentation&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;documentation&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;68-251&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;tags&quot;&gt;tags&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:ft60&amp;amp;do=showtag&amp;amp;tag=ft60&quot; class=&quot;wikilink1&quot; title=&quot;tag:ft60&quot; rel=&quot;tag&quot;&gt;ft60&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;252-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 06:39:56 +0000</pubDate>
        </item>
        <item>
            <title>Icom IC-M710</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:ic-m710</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:start&quot; data-wiki-id=&quot;public:radio:radio_database:start&quot;&gt;Rig and Key List&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;icom_ic-m710&quot;&gt;Icom IC-M710&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Icom IC-M710&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;icom_ic-m710&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-46&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;repairs_mods&quot;&gt;Repairs / Mods&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;

&lt;h4 id=&quot;no_transmit_output_power&quot;&gt;2023 : No Transmit Output Power.&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Receive functions normally&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; trace to - pre-drive TX buffer amp transistor - Q1 Main PCB&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; No Drive to PA from Main Board&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; TX signal present at base of Q1 but no signal at collector&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Q1 2SC4673 sourced from eBay &lt;a href=&quot;https://www.ebay.co.uk/itm/322993473692&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.ebay.co.uk/itm/322993473692&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.ebay.co.uk/itm/322993473692&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; 07/02/23 : Replaced Q1 and full transmit power restored.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Aradio%3Aradio_database%3Aic-m710&amp;amp;media=public:radio:radio_database:m710_q1.png&quot; class=&quot;media&quot; title=&quot;public:radio:radio_database:m710_q1.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=293f46&amp;amp;media=public:radio:radio_database:m710_q1.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Aradio%3Aradio_database%3Aic-m710&amp;amp;media=public:radio:radio_database:m710_q1_pcb.png&quot; class=&quot;media&quot; title=&quot;public:radio:radio_database:m710_q1_pcb.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=469dfa&amp;amp;media=public:radio:radio_database:m710_q1_pcb.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Aradio%3Aradio_database%3Aic-m710&amp;amp;media=public:radio:radio_database:img_20230207_203238_357_3.jpg&quot; class=&quot;media&quot; title=&quot;public:radio:radio_database:img_20230207_203238_357_3.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=48dee2&amp;amp;media=public:radio:radio_database:img_20230207_203238_357_3.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Aradio%3Aradio_database%3Aic-m710&amp;amp;media=public:radio:radio_database:m710_transistor.png&quot; class=&quot;media&quot; title=&quot;public:radio:radio_database:m710_transistor.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=a2b0aa&amp;amp;media=public:radio:radio_database:m710_transistor.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Repairs \/ Mods&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;repairs_mods&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;47-692&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;remote_control&quot;&gt;Remote Control&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Python module for &lt;a href=&quot;https://github.com/gm4slv/netradio&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://github.com/gm4slv/netradio&quot; rel=&quot;ugc nofollow noopener&quot;&gt;netradio&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Some functions aren&amp;#039;t needed for receive only, and should be removed (ptt_on ptt_off etc.). This module originally came from another project (not “object oriented”) and I had to add lots of &lt;em&gt;self&lt;/em&gt; statements to the needed functions, ignoring the ones not used for “netradio”. I&amp;#039;ll trim it, later, if I remember.
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_ad221df420592d0af135b06aaca2a45d_35&quot;&gt;m710.py code &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_ad221df420592d0af135b06aaca2a45d_35&quot;&gt;&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:radio:radio_database:ic-m710&amp;amp;codeblock=0&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_py&quot;&gt;m710.py&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file python&quot;&gt;&lt;span class=&quot;st0&quot;&gt;&#039;&#039;&#039;
Python NMEA Radio Functions module for Icom IC-M710 Marine HF SSB Transceiver
&amp;nbsp;
    Copyright (C) 2015  John Pumford-Green
&amp;nbsp;
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.
&amp;nbsp;
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
&amp;nbsp;
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see &amp;lt;http://www.gnu.org/licenses/&amp;gt;.
&#039;&#039;&#039;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# serial port for Icom IC-M710 Rig Control&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; serial
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;
version &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;v0.1&amp;quot;&lt;/span&gt;
&amp;nbsp;
sport &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;/dev/ttyUSB0&#039;&lt;/span&gt;
sbaud &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4800&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#ser = serial.Serial(sport, 4800, timeout=1)&lt;/span&gt;
lock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Lock&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# NMEA Codes&lt;/span&gt;
preamble &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;$PICOA,&amp;quot;&lt;/span&gt;
controller &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;90&amp;quot;&lt;/span&gt;
radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;01&amp;quot;&lt;/span&gt; 
cr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;0d&amp;quot;&lt;/span&gt;
lf &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;0a&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# Commands are sent as NMEA private sentences:&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# $PICOA,controller_id,radio_id,command,&amp;lt;parameter&amp;gt;,*HH&amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# where HH is the 2 digit ECC value below:&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# The protocol document states that for messages FROM the controller TO the radio&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# the ECC bytes are optional, and may be omitted. This appears to be false information, and&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# the ECC bytes seem to be necessary.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# The ECC checksum, is a two-digit hex value found by XORing the hex values of the characters &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# between &amp;quot;$&amp;quot; and &amp;quot;*&amp;quot; (but not including the $ or *)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# The first part of the message is always:&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# &amp;quot;PICOA,90,01,&amp;quot; and this has an XOR value of (decimal) 112&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# we then XOR this with each character&#039;s decimal ASCII value, in the required command&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# and convert the result to a 2-digit hex value&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; m710&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;__init__&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; model&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; serial.&lt;span class=&quot;me1&quot;&gt;Serial&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sport&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sbaud&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; timeout&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0.1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;model&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; model
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;model&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; model
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;112&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; c &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; command:
            ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;c&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; ^ ecc
        hecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;{0:02x}&#039;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;format&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ecc&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; hecc
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# we must force the radio into &amp;quot;Remote&amp;quot; mode before sending any other commands.    &lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; remote_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;REMOTE,ON&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_ecc&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;remote_on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# we can leave the radio in &amp;quot;Remote&amp;quot; mode for as long as we want to control it remotely&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# but we must close the &amp;quot;Remote&amp;quot; mode when finished. The previous radio settings (channel/power etc) are&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# restored after Remote mode is closed.&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; remote_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;REMOTE,OFF&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_ecc&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; 
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;co1&quot;&gt;#ser.close()&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;remote_off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; ptt_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;TRX,TX&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; ptt_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; ptt_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;TRX,RX&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; ptt_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        fkhz &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_rxfreq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#fkhz = &amp;quot;%.3f&amp;quot; % (float(f) * 1000)&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; fkhz
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_rxfreq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_txfreq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Set freq success&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_rxfreq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;RXF&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_ecc&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; result.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
            fkhz &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%.3f&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;f&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; fkhz
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_rxfreq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_txfreq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;TXF&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; result.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
            fkhz &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%.3f&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;f&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; fkhz
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_txfreq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;MODE&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_ecc&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; result.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; mode
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; mode.&lt;span class=&quot;me1&quot;&gt;upper&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;MODE,&amp;quot;&lt;/span&gt;+mode
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_ecc&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;in set_mode with &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sendStr
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_rxfreq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        fmhz &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;
        f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fmhz&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;RXF,&amp;quot;&lt;/span&gt;+f
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_ecc&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_rxfreq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_txfreq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        fmhz &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;
        f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fmhz&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;TXF,&amp;quot;&lt;/span&gt;+f
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_ecc&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_txfreq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_txpower&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;TXP&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; result.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            power &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; power
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; get_txpower&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_txpower&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;p&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;TXP,&amp;quot;&lt;/span&gt;+p
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; set_txpower&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;p&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_smeter&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;SIGM&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_ecc&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; result.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            smeter &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; smeter
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_smeter&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; speaker_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;SP,ON&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; speaker_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; speaker_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;SP,OFF&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; speaker_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; sql_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;SQLC,ON&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; sql_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; sql_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;SQLC,OFF&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; sql_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; nb_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NB,ON&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; nb_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; nb_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NB,OFF&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; nb_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; dim_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;DIM,ON&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; dim_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; dim_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;DIM,OFF&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; dim_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; agc_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;AGC,ON&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; agc_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; agc_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;AGC,OFF&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; agc_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_vol&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;AFG&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; result.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            vol &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; vol
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; get_vol&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_vol&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;v&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;AFG,&amp;quot;&lt;/span&gt;+v
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; set_vol&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;v&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_rfg&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;RFG&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; result.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            rf &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; rf
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; get_rfg&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_att&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_pre&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_rfg&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;v&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;RFG,&amp;quot;&lt;/span&gt;+v
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; set_rfg&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;v&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# The message FROM the radio may be corrupted so we do a check on the received ECC versus our calculated cECC&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# from the received characters - which are everything AFTER the &amp;quot;$&amp;quot; and BEFORE the &amp;quot;*&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# starting the ECC calculation at message[1] ignores the &amp;quot;$&amp;quot; and we iterate through the message XORing each &lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# character&#039;s ASCII (decimal) value until we have the final cECC which is converted by formatting it&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# into a two-digit hex value. This is then compared to the received (rECC) value from the radio&#039;s message. &lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# If they match the message is acceptable and check_ecc() returns True to tx_rx(), &lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# otherwise check_ecc() function returns &amp;quot;False&amp;quot; to tx_rx()&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# the True/False value is tested in tx_rx(). &lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# If True then tx_rx() returns the incoming string to the calling function&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# otherwise it returns &amp;quot;False&amp;quot;. &lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# The calling function then checkS the boolean state of the returned value. &lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# If True (ie it has the radio&#039;s message and the ECC was good) the message &lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# is sent back to the client. &lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# If False the function calls itself again, and attempts to get an error-free reply from the radio, via tx_rx()&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; check_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;message&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; recc&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        i &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
        cecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; i &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;message&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
            cecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;message&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; ^ cecc
            i +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;  
&amp;nbsp;
        cecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;{0:02x}&#039;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;format&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cecc&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; cecc &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; recc:   
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;: 
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;in tx_rx, sendStr =  &amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sendStr
        lock.&lt;span class=&quot;me1&quot;&gt;acquire&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sleep&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0.1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;readline&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; result
        reply &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; result.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; reply&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;lower&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        message &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; reply&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        lock.&lt;span class=&quot;me1&quot;&gt;release&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;check_ecc&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;message&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ecc&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&amp;nbsp;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Remote Control&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;remote_control&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;693-14752&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;documentation&quot;&gt;Documentation&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:ic-m710.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:radio_database:ic-m710.pdf (5.7 MB)&quot;&gt;ic-m710.pdf&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:ic-m710-sm.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:radio_database:ic-m710-sm.pdf (8.5 MB)&quot;&gt;ic-m710-sm.pdf&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:nmea_instruction_for_the_ic-m710..pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:radio_database:nmea_instruction_for_the_ic-m710..pdf (2.9 MB)&quot;&gt;nmea_instruction_for_the_ic-m710..pdf&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Documentation&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;documentation&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;14753-14965&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Page created Tue May 24 23:59:35 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/06/26 07:39 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:icm710&amp;amp;do=showtag&amp;amp;tag=icm710&quot; class=&quot;wikilink1&quot; title=&quot;tag:icm710&quot; rel=&quot;tag&quot;&gt;icm710&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;14966-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 06:39:56 +0000</pubDate>
        </item>
        <item>
            <title>TYT MD380</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:md380</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:start&quot; data-wiki-id=&quot;public:radio:radio_database:start&quot;&gt;Rig and Key List&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;tyt_md380&quot;&gt;TYT MD380&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;TYT MD380&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tyt_md380&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-42&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;files&quot;&gt;Files&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;table sectionedit3&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Date&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;File&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Comments&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;17/03/24&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:current_380_170324.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:radio:radio_database:current_380_170324.zip (2.3 KB)&quot;&gt;current_380_170324.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Codeplug 3 DMR and DMR2YSF &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 17/03/24 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:tytoolz_v1_08c_beta.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:radio:radio_database:tytoolz_v1_08c_beta.zip (1.1 MB)&quot;&gt;tytoolz_v1_08c_beta.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Firmware flash tool for TyToolz &amp;amp; DB &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;62-297&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Files&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;files&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;43-297&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;firmware&quot;&gt;Firmware&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Running the TyToolz fork of MD380 Tools &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Similar functionality to the original Tools firmware but with some nicer modifications that make it more pleasant to operate.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Firmware&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;firmware&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;298-496&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Page created Wed May 25 00:05:34 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/06/26 07:39 BST
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;497-610&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;tags&quot;&gt;tags&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dmr&amp;amp;do=showtag&amp;amp;tag=dmr&quot; class=&quot;wikilink1&quot; title=&quot;tag:dmr&quot; rel=&quot;tag&quot;&gt;dmr&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:dv&amp;amp;do=showtag&amp;amp;tag=dv&quot; class=&quot;wikilink1&quot; title=&quot;tag:dv&quot; rel=&quot;tag&quot;&gt;dv&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;611-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 06:39:56 +0000</pubDate>
        </item>
        <item>
            <title>Rig and Key List</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:start</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:start&quot; data-wiki-id=&quot;public:radio:start&quot;&gt;Radio&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;rig_and_key_list&quot;&gt;Rig and Key List&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4 id=&quot;radios_and_morse_keys_bugs_currently_owned&quot;&gt;Radios and Morse Keys/Bugs currently owned&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Rig and Key List&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;rig_and_key_list&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;13-96&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;information&quot;&gt;Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;script type=&quot;text/javascript&quot;&gt; catlist_baseurl = &quot;https://www.g4slv.info/dokuwiki/&quot;; catlist_basescript = &quot;doku.php&quot;; catlist_useslash = 0; catlist_userewrite = 0; catlist_sepchar = &quot;_&quot;; catlist_deaccent = 1; catlist_pagename_sanitize = 1; &lt;/script&gt;&lt;ul class=&quot;catlist-nslist&quot; &gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:at-d878uv&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:at-d878uv&quot; data-wiki-id=&quot;public:radio:radio_database:at-d878uv&quot;&gt;Anytone AT-D878UV&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:anytone_smart&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:anytone_smart&quot; data-wiki-id=&quot;public:radio:radio_database:anytone_smart&quot;&gt;Anytone Smart CB for 10M&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:ar_7030&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:ar_7030&quot; data-wiki-id=&quot;public:radio:radio_database:ar_7030&quot;&gt;AOR AR7030&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:crt_ss9900&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:crt_ss9900&quot; data-wiki-id=&quot;public:radio:radio_database:crt_ss9900&quot;&gt;CRT SS9900&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:gpo_brass&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:gpo_brass&quot; data-wiki-id=&quot;public:radio:radio_database:gpo_brass&quot;&gt;GPO Brass Key&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:himound_708&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:himound_708&quot; data-wiki-id=&quot;public:radio:radio_database:himound_708&quot;&gt;Hi-Mound HK-708 Key&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:ic706&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:ic706&quot; data-wiki-id=&quot;public:radio:radio_database:ic706&quot;&gt;Icom IC-706&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:ic-7200&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:ic-7200&quot; data-wiki-id=&quot;public:radio:radio_database:ic-7200&quot;&gt;Icom IC-7200&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:ic-m710&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:ic-m710&quot; data-wiki-id=&quot;public:radio:radio_database:ic-m710&quot;&gt;Icom IC-M710&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:ic-r75&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:ic-r75&quot; data-wiki-id=&quot;public:radio:radio_database:ic-r75&quot;&gt;Icom IC-R75&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:th-d72&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:th-d72&quot; data-wiki-id=&quot;public:radio:radio_database:th-d72&quot;&gt;Kenwood TH-D72&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:tm-d710&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:tm-d710&quot; data-wiki-id=&quot;public:radio:radio_database:tm-d710&quot;&gt;Kenwood TM-D710&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:qrp_labs_qcx-mini&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:qrp_labs_qcx-mini&quot; data-wiki-id=&quot;public:radio:radio_database:qrp_labs_qcx-mini&quot;&gt;QRP Labs QCX-mini&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:qrp_labs_qmx&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:qrp_labs_qmx&quot; data-wiki-id=&quot;public:radio:radio_database:qrp_labs_qmx&quot;&gt;QRP Labs QMX&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:fm1100&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:fm1100&quot; data-wiki-id=&quot;public:radio:radio_database:fm1100&quot;&gt;Simoco FM1100&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:md380&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:md380&quot; data-wiki-id=&quot;public:radio:radio_database:md380&quot;&gt;TYT MD380&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:vibroplex_champion&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:vibroplex_champion&quot; data-wiki-id=&quot;public:radio:radio_database:vibroplex_champion&quot;&gt;Vibroplex Champion Bug&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:vibroplex_presentation&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:vibroplex_presentation&quot; data-wiki-id=&quot;public:radio:radio_database:vibroplex_presentation&quot;&gt;Vibroplex Presentation Bug&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:xeigu_g90&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:xeigu_g90&quot; data-wiki-id=&quot;public:radio:radio_database:xeigu_g90&quot;&gt;Xeigu G90&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:frg-7700&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:frg-7700&quot; data-wiki-id=&quot;public:radio:radio_database:frg-7700&quot;&gt;Yaesu FRG-7700&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:ft3d&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:ft3d&quot; data-wiki-id=&quot;public:radio:radio_database:ft3d&quot;&gt;Yaesu FT-3D&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:ft-60&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:ft-60&quot; data-wiki-id=&quot;public:radio:radio_database:ft-60&quot;&gt;Yaesu FT-60&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:ft_891&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:ft_891&quot; data-wiki-id=&quot;public:radio:radio_database:ft_891&quot;&gt;Yaesu FT-891&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:ft-2980e&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:ft-2980e&quot; data-wiki-id=&quot;public:radio:radio_database:ft-2980e&quot;&gt;Yaesu FT-2980&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;/p&gt;

&lt;p&gt;
Page created Tue May 24 23:57:58 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/06/26 07:39 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;97-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 06:39:56 +0000</pubDate>
        </item>
        <item>
            <title>Kenwood TH-D72</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:th-d72</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:start&quot; data-wiki-id=&quot;public:radio:radio_database:start&quot;&gt;Rig and Key List&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;kenwood_th-d72&quot;&gt;Kenwood TH-D72&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Kenwood TH-D72&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;kenwood_th-d72&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-48&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;remote_control&quot;&gt;Remote Control&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
The TH-D72 can be used to remotely control a &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:tm-d710&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:tm-d710&quot; data-wiki-id=&quot;public:radio:radio_database:tm-d710&quot;&gt; TM-D710&lt;/a&gt;. This allows remote control of VHF Frequency/Memory Channel, TX power, CTCSS/DCS tones and to enable/disable cross-band repeat.
&lt;/p&gt;

&lt;p&gt;
The remote control function uses specific DTMF sequences to instruct the TM-D710. 
&lt;/p&gt;

&lt;p&gt;
To enable “Remote Ctrl” mode :
&lt;/p&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Select the correct UHF uplink frequency to match the TM-D710&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Turn off the TH-D72&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Hold &lt;code&gt;MR&lt;/code&gt; and &lt;code&gt;PTT&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Turn on the TH-D72&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;
The display will show “Mobile Ctrl”
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Aradio%3Aradio_database%3Ath-d72&amp;amp;media=public:radio:radio_database:2024-03-29_08.46.00.jpg&quot; class=&quot;media&quot; title=&quot;public:radio:radio_database:2024-03-29_08.46.00.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=1532ca&amp;amp;media=public:radio:radio_database:2024-03-29_08.46.00.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
The TM-D710 must also be put in Remote Control mode.
&lt;/p&gt;

&lt;p&gt;
On the TM-D710
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; select VHF mode on both sides&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; turn off the APRS TNC if it&amp;#039;s on&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; set the left side to the wanted VHF Frequency&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; set the right side to the UHF Uplink/control frequency to match the TH-D72&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; the first steps are done by selecting &lt;code&gt;PM5&lt;/code&gt; on my TM-D710&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span style=&#039;color:#ed1c24; &#039;&gt;&lt;strong&gt;make sure the left side/VHF is the “active” side by clicking the left volume knob&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; turn off&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; hold &lt;code&gt;Rev&lt;/code&gt; button &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; turn on&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
The TM-D710 should now be in remote mode.
&lt;/p&gt;

&lt;p&gt;
To restore normal operation repeat the same sequence of 
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Turn off&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Hold &lt;code&gt;Rev&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Turn on&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Successful commands sent to the TM-D710 will receive a “pip pip pip” revertive.
&lt;/p&gt;

&lt;p&gt;
The commands are send using the TH-D72 keypad, remapped as:
&lt;/p&gt;
&lt;div class=&quot;table sectionedit3&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;1 = DCS On &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 2 = Tone On &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 3 = CTCSS On &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; A = Enter &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;4 = DCS Off &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;5 = Tone Off &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 6 = CTCSS Off &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; B = CTCSS/DCS Tone &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;7 = Call Ch. Mode &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;8 = VFO Mode &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;9 = Memory Mode &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; C = Repeater On&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;* = Down &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;0 = Power &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; # = Up &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;D = Repeater Off &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1435-1674&amp;quot;} --&gt;&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; to change VHF Frequency to 145.500&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; 8 (VFO Mode)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; A (Enter) 145500 A (Enter)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; to change to memory channel 2&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; 9 (Memory Mode)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; A (Enter) 002 A (enter)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; To turn on Cross-Band Repeat&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; C &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; To turn off Cross-Band Repeat&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; D&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Once the TM-D710 is in the correct condition - VHF Frequency, tone, power, cross-band repeat - it&amp;#039;s possible to restore the TH-D72 to normal operation and use it to access the cross-band repeater and use DTMF tones as normal (eg. to control another system via the repeater). Just exit “Mobile Ctrl” mode on the TH-D72
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Turn off&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; hold &lt;code&gt;MR&lt;/code&gt; and &lt;code&gt;PTT&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Turn on&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
You should be back in normal operation mode.
&lt;/p&gt;

&lt;p&gt;
Obviously, to control the TM-D710 again (eg to disable cross-band repeat) simply go back to &lt;code&gt;Mobile Ctrl&lt;/code&gt; mode in the same way, and send the required commands.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Remote Control&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;remote_control&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;49-2523&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;documentation&quot;&gt;Documentation&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:th-d72_all_e.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:radio_database:th-d72_all_e.pdf (7.2 MB)&quot;&gt;th-d72_all_e.pdf&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:th-d72ae_idm.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:radio_database:th-d72ae_idm.pdf (5.9 MB)&quot;&gt;th-d72ae_idm.pdf&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Documentation&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;documentation&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;2524-2665&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Page created Wed May 25 00:01:26 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/06/26 07:39 BST
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;2666-2779&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;tags&quot;&gt;tags&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:thd72&amp;amp;do=showtag&amp;amp;tag=thd72&quot; class=&quot;wikilink1&quot; title=&quot;tag:thd72&quot; rel=&quot;tag&quot;&gt;thd72&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;2780-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 06:39:56 +0000</pubDate>
        </item>
        <item>
            <title>Kenwood TM-D710</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:tm-d710</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:start&quot; data-wiki-id=&quot;public:radio:radio_database:start&quot;&gt;Rig and Key List&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;kenwood_tm-d710&quot;&gt;Kenwood TM-D710&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Kenwood TM-D710&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;kenwood_tm-d710&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-48&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;service_mode_to_adjust_tx_powers&quot;&gt;Service Mode to adjust TX Powers&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; To access Service Mode&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Make 6-pin data plug with pins 3 &amp;amp;  6 connected&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Aradio%3Aradio_database%3Atm-d710&amp;amp;media=public:radio:radio_database:710_data.png&quot; class=&quot;media&quot; title=&quot;public:radio:radio_database:710_data.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=341928&amp;amp;media=public:radio:radio_database:710_data.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Aradio%3Aradio_database%3Atm-d710&amp;amp;media=public:radio:radio_database:img_20230527_214839_993_2.jpg&quot; class=&quot;media&quot; title=&quot;public:radio:radio_database:img_20230527_214839_993_2.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=200&amp;amp;tok=afbefe&amp;amp;media=public:radio:radio_database:img_20230527_214839_993_2.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Plug into Data Socket on Main Unit&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Power up while holding Left 2 Function buttons&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; To set powers, rotate main knob to find “HPWR  V” etc.&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Note current settings of all 6 parameters&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; HPWR V 216&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; MPWR V 148&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; LPWR V 137&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; HPWR U 225&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; MPWR U 106&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; LPWR U 83&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Adjust each to achieve required power (Press PTT, Look at Power meter, rotate Main Knob with relevant figure selected…..)&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; New settings (high power set to keep current below 10A)&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; HPWR V 172 → 25W (current 6.5A)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; MPWR V 148 → 10W&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; LPWR V 137 = 5W&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; HPWR U 133 → 20W&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; MPWR U 102 → 10W&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level4&quot;&gt;&lt;div class=&quot;li&quot;&gt; LPWR U 83 = 5W&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Power off&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Remove plug&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Power on&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h4 id=&quot;see_also&quot;&gt;See also&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; I found a You Tube video showing the procedure, so I didn&amp;#039;t bother making my own!&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://youtu.be/7pawM502eas&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://youtu.be/7pawM502eas&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://youtu.be/7pawM502eas&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Service Mode to adjust TX Powers&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;service_mode_to_adjust_tx_powers&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;49-1185&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;remote_control_and_cross-band_repeat&quot;&gt;Remote Control and Cross-Band Repeat&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
See &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:th-d72&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:th-d72&quot; data-wiki-id=&quot;public:radio:radio_database:th-d72&quot;&gt; TH-D72&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Remote Control and Cross-Band Repeat&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;remote_control_and_cross-band_repeat&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1186-1277&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;documentation&quot;&gt;Documentation&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:tm-d710g_all_en.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:radio_database:tm-d710g_all_en.pdf (6.9 MB)&quot;&gt;tm-d710g_all_en.pdf&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Documentation&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;documentation&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;1278-1365&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Page created Wed May 25 00:01:05 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/06/26 07:39 BST
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1366-1479&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;tags&quot;&gt;tags&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:tmd710&amp;amp;do=showtag&amp;amp;tag=tmd710&quot; class=&quot;wikilink1&quot; title=&quot;tag:tmd710&quot; rel=&quot;tag&quot;&gt;tmd710&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;1480-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 06:39:56 +0000</pubDate>
        </item>
        <item>
            <title>Xeigu G90</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:xeigu_g90</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:start&quot; data-wiki-id=&quot;public:radio:radio_database:start&quot;&gt;Rig and Key List&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;xeigu_g90&quot;&gt;Xeigu G90&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Xeigu G90&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;xeigu_g90&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-43&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;documentation&quot;&gt;Documentation&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Documentation&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;documentation&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;44-71&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;firmware_upgrade_process&quot;&gt;Firmware Upgrade process&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Use TeraTerm and “blue USB Serial adaptor”
&lt;/p&gt;

&lt;p&gt;
Set TerraTerm to 115200 8n1 and the appropriate COM port
&lt;/p&gt;

&lt;p&gt;
Plug to Main unit COM port
&lt;/p&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Hold &lt;kbd class=&quot;__keyboard&quot;&gt;SPACE&lt;/kbd&gt; and power-on G90&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Choose “1. Update F/W”&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; After “Erase” select F/W file to send in TerraTerm via “File → Transfer → XMODEM → Send&lt;/div&gt;
&lt;ol&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; check the “1k” box&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Power off Radio after transfer completes&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;  Move to Front Panel COM port&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Hold &lt;kbd class=&quot;__keyboard&quot;&gt;SPACE&lt;/kbd&gt; and power-on G90 again&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; repeat process to upgrade front panel&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Once complete depower radio. &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Wait 5 seconds (remove COM connection)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Power on as normal&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Firmware Upgrade process&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;firmware_upgrade_process&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;72-706&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;firmware&quot;&gt;Firmware&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;table sectionedit5&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Date&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Firmware Version&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Firmware Files&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Comments&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;     &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;         &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;      &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0 rightalign&quot;&gt;  12/5/23&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 1.79b03 &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:g90fw_v1.79_fw_v1.79b03_221026.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:radio:radio_database:g90fw_v1.79_fw_v1.79b03_221026.zip (296.8 KB)&quot;&gt;g90fw_v1.79_fw_v1.79b03_221026.zip&lt;/a&gt;     &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; new IF Filter adjust method - not intuitive &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 12/5/23 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 1.78b01 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:g90_fw_v1.78b01-20220119.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:radio:radio_database:g90_fw_v1.78b01-20220119.zip (320.6 KB)&quot;&gt;g90_fw_v1.78b01-20220119.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; downgraded - not sure of new Bandwidth method &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 12/5/23 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 1.79b03 main / 1.80 display &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:g90_fw_1.80disp.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:radio:radio_database:g90_fw_1.80disp.zip (124.1 KB)&quot;&gt;g90_fw_1.80disp.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; Display → 1.80 fixes C-IV bugs. Main Unit on 1.79b03. Trying to adapt to new IF bandwidth method &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 14/5/23 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 1.78b01 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:g90_fw_v1.78b01-20220119.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:radio:radio_database:g90_fw_v1.78b01-20220119.zip (320.6 KB)&quot;&gt;g90_fw_v1.78b01-20220119.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; Downgraded again, old filter adjustment method much better, but clicks on audio on strong signals&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 14/5/23 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 1.77b &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:xiegu_g90_fw_v1.77b.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:radio:radio_database:xiegu_g90_fw_v1.77b.zip (563.1 KB)&quot;&gt;xiegu_g90_fw_v1.77b.zip&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; back to best compromise version (so far) &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;729-1597&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Firmware&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;firmware&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;707-1600&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;manual_etc&quot;&gt;Manual etc&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;table sectionedit7&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Date&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;File&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;02/04/24&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:xiegu_g90_user_manual_v4.31_20230607.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:radio_database:xiegu_g90_user_manual_v4.31_20230607.pdf (3.3 MB)&quot;&gt;xiegu_g90_user_manual_v4.31_20230607.pdf&lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;02/04/24&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:radio_database:cheat-sheet-v1.75-091520.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:radio_database:cheat-sheet-v1.75-091520.pdf (540 KB)&quot;&gt;cheat-sheet-v1.75-091520.pdf&lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table1&amp;quot;,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;1623-1798&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Manual etc&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;manual_etc&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;1601-1799&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Page created Wed May 25 00:00:02 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/06/26 07:39 BST
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;1800-1913&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit9&quot; id=&quot;tags&quot;&gt;tags&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:g90&amp;amp;do=showtag&amp;amp;tag=g90&quot; class=&quot;wikilink1&quot; title=&quot;tag:g90&quot; rel=&quot;tag&quot;&gt;g90&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;1914-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 06:39:56 +0000</pubDate>
        </item>
        <item>
            <title>CCIR493 Selcall</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:ccir493_selcall</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:start&quot; data-wiki-id=&quot;public:radio:topics:start&quot;&gt;Radio Topics&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;ccir493_selcall&quot;&gt;CCIR493 Selcall&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt; HF Selcall Experiments &lt;/strong&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;CCIR493 Selcall&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;ccir493_selcall&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-78&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;background&quot;&gt;Background&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I became interested in HF selcall when I was looking for a way of setting up impromptu QSOs with specific stations, for doing tests etc., without the need for listening by ear for calls. Various ideas were considered for controlling an audio mute, and alerting the operator, on HF, but nothing seemed appropriate (CTCSS, DTMF etc) until I stumbled on CCIR493 HF Selcall, specifically designed to cope with conditions on the HF bands. 
&lt;/p&gt;

&lt;p&gt;
The protocol was familiar, as it&amp;#039;s very similar (but slightly simpler) than GMDSS DSC. This led to more reading and research. CCIR493 is widely used in Land Mobile HF SSB in Australia and in other countries which use HF SSB as a communications method. It seems largely unused in Europe. In Australia it is used on the networks set up to assist 4WD outback travellers, with Selcall used to initiate contact with the various base stations. 
&lt;/p&gt;

&lt;p&gt;
Selcall&amp;#039;s &lt;code&gt;beacon&lt;/code&gt; and &lt;code&gt;99 beacon&lt;/code&gt; functions can be used to check if a particular station is reachable before attempting a voice call. 
&lt;/p&gt;

&lt;p&gt;
This seemed ideal…. down the rabbit hole of HF Selcall…..
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Background&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;background&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;79-1182&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;basic_details&quot;&gt;Basic details&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
CCIR493 HF Selcall is a predecessor to GMDSS DSC used in Marine Radio. 
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Two Tone FSK with 170Hz shift&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 100baud signalling rate&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Tone frequencies 1700 = 0, 1870 = 1 (tone centre = 1785)&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; compare with DSC: 1615 = 1, 1785 = 0 (tone centre = 1700, inverted shift)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Symbols are 10-bit words, 7 bit + 3 parity bits&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Dotting pre-amble of alternating 1010….. 2 to 20 seconds depending on expected scan-group size&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Same “symbol repeat after 4” RX/DX interleaving as DSC&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Same phasing sequence as DSC&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; No overall Error Check Sum, unlike DSC&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Aradio%3Atopics%3Accir493_selcall&amp;amp;media=public:radio:active:selcall_4_digit_ccir_493_4_hflink_a.jpg&quot; class=&quot;media&quot; title=&quot;public:radio:active:selcall_4_digit_ccir_493_4_hflink_a.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=800&amp;amp;tok=846957&amp;amp;media=public:radio:active:selcall_4_digit_ccir_493_4_hflink_a.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;800&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; At its simplest a selcall transmission can be either:&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Directed call to a specific address&lt;/div&gt;
&lt;ol&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;Selcall&lt;/code&gt; = send a revertive signal over the air AND alert the remote operator. The &lt;code&gt;FMT&lt;/code&gt; symbol = &lt;code&gt;120&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;Directed-Beacon&lt;/code&gt; = send revertive signal over the air, but do not alert remote operator. The &lt;code&gt;FMT&lt;/code&gt; symbol = &lt;code&gt;123&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;99-beacon&lt;/code&gt; call to a group of addresses = all stations send revertive signal over the air, but do not alert remote operator. The &lt;code&gt;99-beacon call&lt;/code&gt; is a special form of a directed selcall, with the &lt;code&gt;FMT&lt;/code&gt; symbol of &lt;code&gt;120&lt;/code&gt; and the final two digits of the destination address = &lt;code&gt;99&lt;/code&gt;. Receiving decoders understand to treat the call as a special type of &lt;code&gt;beacon&lt;/code&gt; call despite the &lt;code&gt;FMT&lt;/code&gt; being &lt;code&gt;120&lt;/code&gt; (Selcall) &lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;
The &lt;code&gt;directed-beacon&lt;/code&gt; to a specific address will confirm if that station is reachable, without disturbing the operator. 
&lt;/p&gt;

&lt;p&gt;
The &lt;code&gt;99-beacon call&lt;/code&gt; confirms whether any station in the &lt;em&gt;group&lt;/em&gt; are reachable - the &lt;em&gt;group&lt;/em&gt; is “any station with the first two digits matching”. The address used for the &lt;code&gt;99-beacon call&lt;/code&gt; is &lt;code&gt;XX99&lt;/code&gt;, where &lt;code&gt;XX&lt;/code&gt; is the leading digits of the desired group. For example, a group stations &lt;code&gt;3610&lt;/code&gt;, &lt;code&gt;3602&lt;/code&gt;, &lt;code&gt;3603&lt;/code&gt;, &lt;code&gt;3654&lt;/code&gt; would all respond to a &lt;code&gt;99-beacon call&lt;/code&gt; addressed to &lt;code&gt;3699&lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Basic details&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;basic_details&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1183-3133&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;jenal_sc2_mic&quot;&gt;Jenal SC2 Mic&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
HF Selcall is widely used in Australia, and there is a large market for add-on Selcall devices (to convert non-selcall radios) there. One manufacturer of Selcall equipment is &lt;strong&gt;JENAL&lt;/strong&gt;.
&lt;/p&gt;

&lt;p&gt;
At the time of my first exploration of Selcall I found that the SC2 microphone seemed like the perfect solution. The SC2 had been out of production, but Jenal had just released a new batch and I bought TWO of them, allowing me to experiment in isolation, should I fail to find any other amateur stations suitably equipped.
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:active:sc2prg7.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:active:sc2prg7.pdf (128.2 KB)&quot;&gt; SC2 Handbook&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
One SC2 microphone can be connected to a Xiegu G90 portable HF transceiver, capable of 20W pep, and the other SC2 can be connected to a home made 60m SSB transceiver, also capable of 20W PEP, at the main station. 
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Jenal SC2 Mic&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;jenal_sc2_mic&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;3134-3945&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;scanning&quot;&gt;Scanning&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
The SC2 is capable of controlling the transceiver to scan, waiting for incoming selcall &lt;code&gt;dotting&lt;/code&gt; signals, when it will pause the scan to decode any selcall message and act upon it as appropriate. Scan will resume after a certain period. The simplest scanning method is to pulse the &lt;code&gt;channel up&lt;/code&gt; or &lt;code&gt;channel down&lt;/code&gt; line present on most ham-grade transceivers on the mic-connector and thus the radio will step through its memory channels looking for selcall signals. 
&lt;/p&gt;

&lt;p&gt;
&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/fixme.svg&quot; class=&quot;icon smiley&quot; alt=&quot;FIXME&quot; /&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Scanning&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;scanning&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;3946-4445&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;previous_selcall_activity&quot;&gt;Previous Selcall Activity&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
In previous periods of activity with Selcall I have managed a few contacts and QSOs. Mainly with two stations who were already equipped with Barrett or Codan radios which can use CCIR493 “out of the box”.
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; GM4WMM - with a Barrett 950. We successfully operated on a small set of predetermined channels in the 80m, 60m, 40m bands, scanning, and selecting the optimum channel using &lt;code&gt;beacon&lt;/code&gt; calls.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.qrz.com/db/F6EMT&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.qrz.com/db/F6EMT&quot; rel=&quot;ugc nofollow noopener&quot;&gt; F6EMT &lt;/a&gt;- with a Codan &lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/fixme.svg&quot; class=&quot;icon smiley&quot; alt=&quot;FIXME&quot; /&gt;. Made several contacts on 20m, some of them while mobile, initiated as random Selcall QSOs.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
For 2023 I hope to find some more Selcall-equipped stations willing to try some experiments. 
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Previous Selcall Activity&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;previous_selcall_activity&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;4446-5139&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit7&quot; id=&quot;selcall_activity_2023&quot;&gt;Selcall Activity 2023&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/images/smileys/fixme.svg&quot; class=&quot;icon smiley&quot; alt=&quot;FIXME&quot; /&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;todo&quot;&gt;&lt;input type=&quot;checkbox&quot; class=&quot;todocheckbox&quot; data-index=&quot;0&quot; data-date=&quot;1780938498&quot; data-pageid=&quot;public:radio:topics:ccir493_selcall&quot; data-strikethrough=&quot;1&quot; checked=&quot;checked&quot; /&gt; &lt;span class=&quot;todouser&quot;&gt;[✓ John Pumford-Green, 2023-04-30]&lt;/span&gt;&lt;span class=&quot;todotext clickabletodo todohlght&quot;&gt;&lt;del&gt;&lt;span class=&quot;todoinnertext&quot;&gt; Attach SC2 to Xiegu G90&lt;/span&gt;&lt;/del&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;todo&quot;&gt;&lt;input type=&quot;checkbox&quot; class=&quot;todocheckbox&quot; data-index=&quot;1&quot; data-date=&quot;1780938498&quot; data-pageid=&quot;public:radio:topics:ccir493_selcall&quot; data-strikethrough=&quot;1&quot; checked=&quot;checked&quot; /&gt; &lt;span class=&quot;todouser&quot;&gt;[✓ John Pumford-Green, 2023-04-30]&lt;/span&gt;&lt;span class=&quot;todotext clickabletodo todohlght&quot;&gt;&lt;del&gt;&lt;span class=&quot;todoinnertext&quot;&gt;Set up 60m homebrew radio &amp;amp; amplifier &amp;amp; attach SC2 &lt;/span&gt;&lt;/del&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;todo&quot;&gt;&lt;input type=&quot;checkbox&quot; class=&quot;todocheckbox&quot; data-index=&quot;2&quot; data-date=&quot;1780938498&quot; data-pageid=&quot;public:radio:topics:ccir493_selcall&quot; data-strikethrough=&quot;1&quot; checked=&quot;checked&quot; /&gt; &lt;span class=&quot;todouser&quot;&gt;[✓ John Pumford-Green, 2023-05-05]&lt;/span&gt;&lt;span class=&quot;todotext clickabletodo todohlght&quot;&gt;&lt;del&gt;&lt;span class=&quot;todoinnertext&quot;&gt;Install mobile whip on van for use with G90&lt;/span&gt;&lt;/del&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;todo&quot;&gt;&lt;input type=&quot;checkbox&quot; class=&quot;todocheckbox&quot; data-index=&quot;3&quot; data-date=&quot;1780938498&quot; data-pageid=&quot;public:radio:topics:ccir493_selcall&quot; data-strikethrough=&quot;1&quot; checked=&quot;checked&quot; /&gt; &lt;span class=&quot;todouser&quot;&gt;[✓ John Pumford-Green, 2023-04-30]&lt;/span&gt;&lt;span class=&quot;todotext clickabletodo todohlght&quot;&gt;&lt;del&gt;&lt;span class=&quot;todoinnertext&quot;&gt;Make adaptor for IC-M710 to allow easy connection of SC2 in place of usual datamode interface, for access to more bands&lt;/span&gt;&lt;/del&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;todo&quot;&gt;&lt;input type=&quot;checkbox&quot; class=&quot;todocheckbox&quot; data-index=&quot;4&quot; data-date=&quot;1780938498&quot; data-pageid=&quot;public:radio:topics:ccir493_selcall&quot; data-strikethrough=&quot;1&quot; /&gt; &lt;span class=&quot;todotext clickabletodo todohlght&quot;&gt;&lt;span class=&quot;todoinnertext&quot;&gt;Try to make contact with like minded experimenters for on-air tests&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;strong&gt;UPDATE&lt;/strong&gt; — &lt;em&gt;John Pumford-Green 30/04/23 16:57&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt; When not otherwise engaged I&amp;#039;ll leave my main station IC-M710 monitoring &lt;code&gt;14.343MHz&lt;/code&gt; or &lt;code&gt;18.163MHz&lt;/code&gt;  with Selcall ID &lt;code&gt;3658&lt;/code&gt;. I may not be able to respond directly to any calls the Selcall will send revertives (at 50W) for successful selcall or beacon calls to &lt;code&gt;3658&lt;/code&gt;or for 99-beacon calls to &lt;code&gt;3699&lt;/code&gt;&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
For skeds please contact me by email - address at &lt;a href=&quot;https://www.qrz.com/db/GM4SLV&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.qrz.com/db/GM4SLV&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.qrz.com/db/GM4SLV&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
I have re-enabled emails from the &lt;code&gt;hf-link&lt;/code&gt; groups.io &lt;a href=&quot;https://groups.io/g/hflink&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://groups.io/g/hflink&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://groups.io/g/hflink&lt;/a&gt; to see what&amp;#039;s happening here - the only place where CCIR493 appears to be discussed/used.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Selcall Activity 2023&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;selcall_activity_2023&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;5140-6277&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit8&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; For new (2026) adventures in Selcall : &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:ccir493_-_2026&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:ccir493_-_2026&quot; data-wiki-id=&quot;public:radio:topics:ccir493_-_2026&quot;&gt;CCIR493 Selcall - 2026&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;&lt;a href=&quot;https://youtu.be/Sbz8x2U-MqQ&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://youtu.be/Sbz8x2U-MqQ&quot; rel=&quot;ugc nofollow noopener&quot;&gt; My demonstration video &lt;/a&gt;&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://youtu.be/4CfKJiNFM3o&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://youtu.be/4CfKJiNFM3o&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Q-Mac HF90 demonstration &lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;&lt;a href=&quot;https://youtube.com/playlist?list=PLQqFw4bopLF-ZJ6URtjXEAHlSpQrODwX-&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://youtube.com/playlist?list=PLQqFw4bopLF-ZJ6URtjXEAHlSpQrODwX-&quot; rel=&quot;ugc nofollow noopener&quot;&gt; My short YouTube playlist with some Selcall videos&lt;/a&gt;&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://youtube.com/playlist?list=PLvMzk-zSmB2Z8bRJ6vO-jSiiazgTl6Fzo&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://youtube.com/playlist?list=PLvMzk-zSmB2Z8bRJ6vO-jSiiazgTl6Fzo&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Australia Travel Net How-To series playlist &lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.jenal.com/page2.htm&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.jenal.com/page2.htm&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.jenal.com/page2.htm&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://hflink.com/selcall/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://hflink.com/selcall/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://hflink.com/selcall/&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://hflink.com/selcall/directory/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://hflink.com/selcall/directory/&quot; rel=&quot;ugc nofollow noopener&quot;&gt; HFLink Ham Selcall directory &lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.sigidwiki.com/wiki/CCIR_493-4_Selcall&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.sigidwiki.com/wiki/CCIR_493-4_Selcall&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.sigidwiki.com/wiki/CCIR_493-4_Selcall&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:active:ccir_493_selcall.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:active:ccir_493_selcall.pdf (259.2 KB)&quot;&gt; A brief guide to CCIR493 what I wrote&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:active:vks-737-map-a4-2020-01-02.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:active:vks-737-map-a4-2020-01-02.pdf (96.4 KB)&quot;&gt; Map of the VKS-737 base stations &amp;amp; their Selcall addresses &lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:active:oz_map_5.jpg&quot; class=&quot;media mediafile mf_jpg&quot; title=&quot;public:radio:active:oz_map_5.jpg (919.3 KB)&quot;&gt; Map of the Bush Telegraph base stations VMS469&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;&lt;del&gt; &lt;a href=&quot;https://play.google.com/store/apps/details?id=com.blackcatsystems.selcall&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://play.google.com/store/apps/details?id=com.blackcatsystems.selcall&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Blackcat Android app for generating various Selcalls, including Barrett/Codan &lt;/a&gt;&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h4 id=&quot;code_snippets&quot;&gt;Code snippets&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:active:selcal.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;public:radio:active:selcal.zip (6.9 KB)&quot;&gt; My Python2 Selcall TX encoder&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_ff20f88c1b3f9a8095d8a9db87a6a952_1&quot;&gt;selcal_functions.py (Click to view) &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_ff20f88c1b3f9a8095d8a9db87a6a952_1&quot;&gt;&lt;pre class=&quot;code python&quot;&gt;&lt;span class=&quot;co1&quot;&gt;# CCIR 493-4 Selcal Symbol Generator / CPFSK Modulator&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Wire2waves Ltd&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# March 2015&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# with CW ID for use on Amateur Radio bands&lt;/span&gt;
&amp;nbsp;
version &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;v0.2&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# Imports&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; numpy
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; pyaudio
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;struct&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;math&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; *
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# quick and dirty CW Ident&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# words per minute&lt;/span&gt;
wpm &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# dot period&lt;/span&gt;
cwdit &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1.2&lt;/span&gt; / wpm
&lt;span class=&quot;co1&quot;&gt;# dash period&lt;/span&gt;
cwdah &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; cwdit * &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;
&amp;nbsp;
w_amp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;**&lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; - &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# define the output audio stream for the main data&lt;/span&gt;
p &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; pyaudio.&lt;span class=&quot;me1&quot;&gt;PyAudio&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
cpfsk_stream &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; p.&lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;format&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;pyaudio.&lt;span class=&quot;me1&quot;&gt;paInt16&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; channels&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rate&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;9600&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; output&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# make a second stream for the Tune carrier &amp;amp; cw ident&lt;/span&gt;
pt &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; pyaudio.&lt;span class=&quot;me1&quot;&gt;PyAudio&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
tunestream &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; pt.&lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;format&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;pyaudio.&lt;span class=&quot;me1&quot;&gt;paInt16&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; channels&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rate&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;9600&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; output&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
pc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; pyaudio.&lt;span class=&quot;me1&quot;&gt;PyAudio&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
cwstream &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; pc.&lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;format&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;pyaudio.&lt;span class=&quot;me1&quot;&gt;paInt16&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; channels&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rate&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;9600&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; output&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# convert text to symbol value using dictionaries&lt;/span&gt;
fmt_symbol_dict &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sel&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;120&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;bcn&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;123&amp;quot;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
cat_symbol_dict &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;rtn&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;100&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
eos_symbol_dict &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;req&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;117&amp;quot;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# list containing Phasing Symbols in DX/RX order. &lt;/span&gt;
&amp;nbsp;
phasing_symbol &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;125&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;109&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;125&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;108&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;125&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;107&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;125&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;106&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;125&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;105&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;125&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;104&amp;quot;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# Instead of doing bit-twiddling to convert each symbol&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# value to its 10-bit parity protected word, which involves padding to full 7-bits, counting zeros,&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# reversing the bit order, shifting bits and &amp;quot;ORing&amp;quot; in the parity bits&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# we just use a dictionary containing the conversion between symbol value and its 10-bit parity protected word&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
parity_table &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;00&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0000000111&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;01&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1000000110&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;02&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0100000110&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;03&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1100000101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;04&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0010000110&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;05&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1010000101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;06&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0110000101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;07&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1110000100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;08&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0001000110&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;09&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1001000101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;10&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0101000101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;11&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1101000100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;12&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0011000101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;13&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1011000100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;14&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0111000100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;15&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1111000011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;16&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0000100110&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;17&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1000100101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;18&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0100100101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;19&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1100100100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;20&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0010100101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;21&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1010100100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;22&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0110100100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;23&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1110100011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;24&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0001100101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;25&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1001100100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;26&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0101100100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;27&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1101100011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;28&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0011100100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;29&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1011100011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;30&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0111100011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;31&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1111100010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;32&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0000010110&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;33&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1000010101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;34&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0100010101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;35&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1100010100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;36&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0010010101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;37&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1010010100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;38&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0110010100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;39&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1110010011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;40&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0001010101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;41&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1001010100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;42&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0101010100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;43&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1101010011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;44&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0011010100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;45&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1011010011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;46&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0111010011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;47&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1111010010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;48&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0000110101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;49&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1000110100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;50&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0100110100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;51&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1100110011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;52&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0010110100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;53&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1010110011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;54&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0110110011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;55&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1110110010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;56&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0001110100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;57&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1001110011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;58&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0101110011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;59&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1101110010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;60&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0011110011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;61&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1011110010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;62&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0111110010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;63&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1111110001&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;64&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0000001110&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;65&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1000001101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;66&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0100001101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;67&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1100001100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;68&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0010001101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;69&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1010001100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;70&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0110001100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;71&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1110001011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;72&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0001001101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;73&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1001001100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;74&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0101001100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;75&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1101001011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;76&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0011001100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;77&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1011001011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;78&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0111001011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;79&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1111001010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;80&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0000101101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;81&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1000101100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;82&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0100101100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;83&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1100101011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;84&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0010101100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;85&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1010101011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;86&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0110101011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;87&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1110101010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;88&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0001101100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;89&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1001101011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;90&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0101101011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;91&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1101101010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;92&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0011101011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;93&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1011101010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;94&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0111101010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;95&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1111101001&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;96&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0000011101&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;97&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1000011100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;98&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0100011100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;99&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1100011011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;100&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0010011100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;101&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1010011011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;102&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0110011011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;103&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1110011010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;104&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0001011100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;105&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1001011011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;106&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0101011011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;107&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1101011010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;108&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0011011011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;109&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1011011010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;110&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0111011010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;111&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1111011001&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;112&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0000111100&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;113&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1000111011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;114&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0100111011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;115&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1100111010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;116&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0010111011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;117&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1010111010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;118&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0110111010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;119&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1110111001&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;120&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0001111011&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;121&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1001111010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;122&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0101111010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;123&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1101111001&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;st0&quot;&gt;&amp;quot;124&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0011111010&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;125&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1011111001&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;126&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;0111111001&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;127&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;1111111000&amp;quot;&lt;/span&gt; 
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
cw_table &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;A&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;.-&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;B&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;-...&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;C&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;-.-.&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;D&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;-..&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;E&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;.&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;F&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;..-.&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;G&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;--.&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;H&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;....&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;I&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;..&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;J&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;.---&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;K&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;-.-&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;L&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;.-..&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;M&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;--&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;N&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;-.&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;O&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;---&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;P&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;.--.&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;Q&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;--.-&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;R&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;.-.&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;S&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;...&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;T&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;-&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;U&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;..-&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;V&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;...-&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;W&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;.--&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;X&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;-..-&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;Y&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;--.-&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;Z&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;--..&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;1&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;.----&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;2&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;..---&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;3&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;...--&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;4&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;....-&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;5&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;.....&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;6&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;-....&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;7&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;--...&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;8&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;---..&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;9&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;----.&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;-----&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;/&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;-..-.&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;?&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;..--..&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;st0&quot;&gt;&amp;quot;+&amp;quot;&lt;/span&gt; : &lt;span class=&quot;st0&quot;&gt;&amp;quot;.-.-.&amp;quot;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#####################&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# function definitions&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;##############&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#  Tone generators (not used for data, but for Tune and CW signals)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Setting the &amp;quot;cspace&amp;quot; and &amp;quot;lspace&amp;quot; amplitudes (pwr) to non-zero&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# will produce FSK-style CW, as used in Beacons etc,&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; sine&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;frequency&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; length&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    length &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;length * rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    factor &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;frequency&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; * &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pi * &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / rate
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; numpy.&lt;span class=&quot;me1&quot;&gt;sin&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;numpy.&lt;span class=&quot;me1&quot;&gt;arange&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;length&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; * factor&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Generate a carrier to allow Auto-ATU to re-tune when changing frequency&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# reduced amplitude, 3 seconds &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; tune_carrier&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    frequency &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1785&lt;/span&gt;
    length &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;
    rate &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9600&lt;/span&gt;
    chunks &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
    chunks.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sine&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;frequency&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; length&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw3&quot;&gt;chunk&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; numpy.&lt;span class=&quot;me1&quot;&gt;concatenate&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;chunks&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; * &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;w_amp * pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    tunestream.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;chunk&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;astype&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;numpy.&lt;span class=&quot;me1&quot;&gt;int16&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tostring&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; dash&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    frequency&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1900&lt;/span&gt;
    length&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;cwdah 
    rate&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;9600&lt;/span&gt;
    chunks &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
    chunks.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sine&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;frequency&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; length&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw3&quot;&gt;chunk&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; numpy.&lt;span class=&quot;me1&quot;&gt;concatenate&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;chunks&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; *  &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;w_amp * pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    cwstream.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;chunk&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;astype&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;numpy.&lt;span class=&quot;me1&quot;&gt;int16&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tostring&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;    
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; dot&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    frequency&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1900&lt;/span&gt;
    length&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;cwdit
    rate&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;9600&lt;/span&gt;
    chunks &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
    chunks.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sine&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;frequency&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; length&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw3&quot;&gt;chunk&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; numpy.&lt;span class=&quot;me1&quot;&gt;concatenate&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;chunks&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; *  &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;w_amp * pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    cwstream.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;chunk&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;astype&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;numpy.&lt;span class=&quot;me1&quot;&gt;int16&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tostring&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; cspace&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    frequency&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1700&lt;/span&gt;
    length&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;cwdit
    rate&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;9600&lt;/span&gt; 
    chunks &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
    chunks.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sine&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;frequency&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; length&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw3&quot;&gt;chunk&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; numpy.&lt;span class=&quot;me1&quot;&gt;concatenate&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;chunks&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; *  &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;w_amp * pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    cwstream.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;chunk&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;astype&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;numpy.&lt;span class=&quot;me1&quot;&gt;int16&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tostring&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;     
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; lspace&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    frequency&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1700&lt;/span&gt;
    length&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;cwdah
    rate&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;9600&lt;/span&gt;
    chunks &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
    chunks.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sine&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;frequency&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; length&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rate&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw3&quot;&gt;chunk&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; numpy.&lt;span class=&quot;me1&quot;&gt;concatenate&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;chunks&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; *  &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;w_amp * pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    cwstream.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;chunk&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;astype&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;numpy.&lt;span class=&quot;me1&quot;&gt;int16&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tostring&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;      
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#   &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;################################&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; make_call&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cw_table&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; call&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    callsign &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; call:
        callsign +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; cw_table&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        callsign +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s&amp;quot;&lt;/span&gt;        
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; callsign
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; cwid&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;call&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    callsign &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; make_call&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cw_table&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; call&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; callsign:
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; i &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;-&amp;quot;&lt;/span&gt;:
            dash&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            cspace&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; i &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;.&amp;quot;&lt;/span&gt;:
            dot&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            cspace&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; i &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s&amp;quot;&lt;/span&gt;:
            lspace&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;###########&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# split a 4 digit Selcal into two 2-digit symbols&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# resulting symbols are returned as a list&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; sel_id_symbol&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sel_id&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    sel_id_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sel_id&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;i:i+&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;range&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sel_id&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;    
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; sel_id_list
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# build the basic Call:&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Selcal messages are of the form:  &amp;quot;fmt to_id cat self_id eos eos eos&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; build_call&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;f_s&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; a_s&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; c_s&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; s_s&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; eos_s&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
    sel_call &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
    sel_call.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;f_s&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; a_s:
        sel_call.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    sel_call.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;c_s&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; s_s:
        sel_call.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    sel_call.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;eos_s&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    sel_call.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;eos_s&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    sel_call.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;eos_s&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; sel_call
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# interleave the symbols into DX and RX sequence &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# at the same time convert between symbol value and&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# 10-bit parity word by looking in the parity_table dictionary.&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; interleave&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parity_table&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; phasing&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sel_list&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
    symbol_count &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sel_list&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    sel_dxrx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# interleave the phasing sequence&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; p &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;range&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sel_dxrx.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parity_table&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;phasing&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;p&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;#dxrx&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# add dx and rx copies of the format symbol&lt;/span&gt;
    sel_dxrx.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parity_table&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;sel_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;#dx&lt;/span&gt;
    sel_dxrx.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parity_table&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;sel_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;#rx&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# add the DX copy of the the to_ID&lt;/span&gt;
    sel_dxrx.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parity_table&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;sel_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;#dx&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# add another RX copy of the format symbol&lt;/span&gt;
    sel_dxrx.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parity_table&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;sel_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;#rx&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# add the DX copy of the category symbol&lt;/span&gt;
    sel_dxrx.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parity_table&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;sel_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;#dx&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# loop through the remaining symbols to add the RX and DX versions &lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;range&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;symbol_count-&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sel_dxrx.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parity_table&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;sel_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;#rx&lt;/span&gt;
        sel_dxrx.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parity_table&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;sel_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;i+&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;#dx&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# add a final DX and RX copy of the EOS symbol&lt;/span&gt;
    sel_dxrx.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parity_table&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;sel_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    sel_dxrx.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parity_table&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;sel_list&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;    
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# sel_dxrx is a list of 10-bit words, as ones and noughts, for the complete message&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; sel_dxrx
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# Make a 600-bit dotting period of alternating 1/0 in a string&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# Selcal dotting periods often 6 seconds (and up to 20 seconds in some&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# instances) to allow for capturing scanning radios. &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# We send 300 bits / 6 seconds for now, pending a decision to extend or reduce the dotting period.&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# Append to the string each 10-bit interleaved word, to create a string of &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# ones and noughts.&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# return a string of ones &amp;amp; noughts representing the complete message&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; make_bitstream&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sel_dxrx&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    sel_bitstream&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;10&amp;quot;&lt;/span&gt;  * &lt;span class=&quot;nu0&quot;&gt;300&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;# dotting&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; sel_dxrx:
        sel_bitstream +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; i
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; sel_bitstream
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# DSC and Selcall use tone spacing and baud rate that prevents the use of &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# &amp;quot;Sunde&#039;s FSK&amp;quot; method to create glitch-less bit transitions.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# To minimize bandwidth it&#039;s necessary to use &amp;quot;Continuous Phase FSK&amp;quot; which&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# has a smooth transition of the waveform at the bit boundary. The method used is time-consuming&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# as we have to create each audio sample based on the phase-advance of each bit-period and &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# store them in a buffer before sending them out to the soundcard via PyAudio.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# This function is courtesy of Bill Lionheart : billlionheart@gmail.com&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Make the CPFSK-modulated sample values, pack them into a list, and convert to a string &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# to feed PyAudio  &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; modulate&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fmsg&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fcarrier&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; f0&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; f1&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fsample&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; baud&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; amp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; amp &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1.0&lt;/span&gt;:
       amp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1.0&lt;/span&gt;
&amp;nbsp;
    sel_amp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;  &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;w_amp * amp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    mlen &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fmsg&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    mtime &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; mlen/baud  
&amp;nbsp;
    nsamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;round&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fsample*mtime&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    deltaT &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1.0&lt;/span&gt;/fsample
&amp;nbsp;
    ph&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&amp;nbsp;
    y &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * nsamp
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;range&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;nsamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;: &lt;span class=&quot;co1&quot;&gt;# i = sample number&lt;/span&gt;
&amp;nbsp;
        thisbit &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;floor&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i/&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;nsamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;* mlen&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; 
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# &amp;quot;thisbit&amp;quot; is the index number of the data-bit being modulated,&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# the same data-bit is used for &amp;quot;the number of samples which occupy 1 bit period&amp;quot;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; fmsg&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;thisbit&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;:
            f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; f1 
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; f0 
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# if this bit is a 1 then f = mark-freq, else f = space-freq&lt;/span&gt;
&amp;nbsp;
        ph +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;  &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;*pi*&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fcarrier + f&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;*deltaT
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# phase advances during sample period according the actual mark or space freq&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# when the bit changes between 1 and 0, the phase advance in deltaT is small, and&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# continuity in phase is achieved. The signal then starts to advance&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# in phase according to the new frequency appropriate the the bit (one or nought)&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#being sent.&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# reset phase to zero every 360 degrees&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; ph&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;*pi: 
            ph &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; ph - &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;*pi
&amp;nbsp;
        y&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;sel_amp*&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sin&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ph&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;# y is an 8-bit value&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# y[i] is the current sample&#039;s amplitude - the &amp;quot;sin of current accumulated phase&amp;quot;&lt;/span&gt;
&amp;nbsp;
    wave_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; v &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; y:
        vp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;struct&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;pack&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;h&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;v&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        wave_list.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;vp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    wavestring &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&#039;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;wave_list&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; wavestring
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# Take the message to be sent and&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# 1) interleave&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# 2) make bitstream as a string&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# 3) convert to list, for the CPFSK modulator function, &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# 4) calculate the sample values using the &amp;quot;modulate()&amp;quot; function&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# 5) write the string of sample values to pyaudio&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; transmit_sel&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sel_call&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# 1) interleave the message and phasing DX and RX symbols together, and also convert to 10-bit parity words&lt;/span&gt;
    sel_dxrx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; interleave&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parity_table&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; phasing_symbol&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sel_call&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; 
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# 2) create a string with the ones and noughts representing the full message&lt;/span&gt;
    sel_bitstream &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; make_bitstream&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sel_dxrx&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# 3) convert the string into a list, to feed the CPFSK modulator&lt;/span&gt;
    bitstream_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sel_bitstream&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;i:i+&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;range&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sel_bitstream&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# 4) get a list of sample values from the CPFSK modulator&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# arguments for modulate() : (source of message_bits(a list), f-centre, space_dev, mark_dev, sample_rate, baud_rate, amplitude)&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# returns a string of 8-bit signed values to feed PyAudio&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw3&quot;&gt;wave&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; modulate&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;bitstream_list&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1785&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;85&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; +&lt;span class=&quot;nu0&quot;&gt;85&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9600&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100.0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# 5) make some noise...&lt;/span&gt;
&amp;nbsp;
    cpfsk_stream.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;wave&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;&lt;/pre&gt;
&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_ff20f88c1b3f9a8095d8a9db87a6a952_2&quot;&gt;selcal_gui.py (Click to view ) &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_ff20f88c1b3f9a8095d8a9db87a6a952_2&quot;&gt;&lt;pre class=&quot;code python&quot;&gt;&lt;span class=&quot;co1&quot;&gt;# Wire2waves Ltd&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# CCIR 493-4 Selcal Generator &amp;amp; Modulator&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# Generic, non-TX GUI&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;Tkinter&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; *
&lt;span class=&quot;kw1&quot;&gt;from&lt;/span&gt; selcal_functions &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; *
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;Queue&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;
&amp;nbsp;
version &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;v0.2&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; Application&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;Frame&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;__init__&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; master&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&amp;quot; Initialize frame&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
        Frame.&lt;span class=&quot;kw4&quot;&gt;__init__&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; master&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;create_widgets&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# we manage the three sound-producing functions in Threads, run at startup but only produce&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# output when their Queues are set to &amp;quot;1&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;selqueue&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;Queue&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;Queue&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tunequeue&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;Queue&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;Queue&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cwqueue&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;Queue&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;Queue&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tunequeue&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;put&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;selqueue&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;put&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cwqueue&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;put&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        t1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Thread&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;target &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tune&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        t1.&lt;span class=&quot;me1&quot;&gt;setDaemon&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        t1.&lt;span class=&quot;me1&quot;&gt;start&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        c1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Thread&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;target &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;send_cwid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        c1.&lt;span class=&quot;me1&quot;&gt;setDaemon&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        c1.&lt;span class=&quot;me1&quot;&gt;start&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        d1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Thread&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;target &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;send_sel&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        d1.&lt;span class=&quot;me1&quot;&gt;setDaemon&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        d1.&lt;span class=&quot;me1&quot;&gt;start&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; create_widgets&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;###### &lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# The Address Entry Fields&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;to_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;To ID&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;red&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;to_sel_id_e&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Entry&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;red&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;to_sel_id_e&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; padx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; pady &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;to_sel_id_e&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;insert&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;3922&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;from_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Self ID&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;blue&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;from_sel_id_e&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Entry&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;blue&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;from_sel_id_e&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; padx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; pady &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;from_sel_id_e&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;insert&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;3921&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;###################&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# The &amp;quot;Format&amp;quot; selection radio buttons&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;fmt&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;fmt_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Format&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sel_r&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Radiobutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Sel&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;fmt&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; value &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sel&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sel_r&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;bcn_r&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Radiobutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Bcn&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;fmt&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; value &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;bcn&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;bcn_r&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.fmt_e = Entry(self, width = 10, fg = &#039;blue&#039;)&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.fmt_e.grid(row = 5, column = 1, padx = 5, pady = 5, sticky = W)&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.fmt_e.insert(0, &amp;quot;120&amp;quot;)&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# click the &amp;quot;SEL&amp;quot; radio button&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sel_r&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;invoke&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;########&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;######&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# The &amp;quot;Category&amp;quot; selection radio buttons&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cat&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cat_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Category&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;saf_r&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Radiobutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Routine&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cat&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; value &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;rtn&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;saf_r&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.cat_e = Entry(self, width = 10, fg = &#039;blue&#039;)&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.cat_e.grid(row = 6, column = 1, padx = 5, pady = 5, sticky = W)&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.cat_e.insert(0, &amp;quot;100&amp;quot;)&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# For selcal we may require other categories, but at present only &amp;quot;Routine&amp;quot; is used&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.urg_r = Radiobutton(self, text = &amp;quot;Urgent&amp;quot;, variable = self.cat, value = &amp;quot;urg&amp;quot;)&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.urg_r.grid(row = 6, column = 2, sticky = W)&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.dis_r = Radiobutton(self, text = &amp;quot;Distress&amp;quot;, variable = self.cat, value = &amp;quot;dis&amp;quot;)&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.dis_r.grid(row = 6, column = 3, sticky = W)&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# click the &amp;quot;Safety&amp;quot; radio-button&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;saf_r&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;invoke&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;########&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;####&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# The &amp;quot;EOS&amp;quot; selection radio buttons&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;eosv&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;eos_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;EOS&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;req_r&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Radiobutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;REQ&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;eosv&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; value &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;req&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;req_r&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.eos_e = Entry(self, width = 10, fg = &#039;blue&#039;)&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.eos_e.grid(row = 9, column = 1, padx = 5, pady = 5, sticky = W)&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.eos_e.insert(0, &amp;quot;117&amp;quot;)&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# leave these in case other EOS symbols would be useful in the future &lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.ack_r = Radiobutton(self, text = &amp;quot;ACK&amp;quot;, variable = self.eosv, value = &amp;quot;ack&amp;quot;)&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.ack_r.grid(row = 9, column = 2, sticky = W)&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;#self.eos_r = Radiobutton(self, text = &amp;quot;EOS&amp;quot;, variable = self.eosv, value = &amp;quot;eos&amp;quot;)&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.eos_r.grid(row = 9, column = 3, sticky = W)&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# click the &amp;quot;REQ&amp;quot; radio button&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;req_r&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;invoke&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;###########&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;###########&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# The &amp;quot;do something&amp;quot; buttons&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;go_b&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Send Selcal&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;selqueue_on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;go_b&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W+E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tune_b&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Tune&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tunequeue_on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tune_b&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;13&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W+E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cw_call_e&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Entry&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cw_call_e&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; columnspan &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# The CW Text is pre-set, but can be edited as required on the GUI&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cw_call_e&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;insert&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;   de GM4SLV   &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cw_b&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Send CW -&amp;gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cwqueue_on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cw_b&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W+E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;######&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# The display of Selcal Symbols&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sel_title&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Sending Selcal Symbols: &amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;blue&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sel_call_f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Frame&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; relief &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; GROOVE&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; borderwidth &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; pady &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sel_call_f.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;17&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; columnspan &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; padx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; pady &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W+E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sel_label&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sel_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sel_call_f&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sel_label&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;blue&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; height &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; wraplength &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;350&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; anchor &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sel_l&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#####&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# When a Tune is required we call tunequeue_on() which puts a &amp;quot;1&amp;quot; into the queue.&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# The queue is read by tune() which is running constantly (while True:) in a thread. &lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# If a &amp;quot;1&amp;quot; is found the tune_carrier() function is triggered&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# then tunequeue_off() will put a &amp;quot;0&amp;quot; in the queue which will inhibit any further&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# tune signals. &lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# Since the Tune, CWID and Selcal Transmit all run in their own threads, with their own queues&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# it&#039;s possible to do all three functions at once, and still retain an active GUI&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# this may not be &amp;quot;the right way&amp;quot; to do this, but it works...&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; tunequeue_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tunequeue&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;put&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; tunequeue_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tunequeue&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;put&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; tune&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;:
            t_on &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tunequeue&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; t_on &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;:   
                pwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0.7&lt;/span&gt;
                tune_carrier&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tunequeue_off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; cwqueue_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cwqueue&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;put&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; cwqueue_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cwqueue&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;put&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; send_cwid&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;:
            c_on &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cwqueue&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; c_on &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;:
                pwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0.7&lt;/span&gt;
                call &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cw_call_e&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;upper&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                cwid&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;call&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cwqueue_off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; selqueue_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;selqueue&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;put&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; selqueue_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;selqueue&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;put&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; send_sel&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;:   
            go &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;selqueue&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; go &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;:
                a_sel_id &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;to_sel_id_e&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                s_sel_id &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;from_sel_id_e&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                fmt &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;fmt&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                cat &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cat&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                eos &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;eosv&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                pwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0.7&lt;/span&gt;
&amp;nbsp;
                &lt;span class=&quot;co1&quot;&gt;# restrict to 4-digit 493-4&lt;/span&gt;
                &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;a_sel_id&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;:
                    &lt;span class=&quot;kw1&quot;&gt;continue&lt;/span&gt;
                &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;s_sel_id&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;:
                    &lt;span class=&quot;kw1&quot;&gt;continue&lt;/span&gt;
&amp;nbsp;
                &lt;span class=&quot;co1&quot;&gt;# convert the format, category and eos to the appropriate symbol values&lt;/span&gt;
                fmt_symbol &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fmt_symbol_dict&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;fmt&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;co1&quot;&gt;#fmt_symbol = self.fmt_e.get()&lt;/span&gt;
&amp;nbsp;
                cat_symbol &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cat_symbol_dict&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;cat&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;co1&quot;&gt;#cat_symbol = self.cat_e.get()&lt;/span&gt;
&amp;nbsp;
                eos_symbol &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;eos_symbol_dict&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;eos&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;co1&quot;&gt;#eos_symbol = self.eos_e.get()&lt;/span&gt;
&amp;nbsp;
                &lt;span class=&quot;co1&quot;&gt;# convert the 4-digit selcal IDs into two 2-digit symbols&lt;/span&gt;
                a_symbol &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; sel_id_symbol&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;a_sel_id&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                s_symbol &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; sel_id_symbol&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;s_sel_id&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
                &lt;span class=&quot;co1&quot;&gt;# build the call by joining the symbol values into a list&lt;/span&gt;
                sel_call &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; build_call&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fmt_symbol&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; a_symbol&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; cat_symbol&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; s_symbol&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; eos_symbol&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
                &lt;span class=&quot;co1&quot;&gt;#we want the basic selcal message returned to us, to display on the GUI&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sel_label&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sel_call&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
                &lt;span class=&quot;co1&quot;&gt;# turn the selcal queue off to stop further transmissions&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;selqueue_off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
                &lt;span class=&quot;co1&quot;&gt;# then we pass the selcal list and required &amp;quot;power&amp;quot; into &amp;quot;transmit_sel() which does the rest...&lt;/span&gt;
                transmit_sel&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sel_call&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; 
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; __name__ &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;__main__&#039;&lt;/span&gt;:
    root &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Tk&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    root.&lt;span class=&quot;me1&quot;&gt;geometry&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;350x350+10+10&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    root.&lt;span class=&quot;me1&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;GM4SLV HF CCIR 493-4 Selcal &amp;quot;&lt;/span&gt; + version&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    root.&lt;span class=&quot;me1&quot;&gt;resizable&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    app &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Application&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;root&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    root.&lt;span class=&quot;me1&quot;&gt;mainloop&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
— &lt;em&gt;John Pumford-Green 29/04/23 11:42&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Last Modified : 08/06/26 18:08 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:selcall&amp;amp;do=showtag&amp;amp;tag=selcall&quot; class=&quot;wikilink1&quot; title=&quot;tag:selcall&quot; rel=&quot;tag&quot;&gt;selcall&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;6278-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 08 Jun 2026 17:08:18 +0000</pubDate>
        </item>
        <item>
            <title>Netradio Control</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:netradio_control</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:start&quot; data-wiki-id=&quot;public:radio:topics:start&quot;&gt;Radio Topics&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;netradio_control&quot;&gt;Netradio Control&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt; Python code for TCP/IP control of multiple radios &lt;/strong&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Netradio Control&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;netradio_control&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-105&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;server&quot;&gt;Server&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
This provides TCP/IP access to one or more radios, allowing control of Frequency, Mode, Pre-amp and Attenuator. It also gives remote access to S-meter readings.
&lt;/p&gt;

&lt;p&gt;
There are separate rig-dependant command modules that then provide a standard interface for commands sent by a client, regardless of the particular radio connected.
&lt;/p&gt;

&lt;p&gt;
There are modules for
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Icom C-IV radios such as IC-R75, IC-718, IC-7200 etc.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; AOR AR7030&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Icom IC-M710 marine &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Server&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;server&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;106-575&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;server1&quot;&gt;Server&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_5f491c71348427373a57bc76d46bbc18_9&quot;&gt;server.py &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_5f491c71348427373a57bc76d46bbc18_9&quot;&gt;&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:radio:topics:netradio_control&amp;amp;codeblock=0&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_py&quot;&gt;server.py&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file python&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;from&lt;/span&gt; aor &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; *
&lt;span class=&quot;kw1&quot;&gt;from&lt;/span&gt; icom &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; *
&lt;span class=&quot;kw1&quot;&gt;from&lt;/span&gt; conf &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; *
&lt;span class=&quot;kw1&quot;&gt;from&lt;/span&gt; m710 &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; *
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;SocketServer&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;readline&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
&amp;nbsp;
lock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Lock&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
radios &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
r1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Icom&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n1&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; a1&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; cal1&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
radios.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n1&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
r2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; m710&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n4&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
radios.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n4&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#r2 = Icom(n2, a2, cal2)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#radios.append(n2)&lt;/span&gt;
&amp;nbsp;
r3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Ar7030&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n3&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
radios.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n3&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; radios
&lt;span class=&quot;co1&quot;&gt;#print r1.digi_off()&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#print r2.remote_on()&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; count_radios&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    count &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radios&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; count
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; list_radios&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    radiolist &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; n &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;range&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radios&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        r &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; radios&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;n&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        radiolist +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;r + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; radiolist
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; write_file&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    filename &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;commandlog.txt&#039;&lt;/span&gt;
    f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filename&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;a+&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# a+ is &amp;quot;append to file, create it if it doesn&#039;t exist&amp;quot;&lt;/span&gt;
    timenow &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%d/%m/%Y %H:%M:%S&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;gmtime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    log &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;timenow&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# make an entry for the log by joining the timestamp with the text passed in&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;log&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; write_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    filename &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;conlog.txt&#039;&lt;/span&gt;
    f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filename&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;a+&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# a+ is &amp;quot;append to file, create it if it doesn&#039;t exist&amp;quot;&lt;/span&gt;
    timenow &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%d/%m/%Y %H:%M:%S&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;gmtime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    log &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;timenow&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# make an entry for the log by joining the timestamp with the text passed in&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;log&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# The Server&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; ThreadedRequestHandler&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;SocketServer&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;StreamRequestHandler&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; handle&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;# we find the current thread for the client connection just set up, to&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# use in the log file&lt;/span&gt;
        cur_thread &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;currentThread&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# log the new connection details&lt;/span&gt;
        write_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Connect from %s using %s &lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;client_address&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; cur_thread.&lt;span class=&quot;me1&quot;&gt;getName&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# print to the server&#039;s console the new connection IP address/port&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;client_address&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# loop to handle client requests....&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;:
            &lt;span class=&quot;co1&quot;&gt;# using StreamRequestHandler means our input from the client&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# is  &amp;quot;file-like&amp;quot; and can be read with &amp;quot;file-like&amp;quot; commands&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# we read a line at a time, using readline()&lt;/span&gt;
            &lt;span class=&quot;kw3&quot;&gt;cmd&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;rfile&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;readline&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;lower&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# to keep things clean, we remove any characters that aren&#039;t&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# &amp;quot;printable&amp;quot; simple ASCII&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# these are between 32 and 127 in the ASCII table&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# we look at each character, and then make a new word by&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# .join()ing each accepted character with no space in between&lt;/span&gt;
            asccmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;x &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; x &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;cmd&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;x&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;128&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;and&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;x&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;31&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# we make a list called &amp;quot;words&amp;quot; holding the received words which&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# will be inspected by various functions&lt;/span&gt;
            words &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; asccmd.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# If a client uses sock.close() itself, to disconnect, it appears that&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# we read a continuous stream of &amp;quot;&amp;quot; on the dead&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# socket, which puts CPU to 100%.&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# The &amp;quot;While&amp;quot; loop is probably responsible, but I can&#039;t see another&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# way to keep the connection up for multiple commands.&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# Further connection are accepted due to the Threaded nature of the server.&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# The CPU load is unacceptable though&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# HACK ?&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# Looking for &amp;quot;&amp;quot; and then breaking&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# the connection from the server end (even though the client has&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# gone) cures this.&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;cmd&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;:
                &lt;span class=&quot;kw1&quot;&gt;break&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
                &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# if the words list is empty, go back and get more input&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; words:
                &lt;span class=&quot;kw1&quot;&gt;continue&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# we have input....&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# filter based on the first word - these are the&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# pre-set commands the server will accept&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# the client wants to know the currently available&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# radio names - held in the variable &amp;quot;rnames&amp;quot;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getnames&amp;quot;&lt;/span&gt;:
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rnames&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# words[-1] (the last word in the list) will always be the&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# radio name. We give the variable &amp;quot;my_radio&amp;quot; this value, for&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;# identifying which radio object to apply the method to&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;count&amp;quot;&lt;/span&gt;:
                count &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; count_radios&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;count&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;ident&amp;quot;&lt;/span&gt;:
                ident_text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;GM4SLV Radio Server&amp;quot;&lt;/span&gt;
                radio_list &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; list_radios&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ident_text + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;Available : &lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt; + radio_list + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getmode&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
                freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;setmode&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
                newmode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;newmode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;setfreq&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
                    freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                    newfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;set_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                    &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;newfreq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ValueError&lt;/span&gt;:
                    &lt;span class=&quot;co1&quot;&gt;#freq = float(my_radio.get_freq())&lt;/span&gt;
                    &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Error in freq. %s No change&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt; % words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getsmeter&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                smeter &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;round&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;my_radio.&lt;span class=&quot;me1&quot;&gt;get_smeter&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;smeter&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gets&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_s&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;s&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;listradios&amp;quot;&lt;/span&gt;:
                radios &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; list_radios&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radios&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getpreamp&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_pre&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;preampon&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;pre_on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;preamp2on&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;pre_2_on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;preampoff&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;pre_off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getatt&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                att &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_att&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;att&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;atton&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                att &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;att_on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;att&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;attoff&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                att &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;att_off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;att&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;tune&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                tune &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;tune&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;tune&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;getpwr&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                pwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;get_pwr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;setpwr&amp;quot;&lt;/span&gt;:
                my_radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;eval&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                spwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
                pwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; my_radio.&lt;span class=&quot;me1&quot;&gt;set_pwr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;spwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; words&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;quit&amp;quot;&lt;/span&gt;:
                write_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Got quit from {}&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;format&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;client_address&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# log it&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Goodbye! &lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# say Goodbye&lt;/span&gt;
                &lt;span class=&quot;kw1&quot;&gt;break&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:  &lt;span class=&quot;co1&quot;&gt;# nothing in words[0] matches a pre-set command....&lt;/span&gt;
                write_file&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Received %s&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt; % words&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# log it, it&#039;s unusual&lt;/span&gt;
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;wfile&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Command not recognized&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;# inform the client&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; ThreadedIcomServer&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;SocketServer&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ThreadingMixIn&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;SocketServer&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;TCPServer&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; __name__ &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;__main__&#039;&lt;/span&gt;:
    &lt;span class=&quot;co1&quot;&gt;# define the lock to be used on the serial port access&lt;/span&gt;
    lock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Lock&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# address (&#039;&#039; = all available interfaces) to listen on, and port number&lt;/span&gt;
    address &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9999&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    server &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; ThreadedIcomServer&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;address&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ThreadedRequestHandler&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    server.&lt;span class=&quot;me1&quot;&gt;allow_reuse_address&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# define that the server will be threaded, and will serve &amp;quot;forever&amp;quot; ie. not quit after the client disconnects&lt;/span&gt;
    t &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Thread&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;target&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;server.&lt;span class=&quot;me1&quot;&gt;serve_forever&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# start the server thread&lt;/span&gt;
    t.&lt;span class=&quot;me1&quot;&gt;start&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    write_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
        &lt;span class=&quot;st0&quot;&gt;&amp;quot;Server loop running in thread: %s&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt; % &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;t.&lt;span class=&quot;me1&quot;&gt;getName&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Server&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;server1&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;576-9468&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;configurtion_module&quot;&gt;Configurtion Module&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_5f491c71348427373a57bc76d46bbc18_10&quot;&gt;conf.py &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_5f491c71348427373a57bc76d46bbc18_10&quot;&gt;&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:radio:topics:netradio_control&amp;amp;codeblock=1&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_py&quot;&gt;cpnf.py&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file python&quot;&gt;&lt;span class=&quot;co1&quot;&gt;# header&lt;/span&gt;
preamble &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;fe&amp;quot;&lt;/span&gt;
controller &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;e0&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# commands/requests&lt;/span&gt;
set_freq_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;05&amp;quot;&lt;/span&gt;
set_mode_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;06&amp;quot;&lt;/span&gt;
get_freq_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;03&amp;quot;&lt;/span&gt;
get_mode_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;04&amp;quot;&lt;/span&gt;
get_smeter_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;15&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;02&amp;quot;&lt;/span&gt;
get_swr_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;15&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;12&amp;quot;&lt;/span&gt;
digi_off_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;1a&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;04&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt;
&amp;nbsp;
set_pre_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;16&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;02&amp;quot;&lt;/span&gt;
&amp;nbsp;
set_pre_off &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt;
set_pre_on &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;01&amp;quot;&lt;/span&gt;
set_pre_2_on &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;02&amp;quot;&lt;/span&gt;
&amp;nbsp;
set_att_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;11&amp;quot;&lt;/span&gt;
set_att_on &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;20&amp;quot;&lt;/span&gt;
set_att_off &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt;
&amp;nbsp;
ptt_on_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;1c&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;01&amp;quot;&lt;/span&gt;
ptt_off_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;1c&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt;
&amp;nbsp;
pwr_cmd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;14&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;0a&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# end of message&lt;/span&gt;
eom &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;fd&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# controller responses&lt;/span&gt;
ack &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;fb&amp;quot;&lt;/span&gt;
nak &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;fa&amp;quot;&lt;/span&gt;
&amp;nbsp;
a1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;5A&amp;quot;&lt;/span&gt;
n1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;IC-R75&amp;quot;&lt;/span&gt;
cal1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;25&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;36&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;47&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;31&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;18&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;34&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;35&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
a2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;5e&amp;quot;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# a2 = &amp;quot;\x01&amp;quot;&lt;/span&gt;
n2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;IC-718&amp;quot;&lt;/span&gt;
cal2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;27&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;28&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;58&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;35&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;42&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
n3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;AR7030&amp;quot;&lt;/span&gt;
&amp;nbsp;
n4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;IC-M710&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Configurtion Module&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;configurtion_module&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;9469-10348&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;icom_c-iv_module&quot;&gt;Icom C-IV module&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_5f491c71348427373a57bc76d46bbc18_11&quot;&gt;icom.py &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_5f491c71348427373a57bc76d46bbc18_11&quot;&gt;&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:radio:topics:netradio_control&amp;amp;codeblock=2&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_py&quot;&gt;icom.py&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file python&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; serial
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;from&lt;/span&gt; conf &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; *
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#sport = &amp;quot;COM1&amp;quot;&lt;/span&gt;
sport &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;/dev/ttyS0&amp;quot;&lt;/span&gt;
sbaud &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9600&lt;/span&gt;
&amp;nbsp;
lock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Lock&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; Icom&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;__init__&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; model&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio_address&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; cal&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; serial.&lt;span class=&quot;me1&quot;&gt;Serial&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sport&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sbaud&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; timeout&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0.1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;model&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; model
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; radio_address
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cal&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; cal
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; digi_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + digi_off_cmd + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Success&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NAK received&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_pre&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + set_pre_cmd + eom
&amp;nbsp;
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;01&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;02&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_pwr&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + pwr_cmd + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;
        p1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        p2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; % &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        p3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        p4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; % &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        pwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; * &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; * p3 + p4&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; * p1 + p2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr*&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;/&lt;span class=&quot;nu0&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_pwr&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#if pwr == &amp;quot;25&amp;quot;:&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#    spwr = &amp;quot;\x00&amp;quot; + &amp;quot;\x63&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#elif pwr == &amp;quot;50&amp;quot;:&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#    spwr = &amp;quot;\x01&amp;quot; + &amp;quot;\x27&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#elif pwr == &amp;quot;75&amp;quot;:&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#    spwr = &amp;quot;\x01&amp;quot; + &amp;quot;\x91&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#elif pwr == &amp;quot;100&amp;quot;:&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#    spwr = &amp;quot;\x02&amp;quot; + &amp;quot;\x55&amp;quot;&lt;/span&gt;
        rigpwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;255&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;rigpwr &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rigpwr
        pwr1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; rigpwr / &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
        pwr2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; rigpwr % &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
        spwr1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr1 / &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        spwr2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr1 % &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        spwr3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;  &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr2 / &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        spwr4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;  &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pwr2 % &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        spwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;spwr1+spwr2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;spwr3+spwr4&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;spwr &amp;quot;, spwr&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + pwr_cmd + spwr + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_pwr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NAK received&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; pre_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + set_pre_cmd + set_pre_on + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Success&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NAK received&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; pre_2_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + set_pre_cmd + set_pre_2_on + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Success&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NAK received&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; pre_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + set_pre_cmd + set_pre_off + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Success&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NAK received&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; ptt_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + ptt_on_cmd + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print result[5]&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;ptt on&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Error&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; ptt_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + ptt_off_cmd + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print result[5]&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;ptt off&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Error&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_att&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + set_att_cmd + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;20&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; att_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + set_att_cmd + set_att_on + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Success&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NAK received&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; att_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + set_att_cmd + set_att_off + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Success&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NAK received&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        fdig &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%010d&amp;quot;&lt;/span&gt; % &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq * &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        bcd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
            bcd +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq_bcd&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fdig&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fdig&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;i + &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        set_freq_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; byte &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; bcd:
            set_freq_val +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + set_freq_cmd + set_freq_val + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Set Freq success&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NAK received / Freq not supported&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + get_freq_cmd + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; k &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;18&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;19&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;17&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;13&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;:
            f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; * f + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;nib&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; k&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;f&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%.3f&amp;quot;&lt;/span&gt; % &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;in set_mode() with &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;data&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;rtty&amp;quot;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;lsb&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;usb&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;01&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;am&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;02&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;cw&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;03&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;rtty&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;04&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;fm&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;05&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;cw-r&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;07&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;rtty-r&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;08&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s-am&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;11&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Mode not recognized&amp;quot;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + set_mode_cmd + set_mode_val + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; ack:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Set Mode Success&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; nak:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NAK received / Mode not supported&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + get_mode_cmd + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;
        mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;00&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;lsb&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;01&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;usb&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;02&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;am&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;03&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;cw&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;04&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;rtty&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;05&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;fm&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;08&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;rtty-r&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;07&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;cw-r&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;11&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s-am&amp;quot;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;rtty&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;data&amp;quot;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; mode
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;upper&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_s&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + get_smeter_cmd + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;
        sm1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        sm2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; % &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        sm3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        sm4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; % &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; * &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; * sm3 + sm4&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; * sm1 + sm2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; s
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_swr&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble + preamble + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio_address&lt;/span&gt; + controller + get_swr_cmd + eom
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;
        sm1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        sm2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; % &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        sm3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        sm4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;result&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; % &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;
        swr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; * &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; * sm3 + sm4&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; * sm1 + sm2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; swr
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_smeter&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_s&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        cal &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cal&lt;/span&gt;
        s1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s1 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s2 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s3 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s5 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s4 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s6 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s5 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s7 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s6 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; s1 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s2 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;113&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s1 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s3 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;103&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s2 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s4 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;93&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s3 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s5 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;83&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s4 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s6 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;73&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s5 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s7 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;63&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s6 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;43&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s7 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_name&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;model&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; tune&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;tuning&amp;quot;&lt;/span&gt;
        curmode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;lower&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;Current Mode &amp;quot;,curmode&lt;/span&gt;
&amp;nbsp;
        curpwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_pwr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; curpwr &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;98&lt;/span&gt;:
            curpwr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; curpwr + &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;Current Power &amp;quot;, curpwr&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;Current percent power &amp;quot;, curpwr&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;rtty&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_pwr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;25&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;Tuning power &amp;quot;, self.get_pwr()&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;PTT On&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ptt_on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sleep&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        swr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;  &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_swr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;SWR :&amp;quot;, swr&lt;/span&gt;
        &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sleep&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ptt_off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;PTT Off&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;curmode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;Mode reset &amp;quot;,self.get_mode()&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_pwr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;curpwr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Tuned : (ref pwr : %s)&amp;quot;&lt;/span&gt; % swr
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Tuned : (ref pwr : %s)&amp;quot;&lt;/span&gt; % swr
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        lock.&lt;span class=&quot;me1&quot;&gt;acquire&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        echo &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;read&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;echo&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        count &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; byte &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; eom:
            byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;read&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;%#02x&amp;quot; % ord(byte)&lt;/span&gt;
            result +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; byte
            count +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; count &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;:
                &lt;span class=&quot;kw1&quot;&gt;break&lt;/span&gt;
        lock.&lt;span class=&quot;me1&quot;&gt;release&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; nib&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; s&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; i&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        k &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;s&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;i / &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; i % &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            k &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; k &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; k &amp;amp; &lt;span class=&quot;nu0&quot;&gt;0xf&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; freq_bcd&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; d1&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; d2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt; * d1 + d2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Icom C-IV module&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;icom_c-iv_module&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;10349-21537&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;aor_ar7030_module&quot;&gt;AOR AR7030 module&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_5f491c71348427373a57bc76d46bbc18_12&quot;&gt;aor.py &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_5f491c71348427373a57bc76d46bbc18_12&quot;&gt;&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:radio:topics:netradio_control&amp;amp;codeblock=3&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_py&quot;&gt;aor.py&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file python&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; serial
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#sport = &amp;quot;/dev/ttyS0&amp;quot;&lt;/span&gt;
sport &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;/dev/ttyUSB1&amp;quot;&lt;/span&gt;
sbaud &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1200&lt;/span&gt;
&amp;nbsp;
lock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Lock&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
fract &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; ** &lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;44545&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; Ar7030&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;__init__&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; model&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; serial.&lt;span class=&quot;me1&quot;&gt;Serial&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sport&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sbaud&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; timeout&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;model&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; model
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; check_bit&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bit&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        mask &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt; bit
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &amp;amp; mask&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_bit&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bit&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        mask &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt; bit
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; | mask
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; clear_bit&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bit&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        mask &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt; bit&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &amp;amp; mask&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_ident&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;5f&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;40&#039;&lt;/span&gt;
        ident &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; ident
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_pre&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        p &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;check_bit&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; p:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; pre_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#get current 8-bit rxcon byte :&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit0 = filter FS3&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit1 = filter FS2&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit2 = filter FS1&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit3 = filter FS4&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit4 = preamp enabled&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit5 = atten 0 = 20dB / 1 = 40dB&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit6 = input filter 0 = HF / 1 = LF&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;# bit7 = attenuator enabled&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt;
&amp;nbsp;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# set bit 4 ON = preamp ON and get the new 8-bit rxcon byte&lt;/span&gt;
        pon &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_bit&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# split new rxcon byte into two 4-bit nibbles, add 48/96 (\x30 and \x60)&lt;/span&gt;
        high &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        low &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &amp;amp; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;high&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;low&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;29&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Command sent&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; pre_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#get current 8-bit rxcon byte&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# set bit 4 OFF = preamp OFF and get the new 8-bit rxcon byte&lt;/span&gt;
        pon &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;clear_bit&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# split new rxcon byte into two 4-bit nibbles, add 48/96 (\x30 and \x60)&lt;/span&gt;
        high &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        low &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &amp;amp; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;high&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;low&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;29&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Command sent&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_att&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt;
&amp;nbsp;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        a &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;check_bit&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; a:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; att_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#get current 8-bit rxcon byte&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# set bit 7 ON = ATT ON and get the new 8-bit rxcon byte&lt;/span&gt;
        pon &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_bit&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# split new rxcon byte into two 4-bit nibbles, add 48/96 (\x30 and \x60)&lt;/span&gt;
        high &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        low &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &amp;amp; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;high&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;low&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;29&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Command sent&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; att_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#get current 8-bit rxcon byte&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt;
        byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# set bit 7 OFF = att OFF and get the new 8-bit rxcon byte&lt;/span&gt;
        pon &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;clear_bit&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;# split new rxcon byte into two 4-bit nibbles, add 48/96 (\x30 and \x60)&lt;/span&gt;
        high &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        low &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pon &amp;amp; &lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;32&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;48&#039;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;high&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;low&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;29&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Command sent&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        fval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; freq * fract
        &lt;span class=&quot;co1&quot;&gt;#print fval&lt;/span&gt;
        b1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fval / &lt;span class=&quot;nu0&quot;&gt;1048576&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        fval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; fval % &lt;span class=&quot;nu0&quot;&gt;1048576&lt;/span&gt;
        b2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fval / &lt;span class=&quot;nu0&quot;&gt;65536&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        fval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; fval % &lt;span class=&quot;nu0&quot;&gt;65536&lt;/span&gt;
        b3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fval / &lt;span class=&quot;nu0&quot;&gt;4096&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        fval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; fval % &lt;span class=&quot;nu0&quot;&gt;4096&lt;/span&gt;
        b4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fval / &lt;span class=&quot;nu0&quot;&gt;256&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        fval &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; fval % &lt;span class=&quot;nu0&quot;&gt;256&lt;/span&gt;
        b5 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;48&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fval / &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        b6 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;96&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fval % &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        f_tuple &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; b1&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; b2&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; b3&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; b4&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; b5&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; b6 &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        freqStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; byte &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; f_tuple:
            freqStr +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;chr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;byte&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;31&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;4a&#039;&lt;/span&gt; + freqStr + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;24&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Freq Set&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;31&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;4a&#039;&lt;/span&gt;
&amp;nbsp;
        freqStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        f_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; k &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; freqStr:
            f_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; f_val * &lt;span class=&quot;nu0&quot;&gt;256&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;k&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%.3f&amp;quot;&lt;/span&gt; % &lt;span class=&quot;kw2&quot;&gt;round&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;f_val / fract&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;lsb&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;66&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;usb&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;67&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;am&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;61&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;cw&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;65&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;data&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;64&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;fm&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;63&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s-am&amp;quot;&lt;/span&gt;:
            set_mode_val &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;62&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Mode not recognized&amp;quot;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;81&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;31&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;4d&#039;&lt;/span&gt; + set_mode_val + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;22&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;80&#039;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Mode sent&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;50&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;31&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;4d&amp;quot;&lt;/span&gt;
        m &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;01&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;am&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;02&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s-am&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;03&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;fm&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;04&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;data&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;05&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;cw&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;06&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;lsb&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; m &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;07&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;usb&amp;quot;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; mode.&lt;span class=&quot;me1&quot;&gt;upper&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_s&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;2e&#039;&lt;/span&gt;
        sraw &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sraw&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_cal&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;52&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;3f&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;44&#039;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;11&#039;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;sending getcal&amp;quot;&lt;/span&gt;
        cbytes &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        cal &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; c &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; cbytes:
            cal.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;c&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; cal
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_smeter&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_s&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        cal &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_cal&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        s1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s1 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s2 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s3 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s5 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s4 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s6 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s5 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        s7 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s6 - cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; s1 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s2 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;113&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s1 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s3 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;103&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s2 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s4 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;93&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s3 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s5 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;83&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s4 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s6 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;73&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s5 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; s7 &lt;span class=&quot;sy0&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;63&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s6 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; -&lt;span class=&quot;nu0&quot;&gt;43&lt;/span&gt;
            adj &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s7 / cal&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;dbm&lt;/span&gt; + adj&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sendStr&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; reply&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; n&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;# apply thread lock&lt;/span&gt;
        lock.&lt;span class=&quot;me1&quot;&gt;acquire&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; reply:  &lt;span class=&quot;co1&quot;&gt;# for reading S-meter&lt;/span&gt;
            result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; result:
                result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;read&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            lock.&lt;span class=&quot;me1&quot;&gt;release&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
&amp;nbsp;
            result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
            byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; n &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;71&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
                &lt;span class=&quot;co1&quot;&gt;#byte = &amp;quot;&amp;quot;&lt;/span&gt;
&amp;nbsp;
                &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; byte:
                    byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;read&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
                result +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; byte
&amp;nbsp;
                byte &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
                n -&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
            lock.&lt;span class=&quot;me1&quot;&gt;release&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;AOR AR7030 module&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;aor_ar7030_module&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;21538-29776&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;icom_ic-m710_module&quot;&gt;Icom IC-M710 module&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_5f491c71348427373a57bc76d46bbc18_13&quot;&gt;m710.py &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_5f491c71348427373a57bc76d46bbc18_13&quot;&gt;&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:radio:topics:netradio_control&amp;amp;codeblock=4&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_0y&quot;&gt;m710.0y&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file python&quot;&gt;&lt;span class=&quot;st0&quot;&gt;&#039;&#039;&#039;
Python NMEA Radio Functions module for Icom IC-M710 Marine HF SSB Transceiver
&amp;nbsp;
    Copyright (C) 2015  John Pumford-Green
&amp;nbsp;
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.
&amp;nbsp;
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
&amp;nbsp;
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see &amp;lt;http://www.gnu.org/licenses/&amp;gt;.
&#039;&#039;&#039;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# serial port for Icom IC-M710 Rig Control&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; serial
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;
version &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;v0.1&amp;quot;&lt;/span&gt;
&amp;nbsp;
sport &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;/dev/ttyUSB0&#039;&lt;/span&gt;
sbaud &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4800&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#ser = serial.Serial(sport, 4800, timeout=1)&lt;/span&gt;
lock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Lock&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# NMEA Codes&lt;/span&gt;
preamble &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;$PICOA,&amp;quot;&lt;/span&gt;
controller &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;90&amp;quot;&lt;/span&gt;
radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;01&amp;quot;&lt;/span&gt; 
cr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;0d&amp;quot;&lt;/span&gt;
lf &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\x&lt;/span&gt;0a&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# Commands are sent as NMEA private sentences:&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# $PICOA,controller_id,radio_id,command,&amp;lt;parameter&amp;gt;,*HH&amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# where HH is the 2 digit ECC value below:&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# The protocol document states that for messages FROM the controller TO the radio&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# the ECC bytes are optional, and may be omitted. This appears to be false information, and&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# the ECC bytes seem to be necessary.&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# The ECC checksum, is a two-digit hex value found by XORing the hex values of the characters &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# between &amp;quot;$&amp;quot; and &amp;quot;*&amp;quot; (but not including the $ or *)&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# The first part of the message is always:&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# &amp;quot;PICOA,90,01,&amp;quot; and this has an XOR value of (decimal) 112&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# we then XOR this with each character&#039;s decimal ASCII value, in the required command&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# and convert the result to a 2-digit hex value&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; m710&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;__init__&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; model&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; serial.&lt;span class=&quot;me1&quot;&gt;Serial&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sport&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sbaud&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; timeout&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0.1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;model&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; model
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;112&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; c &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; command:
            ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;c&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; ^ ecc
        hecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;{0:02x}&#039;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;format&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ecc&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; hecc
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# we must force the radio into &amp;quot;Remote&amp;quot; mode before sending any other commands.    &lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; remote_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;REMOTE,ON&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_ecc&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;remote_on&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# we can leave the radio in &amp;quot;Remote&amp;quot; mode for as long as we want to control it remotely&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# but we must close the &amp;quot;Remote&amp;quot; mode when finished. The previous radio settings (channel/power etc) are&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# restored after Remote mode is closed.&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; remote_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;REMOTE,OFF&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_ecc&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; 
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;co1&quot;&gt;#ser.close()&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;remote_off&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; ptt_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;TRX,TX&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; ptt_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; ptt_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;TRX,RX&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; ptt_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        fkhz &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_rxfreq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#fkhz = &amp;quot;%.3f&amp;quot; % (float(f) * 1000)&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; fkhz
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_rxfreq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_txfreq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Set freq success&amp;quot;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_rxfreq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;RXF&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_ecc&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; result.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
            fkhz &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%.3f&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;f&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; fkhz
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_rxfreq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_txfreq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;TXF&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; result.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
            fkhz &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%.3f&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;f&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; fkhz
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_txfreq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;MODE&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_ecc&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; result.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;J2B&amp;quot;&lt;/span&gt;:
                mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;DATA&amp;quot;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; mode
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; mode.&lt;span class=&quot;me1&quot;&gt;upper&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; mode &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;DATA&amp;quot;&lt;/span&gt;:
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;J2B&amp;quot;&lt;/span&gt;
&amp;nbsp;
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;MODE,&amp;quot;&lt;/span&gt;+mode
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_ecc&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;in set_mode with &amp;quot;, sendStr&lt;/span&gt;
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_rxfreq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        fmhz &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;
        f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fmhz&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;RXF,&amp;quot;&lt;/span&gt;+f
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_ecc&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_rxfreq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_txfreq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        fmhz &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; / &lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;
        f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fmhz&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;TXF,&amp;quot;&lt;/span&gt;+f
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_ecc&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_txfreq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_txpower&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;TXP&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; result.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            power &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; power
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; get_txpower&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_txpower&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;p&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;TXP,&amp;quot;&lt;/span&gt;+p
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; set_txpower&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;p&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_smeter&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;SIGM&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_ecc&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;tx_rx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; result.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            smeter &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; - &lt;span class=&quot;nu0&quot;&gt;120&lt;/span&gt; 
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; smeter
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_smeter&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; speaker_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;SP,ON&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; speaker_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; speaker_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;SP,OFF&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; speaker_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; sql_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;SQLC,ON&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; sql_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; sql_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;SQLC,OFF&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; sql_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; nb_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NB,ON&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; nb_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; nb_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;NB,OFF&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; nb_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; dim_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;DIM,ON&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; dim_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; dim_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;DIM,OFF&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; dim_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; agc_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;AGC,ON&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; agc_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; agc_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;AGC,OFF&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; agc_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_vol&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;AFG&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; result.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            vol &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; vol
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; get_vol&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_vol&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;v&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;AFG,&amp;quot;&lt;/span&gt;+v
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; set_vol&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;v&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_rfg&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;RFG&amp;quot;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble+controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+command+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; result.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            rf &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; rf
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; get_rfg&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_att&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; att_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; att_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; pre_on&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; pre_off&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_pre&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_rfg&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;v&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;RFG,&amp;quot;&lt;/span&gt;+v
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;command&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        sendStr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; preamble +controller+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt;+radio+&lt;span class=&quot;st0&quot;&gt;&amp;quot;,&amp;quot;&lt;/span&gt; + command + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;+ecc+cr+lf
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; result:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; set_rfg&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;v&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;# The message FROM the radio may be corrupted so we do a check on the received ECC versus our calculated cECC&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# from the received characters - which are everything AFTER the &amp;quot;$&amp;quot; and BEFORE the &amp;quot;*&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# starting the ECC calculation at message[1] ignores the &amp;quot;$&amp;quot; and we iterate through the message XORing each &lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# character&#039;s ASCII (decimal) value until we have the final cECC which is converted by formatting it&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# into a two-digit hex value. This is then compared to the received (rECC) value from the radio&#039;s message. &lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# If they match the message is acceptable and check_ecc() returns True to tx_rx(), &lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# otherwise check_ecc() function returns &amp;quot;False&amp;quot; to tx_rx()&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# the True/False value is tested in tx_rx(). &lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# If True then tx_rx() returns the incoming string to the calling function&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# otherwise it returns &amp;quot;False&amp;quot;. &lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# The calling function then checkS the boolean state of the returned value. &lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# If True (ie it has the radio&#039;s message and the ECC was good) the message &lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# is sent back to the client. &lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# If False the function calls itself again, and attempts to get an error-free reply from the radio, via tx_rx()&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; check_ecc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;message&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; recc&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        i &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
        cecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; i &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;message&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
            cecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ord&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;message&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; ^ cecc
            i +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;  
&amp;nbsp;
        cecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;{0:02x}&#039;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;format&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cecc&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; cecc &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; recc:   
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;: 
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; tx_rx&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#print &amp;quot;in tx_rx, sendStr =  &amp;quot; , sendStr&lt;/span&gt;
        lock.&lt;span class=&quot;me1&quot;&gt;acquire&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sendStr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sleep&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0.1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ser&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;readline&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;#print result&lt;/span&gt;
        reply &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; result.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        ecc &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; reply&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;lower&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        message &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; reply&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        lock.&lt;span class=&quot;me1&quot;&gt;release&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;check_ecc&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;message&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ecc&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; result
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Icom IC-M710 module&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;icom_ic-m710_module&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;29777-43713&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit8&quot; id=&quot;text-mode_client&quot;&gt;Text-mode client&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_5f491c71348427373a57bc76d46bbc18_14&quot;&gt;client.py &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_5f491c71348427373a57bc76d46bbc18_14&quot;&gt;&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:radio:topics:netradio_control&amp;amp;codeblock=5&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_py&quot;&gt;client.py&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file python&quot;&gt;__author__ &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;gm4slv&#039;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# client to work with server_oo.py&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# &lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# # v0.1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;readline&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ImportError&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
HOST&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; PORT &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;localhost&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9999&lt;/span&gt;
&amp;nbsp;
smlog &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;pymon.txt&amp;quot;&lt;/span&gt;
log_active &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; make_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; sock
    sock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;AF_INET&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;SOCK_STREAM&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    sock.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;HOST&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; PORT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_rnum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; num
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; radios
&amp;nbsp;
    names &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;listradios&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    radios &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; names.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    num &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radios&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; num
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_rname&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    r &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; radios&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; r
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; list_radios&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    num &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rnum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; radio
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;There are currently %d radios connected.&amp;quot;&lt;/span&gt; % num
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;range&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        r &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rname&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Radio %d is %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i + &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; r&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_lradio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    num &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rnum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    lradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Select radio to log: &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strip&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; lradio:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Please select a radio&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;lradio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; num:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Selected radio not recognized&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; lradio
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_radio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    num &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rnum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# global radio&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; radio_num
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; rname
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;There are currently %d radios connected.&amp;quot;&lt;/span&gt; % num
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;range&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        r &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rname&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Radio %d is %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i + &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; r&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    radio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Choose a radio number from the list : &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strip&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; radio:
            &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Please select a radio&amp;quot;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; num:
            &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Selected radio not recognized&amp;quot;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;ValueError&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Please enter a number&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
        radio_num &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;r&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        rname &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rname&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; - &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; radio_num&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rname
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; prompt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;The available commands are:&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;lr   : List Radios&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sr   : Select the Radio to control&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gr   : Get currently selected Radio name&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gm   : Get Mode&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sm   : Set Mode&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gf   : Get Freq&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sf   : Set Freq&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gs   : Get S-meter&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gp   : Get Pre-amp&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;pon  : Set Pre-amp On&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;p2on : Set Pre-amp 2 On&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;poff : Set Pre-amp Off&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gatt : Get Attn&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;aton : Set Attn On&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;atoff: Set Attn Off&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;ga   : Get All (status of all radios)&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sync : Sync freq/mode on two radios&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;log  : Setup background logging to file&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;h    : Help (show this command list)&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;q    : quit&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; radio_num
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; rname
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; sock
    pfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    pmode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    data &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname + &lt;span class=&quot;st0&quot;&gt;&amp;quot; (&amp;quot;&lt;/span&gt; + pfreq + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + pmode + &lt;span class=&quot;st0&quot;&gt;&amp;quot;) &amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;lower&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strip&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;data.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;data.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sf&amp;quot;&lt;/span&gt;:
            sfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;data.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
            freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + sfreq + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;data.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sm&amp;quot;&lt;/span&gt;:
            smode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;data.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + smode + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
&amp;nbsp;
            &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;only one command at a time please&amp;quot;&lt;/span&gt;
            start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;u&amp;quot;&lt;/span&gt;:
        oldf &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        newf &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;oldf&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + newf + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;d&amp;quot;&lt;/span&gt;:
        oldf &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        newf &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;oldf&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; - &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + newf + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;lr&amp;quot;&lt;/span&gt;:
        list_radios&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sr&amp;quot;&lt;/span&gt;:
&amp;nbsp;
        radio_num&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rname &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; set_radio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; radio_num:
            radio_num&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rname &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; set_radio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gr&amp;quot;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Radio selected is %s&amp;quot;&lt;/span&gt; % rname
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gm&amp;quot;&lt;/span&gt;:
        mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sm&amp;quot;&lt;/span&gt;:
        smode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Enter mode: &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + smode + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gf&amp;quot;&lt;/span&gt;:
        freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s kHz&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sf&amp;quot;&lt;/span&gt;:
        sfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Enter freq (kHz): &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + sfreq + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; freq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gs&amp;quot;&lt;/span&gt;:
        smeter &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getsmeter&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %sdBm&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; smeter&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gp&amp;quot;&lt;/span&gt;:
        preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getpreamp&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;pon&amp;quot;&lt;/span&gt;:
        preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;preampon&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;p2on&amp;quot;&lt;/span&gt;:
        preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;preamp2on&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;poff&amp;quot;&lt;/span&gt;:
        preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;preampoff&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;gatt&amp;quot;&lt;/span&gt;:
        preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getatt&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; preamp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;aton&amp;quot;&lt;/span&gt;:
        att &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;atton&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; att&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;atoff&amp;quot;&lt;/span&gt;:
        att &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;attoff&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio_num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%s replied: %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; att&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;ga&amp;quot;&lt;/span&gt;:
        get_all&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;log&amp;quot;&lt;/span&gt;:
        fname &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Enter a filename (or &lt;span class=&quot;es0&quot;&gt;\&amp;quot;&lt;/span&gt;Return&lt;span class=&quot;es0&quot;&gt;\&amp;quot;&lt;/span&gt; for default) :&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; fname &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;:
            fname &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; smlog
        &lt;span class=&quot;co1&quot;&gt;# check file is valid&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;a+&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            f.&lt;span class=&quot;me1&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;IOError&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;File/path not valid&amp;quot;&lt;/span&gt;
            start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        list_radios&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        lradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_lradio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; lradio:
            lradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_lradio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        rname &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rname&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;lradio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; - &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; lradio &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; log_active:
            &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Logging already active on &amp;quot;&lt;/span&gt; + rname
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            tlog &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Enter a polling interval (seconds) :&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            p &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Thread&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;target&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;log&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; args&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;lradio&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; tlog&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fname&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            p.&lt;span class=&quot;me1&quot;&gt;setDaemon&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            p.&lt;span class=&quot;me1&quot;&gt;start&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            log_active.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;lradio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;sync&amp;quot;&lt;/span&gt;:
        sync_result &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; sync&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; sync_result
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;h&amp;quot;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;or&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;help&amp;quot;&lt;/span&gt;:
        prompt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;q&amp;quot;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;or&lt;/span&gt; data &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;quit&amp;quot;&lt;/span&gt;:
        rx &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;quit&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Server says: %s &amp;quot;&lt;/span&gt; % rx
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#prompt()&lt;/span&gt;
        start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_all&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    num &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rnum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; radio
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;There are currently %d radios connected.&amp;quot;&lt;/span&gt; % num
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;=&amp;quot;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;33&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;range&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        r &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rname&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        n &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;r&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i + &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + n&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        smeter &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getsmeter&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        preamp &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getpreamp&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        att &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getatt&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Status of Radio %d (%s) &lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i + &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; r&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Frequency : %s kHz&amp;quot;&lt;/span&gt; % freq
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Mode: %s&amp;quot;&lt;/span&gt; % mode
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;S-Meter: %sdBm&amp;quot;&lt;/span&gt; % smeter
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Preamp = %s&amp;quot;&lt;/span&gt; % preamp
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Attenuator = %s &amp;quot;&lt;/span&gt; % att
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;=&amp;quot;&lt;/span&gt; * &lt;span class=&quot;nu0&quot;&gt;33&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; log&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;p&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; t&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; f&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;
    tlog &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; t
    sradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rname&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;p&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; - &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    sr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;r&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;p&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            frequency &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + sr + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            smeter &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getsmeter&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + sr + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            mode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + sr + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            write_file&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;f&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sradio&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; frequency&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; smeter&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sleep&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;tlog&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;finally&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_mradio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    num &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rnum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    mradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Choose Master radio number from the list: &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strip&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; mradio:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Please select a radio&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;mradio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; num:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Selected radio not recognized&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; mradio
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_sradio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    num &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rnum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    sradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;raw_input&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Choose Slave radio number from the list: &amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strip&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; sradio:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Please select a radio&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sradio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; num:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Selected radio not recognized&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;False&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; sradio
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; sync&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    num &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rnum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Set SLAVE to the same Frequency and Mode as MASTER.&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Currently connected radios are:&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;range&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; num&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        r &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_rname&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;%d is %s&amp;quot;&lt;/span&gt; % &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;i + &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; r&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    mradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_mradio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; mradio:
        mradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_mradio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    sradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_sradio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; sradio:
        sradio &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; get_sradio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    sr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;r&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sradio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    mr &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;r&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mradio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    mfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + mr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    mmode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + mr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    sfreq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + mfreq + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + sr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    smode &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + mmode + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + sr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sfreq + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt; + smode + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;co1&quot;&gt;# Try to send and receive in one-go, to prevent the logging thread and the main prog&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# getting the wrong receive data&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;data&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        lock.&lt;span class=&quot;me1&quot;&gt;acquire&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;global&lt;/span&gt; sock
        sock.&lt;span class=&quot;me1&quot;&gt;sendall&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;data + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        received &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; sock.&lt;span class=&quot;me1&quot;&gt;recv&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;finally&lt;/span&gt;:
        lock.&lt;span class=&quot;me1&quot;&gt;release&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; received
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; write_file&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; freq&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; smeter&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    filename &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; fname
    f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filename&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;a+&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    timenow &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%d/%m/%Y %H:%M:%S&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;gmtime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    log &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;timenow&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rname&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; freq&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; smeter&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;log&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    f.&lt;span class=&quot;me1&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
make_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
lock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Lock&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
get_all&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Please choose a radio&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;
radio_num&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rname &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; set_radio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;not&lt;/span&gt; radio_num:
    radio_num&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rname &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; set_radio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
prompt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
start&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;h4 id=&quot;example_session&quot;&gt;Example session&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;There are currently &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt; radios connected.
=================================
Status of Radio &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;IC-R75&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; 
&amp;nbsp;
Frequency : &lt;span class=&quot;nu0&quot;&gt;2187.500&lt;/span&gt; kHz
Mode: DATA
S-Meter: -114.2dBm
Preamp = &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
Attenuator = &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 
=================================
Status of Radio &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;IC-M710&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; 
&amp;nbsp;
Frequency : &lt;span class=&quot;nu0&quot;&gt;16804.500&lt;/span&gt; kHz
Mode: DATA
S-Meter: -120.0dBm
Preamp = None
Attenuator = None 
=================================
Status of Radio &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;AR7030&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; 
&amp;nbsp;
Frequency : &lt;span class=&quot;nu0&quot;&gt;2182.000&lt;/span&gt; kHz
Mode: USB
S-Meter: -110.3dBm
Preamp = &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
Attenuator = &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 
=================================
&amp;nbsp;
Please choose a radio
&amp;nbsp;
There are currently &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt; radios connected.
Radio &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; is IC-R75
Radio &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; is IC-M710
Radio &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt; is AR7030
Choose a radio number from the list : &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;
&amp;nbsp;
The available commands are:
lr   : List Radios
sr   : Select the Radio to control
gr   : Get currently selected Radio name
gm   : Get Mode
sm   : Set Mode
gf   : Get Freq
sf   : Set Freq
&lt;span class=&quot;kw2&quot;&gt;gs&lt;/span&gt;   : Get S-meter
gp   : Get Pre-amp
pon  : Set Pre-amp On
p2on : Set Pre-amp &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; On
poff : Set Pre-amp Off
gatt : Get Attn
aton : Set Attn On
atoff: Set Attn Off
ga   : Get All &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;status of all radios&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;sync&lt;/span&gt; : Sync freq&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;mode on two radios
log  : Setup background logging to &lt;span class=&quot;kw2&quot;&gt;file&lt;/span&gt;
h    : Help &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;show this &lt;span class=&quot;kw3&quot;&gt;command&lt;/span&gt; list&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
q    : quit
&amp;nbsp;
AR7030 &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2182.000&lt;/span&gt; USB&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; sf &lt;span class=&quot;nu0&quot;&gt;5680&lt;/span&gt;
AR7030 replied: Freq Set
AR7030 &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5680.000&lt;/span&gt; USB&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;  &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Text-mode client&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;text-mode_client&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:5,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;43714-55814&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit9&quot; id=&quot;gui_client&quot;&gt;GUI Client&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:screenshot_2022-07-24_15.04.52.png&quot; class=&quot;media&quot; title=&quot;public:radio:screenshot_2022-07-24_15.04.52.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=300&amp;amp;tok=5e592b&amp;amp;media=public:radio:screenshot_2022-07-24_15.04.52.png&quot; class=&quot;medialeft&quot; align=&quot;left&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;GUI Client&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;gui_client&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:7,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;55815-55904&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit10&quot; id=&quot;no_s-meter_version&quot;&gt;No S-meter version&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_5f491c71348427373a57bc76d46bbc18_15&quot;&gt;gui_nosmeter.py &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_5f491c71348427373a57bc76d46bbc18_15&quot;&gt;&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:radio:topics:netradio_control&amp;amp;codeblock=7&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_py&quot;&gt;gui_nosmeter.py&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file python&quot;&gt;&lt;span class=&quot;co1&quot;&gt;# # new class-based gui&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;Tkinter&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; *
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; Network&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;__init__&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;make_con&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; make_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;AF_INET&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;SOCK_STREAM&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;192.168.21.107&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9999&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; data&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            lock.&lt;span class=&quot;me1&quot;&gt;acquire&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sendall&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;data + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;received&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;recv&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;finally&lt;/span&gt;:
            lock.&lt;span class=&quot;me1&quot;&gt;release&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;received&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; Dash&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;__init__&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; master&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;master&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; master
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;s&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n1.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;getsockname&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;p&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n1.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;getpeername&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
        dash_frame &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Toplevel&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;master&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; borderwidth &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; relief &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; GROOVE&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        dash_frame.&lt;span class=&quot;me1&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Server&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        dash_frame.&lt;span class=&quot;me1&quot;&gt;protocol&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;WM_DELETE_WINDOW&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;handler&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        dash_frame.&lt;span class=&quot;me1&quot;&gt;resizable&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        dash_frame.&lt;span class=&quot;me1&quot;&gt;geometry&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;300x150+10-10&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        dash_frame.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;co1&quot;&gt;#self.utc_time = StringVar()&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#Label(dash_frame, textvariable = self.utc_time, fg = &#039;green&#039;, bg = &#039;black&#039;).grid(row = 0, column = 0, sticky = W)&lt;/span&gt;
&amp;nbsp;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dash_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;white&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dash_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;lt; --- &amp;gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;white&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dash_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;p&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;white&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;server_msg_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dash_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;server_msg_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;yellow&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; columnspan &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        q_button &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dash_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Quit&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: close&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        q_button.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; handler&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; up_dash&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;server_msg&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;ident&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;server_msg_l&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;server_msg&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.utc_time.set(time.strftime(&amp;quot;%d/%m/%Y %H:%M&amp;quot;, time.gmtime(time.time())))&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; nRadio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;__init__&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; master&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;master&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; master
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; radio
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;r&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        radio_frame &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Frame&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;master&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; borderwidth&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; relief&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;GROOVE&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        radio_frame.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Name&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Freq/kHz&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Mode&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#Label(radio_frame, text=&amp;quot;Signal/dBm&amp;quot;, width=10).grid(row=0, column=3)&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#Label(radio_frame, text=&amp;quot;Max/dBm&amp;quot;, width=10, fg=&#039;red&#039;).grid(row=0, column=4)&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#Label(radio_frame, text=&amp;quot;Ave/dBm&amp;quot;, width=10, fg=&#039;green&#039;).grid(row=0, column=5)&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#Label(radio_frame, text=&amp;quot;Min/dBm&amp;quot;, width=10, fg=&#039;blue&#039;).grid(row=0, column=6)&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_name&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_name&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_freq&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;red&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_freq&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_mode&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_mode&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;st0&quot;&gt;&#039;&#039;&#039;
        self.e_mode = Entry(radio_frame, width=10, bg = &#039;white&#039;, fg = &#039;black&#039;, insertbackground = &#039;blue&#039;)
        self.e_mode.grid(row=2, column=2)
        self.e_mode.bind(&#039;&amp;lt;Return&amp;gt;&#039;, (lambda event: self.set_mode(self.num)))
        &#039;&#039;&#039;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.e_mode = StringVar()&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_usb&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;USB&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;usb&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_usb&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_lsb&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;LSB&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;lsb&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_lsb&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_cw&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;CW&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;cw&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_cw&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_am&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;AM&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;am&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_am&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_data&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Data&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;data&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_data&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_qsy_up&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;+1kHz&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;qsy_up&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_qsy_up&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_qsy_down&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;-1kHz&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;qsy_down&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_qsy_down&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_update&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Get&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;:&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_update&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_smeter&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.l_smeter.grid(row=1, column=3, sticky=E)&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;max_var&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_max&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;max_var&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.l_max.grid(row=1, column=4)&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ave_var&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_average&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ave_var&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.l_average.grid(row=1, column=5)&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;min_var&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_min&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;min_var&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.l_min.grid(row=1, column=6)&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;e_freq&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Entry&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;white&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; insertbackground &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;blue&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;e_freq&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;e_freq&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;focus&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;e_freq&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;bind&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;&amp;lt;Return&amp;gt;&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt; event: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;pre&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; IntVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_pre&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Checkbutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;pre&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;preamp_onoff&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_pre&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_pre&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Preamp&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_pre&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;att&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; IntVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_att&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Checkbutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;att&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;att_onoff&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_att&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_att&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Att&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_att&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_log&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; IntVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_log&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Checkbutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_log&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.cb_log.grid(row = 6, column = 1, sticky = W)&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_log&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Log to file...&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.l_log.grid(row = 6, column = 0, sticky = E)&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Canvas&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;260&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; height&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.c1.grid(row=2, column=3, columnspan=4, rowspan=3)&lt;/span&gt;
&amp;nbsp;
        name &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_name&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_all&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.get_smeter(self.num)&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_preamp&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_atten&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.graph_points()       &lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.avg()&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.max()&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.min()&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_log&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; % &lt;span class=&quot;nu0&quot;&gt;10.0&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write_file&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq_l&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;e_freq&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;newfreq&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;e_freq&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;delete&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; END&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; qsy_up&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        oldf &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        newf &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;oldf&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + newf + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; qsy_down&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        oldf &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        newf &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;oldf&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; - &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        freq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + newf + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode_l&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#self.mode = str(self.e_mode.get())&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;newmode&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + mode + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.e_mode.delete(0, END)&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_smeter&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getsmeter&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_l&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;120&lt;/span&gt;:
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;pop&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; avg&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;
        total &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; s:
            total +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; i
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;av&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;round&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;total / &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;s&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ave_var&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;av&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;create_line&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;av&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;310&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;av&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fill&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;green&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;av&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;min&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; s:
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; i &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt;:
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; i
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;min_var&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;create_line&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;310&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fill&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;blue&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;max&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; s:
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; i &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt;:
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; i
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;max_var&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;create_line&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;310&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fill&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;red&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_preamp&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;preamp&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getpreamp&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;preamp&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;1&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_pre&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;preamp&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_pre&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;deselect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; preamp_onoff&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;prestate&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;pre&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;prestate&lt;/span&gt;:
            n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;preampon&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;preampoff&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; att_onoff&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;attstate&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;att&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;attstate&lt;/span&gt;:
            n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;atton&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;attoff&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_atten&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;atten&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getatt&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;atten&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;1&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_att&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;atten&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_att&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;deselect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_name&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; radio
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;all_names&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;listradios&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radios&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;all_names&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radios&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radios&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; - &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name_l&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; graph_points&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        seq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;
        y_stretch &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
        y_gap &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;
        x_stretch &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        x_width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
        x_gap &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
        height &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;delete&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ALL&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;create_line&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;73&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;310&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;73&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fill&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;white&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; x&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; y &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;enumerate&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;seq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
            yd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; y + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt;
            x0 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; x * x_stretch + x * x_width + x_gap
            y0 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; height - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;yd * y_stretch + y_gap&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            x1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; x * x_stretch + x * x_width + x_width + x_gap
            y1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; height - y_gap
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;create_rectangle&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;x0&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; y0&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; x1&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; y1&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fill&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;yellow&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; write_file&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filename&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name&lt;/span&gt;+&lt;span class=&quot;st0&quot;&gt;&amp;quot;.txt&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;f&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filename&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;a+&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        timenow &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%d/%m/%Y %H:%M:%S&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;gmtime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        log &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;timenow&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;preamp&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;atten&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;f&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;log&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;f&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; update&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;co1&quot;&gt;#loops = 0&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        nRadio1.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        nRadio2.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        nRadio3.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
        nRadio4.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
    d1.&lt;span class=&quot;me1&quot;&gt;up_dash&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; main&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;co1&quot;&gt;#loops = 0&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            nRadio1.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            nRadio2.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            nRadio3.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            nRadio4.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
        d1.&lt;span class=&quot;me1&quot;&gt;up_dash&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#loops += 1&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print threading.currentThread().name, loops&lt;/span&gt;
        &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sleep&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; close&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;quit&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    root.&lt;span class=&quot;me1&quot;&gt;destroy&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; __name__ &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;__main__&amp;quot;&lt;/span&gt;:
    version &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;v0.4&amp;quot;&lt;/span&gt;
    lock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Lock&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    root &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Tk&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#w, h = root.winfo_screenwidth(), root.winfo_screenheight()&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#root.geometry(&amp;quot;%dx%d+0+0&amp;quot; % (w, h))&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#root.geometry(&amp;quot;300x520+0+0&amp;quot;)&lt;/span&gt;
    root.&lt;span class=&quot;me1&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Netradio &amp;quot;&lt;/span&gt; + version&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#root.withdraw()&lt;/span&gt;
    n1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Network&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#radio_count = (n1.connect(&amp;quot;count&amp;quot;))&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#radio_count = 3&lt;/span&gt;
&amp;nbsp;
    radio_count &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;count&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; radio_count &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
        nRadio1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; nRadio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;root&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; radio_count &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;:
        nRadio2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; nRadio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;root&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;2&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; radio_count &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;:
        nRadio3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; nRadio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;root&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;3&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; radio_count &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;:
        nRadio4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; nRadio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;root&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;4&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    d1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Dash&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;root&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;#print threading.currentThread().name&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#m1 = threading.Thread(target = main)&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#m1.setDaemon(True)&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#m1.start()&lt;/span&gt;
&amp;nbsp;
    update&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    root.&lt;span class=&quot;me1&quot;&gt;mainloop&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:screenshot_2022-07-24_16.14.06.png&quot; class=&quot;media&quot; title=&quot;public:radio:screenshot_2022-07-24_16.14.06.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=200&amp;amp;tok=fd8008&amp;amp;media=public:radio:screenshot_2022-07-24_16.14.06.png&quot; class=&quot;medialeft&quot; align=&quot;left&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;No S-meter version&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;no_s-meter_version&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:7,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;55905-70186&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit11&quot; id=&quot;s-meter_display_version&quot;&gt;S-meter display version&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_5f491c71348427373a57bc76d46bbc18_16&quot;&gt;gui.py &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_5f491c71348427373a57bc76d46bbc18_16&quot;&gt;&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:radio:topics:netradio_control&amp;amp;codeblock=8&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_py&quot;&gt;gui.py&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file python&quot;&gt;&lt;span class=&quot;co1&quot;&gt;# # new class-based gui&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;Tkinter&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; *
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; Network&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;__init__&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;make_con&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; make_con&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;AF_INET&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;SOCK_STREAM&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;192.168.21.107&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;9999&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; connect&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; data&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            lock.&lt;span class=&quot;me1&quot;&gt;acquire&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sendall&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;data + &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;received&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;recv&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;finally&lt;/span&gt;:
            lock.&lt;span class=&quot;me1&quot;&gt;release&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;received&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; Dash&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;__init__&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; master&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;master&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; master
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;s&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n1.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;getsockname&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;p&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n1.&lt;span class=&quot;me1&quot;&gt;sock&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;getpeername&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
        dash_frame &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Toplevel&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;master&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; borderwidth &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; relief &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; GROOVE&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        dash_frame.&lt;span class=&quot;me1&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Server&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        dash_frame.&lt;span class=&quot;me1&quot;&gt;protocol&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;WM_DELETE_WINDOW&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;handler&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        dash_frame.&lt;span class=&quot;me1&quot;&gt;resizable&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        dash_frame.&lt;span class=&quot;me1&quot;&gt;geometry&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;300x150-10+10&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        dash_frame.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;utc_time&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dash_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;utc_time&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;green&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dash_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;white&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dash_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;lt; --- &amp;gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;white&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dash_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;p&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;white&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;server_msg_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dash_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;server_msg_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;yellow&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; columnspan &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        q_button &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dash_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Quit&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: close&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        q_button.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; handler&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; up_dash&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;server_msg&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;ident&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;server_msg_l&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;server_msg&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;utc_time&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%d/%m/%Y %H:%M&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;gmtime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; nRadio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;__init__&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; master&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;master&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; master
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; radio
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;r&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radio&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
        radio_frame &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Frame&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;master&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; borderwidth&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; relief&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;GROOVE&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        radio_frame.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Name&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Freq/kHz&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Mode&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Signal/dBm&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Max/dBm&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;red&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Ave/dBm&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;green&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Min/dBm&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;blue&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_name&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_name&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_freq&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;red&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_freq&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_mode&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_mode&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;st0&quot;&gt;&#039;&#039;&#039;
        self.e_mode = Entry(radio_frame, width=10, bg = &#039;white&#039;, fg = &#039;black&#039;, insertbackground = &#039;blue&#039;)
        self.e_mode.grid(row=2, column=2)
        self.e_mode.bind(&#039;&amp;lt;Return&amp;gt;&#039;, (lambda event: self.set_mode(self.num)))
        &#039;&#039;&#039;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.e_mode = StringVar()&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_usb&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;USB&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;usb&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_usb&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_lsb&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;LSB&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;lsb&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_lsb&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_cw&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;CW&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;cw&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_cw&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_am&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;AM&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;am&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_am&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_data&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Button&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Data&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;data&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;b_mode_data&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_l&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_smeter&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_l&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_smeter&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;max_var&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_max&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;max_var&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_max&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ave_var&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_average&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ave_var&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_average&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;min_var&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; StringVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_min&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; textvariable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;min_var&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_min&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;e_freq&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Entry&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;white&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fg &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; insertbackground &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;blue&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;e_freq&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;e_freq&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;focus&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;e_freq&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;bind&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;&amp;lt;Return&amp;gt;&#039;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt; event: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;pre&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; IntVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_pre&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Checkbutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;pre&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;preamp_onoff&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_pre&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_pre&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Preamp&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_pre&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;att&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; IntVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_att&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Checkbutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;att&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; command&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;lambda&lt;/span&gt;: &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;att_onoff&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_att&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_att&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;Att&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_att&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_log&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; IntVar&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_log&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Checkbutton&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; variable &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_log&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_log&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; W&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_log&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Label&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Log to file...&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;l_log&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sticky &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; E&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Canvas&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio_frame&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; width&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;260&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; height&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; bg&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;black&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;grid&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;row&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; column&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; columnspan&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; rowspan&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        name &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_name&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_all&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_smeter&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_preamp&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get_atten&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;num&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;graph_points&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;       
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;avg&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;max&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;min&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;set_log&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; % &lt;span class=&quot;nu0&quot;&gt;10.0&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write_file&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq_l&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_freq&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;e_freq&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;newfreq&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setfreq&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;e_freq&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;delete&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; END&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode_l&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; set_mode&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;co1&quot;&gt;#self.mode = str(self.e_mode.get())&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;newmode&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;setmode&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + mode + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#self.e_mode.delete(0, END)&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_smeter&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getsmeter&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_l&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;float&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;120&lt;/span&gt;:
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;pop&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; avg&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;
        total &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; s:
            total +&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; i
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;av&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;round&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;total / &lt;span class=&quot;kw2&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;s&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ave_var&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;av&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;create_line&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;av&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;310&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;av&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fill&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;green&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;av&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;min&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; s:
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; i &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt;:
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; i
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;min_var&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;create_line&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;310&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fill&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;blue&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mn&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;max&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        s &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; i &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; s:
            &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; i &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt;:
                &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; i
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;max_var&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;create_line&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;310&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fill&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;red&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mx&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_preamp&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;preamp&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getpreamp&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;preamp&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;1&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_pre&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;preamp&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_pre&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;deselect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; preamp_onoff&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;prestate&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;pre&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;prestate&lt;/span&gt;:
            n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;preampon&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;preampoff&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; att_onoff&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;attstate&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;att&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;attstate&lt;/span&gt;:
            n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;atton&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;:
            n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;attoff&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_atten&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;atten&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;getatt&amp;quot;&lt;/span&gt; + &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt; + radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;atten&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;1&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_att&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;elif&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;atten&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;:
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;cb_att&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;deselect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; get_name&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; radio
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;all_names&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;listradios&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radios&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;all_names&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;split&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radios&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;radios&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;radio&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; - &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name_l&lt;/span&gt;.&lt;span class=&quot;kw2&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; graph_points&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        seq &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter_list&lt;/span&gt;
        y_stretch &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
        y_gap &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;
        x_stretch &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
        x_width &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
        x_gap &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
        height &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;delete&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ALL&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;create_line&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;73&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;310&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;73&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt; + &lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fill&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;white&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; x&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; y &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;enumerate&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;seq&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
            yd &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; y + &lt;span class=&quot;nu0&quot;&gt;123&lt;/span&gt;
            x0 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; x * x_stretch + x * x_width + x_gap
            y0 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; height - &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;yd * y_stretch + y_gap&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
            x1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; x * x_stretch + x * x_width + x_width + x_gap
            y1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; height - y_gap
            &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;c1&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;create_rectangle&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;x0&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; y0&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; x1&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; y1&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; fill&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;yellow&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; write_file&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filename&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name&lt;/span&gt;+&lt;span class=&quot;st0&quot;&gt;&amp;quot;.txt&amp;quot;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;f&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;filename&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;a+&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        timenow &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strftime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;%d/%m/%Y %H:%M:%S&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;gmtime&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        log &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot; &amp;quot;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;timenow&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;mode&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;freq&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;smeter&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;preamp&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;atten&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\r&lt;/span&gt;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;f&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;log&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;f&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; main&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;co1&quot;&gt;#loops = 0&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;:
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            nRadio1.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            nRadio2.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            nRadio3.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;:
            nRadio4.&lt;span class=&quot;me1&quot;&gt;get_all&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;except&lt;/span&gt;:
            &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
        d1.&lt;span class=&quot;me1&quot;&gt;up_dash&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#loops += 1&lt;/span&gt;
        &lt;span class=&quot;co1&quot;&gt;#print threading.currentThread().name, loops&lt;/span&gt;
        &lt;span class=&quot;kw3&quot;&gt;time&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;sleep&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; close&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;quit&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    root.&lt;span class=&quot;me1&quot;&gt;destroy&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; __name__ &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;__main__&amp;quot;&lt;/span&gt;:
    version &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;v0.3&amp;quot;&lt;/span&gt;
    lock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Lock&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    root &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Tk&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#w, h = root.winfo_screenwidth(), root.winfo_screenheight()&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#root.geometry(&amp;quot;%dx%d+0+0&amp;quot; % (w, h))&lt;/span&gt;
    root.&lt;span class=&quot;me1&quot;&gt;geometry&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;550x600+0+0&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    root.&lt;span class=&quot;me1&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;GM4SLV Radio Controller &amp;quot;&lt;/span&gt; + version&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#root.withdraw()&lt;/span&gt;
    n1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Network&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#radio_count = (n1.connect(&amp;quot;count&amp;quot;))&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;#radio_count = 3&lt;/span&gt;
&amp;nbsp;
    radio_count &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;n1.&lt;span class=&quot;me1&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;count&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; radio_count &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;:
        nRadio1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; nRadio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;root&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; radio_count &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;:
        nRadio2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; nRadio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;root&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;2&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; radio_count &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;:
        nRadio3 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; nRadio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;root&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;3&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; radio_count &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;:
        nRadio4 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; nRadio&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;root&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;4&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    d1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; Dash&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;root&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;#print threading.currentThread().name&lt;/span&gt;
    m1 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Thread&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;target &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; main&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    m1.&lt;span class=&quot;me1&quot;&gt;setDaemon&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    m1.&lt;span class=&quot;me1&quot;&gt;start&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
    root.&lt;span class=&quot;me1&quot;&gt;mainloop&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:screenshot_2022-07-24_15.01.43.png&quot; class=&quot;media&quot; title=&quot;public:radio:screenshot_2022-07-24_15.01.43.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=200&amp;amp;tok=55b028&amp;amp;media=public:radio:screenshot_2022-07-24_15.01.43.png&quot; class=&quot;medialeft&quot; align=&quot;left&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;S-meter display version&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;s-meter_display_version&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:8,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;70187-83124&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit12&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:9,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;83125-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 06:39:56 +0000</pubDate>
        </item>
        <item>
            <title>OFCOM</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:ofcom</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:start&quot; data-wiki-id=&quot;public:radio:topics:start&quot;&gt;Radio Topics&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;ofcom&quot;&gt;OFCOM&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;OFCOM&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;ofcom&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-37&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;login_to_ofcom_online&quot;&gt;Login to OFCOM online&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://ofcom.force.com/licensingcomlogin&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://ofcom.force.com/licensingcomlogin&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://ofcom.force.com/licensingcomlogin&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Login to OFCOM online&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;login_to_ofcom_online&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;38-120&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;licence_details&quot;&gt;Licence Details&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Licence Details&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;licence_details&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;121-149&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;gm4slv_amateur_radio&quot;&gt;GM4SLV Amateur Radio&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Issued as G4SLV : March 1983&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h4 id=&quot;ofcom_validation_details&quot;&gt;OFCOM Validation Details&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;div class=&quot;table sectionedit5&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Date&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Licence Number&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Validation Document&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Next Due&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; 01/07/2023 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 1-8513-93392/3 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:radio:licence_document_amateur_mr_john_pumford-green_2020-11-15_01_27_47z_1_.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:radio:licence_document_amateur_mr_john_pumford-green_2020-11-15_01_27_47z_1_.pdf (64.9 KB)&quot;&gt;GM4SLV&lt;/a&gt;&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; July 2028 &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;252-449&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;GM4SLV Amateur Radio&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;gm4slv_amateur_radio&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;150-450&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;business_radio_simple&quot;&gt;Business Radio Simple&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;

&lt;h4 id=&quot;ofcom_licence_details&quot;&gt;OFCOM Licence Details&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;/div&gt;

&lt;h5 id=&quot;surrendered_1_july_2023_renewal_was_due_and_i_couldn_t_justify_the_cost_as_the_licence_has_not_been_used_often_enough_in_the_5_years_since_issue&quot;&gt;Surrendered 1 July 2023. Renewal was due and I couldn&amp;#039;t justify the cost as the licence has not been used often enough in the 5 years since issue.&lt;/h5&gt;
&lt;div class=&quot;level5&quot;&gt;

&lt;/div&gt;

&lt;h4 id=&quot;frequencies&quot;&gt;Frequencies&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;div class=&quot;table sectionedit7&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Low Band &lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Mid Band &lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;High Band&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;UHF 1&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;77.6875 MHz &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;164.0500 MHz &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;169.0875 MHz &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;449.3125 MHz&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;86.3375 MHz &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;164.0625 MHz &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;169.3125 MHz &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;449.4000 MHz&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;86.3500 MHz &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;173.0500 MHz &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;449.4750 MHz&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;86.3625 MHz &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;173.0625 MHz &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;458.7875 MHz&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;86.3750 MHz &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;  &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;173.0875 MHz &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;458.8000 MHz&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;   &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;   &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;   &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;458.8125 MHz&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;   &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;   &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;   &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;458.8250 MHz&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table1&amp;quot;,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;1020-1358&amp;quot;} --&gt;
&lt;p&gt;
— &lt;em&gt;John Pumford-Green 01/06/22 13:13&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Page last updated: 01/01/70 01:00 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Business Radio Simple&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;business_radio_simple&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;451-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 06 Jul 2026 17:16:25 +0000</pubDate>
        </item>
        <item>
            <title>QSO Logging</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:qso_logging</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:start&quot; data-wiki-id=&quot;public:radio:topics:start&quot;&gt;Radio Topics&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;qso_logging&quot;&gt;QSO Logging&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt; 2023 Logging setup &lt;/strong&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;QSO Logging&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;qso_logging&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-69&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;paper_logbook&quot;&gt;Paper Logbook&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I&amp;#039;ve always (when I remember) used a Paper Logbook for CW and SSB contacts. I&amp;#039;m on the third book after starting the 1st one in March 1983. 
&lt;/p&gt;

&lt;p&gt;
I usually don&amp;#039;t (but sometimes do) log Digimode QSOs on paper, as fldigi has its own ADIF logbook. However I&amp;#039;ve moved/installed/upgraded/deleted various fldigi installations on so many different PCs that I&amp;#039;ve actually lost all the logs anyway. I&amp;#039;ve recently started logging &lt;strong&gt;all&lt;/strong&gt; QSOs in the paper logbook. There&amp;#039;s no chance of “accidentally deleting” a real, paper logbook, after all.
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;update_july_2023&quot;&gt;Update July 2023&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I initially started to make notes of each day&amp;#039;s activity and QSOs here, in the wiki&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; This became a chore, too many separate things to do during/after a QSO&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I ditched the wiki-diary idea but want to have more of a record of QSOs, and other notes on condx etc. than a simple one line entry in the logbook&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I started keeping a paper “journal” - basically a more carefully created scratch-pad - with entries being done &lt;strong&gt;during&lt;/strong&gt; the QSO - my notes done at the time.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; The left hand page of the spread is a scribble/rough notes area and the right hand page of the spread has notes of activity, CQs made, CQs replied to, QSOs, callsigns, propagation data (SFI, A, K etc), beacons heard, anything really.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I still add an entry to both paper logbook and Xlog, but they don&amp;#039;t need too much additional detail, as it&amp;#039;s all in the “journal”&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;group wrap__dark plugin_wrap&quot;&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_column wrap_half wrap__dark plugin_wrap&quot;&gt;
&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Aradio%3Atopics%3Aqso_logging&amp;amp;media=public:radio:active:journal1.jpg&quot; class=&quot;media&quot; title=&quot;public:radio:active:journal1.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=500&amp;amp;tok=ecdab3&amp;amp;media=public:radio:active:journal1.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;500&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Aradio%3Atopics%3Aqso_logging&amp;amp;media=public:radio:active:journal2.jpg&quot; class=&quot;media&quot; title=&quot;public:radio:active:journal2.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=500&amp;amp;tok=6010b6&amp;amp;media=public:radio:active:journal2.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;500&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_column wrap_half wrap__dark plugin_wrap&quot;&gt;
&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Aradio%3Atopics%3Aqso_logging&amp;amp;media=public:radio:active:journal3.jpg&quot; class=&quot;media&quot; title=&quot;public:radio:active:journal3.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=500&amp;amp;tok=f2ca1b&amp;amp;media=public:radio:active:journal3.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;500&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Aradio%3Atopics%3Aqso_logging&amp;amp;media=public:radio:active:journal4.jpg&quot; class=&quot;media&quot; title=&quot;public:radio:active:journal4.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=500&amp;amp;tok=969106&amp;amp;media=public:radio:active:journal4.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;500&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Paper Logbook&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;paper_logbook&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;70-1759&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit9&quot; id=&quot;electronic_logs&quot;&gt;Electronic Logs&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I&amp;#039;ve tried various PC based log systems over the years. A few years ago I had a major project to add all the old data from my paper logs into an electronic log - I think I used “logger32” on a windows PC. I started from August 2003, the date I re-activated my dormant interest in amateur radio, and I built my Elecraft K1. 
&lt;/p&gt;

&lt;p&gt;
I count this as “day zero” of my current radio incarnation.
&lt;/p&gt;

&lt;p&gt;
I could then export the ADIF file and could use it to “pre-populate” any new log system I fancied trying.
&lt;/p&gt;

&lt;p&gt;
I now use &lt;strong&gt;xlog&lt;/strong&gt; on my shack&amp;#039;s old Linux laptop. It has all the QSO data from August 2003 to the present (except most Digimode QSOs) and I continue to use &lt;strong&gt;xlog&lt;/strong&gt; in parallel with a good old fashioned paper logbook.
&lt;/p&gt;

&lt;p&gt;
I have also discovered that fldigi will automatically add each logged QSO to Xlog, if they are running on the same machine, which means I can now ensure my digimode QSOs are recorded alongside my CW and SSB QSOs.
&lt;/p&gt;
&lt;div class=&quot;plugin_note noteclassic&quot;&gt;As of August 26th 2023 I no longer keep an electronic log. 
&lt;p&gt;
I have ceased LOTW uploads. QSLs are now &lt;strong&gt;direct only&lt;/strong&gt; if anyone wants/needs confirmation of a QSO 
&lt;/p&gt;

&lt;/div&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Electronic Logs&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;electronic_logs&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;1760-2894&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit10&quot; id=&quot;lotw&quot;&gt;LOTW&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;del&gt;While I was adding all my historical QSO data to an electronic log I decided to “join” the ARRL Logbook Of The World and add my QSO data. I did it in various stages, but I think I&amp;#039;ve now got all my QSO records uploaded to LOTW. This is mainly to assist others in their paper chasing goals, as I&amp;#039;m not generally interested in getting QSLs in order to claim awards (I&amp;#039;ve &lt;em&gt;only&lt;/em&gt; got 84 DXCC “confirmed” on LOTW for “Mixed”, with 65 in Phone and 65 in CW). If my uploads allow other people to reach targets, without me needing to write and post physical QSL cards, then it&amp;#039;s easy enough to oblige with LOTW.

I had to download the sourcecode and compile the latest version of TQSL from the ARRL website to run on Linux. I forget how I got the necessary certificates from ARRL…. &lt;/del&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;LOTW&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;lotw&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;2895-3701&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit11&quot; id=&quot;club_log&quot;&gt;Club Log&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;del&gt;I created a ClubLog account and I also upload my ADIF exports at regular intervals. I embed the “last 30” QSOs on my qrz.com page.&lt;/del&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;update_july_20231&quot;&gt;Update July 2023&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; I decided it&amp;#039;s too cumbersome, and with no obvious benefit, to upload ADIF files to ClubLog as well as to LOTW&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; ClubLog has no purpose, really, for me at the moment&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h4 id=&quot;update_august_28_2023&quot;&gt;Update August 28 2023&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; I have decided to drop &lt;strong&gt;ALL&lt;/strong&gt; computer logging&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; this means no LOTW either&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; I want a simpler radio shack, without reliance on computer for logging or any other purpose.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Logging :  paper log book&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Notes : on paper in separate “diary” made during QSO - these can be dated and kept as a reference&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Notes on radio setup, antennas, beacons etc., solar conditions etc. are in the same “diary” - as a record of day to day activity alongside any QSOs etc.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; No RBN checking, no QRZ.COM checking.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Re-start card-index of stations worked, if not too time-consuming?&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Club Log&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;club_log&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;3702-5340&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit12&quot; id=&quot;workflow&quot;&gt;Workflow&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;start flrig &amp;amp; ensure correct communication with IC-7200&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;start fldigi &amp;amp; ensure it controls the IC-7200 via flrig&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;start xlog &amp;amp; ensure it shows the correct radio frequency (when the freq. log button is pressed)&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; have QSOs  in &lt;del&gt;fldigi or&lt;/del&gt; CW and log in paper logbook &lt;del&gt;as appropriate&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;export log ADIF file from xlog - selecting the latest QSO numbers, rather than the whole log&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;del&gt;use TQSL to sign and upload this latest ADIF export to my LOTW account&amp;lt;?del&amp;gt;
  * &amp;lt;del&amp;gt;use the ClubLog website to upload this latest ADIF export to my CLubLog account&lt;/del&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 19/06/23 12:55&lt;/em&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Workflow&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;workflow&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;5341-6043&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit13&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:13,&amp;quot;range&amp;quot;:&amp;quot;6044-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 18:15:51 +0000</pubDate>
        </item>
        <item>
            <title>Radio Topics</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:start</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:start&quot; data-wiki-id=&quot;public:radio:start&quot;&gt;Radio&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;radio_topics&quot;&gt;Radio Topics&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Radio Topics&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;radio_topics&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;29-56&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;various_projects&quot;&gt;Various Projects&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
A collection of pages about things I&amp;#039;ve tinkered with over the last few years.
&lt;/p&gt;

&lt;p&gt;
The pages here are for information and to help should I want to re-visit any of the subjects/projects.
&lt;/p&gt;

&lt;p&gt;
&lt;script type=&quot;text/javascript&quot;&gt; catlist_baseurl = &quot;https://www.g4slv.info/dokuwiki/&quot;; catlist_basescript = &quot;doku.php&quot;; catlist_useslash = 0; catlist_userewrite = 0; catlist_sepchar = &quot;_&quot;; catlist_deaccent = 1; catlist_pagename_sanitize = 1; &lt;/script&gt;&lt;ul style=&quot;-webkit-column-count: 3; -moz-column-count: 3; column-count: 3;&quot; class=&quot;catlist_columns catlist-nslist&quot; &gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:4m_fm&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:4m_fm&quot; data-wiki-id=&quot;public:radio:topics:4m_fm&quot;&gt;4m FM&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:11m&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:11m&quot; data-wiki-id=&quot;public:radio:topics:11m&quot;&gt;10m/12m&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:60m&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:60m&quot; data-wiki-id=&quot;public:radio:topics:60m&quot;&gt;60m&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-ns&quot;&gt;&lt;strong class=&quot;li catlist-nshead&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:allstar:start&quot; data-wiki-id=&quot;public:radio:topics:allstar:start&quot;&gt;AllStar Linking&lt;/a&gt;&lt;/strong&gt;&lt;ul class=&quot;catlist-nslist&quot;&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li class=&quot;catlist-ns&quot;&gt;&lt;strong class=&quot;li catlist-nshead&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:aprs:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:aprs:start&quot; data-wiki-id=&quot;public:radio:topics:aprs:start&quot;&gt;APRS&lt;/a&gt;&lt;/strong&gt;&lt;ul class=&quot;catlist-nslist&quot;&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li class=&quot;catlist-ns&quot;&gt;&lt;strong class=&quot;li catlist-nshead&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:arduino:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:arduino:start&quot; data-wiki-id=&quot;public:radio:topics:arduino:start&quot;&gt;Arduino Projects&lt;/a&gt;&lt;/strong&gt;&lt;ul class=&quot;catlist-nslist&quot;&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:ccir493_selcall&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:ccir493_selcall&quot; data-wiki-id=&quot;public:radio:topics:ccir493_selcall&quot;&gt;CCIR493 Selcall&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:ccir493_-_2026&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:ccir493_-_2026&quot; data-wiki-id=&quot;public:radio:topics:ccir493_-_2026&quot;&gt;CCIR493 Selcall - 2026&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:cw_2023&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:cw_2023&quot; data-wiki-id=&quot;public:radio:topics:cw_2023&quot;&gt;CW - 2023&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:dmr&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:dmr&quot; data-wiki-id=&quot;public:radio:topics:dmr&quot;&gt;DMR and DV Modes&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:dmr_hotspot&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:dmr_hotspot&quot; data-wiki-id=&quot;public:radio:topics:dmr_hotspot&quot;&gt;DMR HotSpots&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:fldigi&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:fldigi&quot; data-wiki-id=&quot;public:radio:topics:fldigi&quot;&gt;Fldigi Parrot&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:renewed_interest&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:renewed_interest&quot; data-wiki-id=&quot;public:radio:topics:renewed_interest&quot;&gt;Getting back into radio&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-ns&quot;&gt;&lt;strong class=&quot;li catlist-nshead&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:xgate:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:xgate:start&quot; data-wiki-id=&quot;public:radio:topics:xgate:start&quot;&gt;HF / VHF Xgate&lt;/a&gt;&lt;/strong&gt;&lt;ul class=&quot;catlist-nslist&quot;&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:k2_2023&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:k2_2023&quot; data-wiki-id=&quot;public:radio:topics:k2_2023&quot;&gt;K2 - 2023&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:netradio_control&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:netradio_control&quot; data-wiki-id=&quot;public:radio:topics:netradio_control&quot;&gt;Netradio Control&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:ofcom&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:ofcom&quot; data-wiki-id=&quot;public:radio:topics:ofcom&quot;&gt;OFCOM&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:sdr&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:sdr&quot; data-wiki-id=&quot;public:radio:topics:sdr&quot;&gt;Openweb SDR&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:qrss&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:qrss&quot; data-wiki-id=&quot;public:radio:topics:qrss&quot;&gt;QRSS&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:qso_logging&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:qso_logging&quot; data-wiki-id=&quot;public:radio:topics:qso_logging&quot;&gt;QSO Logging&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:rpi_farm&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:rpi_farm&quot; data-wiki-id=&quot;public:radio:topics:rpi_farm&quot;&gt;Raspberry Pi Farm&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-page&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:shack_2023&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:shack_2023&quot; data-wiki-id=&quot;public:radio:topics:shack_2023&quot;&gt;Shack 2023&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;catlist-ns&quot;&gt;&lt;strong class=&quot;li catlist-nshead&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:svxlink:start&quot; data-wiki-id=&quot;public:radio:topics:svxlink:start&quot;&gt;SVXLink&lt;/a&gt;&lt;/strong&gt;&lt;ul class=&quot;catlist-nslist&quot;&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li class=&quot;catlist-ns&quot;&gt;&lt;strong class=&quot;li catlist-nshead&quot;&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:yaddnet:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:yaddnet:start&quot; data-wiki-id=&quot;public:radio:topics:yaddnet:start&quot;&gt;YaDDNet&lt;/a&gt;&lt;/strong&gt;&lt;ul class=&quot;catlist-nslist&quot;&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;/p&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 26/04/23 13:41&lt;/em&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Various Projects&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;various_projects&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;57-369&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;370-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 20:43:07 +0000</pubDate>
        </item>
        <item>
            <title>6502 based homebrew computer</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:6502:beginning</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:6502:start&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:6502:start&quot; data-wiki-id=&quot;public:computers:archive:6502:start&quot;&gt;6502 Project&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;based_homebrew_computer&quot;&gt;6502 based homebrew computer&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 17/09/22 12:29&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
I started a new project last month. I&amp;#039;d been thinking of what to use my new &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:calculator:info:dm16l_info&quot; class=&quot;wikilink1&quot; title=&quot;public:calculator:info:dm16l_info&quot; data-wiki-id=&quot;public:calculator:info:dm16l_info&quot;&gt;DM16L&lt;/a&gt; for, apart from simple Decimal to Hex to Binary conversions. 
&lt;/p&gt;

&lt;p&gt;
In a roundabout manner I found the work of &lt;a href=&quot;http://wilsonminesco.com/&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://wilsonminesco.com/&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Garth Wilson&lt;/a&gt; and his excellent resources for 6502 hardware and assembly-language. Then I found the excellent YouTube videos of &lt;a href=&quot;https://eater.net/6502&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://eater.net/6502&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Ben Eater&lt;/a&gt; and I was convinced that I needed to start building and learning 6502. I&amp;#039;ve always struggled with some aspects of software - it seems too abstract and not rooted in anything hard and physical. I found I enjoyed learning about machine code, and then Assembly, as it is tied very firmly to the hardware, you need to understand what happens on each clock cycle, where the data goes, how it can be manipulated. 
&lt;/p&gt;

&lt;p&gt;
And a DM16L calculator is right at home with the bit-twiddling needed to write code at the machine-code/assembly level. After all, the HP16 was originally designed for Programmers back when machine-code and bit-level programming was all there was!
&lt;/p&gt;

&lt;p&gt;
I got a Ben Eater 6502 kit and haven&amp;#039;t looked back.
&lt;/p&gt;

&lt;p&gt;
I plan eventually to fix a hardware design, once I&amp;#039;ve experimented on Vero-board, and perhaps design some PCBs and build it “properly”….
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:computers:archive:6502:start&quot; class=&quot;wikilink1&quot; title=&quot;public:computers:archive:6502:start&quot; data-wiki-id=&quot;public:computers:archive:6502:start&quot;&gt;6502 Project&lt;/a&gt;
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:6502&amp;amp;do=showtag&amp;amp;tag=6502&quot; class=&quot;wikilink1&quot; title=&quot;tag:6502&quot; rel=&quot;tag&quot;&gt;6502&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;6502 based homebrew computer&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;based_homebrew_computer&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;16-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 05 Jun 2026 07:48:37 +0000</pubDate>
        </item>
        <item>
            <title>Damasko DA36 Repair (2019)</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:da36repair</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:start&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:start&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:start&quot;&gt;Damasko DA36&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;damasko_da36_repair_2019&quot;&gt;Damasko DA36 Repair (2019)&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Created Monday 18 November 2019
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Damasko DA36 Repair (2019)&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;damasko_da36_repair_2019&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-91&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;section151119&quot;&gt;15/11/19&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Sent an email asking for advice on having the watch repaired on 15/11/19 :
&lt;/p&gt;

&lt;p&gt;
Good morning,
&lt;/p&gt;

&lt;p&gt;
I bought a DA36 in October 2016, direct from Damasko and I have been
very pleased with it and it has been very reliable, keeping good time
over the last 3 years.
&lt;/p&gt;

&lt;p&gt;
The serial number is DA36.1981
&lt;/p&gt;

&lt;p&gt;
Recently I have noticed that it randomly loses a up to one minute in a
single day, when most of the time it keeps to within ± 2 seconds per
day.
&lt;/p&gt;

&lt;p&gt;
On these occasions I have observed the watch using a Timegrapher
machine, and I see that the displayed rate can be as low as -240 s/d
and the displayed amplitude can be as low as 126 degrees. These periods
of poor performance occur randomly and do not appear to be related to
any physical activity etc. Often the watch returns to normal behaviour
after a few hours. I now feel that I cannot rely on the watch to be
reliable in normal use.
&lt;/p&gt;

&lt;p&gt;
Can I arrange for the watch to be repaired or serviced to return it to
it&amp;#039;s previous excellent and reliable performance?
&lt;/p&gt;

&lt;p&gt;
Since I bought the watch direct from Damasko I am happy to return it to
yourselves for the repair.
&lt;/p&gt;

&lt;p&gt;
Please advise me on how to proceed.
&lt;/p&gt;

&lt;p&gt;
Best wishes,
&lt;/p&gt;

&lt;p&gt;
John Pumford-Green
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;15\/11\/19&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;section151119&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;92-1281&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;section181119&quot;&gt;18/11/19&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;strong&gt;Nadja Damasko replied to my email:&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Dear Mr Pumford-Green&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Thank you for your enquiry and your interest in returning the watch to us.&lt;/em&gt;
&lt;em class=&quot;u&quot;&gt;Please return the watch to:&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Damasko GmbH&lt;/em&gt;
&lt;em class=&quot;u&quot;&gt;c/o Repair Department&lt;/em&gt;
&lt;em class=&quot;u&quot;&gt;Unterheising 17c&lt;/em&gt;
&lt;em class=&quot;u&quot;&gt;93092 Barbing&lt;/em&gt;
&lt;em class=&quot;u&quot;&gt;Germany&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Please send us BEFORE you return the watch, the following documents/information:&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;-your serial number&lt;/em&gt;
&lt;em class=&quot;u&quot;&gt;-your copy of invoice and warranty card&lt;/em&gt;
&lt;em class=&quot;u&quot;&gt;-your exactly delivery and invoice address&lt;/em&gt;
&lt;em class=&quot;u&quot;&gt;-your phone number&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Moreover, please inform us when your returned the watch.&lt;/em&gt;
&lt;em class=&quot;u&quot;&gt;After we received it, we will inform you and later, we come back to you with an exactly cost estimate.&lt;/em&gt;
&lt;em class=&quot;u&quot;&gt;If you have any further questions, please let me know it.&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Please note: If your watch is not under warranty and/or you decide not to carry out the repair, we have to charge you €25.21 net for the expenses incurred.&lt;/em&gt;
&lt;em class=&quot;u&quot;&gt;Bitte beachten Sie: Falls Ihre Uhr nicht unter Gewährleistung fällt und / oder Sie die Reparatur nicht durchführen lassen sollten, behalten wir uns vor, für den entstandenen Aufwand €25.21 netto zu berechnen.&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Mit freundlichen Grüßen / Best regards&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Nadja Zacherl&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;(geb. Damasko / née Damasko)&lt;/em&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;I sent back by email scans of the invoice and &amp;quot;Watch Passport&amp;quot; front page, as well as the other information she requested.&lt;/pre&gt;

&lt;p&gt;
Dear Nadja,
&lt;/p&gt;

&lt;p&gt;
Thank you for your email and instructions for sending the watch back for repair.
&lt;/p&gt;

&lt;p&gt;
Attached are scans of the invoice and Passport/warranty page.
&lt;/p&gt;

&lt;p&gt;
The serial Number is : DA36.1981
&lt;/p&gt;

&lt;p&gt;
I am returning the watch on a leather strap, rather than send back the steel bracelet.
&lt;/p&gt;

&lt;p&gt;
My address for invoice/delivery is:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;&amp;#039;&amp;#039;my address&amp;#039;&amp;#039;&lt;/pre&gt;

&lt;p&gt;
My phone number is: &lt;code&gt;my phone number&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
I will include the above information with the watch, too, along with a description of the problem.
&lt;/p&gt;

&lt;p&gt;
I will send the watch today and will confirm the shipping details by email once I have sent it.
&lt;/p&gt;

&lt;p&gt;
I look forward to hearing from you when the watch arrives and you can provide a quote for the cost of the repair.
&lt;/p&gt;

&lt;p&gt;
Best regards,
&lt;/p&gt;

&lt;p&gt;
John
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;18\/11\/19&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;section181119&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1282-3364&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;update_18_11_19_1800&quot;&gt;update 18/11/19 18:00&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
posted via Royal Mail at Lerwick Main PO at 1:40pm
&lt;/p&gt;

&lt;p&gt;
Tracking : RS229341324GB
&lt;/p&gt;

&lt;p&gt;
Unable to insure adequately - Royal Mail only up to £250, Parcel Force won&amp;#039;t insure “jewellery and watches”. 
&lt;/p&gt;

&lt;p&gt;
Sent using &lt;strong&gt;International Tracked and Signed (£12.05)&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
Informed Nadja of sending, and the Tracking Number.
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.royalmail.com/track-your-item#/tracking-results/RS229341324GB&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.royalmail.com/track-your-item#/tracking-results/RS229341324GB&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://www.royalmail.com/track-your-item#/tracking-results/RS229341324GB&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;update 18\/11\/19 18:00&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;update_18_11_19_1800&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;3365-3776&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;update_23_11_19&quot;&gt;update 23/11/19&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
The DA36 arrived at Damasko&amp;#039;s Barbing factory yesterday (Fri 22nd).
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Email from Isabella:&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Dear Mr Pumford-Green&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Today we have received your DAMASKO DA36.1981.&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;It will be checked by our watchmaker now. After we have a feedback we will inform you about necessary repairs.&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Please note: If your watch is not under warranty and/or you decide not to carry out the repair, we have to charge you €25.21 net for the expenses incurred.&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Bitte beachten Sie: Falls Ihre Uhr nicht unter Gewährleistung fällt und / oder Sie die Reparatur nicht durchführen lassen sollten, behalten wir uns vor, für den entstandenen Aufwand €25.21 netto zu berechnen.&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Mit freundlichen Grüßen / Best regards&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Isabella Morell&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Now to await the verdict….
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;update_2_12_19&quot;&gt;Update 2/12/19&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;strong&gt;Email from Isabella&lt;/strong&gt;:
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Dear Mr Pumford-Green&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Thank you for sending us your DAMASKO DA36.1981.&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;After checking it our watchmaker told us that there is many abrasion in the movement.&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;In the following I may offer you the following cost estimate:&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Cleaning, and oiling the escapement&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Regulate DA36.1981                                     €120&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Shipping costs UK                                          €50       &lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Total amount                                                  €170&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;The named prices are without VAT.&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Please let me know, if we can go ahead with your watch.&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Reply from me:&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
Hello Isabella,
&lt;/p&gt;

&lt;p&gt;
Thank you for the information.
&lt;/p&gt;

&lt;p&gt;
I would be very happy for the repair to go ahead.
&lt;/p&gt;

&lt;p&gt;
I can pay in advance by PayPal or would you prefer to complete the repair before payment, in case of additional expenses that might be necessary?
&lt;/p&gt;

&lt;p&gt;
Regards,
&lt;/p&gt;

&lt;p&gt;
John
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Reply from Isabella:&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Thank you for your quick reply.&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;I would send you the invoice for payment by PayPal when I get the watch back by our watchmaker.&lt;/em&gt;
&lt;em class=&quot;u&quot;&gt;May I know which invoice and delivery address I can use?&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Now to wait for the repair to be complete.
&lt;/p&gt;

&lt;p&gt;
What is “many abrasion” in the escapement - did I do it while regulating - introducing some foreign bodies, dirt/dust? Will not do any further regulation once I get it back, and just have it serviced every few years…. I can put up with a few seconds/day here and there, as long as it&amp;#039;s not &amp;gt; ± 10s/d
&lt;/p&gt;

&lt;p&gt;
Page Updated: 30/12/25 09:55 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:damasko&amp;amp;do=showtag&amp;amp;tag=damasko&quot; class=&quot;wikilink1&quot; title=&quot;tag:damasko&quot; rel=&quot;tag&quot;&gt;damasko&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:watch&amp;amp;do=showtag&amp;amp;tag=watch&quot; class=&quot;wikilink1&quot; title=&quot;tag:watch&quot; rel=&quot;tag&quot;&gt;watch&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;update 23\/11\/19&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;update_23_11_19&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;3777-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>Damasko DA36 Tests 2 (2019)</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:da36tests2</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:start&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:start&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:start&quot;&gt;Damasko DA36&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;damasko_da36_tests_2_2019&quot;&gt;Damasko DA36 Tests 2 (2019)&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Created Sunday 10 November 2019
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Damasko DA36 Tests 2 (2019)&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;damasko_da36_tests_2_2019&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-92&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;day_1sunday_10_nov_2019&quot;&gt;Day 1 : Sunday 10 Nov 2019&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Low amplitude and poor rate&lt;/em&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;	10/11/19 : 14:20	
	Dial up 	: 256° : -4
	Dial dn 	: 248° : -5
	6H		: 233° : -13	
	3H		: 228° : -6
	9H		: 227° : -8
	12H		: 226° : -5
	D 		: -9
	Mean		: 236° : -6.8&lt;/pre&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Wound manually &amp;gt; 100 turns. No immediate improvement → &lt;/em&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;	Dial up 	: 263° : -1
	Dial dn 	: 264° : 0
	6H		: 244° : -9	
	3H		: 245° : -3
	9H		: 256° : -2
	12H		: 249° : 0
	D 		: -8
	Mean		: 253° : -5.0&lt;/pre&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Left dial-up for ≥ 1 hour…. ↓ partial recovery?&lt;/em&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;	10/11/19 : 16:30
	Dial up 	: 274° : 0
	Dial dn 	: 259° : 0
	6H		: 238° : -9	
	3H		: 250° : -2
	9H		: 245° : -3
	12H		: 242° : 0
	D 		: -9
	Mean		: 251° : -2.3
	&lt;/pre&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Back on wrist @ 17:00 → &lt;/em&gt;
&lt;em class=&quot;u&quot;&gt;Full recovery? Due to hand-winding feeding power through after an hour or so?  ↓ &lt;/em&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;	10/11/19 : 17:30
	Dial up 	: 286° : -2
	Dial dn 	: 281° : 0
	6H		: 265° : -4	
	3H		: 268° : 0
	9H		: 259° : -2
	12H		: 263° : 0
	D 		: -2
	Mean		: 270° : -1.0 		&lt;/pre&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Amplitude down again!   ↓ &lt;/em&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;	10/11/19 : 19:10
	Dial up 	: 259° : -2 
	Dial dn 	: 269° : 0
	6H		: 248° : -7	
	3H		: 249° : -2
	9H		: 260° : 0
	12H		: 253° : 0
	D 		: -5
	Mean		: 256° : -1.8		&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;	10/11/19 : 21:00
	Dial up 	: 293° : -2 
	Dial dn 	: 284° : -1
	6H		: 264° : -8	
	3H		: 260° : -2
	9H		: 266° : -3
	12H		: 267° : +1
	D 		: -6
	Mean		: 272° : -2.5
	
	10/11/19 : 23:00
	Dial up 	: 270° : -3 
	Dial dn 	: 277° : 0
	6H		: 266° : -8	
	3H		: 250° : -2
	9H		: 261° : -5
	12H		: 252° : 0
	D 		: -5
	Mean		: 262° : -3
	&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Day 1 : Sunday 10 Nov 2019&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;day_1sunday_10_nov_2019&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;93-1685&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;day_2monday_11_nov_2019&quot;&gt;Day 2 : Monday 11 Nov. 2019&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;	11/11/19 : 06:15
	Dial up 	: 249° : 0 
	Dial dn 	: 256° : +3
	6H		: 234° : -7	
	3H		: 231° : -3
	9H		: 221° : -6
	12H		: 224° : -1
	D 		: -7
	Mean		: 236° : -2.3
	
	11/11/19 : 09:00
	Dial up 	: 286° : -1
	Dial dn 	: 296° : +2
	6H		: 271° : -5	
	3H		: 278° : +1
	9H		: 266° : -1
	12H		: 281° : +3
	D 		: -4
	Mean		: 280° : -0.2
	
	11/11/19 : 19:00
	Dial up 	: 271° : -2
	Dial dn 	: 282° : 0
	6H		: 262° : -5	
	3H		: 265° : -2
	9H		: 264° : -3
	12H		: 260° : +1
	D 		: -3
	Mean		: 267° : -1.8		
	
	11/11/19 : 22:35
	Dial up 	: 265° : -2
	Dial dn 	: 267° : -1
	6H		: 249° : -6	
	3H		: 257° : -2
	9H		: 259° : -3
	12H		: 251° : -1
	D 		: -4
	Mean		: 258° : -2.5
	
* overnight on winder 23:00 → 05:45&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Day 2 : Monday 11 Nov. 2019&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;day_2monday_11_nov_2019&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1686-2495&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;day_3tuesday_12_nov_2019&quot;&gt;Day 3 : Tuesday 12 Nov 2019&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
after overnight on &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:watchwinder_python_code&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:watchwinder_python_code&quot; data-wiki-id=&quot;public:miscellany:watches:watchwinder_python_code&quot;&gt;Watchwinder&lt;/a&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;	12/11/19 : 05:45
	Dial up 	: 280° : +4
	Dial dn 	: 288° : +4
	6H		: 264° : -3	
	3H		: 261° : +1
	9H		: 264° : +1
	12H		: 267° : +5
	D 		: -7
	Mean		: 271° : +2.0&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;	12/11/19 : 08:00		
	Dial up 	: 280° : -1
	Dial dn 	: 292° : +1
	6H		: 260° : -4	
	3H		: 263° : 0
	9H		: 273° : -2
	12H		: 263° : +1
	D 		: -3
	Mean		: 272° : -0.8
	
	12/11/19 : 18:15
	Dial up 	: 282° : -3
	Dial dn 	: 271° : -3
	6H		: 255° : -9	
	3H		: 261° : -2
	9H		: 250° : -6
	12H		: 265° : +1
	D 		: -6
	Mean		: 264° : -3.6
	
	12/11/19 : 22:50
	Dial up 	: 274° : -2
	Dial dn 	: 264° : -3
	6H		: 258° : -9	
	3H		: 260° : -3
	9H		: 263° : -4
	12H		: 262° : 0
	D 		: -6
	Mean		: 264° : -3.3&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Day 3 : Tuesday 12 Nov 2019&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;day_3tuesday_12_nov_2019&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;2496-3312&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;day_4wednesday_13_nov_2019&quot;&gt;Day 4 : Wednesday 13 Nov 2019&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;	13/11/19 : 05:45
	Dial up 	: 290° : +3
	Dial dn 	: 288° : +4
	6H		: 266° : -2	
	3H		: 273° : +2
	9H		: 269° : 0
	12H		: 282° : +4
	D 		: -5
	Mean		: 278° : +1.8
	
	13/11/19 : 10:45
	Dial up 	: 280° : 0
	Dial dn 	: 283° : +1
	6H		: 260° : -4	
	3H		: 272° : +2
	9H		: 275° : 0
	12H		: 258° : +5
	D 		: -4
	Mean		: 271° : +0.7
	
	13/11/19 : 23:35
	Dial up 	: 290° : -2
	Dial dn 	: 287° : 0
	6H		: 256° : -7	
	3H		: 271° : 0
	9H		: 267° : -2
	12H		: 265° : +1
	D 		: -5
	Mean		: 273° : -1.6&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Day 4 : Wednesday 13 Nov 2019&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;day_4wednesday_13_nov_2019&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;3313-3893&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;day_5thursday_14_nov_2019&quot;&gt;Day 5 : Thursday 14 Nov 2019&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;	14/11/19 : 06:20
	Dial up 	: 293° : +2
	Dial dn 	: 287° : +5
	6H		: 260° : -3	
	3H		: 269° : +2
	9H		: 271° : 0
	12H		: 269° : +5
	D 		: -5
	Mean		: 275° : +1.8&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;	14/11/19 : 09:55
	Dial up 	: 282° : -2
	Dial dn 	: 286° : 0
	6H		: 274° : -4	
	3H		: 276° : +1
	9H		: 269° : 0
	12H		: 271° : +1
	D 		: -2
	Mean		: 276° : -0.7
	
	__14/11/19 : 18:25__
	__Dial up 	: 238° : -7__
	__Dial dn 	: 258° : -4__
	__6H		: 227° : -17	__
	__3H		: 240° : -9__
	__9H		: 229° : -11__
	__12H		: 250° : 0__
	__D 		: -10__
	__Mean		: 240° : -8.0__
	
	**ON WINDER 20:00** : no pause cycle — 2 mins CW / 2 mins CCW @ ~11rpm
	
	14/11/19 : 20:20
	__Dial up		: 197	: -40__
	__Dial dn		: 205	: -30__
	__6H		: 192	: -45__&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;	14/11/19 : 20:30
	__Dial up		: 126	: -243__
	__Dial dn		: 190	: -58__
	__6H		: 164	: -95__
	
	14/11/19 : 21:00
	__Dial up		: 174	: -75__
	__Dial dn		: 166	: -89__
	__6H		: 164	: -87__
	
	__15/11/19 : 06:15__
	__Dial up 	: 198° : -32__
	__Dial dn 	: 236° : -7__
	__6H		: 218° : -23	__
	__3H		: 216° : -16__
	__9H		: 218° : -17__
	__12H		: 208° : -21__
	__D 		: +9__
	__Mean		: 216° : -19__&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Day 5 : Thursday 14 Nov 2019&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;day_5thursday_14_nov_2019&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;3894-5105&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;amplitude_vs_position_vs_mean_rate_error_m&quot;&gt;Amplitude vs position vs mean rate error (M)&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;em class=&quot;u&quot;&gt;Average Amplitude &amp;lt; 270 = MARKED IN YELLOW&lt;/em&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;Date     	Time		Du(°)	Dd(°)	6H(°)	3H(°)	9H(°)	12H(°)	Av(°)	M(s/d)	Comment
==================================================================================================
10/11/19	14:20		__256	248	233	228	227	226	236	-6.8__
10/11/19	16:30		__274	259	238	250	245	242	251	-2.3	Low in all posns.__
10/11/19	17:30		286	281	265	268	259	263	270	-1.0	Recovered?
10/11/19	19:10		__259	269	248	249	260	253	256	-1.8	Low again__
10/11/19	21:00		293	284	264	260	266	267	272	-2.5	Recovered?
10/11/19	23:00		__270	277	266	250	261	252	262	-3.0	Low again__

11/11/19	06:15		__249	256	234	231	221	224	236	-2.3	Morning.__
11/11/19	09:00		286	296	271	278	266	281	280	-0.2	Good
11/11/19	19:00		__271	282	262	265	264	260	267	-1.8	marginal__
11/11/19	22:35		__265	267	249	257	259	251	258	-2.5	low again__.

12/11/19	05:45		280	288	264	261	264	267	271	+2.0	good after night on winder
12/11/19	08:00		280	292	260	263	273	263	272	-0.8
12/11/19	18:15		__282	271	255	261	250	265	264	-3.6	marginal, rate low__
12/11/19	22:50		__274	264	258	260	263	262	264	-3.3__		
	
13/11/19	05:45		290	288	266	273	269	282	278	+1.8	good after night on winder
13/11/19	10:45		280	283	260	272	275	258	271	+0.7		
13/11/19	23:35		290	287	256	271	267	265	273	-1.6
			
14/11/19	06:20		293	287	260	269	271	269	275	+1.8
14/11/19	09:55		282	286	274	276	269	271	276	-0.7
		
14/11/19	18:25		__238	258	227	240	229	250	240	-8.0	Very poor! Then much worse....__
14/11/19	20:20		__197	205	192				198	-38__
14/11/19	20:30		__126	190	164				193	!!!__
14/11/19	21:00		__174	166	164				168	-84__
		
15/11/19	06:15		__198	236	218	216	218	208	216	-19	Still poor after night on winder.__&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Amplitude vs position vs mean rate error (M)&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;amplitude_vs_position_vs_mean_rate_error_m&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;5106-6869&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;watchcheck_data&quot;&gt;Watchcheck Data&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;	
	**Python **Watchcheck = morning &amp;amp; evening to observe difference between worn &amp;amp; resting rates
	
	dd/mm/yyyy HH:MM:SS	Δntp(s)        Error(s/d)       Ave(s/d)	Comment
	================================================================================================		15/11/2019 00:08:34     -34.9           -8.0            -25.2
	10/11/2019 23:10:14     -14.2           -3.8            -2.0 	Worn, daytime. Negative
	
	11/11/2019 06:23:14     -14.1           +0.1            -1.8 	Overnight dial up. Zero
	11/11/2019 22:46:16     -16.8		-4.0            -2.1	low amplitude most of the day
	**11/11/19 : on **Winder ** 23:00 → 05:45**	
	
	12/11/2019 05:55:16     -16.5           +1.2            -1.9	overnight on winder.
	12/11/2019 22:46:19     -19.1           -3.7            -2.1	
	**12/11/19 : on Winder 23:00 → 05:45 **
	
	13/11/2019 05:53:18     -18.5           +2.0            -1.9 	overnight on winder.
	13/11/2019 23:34:21     -21.3           -3.8            -2.1
	**13/11/19 : on Winder 23:45 → 06:20 **	
					
	14/11/2019 06:28:21     -21.0           +0.8            -2.0	overnight on winder
	
	**14/11/19 : New period started. Time reset at 20:01 after amplitude went haywire and rate -200....-40.... etc...:**
	
	
	dd/mm/yyyy HH:MM:SS	Δntp(s)        Error(s/d)       Ave(s/d)	Comment
	================================================================================================
	14/11/2019 20:01:30	-30.6					New Period at 21:01:30.
	14/11/2019 21:04:32     -32.6           -44.9           -44.9 	on winder for previous hour. 2 seconds lost.
	14/11/2019 21:30:33     -33.8           -67.5           -51.5	dial up for 1/2 hour, 1.2 seconds lost.
	14/11/2019 22:01:34     -34.2           -17.4           -42.7	dial up for 1/2 hour
	14/11/2019 22:30:34     -34.4           -11.1           -36.6	recovering??
	15/11/2019 00:08:34     -34.9           -8.0            -25.2	still improving!?
	15/11/2019 06:28:36     -36.2           -4.6            -12.7 	better after night on winder!?
	15/11/2019 17:36:45     -45.2           -19.5           -16.2 	on TG since 06:30.... variable amp. &amp;amp; poor rate.
	
	
	
	**Android **[[DA36DailyRates|Watchcheck]] = morning to observe overall rate	
	
	Date		Time	Δntp(s)		Error(s/d)	Ave(s/d)	Comment
	=======================================================================================
	11/11/19	06:25	-14.1		-2.3		-2.1		Overnight dial up
	12/11/19	05:56	-16.2		-2.2		-2.1		low amplitude most of previous day, overnight on winder
	13/11/19	05:52	-18.6		-2.3		-2.2		overnight on winder. being consistent day → day @ -2.3!
	14/11/19	06:29	-21.0		-2.3		-2.2		overnight on winder.
	&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;	15/11/19	06:30	-36.3						NEW PERIOD after reset last evening.
	
		&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Watchcheck Data&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;watchcheck_data&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;6870-9653&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit9&quot; id=&quot;power_test_prior_to_returning_to_damasko_for_repair_service&quot;&gt;Power test prior to returning to Damasko for repair/service&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Power test prior to returning to Damasko for repair\/service&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;power_test_prior_to_returning_to_damasko_for_repair_service&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;9654-9726&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit10&quot; id=&quot;dial-up_on_timegrapher_0615&quot;&gt;Dial-Up on Timegrapher 06:15&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;	Date		Time	Amp	TGRate	Run-time	Comment
	
	== ========================================================================== ==
	
	15/11/19	06:15	198	-32	00:00		Off the winder and test begun	
	15/11/19	06:45	246	-9	00:30		Amp. improving when stationary Dial-Up on Timegrapher
	__16/11/19	07:27	STOPPED				25:12 run time. poor (c.f. spec 38 hours and previous test 33 hours)__
			__This confirms power/amplitude/rate problem. __
	__To be sent back to Damasko 18/11/19__&lt;/pre&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:da36repair&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:da36repair&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:da36repair&quot;&gt;Damasko DA36 Repair (2019)&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Page Updated: 30/12/25 09:55 GMT
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:damasko&amp;amp;do=showtag&amp;amp;tag=damasko&quot; class=&quot;wikilink1&quot; title=&quot;tag:damasko&quot; rel=&quot;tag&quot;&gt;damasko&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:watch&amp;amp;do=showtag&amp;amp;tag=watch&quot; class=&quot;wikilink1&quot; title=&quot;tag:watch&quot; rel=&quot;tag&quot;&gt;watch&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Dial-Up on Timegrapher 06:15&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;dial-up_on_timegrapher_0615&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;9727-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>Measurements (2022)</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:measurements_2022</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:start&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:start&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:start&quot;&gt;Damasko DA36&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;measurements_2022&quot;&gt;Measurements (2022)&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Measurements (2022)&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;measurements_2022&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-51&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;timegrapher_measurements&quot;&gt;Timegrapher Measurements&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;

&lt;h4 id=&quot;october_2022&quot;&gt;25 October 2022&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;div class=&quot;table sectionedit3&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Pos&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Amp&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Rate&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Dial Up&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;311&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;0&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Dial Down&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;293&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;0&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;6H&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;270&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-6&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;3H&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;277&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-3&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;9H&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;270&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-1&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;12H&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;264&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-2&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Ave&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;(289)&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-2&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;D&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;-6&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;113-234&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Timegrapher Measurements&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;timegrapher_measurements&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;52-237&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;power_reserve_test&quot;&gt;Power Reserve Test&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 2/11/22 06:30 - start test after &amp;gt;12 hours on &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:watchwinder_python_code&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:watchwinder_python_code&quot; data-wiki-id=&quot;public:miscellany:watches:watchwinder_python_code&quot;&gt;Watchwinder&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;table sectionedit5&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Time&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Elapsed Time&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Rate&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Amplitude&lt;/th&gt;&lt;th class=&quot;col4&quot;&gt;Beat&lt;/th&gt;&lt;th class=&quot;col5&quot;&gt;Comments&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;06:30 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 0:00 &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  +4   &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt; 294    &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt; 0.2    &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; Start test &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;12:30 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 6:00 &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; +1 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 281 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 0.2 &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt;  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;06:30 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 24:00&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; -3 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 248 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 0.2 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; One full day &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;12:30 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 30:00&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; -8 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 218 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 0.2 &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt;   &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;15:30 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 33:00&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; -10&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 205 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 0.2 &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt;   &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;17:00 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 34:30&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; -15&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 183 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 0.2 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; rate dropping sharply &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;18:00 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 35:30&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; -19&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 168 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 0.2 &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt;   &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;19:00 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 36:30&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; -27&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 151 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 0.3 &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt;   &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;19:30 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 37:00&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; -34&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; 145 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt; 0.2 &lt;/td&gt;&lt;td class=&quot;col5 leftalign&quot;&gt;   &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row10&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;22:10 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 39:40 &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;   &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;     &lt;/td&gt;&lt;td class=&quot;col4 leftalign&quot;&gt;     &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; STOPPED &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table1&amp;quot;,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;351-823&amp;quot;} --&gt;
&lt;p&gt;
Full run-down reserve time = 39:40. 
&lt;/p&gt;

&lt;p&gt;
Specification = 38 hours.  
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Power Reserve Test&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;power_reserve_test&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;238-891&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;watchcheck_app_data&quot;&gt;Watchcheck app data&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;table sectionedit7&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Start&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;End&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Days&lt;/th&gt;&lt;th class=&quot;col3&quot;&gt;Average rate s/d&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;01/01/22&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;31/01/22&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 30 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; +0.9&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;01/02/22&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;28/02/22&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 27 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; +1.2&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;01/03/22&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;27/03/22&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 26 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; +0.3&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;27/03/22&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;17/05/22&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 51 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; -1.0&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;17/05/22&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;31/05/22&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 14 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; -1.9&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;01/06/22&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;30/06/22&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 29 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; -2.7&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;01/07/22&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;31/07/22&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;30&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;-3.0&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;01/08/22&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;05/09/22&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;35&lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;-2.3&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;05/09/22 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;01/10/22&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;26 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;-2.7&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row10&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;01/10/22 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;29/10/22&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 28 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;-3.0&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row11&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;04/11/22 &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt;   &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;   &lt;/td&gt;&lt;td class=&quot;col3 leftalign&quot;&gt;   &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table2&amp;quot;,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;923-1283&amp;quot;} --&gt;
&lt;p&gt;
— &lt;em&gt;John Pumford-Green 31/05/22 13:02&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Page last updated: 30/12/25 09:55 GMT
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Watchcheck app data&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;watchcheck_app_data&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;892-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>Casio GW-M5610</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:inventory:casio_gm-w5610</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:inventory:start&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:inventory:start&quot; data-wiki-id=&quot;public:miscellany:watches:inventory:start&quot;&gt;Watch Inventory&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;casio_gw-m5610&quot;&gt;Casio GW-M5610&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Casio GW-M5610&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;casio_gw-m5610&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-47&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;details&quot;&gt;Details&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Model  : GW-M5610&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Serial : 302A112A&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Bought : August 2021&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; From   : Amazon&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Price  : £99.99&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h4 id=&quot;functions&quot;&gt;Functions&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 6-band Radio Control&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; World Time&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Stopwatch&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Countdown Timer&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 5 Daily Alarms&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Solar Power&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 200m Water Resistant&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 46.7 x 43.2 x 12.7mm&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Mineral Glass&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Details&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;details&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;48-374&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;user_manual&quot;&gt;User Manual&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:watches:inventory:qw3159.pdf&quot; class=&quot;media mediafile mf_pdf&quot; title=&quot;public:watches:inventory:qw3159.pdf (1.1 MB)&quot;&gt;qw3159.pdf&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;User Manual&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;user_manual&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;375-447&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;general_info&quot;&gt;General Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Since I need reading glasses to be able to tell the time, or use any of the functions, this watch can never be my &lt;em&gt;main&lt;/em&gt; timepiece. That role is taken by my &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:miscellany:watches:damasko:start&quot; class=&quot;wikilink1&quot; title=&quot;public:miscellany:watches:damasko:start&quot; data-wiki-id=&quot;public:miscellany:watches:damasko:start&quot;&gt;Damasko DA36&lt;/a&gt;, with its very legible &lt;strong&gt;analogue&lt;/strong&gt; face, which can be read at a glance, without glasses.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;General Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;general_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;448-743&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;updatefeb_2024&quot;&gt;UPDATE : Feb 2024&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
I&amp;#039;ve gone back to full-time wearing of Varifocals, so I can now read a digital watch again…. so I&amp;#039;m wearing the G-Shock 5610 most of the time.
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/detail.php?id=public%3Amiscellany%3Awatches%3Ainventory%3Acasio_gm-w5610&amp;amp;media=public:watches:2022-05-24_11.14.17.jpg&quot; class=&quot;media&quot; title=&quot;public:watches:2022-05-24_11.14.17.jpg&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=400&amp;amp;tok=35bfd5&amp;amp;media=public:watches:2022-05-24_11.14.17.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;UPDATE : Feb 2024&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;updatefeb_2024&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;744-971&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Page created Sun May 22 00:22:42 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 30/12/25 09:55 GMT
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;972-1085&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;tags&quot;&gt;tags&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:watch&amp;amp;do=showtag&amp;amp;tag=watch&quot; class=&quot;wikilink1&quot; title=&quot;tag:watch&quot; rel=&quot;tag&quot;&gt;watch&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:casio&amp;amp;do=showtag&amp;amp;tag=casio&quot; class=&quot;wikilink1&quot; title=&quot;tag:casio&quot; rel=&quot;tag&quot;&gt;casio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:gshock&amp;amp;do=showtag&amp;amp;tag=gshock&quot; class=&quot;wikilink1&quot; title=&quot;tag:gshock&quot; rel=&quot;tag&quot;&gt;gshock&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;tags&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;1086-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 30 Dec 2025 09:55:07 +0000</pubDate>
        </item>
        <item>
            <title>Allstar - 2026</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:allstar_-_2026</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:allstar:start&quot; data-wiki-id=&quot;public:radio:topics:allstar:start&quot;&gt;AllStar Linking&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;allstar_-_2026&quot;&gt;Allstar - 2026&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
I&amp;#039;ve put an Allstar node back on the air!
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Allstar - 2026&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;allstar_-_2026&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-89&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;shari_pi_70cm&quot;&gt;Shari Pi 70cm&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I built a &lt;a href=&quot;https://kits4hams.com/shari&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://kits4hams.com/shari&quot; rel=&quot;ugc nofollow noopener&quot;&gt; Shari-Pi 3U&lt;/a&gt; node last year, to use as a portable Allstar/Echolink node - accessing the internet via my mobile phone hotspot. At that time I also had a “hig power” 2m node running at home.
&lt;/p&gt;

&lt;p&gt;
After a while I became disenchanted with radio and turned everything (even HF) off…
&lt;/p&gt;

&lt;p&gt;
In May 2026 I became interested in the hobby again, and started to re-build a few parts of my station. Once the HF gear was up and running I put the Shari-Pi 70cm Allstar node online. The range is rather limited, given the low, low power and short stubby antenna - it&amp;#039;s only intended for “within the house” coverage, after all. On a walk today I found I could hear still access, and hear it up to a mile away, almost line of site!
&lt;/p&gt;

&lt;p&gt;
At the same time I&amp;#039;m starting to think about HF Selcall and hoping to find some other people around Europe (or further?) who might be interested. The thought struck me that Allstar would work as an “Engineer Order Wire” - a back-channel for co-ordination and discussion.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Shari Pi 70cm&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;shari_pi_70cm&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;90-1140&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;greater_range&quot;&gt;Greater Range?&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
How could I make the Allstar node have a better range, around my local - remote, rural, isolated - area? Should I resurrect my other Allstar node - a R.Pi, CM108 modified sound-dongle, 2m radio?
&lt;/p&gt;

&lt;p&gt;
I have in the shack a TM-D710 V/UHF radio capable of cross-band repeat, I have a TH-D72 and together these make a great remote-controllable cross-band repeater system. Could I use a 2m frequency for access, cross-banding to the Shari-Pi&amp;#039;s 70cm frequency?
&lt;/p&gt;

&lt;p&gt;
Yes, it works!
&lt;/p&gt;

&lt;p&gt;
Using the “Wireless Control” functions built into the TM-D710/TH-D72 it&amp;#039;s possible to have a cross-band repeater that can be enabled &amp;amp; disabled over the air from the handheld, and effectively make the Allstar private 70cm hotspot into a high power 2m Gateway. (Where “high power” = 5 watts).
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:radio_database:th-d72&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:radio_database:th-d72&quot; data-wiki-id=&quot;public:radio:radio_database:th-d72&quot;&gt; TH-D72 and remote control&lt;/a&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Make the Left Side of the TM-D710 the &lt;strong&gt;Active&lt;/strong&gt; side, set to the Shari-Pi&amp;#039;s 70cm Frequency/Tone : 430.050MHz / 77Hz CTCSS&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Put the Right Side of the TM-D710 on 2m : 144.9125MHz / 77Hz CTCSS&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Turn off&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Hold “Rev” and power on&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Radio should be in Remote Control mode&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Use the TH-D72 to start/stop the Repeat function, change TX power on the 70m port, etc….&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Put the TH-D72 on the chosen 20m frequency : 144.9125MHz / 77Hz CTCSS&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Turn off&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Hold &lt;strong&gt;MR&lt;/strong&gt; and &lt;strong&gt;PTT&lt;/strong&gt; and power on&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; This should be “Moblie Ctrl” mode&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; To Enable Cross Band Repeat : Press &lt;strong&gt;C&lt;/strong&gt; (aka &lt;strong&gt;MR&lt;/strong&gt;) (No need to hold PTT button)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; To Disable Cross Band Repeat : Press &lt;strong&gt;D&lt;/strong&gt; (aka &lt;strong&gt;Call&lt;/strong&gt;)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; To exit “Mobile Ctrl” mode - reverse the porcess&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Turn Off&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level3&quot;&gt;&lt;div class=&quot;li&quot;&gt; Hold &lt;strong&gt;MR&lt;/strong&gt; and &lt;strong&gt;PTT&lt;/strong&gt; and power on&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Now it&amp;#039;s possible to use normal Allstar DTMF commands to control the linking etc. of the Shari-Pi node, transparently it seems to be on 2m&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Greater Range?&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;greater_range&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1141-2965&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Page created  : 06/06/26 22:19 BST
&lt;/p&gt;

&lt;p&gt;
Page updated : 06/06/26 22:44 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:allstar&amp;amp;do=showtag&amp;amp;tag=allstar&quot; class=&quot;wikilink1&quot; title=&quot;tag:allstar&quot; rel=&quot;tag&quot;&gt;allstar&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:tm-d710&amp;amp;do=showtag&amp;amp;tag=tm-d710&quot; class=&quot;wikilink1&quot; title=&quot;tag:tm-d710&quot; rel=&quot;tag&quot;&gt;tm-d710&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:th-d72&amp;amp;do=showtag&amp;amp;tag=th-d72&quot; class=&quot;wikilink1&quot; title=&quot;tag:th-d72&quot; rel=&quot;tag&quot;&gt;th-d72&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;2966-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 06 Jun 2026 21:44:47 +0000</pubDate>
        </item>
        <item>
            <title>Java JRE and Echolink Proxy</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:jre_echolink</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:allstar:start&quot; data-wiki-id=&quot;public:radio:topics:allstar:start&quot;&gt;AllStar Linking&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;java_jre_and_echolink_proxy&quot;&gt;Java JRE and Echolink Proxy&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Java JRE and Echolink Proxy&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;java_jre_and_echolink_proxy&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-59&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;setting_up_echolink_proxy_on_vps&quot;&gt;Setting up Echolink Proxy on VPS&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;apt-get install&lt;/span&gt; default-jre-headless
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;wget&lt;/span&gt; http:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;echolink.org&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;downloads&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;EchoLinkProxy_1_2_3.zip
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;apt-get install&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;unzip&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;unzip&lt;/span&gt; EchoLinkProxy_1_2_3.zip
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;chmod&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;755&lt;/span&gt; EcholinkProxy.jar
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;vi&lt;/span&gt; ELProxy.conf&lt;/pre&gt;

&lt;p&gt;
and set new password
&lt;/p&gt;

&lt;/div&gt;

&lt;h4 id=&quot;vps_firewall&quot;&gt;VPS Firewall&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
on fasthost control panel open 
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;TCP/8100&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;UDP/5198&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;UDP/5199&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?media=public:linux:fhfw.png&quot; class=&quot;media wikilink2&quot; title=&quot;public:linux:fhfw.png&quot;&gt;&lt;img src=&quot;https://www.g4slv.info/dokuwiki/lib/exe/fetch.php?w=600&amp;amp;tok=f440a8&amp;amp;media=public:linux:fhfw.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Setting up Echolink Proxy on VPS&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;setting_up_echolink_proxy_on_vps&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;60-494&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;start_proxy&quot;&gt;Start Proxy&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;code&gt;java -jar EcholinkProxy.jar&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;gm4slv@gm4slv:~$ java -jar EchoLinkProxy.jar
EchoLink Proxy version 1.2.3
Listening for connections on port 8100
Ready for new client connection.
Client connected: 80.229.223.86
Client authenticated (call=GM4SLV).
&lt;/pre&gt;

&lt;p&gt;
This runs and works okay.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Start Proxy&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;start_proxy&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;495-808&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;start_in_tmux&quot;&gt;Start in tmux&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?do=export_code&amp;amp;id=public:radio:topics:allstar:jre_echolink&amp;amp;codeblock=2&quot; title=&quot;Download Snippet&quot; class=&quot;mediafile mf_sh&quot;&gt;start_proxy.sh&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;session&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;proxy&amp;quot;&lt;/span&gt;
&amp;nbsp;
tmux start-server
&amp;nbsp;
tmux new-session &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-s&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$session&lt;/span&gt;
&amp;nbsp;
tmux rename-window &lt;span class=&quot;st0&quot;&gt;&amp;quot;echolink&amp;quot;&lt;/span&gt;
&amp;nbsp;
tmux selectp &lt;span class=&quot;re5&quot;&gt;-t&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
tmux send-keys &lt;span class=&quot;st0&quot;&gt;&amp;quot;java -jar /home/gm4slv/EchoLinkProxy.jar&amp;quot;&lt;/span&gt; C-m&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;

&lt;p&gt;
add &lt;code&gt;crontab&lt;/code&gt; to start &lt;code&gt;@reboot&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;@reboot sleep 30 &amp;amp;&amp;amp; sudo -u gm4slv /home/gm4slv/start_proxy.sh &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;/code&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Start in tmux&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;start_in_tmux&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;809-1187&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 04/06/22 07:26&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/06/26 21:40 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:svxlink&amp;amp;do=showtag&amp;amp;tag=svxlink&quot; class=&quot;wikilink1&quot; title=&quot;tag:svxlink&quot; rel=&quot;tag&quot;&gt;svxlink&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:echolink&amp;amp;do=showtag&amp;amp;tag=echolink&quot; class=&quot;wikilink1&quot; title=&quot;tag:echolink&quot; rel=&quot;tag&quot;&gt;echolink&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:linux&amp;amp;do=showtag&amp;amp;tag=linux&quot; class=&quot;wikilink1&quot; title=&quot;tag:linux&quot; rel=&quot;tag&quot;&gt;linux&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1188-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 20:40:19 +0000</pubDate>
        </item>
        <item>
            <title>MB7AZE AllStar</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:mb7aze_allstar</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:allstar:start&quot; data-wiki-id=&quot;public:radio:topics:allstar:start&quot;&gt;AllStar Linking&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 24/04/23 15:05&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;MB7AZE&lt;/strong&gt; is now QRT and the NoV has expired. 
&lt;/p&gt;

&lt;p&gt;
I may run AllStar at times from a personal node/gateway &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:gm4slv_allstar&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:allstar:gm4slv_allstar&quot; data-wiki-id=&quot;public:radio:topics:allstar:gm4slv_allstar&quot;&gt;GM4SLV Allstar&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
The following is for historical interest only….
&lt;/p&gt;
&lt;hr /&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;mb7aze_allstar&quot;&gt;MB7AZE AllStar&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;div class=&quot;table sectionedit2&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Platform&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Rapsberry Pi&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Interface&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;CM108 Soundcard&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Radio&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;FT-8900&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Frequency&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;430.050MHz&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Monitor&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;&lt;a href=&quot;http://gm4slv.plus.com:42111/allmon2/link.php?nodes=481481&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://gm4slv.plus.com:42111/allmon2/link.php?nodes=481481&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Allmon2&lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;276-447&amp;quot;} --&gt;
&lt;p&gt;
&lt;a href=&quot;https://ukrepeater.net/my_repeater.php?id=4823&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://ukrepeater.net/my_repeater.php?id=4823&quot; rel=&quot;ugc nofollow noopener&quot;&gt;NoV issued April 2022&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;MB7AZE AllStar&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;mb7aze_allstar&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;245-523&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;commands&quot;&gt;Commands&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; DTMF Commands&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Please send * 7 3 to ensure all links are disconnected before making any new links&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;table sectionedit4&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0 leftalign&quot;&gt;Command	&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;DTMF Sequence&lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Disconect from Node xxxx	&lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  * 1 xxxx  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Connect RX Only to xxxx	&lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  * 2 xxxx  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Connect Transceive to xxxx	&lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  * 3 xxxx  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Speak the Node Status	&lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  * 7 0  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Disconnect ALL nodes	&lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  * 7 3  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Reconnect ALL nodes	&lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  * 7 4  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Send Node ID	&lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  * 8 0  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Speak the Local Time	&lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  * 8 1  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Parrot ON	&lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  * 9 1  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row10&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Parrot OFF	&lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  * 9 2  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row11&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;Parrot ONCE	&lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  * 9 3  &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table1&amp;quot;,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;652-1034&amp;quot;} --&gt;&lt;div class=&quot;table sectionedit5&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0 centeralign&quot;&gt;  Number  &lt;/th&gt;&lt;th class=&quot;col1 centeralign&quot;&gt;  Name  &lt;/th&gt;&lt;th class=&quot;col2 leftalign&quot;&gt;* 5 Macro shortcut to…	&lt;/th&gt;&lt;th class=&quot;col3 centeralign&quot;&gt;  DTMF Sequence  &lt;/th&gt;&lt;th class=&quot;col4 centeralign&quot;&gt;  Node No.  &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0 centeralign&quot;&gt;  1  &lt;/td&gt;&lt;td class=&quot;col1 rightalign&quot;&gt;  Fedihams &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Connect RX Only to Fedihams &lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  * 5 2 1  &lt;/td&gt;&lt;td class=&quot;col4 rightalign&quot;&gt;  57881 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0 centeralign&quot;&gt;  1  &lt;/td&gt;&lt;td class=&quot;col1 rightalign&quot;&gt;  Fedihams &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Connect Transceive to Fedihams &lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  * 5 3 1  &lt;/td&gt;&lt;td class=&quot;col4 rightalign&quot;&gt;  57881 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0 centeralign&quot;&gt;  1  &lt;/td&gt;&lt;td class=&quot;col1 rightalign&quot;&gt;  Fedihams &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Disconnect from Fedihams &lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  * 5 1 1  &lt;/td&gt;&lt;td class=&quot;col4 rightalign&quot;&gt;  57881 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0 centeralign&quot;&gt;  2  &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  Hubnet  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;Connect RX Only to Hubnet	&lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  * 5 2 2  &lt;/td&gt;&lt;td class=&quot;col4 centeralign&quot;&gt;  41223  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0 centeralign&quot;&gt;  2  &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  Hubnet  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;Connect Transceive to Hubnet	&lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  * 5 3 2  &lt;/td&gt;&lt;td class=&quot;col4 centeralign&quot;&gt;  41223  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0 centeralign&quot;&gt;  2  &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  Hubnet  &lt;/td&gt;&lt;td class=&quot;col2 leftalign&quot;&gt;Disconnect from Hubnet	&lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  * 5 1 2  &lt;/td&gt;&lt;td class=&quot;col4 centeralign&quot;&gt;  41223  &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table2&amp;quot;,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1037-1532&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Commands&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;commands&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;524-1534&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;courtesy_tones&quot;&gt;Courtesy Tones&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Can give information about the node status.
&lt;/p&gt;

&lt;p&gt;
After a local Transmission on the “input” frequency the reponse will be one of:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Morse Letter &lt;strong&gt;I&lt;/strong&gt; (di-dit) = node is not connected to any other nodes&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Morse Letter &lt;strong&gt;R&lt;/strong&gt; (di-dah-dit) = node is connected in “Monitor/RX only” mode to one or more nodes&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Morse Letter &lt;strong&gt;K&lt;/strong&gt; (dah-di-dah) = node is connected in “Transceive” mode to one or more nodes&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
There are other tones, e.g. when a station on a linked node unkeys there&amp;#039;s a low-pitched “bloop”
&lt;/p&gt;

&lt;p&gt;
When a local RF station sends a command there&amp;#039;s a “bip bip” (not to be confused with the Morse letter I)
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Courtesy Tones&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;courtesy_tones&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;1535-2171&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit7&quot; id=&quot;echolink&quot;&gt;Echolink&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
AllStar nodes can also connect to &lt;a href=&quot;https://www.echolink.org/logins.jsp&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.echolink.org/logins.jsp&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Echolink&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
The node is connected to Echolink as &lt;code&gt;MB7AZE-L #879598&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Page created Sun May 29 12:18:09 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 05/06/26 08:40 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:pi&amp;amp;do=showtag&amp;amp;tag=pi&quot; class=&quot;wikilink1&quot; title=&quot;tag:pi&quot; rel=&quot;tag&quot;&gt;pi&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:allstar&amp;amp;do=showtag&amp;amp;tag=allstar&quot; class=&quot;wikilink1&quot; title=&quot;tag:allstar&quot; rel=&quot;tag&quot;&gt;allstar&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:mb7aze&amp;amp;do=showtag&amp;amp;tag=mb7aze&quot; class=&quot;wikilink1&quot; title=&quot;tag:mb7aze&quot; rel=&quot;tag&quot;&gt;mb7aze&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Echolink&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;echolink&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;2172-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 05 Jun 2026 07:40:31 +0000</pubDate>
        </item>
        <item>
            <title>Mini Igate</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:aprs:mini_igate</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:aprs:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:aprs:start&quot; data-wiki-id=&quot;public:radio:topics:aprs:start&quot;&gt;APRS&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;mini_igate&quot;&gt;Mini Igate&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4 id=&quot;a_small_portable_fill-in_igate&quot;&gt;A small portable fill-in iGate&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Deployed to improve APRS coverage in Lerwick. 
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Mini Igate&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;mini_igate&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-131&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;hardware&quot;&gt;Hardware&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Raspberry Pi&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Raspberry Pi 3 Model B Rev 1.2g&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; CM108 Sound card, modified for GPIO in/out&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; IC-2E&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; TP-Link MiFi router &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Hardware&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;hardware&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;132-291&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;software&quot;&gt;Software&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; direwolf&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; autossh&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; tmux&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Software&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;software&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;292-348&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;config_scripts&quot;&gt;Config &amp;amp; scripts&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Config &amp;amp; scripts&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;config_scripts&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;349-378&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;direwolfconf&quot;&gt;direwolf.conf&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;ADEVICE  plughw:&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;#GPSD&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
CHANNEL &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&amp;nbsp;
MYCALL GM4SLV-&lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt;
&amp;nbsp;
MODEM &lt;span class=&quot;nu0&quot;&gt;1200&lt;/span&gt;
&amp;nbsp;
FIX_BITS &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
PTT GPIO &lt;span class=&quot;nu0&quot;&gt;25&lt;/span&gt;
&amp;nbsp;
AGWPORT &lt;span class=&quot;nu0&quot;&gt;8000&lt;/span&gt;
KISSPORT &lt;span class=&quot;nu0&quot;&gt;8001&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;#TBEACON EVERY=15 SYMBOL=&amp;quot;igate&amp;quot; overlay=&amp;quot;T&amp;quot; comment=&amp;quot;Mini IGate&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#TBEACON sendto=IG EVERY=30 SYMBOL=&amp;quot;igate&amp;quot; overlay=&amp;quot;T&amp;quot; comment=&amp;quot;Mini IGate&lt;/span&gt;
&amp;nbsp;
IBEACON &lt;span class=&quot;re2&quot;&gt;every&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;30&lt;/span&gt; &lt;span class=&quot;re2&quot;&gt;via&lt;/span&gt;=WIDE1-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
IBEACON &lt;span class=&quot;re2&quot;&gt;sendto&lt;/span&gt;=IG &lt;span class=&quot;re2&quot;&gt;every&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;
&amp;nbsp;
PBEACON &lt;span class=&quot;re2&quot;&gt;every&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt; &lt;span class=&quot;re2&quot;&gt;overlay&lt;/span&gt;=T &lt;span class=&quot;re2&quot;&gt;symbol&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;igate&amp;quot;&lt;/span&gt; &lt;span class=&quot;re2&quot;&gt;lat&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;^09.33N &lt;span class=&quot;re2&quot;&gt;long&lt;/span&gt;=001^08.76W &lt;span class=&quot;re2&quot;&gt;comment&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;Mini IGate&amp;quot;&lt;/span&gt; &lt;span class=&quot;re2&quot;&gt;via&lt;/span&gt;=WIDE1-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,WIDE2-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
DIGIPEAT &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; ^WIDE&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;-&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;$&lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt;^TEST$ ^WIDE&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;-&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;$ TRACE
&amp;nbsp;
FILTER IG &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; r&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;60.2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1.4&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;150&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt; t&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;t &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
IGSERVER euro.aprs2.net
&amp;nbsp;
IGLOGIN GM4SLV-&lt;span class=&quot;nu0&quot;&gt;11&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;19626&lt;/span&gt;
&amp;nbsp;
IGFILTER m&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;150&lt;/span&gt;
&amp;nbsp;
PBEACON &lt;span class=&quot;re2&quot;&gt;sendto&lt;/span&gt;=IG &lt;span class=&quot;re2&quot;&gt;every&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;:00 &lt;span class=&quot;re2&quot;&gt;symbol&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;igate&amp;quot;&lt;/span&gt; &lt;span class=&quot;re2&quot;&gt;overlay&lt;/span&gt;=T &lt;span class=&quot;re2&quot;&gt;lat&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;^09.33N &lt;span class=&quot;re2&quot;&gt;long&lt;/span&gt;=001^08.76W &lt;span class=&quot;re2&quot;&gt;comment&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;Mini IGate&amp;quot;&lt;/span&gt;
&amp;nbsp;
IGTXVIA &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; WIDE1-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,WIDE2-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
IGMSP &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
IGTXLIMIT &lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;direwolf.conf&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;direwolfconf&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;379-1185&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;start_direwolfsh&quot;&gt;start_direwolf.sh&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;session&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;Igate&amp;quot;&lt;/span&gt;
&amp;nbsp;
tmux start-server
&amp;nbsp;
tmux new-session &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-s&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$session&lt;/span&gt;
&amp;nbsp;
tmux rename-window &lt;span class=&quot;st0&quot;&gt;&amp;quot;direwolf&amp;quot;&lt;/span&gt;
&amp;nbsp;
tmux selectp &lt;span class=&quot;re5&quot;&gt;-t&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
tmux send-keys &lt;span class=&quot;st0&quot;&gt;&amp;quot;direwolf -t 1 -T &amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;c&lt;span class=&quot;st0&quot;&gt;&amp;quot; -c /home/gm4slv/direwolf.conf&amp;quot;&lt;/span&gt; C-m&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; crontab entry &lt;code&gt;@reboot sleep 60 &amp;amp;&amp;amp; sudo -u gm4slv /home/gm4slv/start_direwolf.sh &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;start_direwolf.sh&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;start_direwolfsh&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;1186-1544&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;autossh_tunnel&quot;&gt;autossh tunnel&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
see &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:svx&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:svxlink:svx&quot; data-wiki-id=&quot;public:radio:topics:svxlink:svx&quot;&gt;svxlink hotspot&lt;/a&gt; for details
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&amp;nbsp;
autossh &lt;span class=&quot;re5&quot;&gt;-M&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;20000&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-N&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-T&lt;/span&gt; gm4slv_tunnel&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;autossh tunnel&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;autossh_tunnel&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;1545-1679&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;ssh_config&quot;&gt;ssh config&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code sshconfig&quot;&gt;&lt;a target=&quot;_BLANK&quot; href=&quot;https://man.openbsd.org/ssh_config#Host&quot;&gt;&lt;span class=&quot;kw0&quot;&gt;Host&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;re0&quot;&gt;gm4slv_tunnel&lt;/span&gt;
        &lt;a target=&quot;_BLANK&quot; href=&quot;https://man.openbsd.org/ssh_config#HostName&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;HostName&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;re0&quot;&gt;gm4slv.plus.com&lt;/span&gt;
        &lt;a target=&quot;_BLANK&quot; href=&quot;https://man.openbsd.org/ssh_config#User&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;User&lt;/span&gt;&lt;/a&gt; xxxxx
        &lt;a target=&quot;_BLANK&quot; href=&quot;https://man.openbsd.org/ssh_config#Port&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;Port&lt;/span&gt;&lt;/a&gt; xxxxx
        &lt;a target=&quot;_BLANK&quot; href=&quot;https://man.openbsd.org/ssh_config#RemoteForward&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;RemoteForward&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;nu0&quot;&gt;4446&lt;/span&gt; localhost:&lt;span class=&quot;nu0&quot;&gt;22&lt;/span&gt;
        &lt;a target=&quot;_BLANK&quot; href=&quot;https://man.openbsd.org/ssh_config#RemoteForward&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;RemoteForward&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;nu0&quot;&gt;8080&lt;/span&gt; 192.168.0.1:&lt;span class=&quot;nu0&quot;&gt;80&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; crontab entry : &lt;code&gt;@reboot sleep 60 &amp;amp;&amp;amp; sudo -u gm4slv /home/gm4slv/tunnel.sh 2&amp;gt;&amp;amp;1
&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Page created Thu May 26 12:41:10 2022 by John Pumford-Green
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/06/26 22:04 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:aprs&amp;amp;do=showtag&amp;amp;tag=aprs&quot; class=&quot;wikilink1&quot; title=&quot;tag:aprs&quot; rel=&quot;tag&quot;&gt;aprs&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:pi&amp;amp;do=showtag&amp;amp;tag=pi&quot; class=&quot;wikilink1&quot; title=&quot;tag:pi&quot; rel=&quot;tag&quot;&gt;pi&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;ssh config&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;ssh_config&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;1680-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 21:04:19 +0000</pubDate>
        </item>
        <item>
            <title>svxlink hotspot</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:svx</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:svxlink:start&quot; data-wiki-id=&quot;public:radio:topics:svxlink:start&quot;&gt;SVXLink&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;svxlink_hotspot&quot;&gt;svxlink hotspot&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;svxlink hotspot&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;svxlink_hotspot&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;11-40&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;hardware&quot;&gt;Hardware&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;table sectionedit3&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Platform&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Raspberry Pi&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Software&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;SVXLink&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Interface&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;CM108 soundcard&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Radio&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;IC-2E&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;63-147&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Hardware&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;hardware&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;41-148&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;background&quot;&gt;Background&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Remote/portable &lt;em&gt;personal&lt;/em&gt; node. 
&lt;/p&gt;

&lt;p&gt;
Similar setup to &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:aze&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:svxlink:aze&quot; data-wiki-id=&quot;public:radio:topics:svxlink:aze&quot;&gt;MB7AZE&lt;/a&gt; but without the connection to &lt;code&gt;Echolink&lt;/code&gt; and monitoring fewer TalkGroups. I use TG 8 as a 
testing ground to keep my traffic off the rest of the system.
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;UPDATE&lt;/strong&gt; — &lt;em&gt;John Pumford-Green 03/06/22 17:57&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Making it into a mobile hotspot/echolink node/SVXreflector/parrot….
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:svx_mobile&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:svxlink:svx_mobile&quot; data-wiki-id=&quot;public:radio:topics:svxlink:svx_mobile&quot;&gt;Svx Mobile&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Background&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;background&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;149-538&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;networking&quot;&gt;Networking&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Usual method of deployment is to use a small &lt;em&gt;MiFi 4G router&lt;/em&gt; as an access point to let the Raspberry Pi reach the internet. 
When this MiFi router is in use the node is on an inaccessible network and I can&amp;#039;t reach it to make changes or shut it down.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Networking&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;networking&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;539-816&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;the_answer_is_ssh_tunnels&quot;&gt;The answer is SSH Tunnels&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
I use a “Remote SSH Tunnel” to get access to it from my home LAN.
&lt;/p&gt;

&lt;p&gt;
The idea is that the remote node makes an outgoing SSH connection, to a machine on my LAN. I have an open port in the router forwarded to an internal machine for SSH access when I&amp;#039;m away from home. This is straightforward, and the remote Pi can &lt;em&gt;easily&lt;/em&gt; create a SSH session on to my PC in the shack.
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;ssh -p xxxxx my.external.host.name&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Along with this &lt;em&gt;incoming&lt;/em&gt; SSH connection from the remote node is also a request to set up a &lt;em&gt;“Remote Tunnel”&lt;/em&gt; which makes the internal Shack PC  set up a &lt;em&gt;listening SSH port&lt;/em&gt;. After this is done, any connection to this new listening port will be sent &lt;em&gt;backwards&lt;/em&gt; to the &lt;em class=&quot;u&quot;&gt;remote node&lt;/em&gt;, &lt;strong&gt;&lt;em&gt;tunnelling within&lt;/em&gt;&lt;/strong&gt; the existing SSH connection. 
&lt;/p&gt;

&lt;p&gt;
This &lt;em&gt;tunnel&lt;/em&gt; will now accept incoming connections from  machines &lt;em&gt;inside&lt;/em&gt; my LAN and &lt;em class=&quot;u&quot;&gt;forward them to the remote node&lt;/em&gt;. I can now effectively SSH to the remote SVXLink node as if it were on my LAN in the shack.
&lt;/p&gt;

&lt;p&gt;
The magic is all done in SSH, but to make it more robust I use a package called &lt;code&gt;autossh&lt;/code&gt; which is a wrapper around &lt;code&gt;SSH&lt;/code&gt; that monitors for loss of the tunnel connection and initiates a new connection automatically if it should fail for any reason.
&lt;/p&gt;

&lt;p&gt;
Here is the script that fires it all off:
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;tunnel.sh&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&amp;nbsp;
autossh &lt;span class=&quot;re5&quot;&gt;-M&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;20000&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-N&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-T&lt;/span&gt; gm4slv_tunnel&lt;/pre&gt;

&lt;p&gt;
Simple enough, but effective.
&lt;/p&gt;

&lt;p&gt;
The &lt;code&gt;gm4slv_tunnel&lt;/code&gt; is connection defined in &lt;code&gt;.ssh/config&lt;/code&gt; as:
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;Host gm4slv_tunnel
	HostName gm4slv.plus.com
	User gm4slv
	Port xxxxx
	RemoteForward &lt;span class=&quot;nu0&quot;&gt;4446&lt;/span&gt; localhost:&lt;span class=&quot;nu0&quot;&gt;22&lt;/span&gt;
	RemoteForward &lt;span class=&quot;nu0&quot;&gt;8080&lt;/span&gt; 192.168.0.1:&lt;span class=&quot;nu0&quot;&gt;80&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
This sets up a remote tunnel, listening on port 4446 of my shack PC that will be forwarded back up the SSH connection to the SVXLink Raspberry Pi.
It also sets up a listening port 8080 which gives me &lt;code&gt;http&lt;/code&gt; access to the 4G MiFi router at the remote site in case I want to shut it down or reboot it or whatever. I just browse to &lt;code&gt;&lt;a href=&quot;http://my_shack_pc:8080&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://my_shack_pc:8080&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://my_shack_pc:8080&lt;/a&gt;&lt;/code&gt; and I&amp;#039;m actually logged into the MiFi router. Magic!
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;etc/ssh/sshd_conf&lt;/code&gt; needs to have &lt;code&gt;Gateway Ports yes&lt;/code&gt; to allow the Shack PC to accept connections to its new &lt;em&gt;remote listening&lt;/em&gt; ports (4446 for SSH and 8080 for HTTP) from other LAN machines, &lt;em class=&quot;u&quot;&gt;otherwise these ports would only be accessible to the Shack PC itself&lt;/em&gt; (on “localhost:4446” or “localhost:8080”)
&lt;/p&gt;

&lt;p&gt;
To allow an unattended/automatic login &lt;em&gt;from&lt;/em&gt; the remote Raspberry Pi &lt;em&gt;to&lt;/em&gt; the Shack PC it&amp;#039;s necessary to set up public_key authentication and to have a &lt;em&gt;passphrase-less&lt;/em&gt; key on the Raspberry Pi. 
&lt;/p&gt;

&lt;p&gt;
Generate a public/private key pair on the Raspberry Pi with &lt;code&gt;ssh-keygen&lt;/code&gt; and don&amp;#039;t enter a &lt;em&gt;passphrase&lt;/em&gt; before saving it in &lt;code&gt;.ssh/id_rsa&lt;/code&gt; and &lt;code&gt;.ssh/id_rsa.pub&lt;/code&gt;. Then transfer a copy of &lt;code&gt;.ssh/id_rsa.pub&lt;/code&gt; &lt;em&gt;from&lt;/em&gt; the Raspberry Pi &lt;em&gt;to&lt;/em&gt; the Shack PC and put it in the &lt;code&gt;authorized_keys2&lt;/code&gt; file:
&lt;/p&gt;

&lt;p&gt;
(on Raspberry Pi):
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;$ scp .ssh/id_rsa.pub user@shack_pc:&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
enter password etc. to do the initial &lt;code&gt;scp&lt;/code&gt; transfer
&lt;/p&gt;

&lt;p&gt;
(on Shack PC)
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;$ cat id_rsa.pub » .ssh/authorized_keys2&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
then any further SSH or SCP sessions &lt;em&gt;from&lt;/em&gt; the Rasperry Pi &lt;em&gt;to&lt;/em&gt; the Shack PC &lt;em&gt;should&lt;/em&gt; occur without any need for 
passwords.
&lt;/p&gt;

&lt;p&gt;
The Pi is now set up for automatic SSH Remote Tunnel - as long as the script is run at boot time:
&lt;/p&gt;

&lt;p&gt;
Crontab is used to fire off the tunnel &lt;em&gt;and&lt;/em&gt; start SVXLink @reboot
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;reboot &lt;span class=&quot;kw2&quot;&gt;sleep&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-u&lt;/span&gt; gm4slv &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;home&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;tunnel.sh &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;reboot &lt;span class=&quot;kw2&quot;&gt;sleep&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;30&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-u&lt;/span&gt; gm4slv &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;home&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svx_ref.sh &lt;span class=&quot;sy0&quot;&gt;&amp;gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;null &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
To check the Tunnel is up you look at &lt;code&gt;netstat -ntl&lt;/code&gt; on the Shack PC:
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;laptop:~ $ &lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;netstat&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-ntlp&lt;/span&gt;
Active Internet connections &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;only servers&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Program name
tcp        &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;      &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 0.0.0.0:&lt;span class=&quot;nu0&quot;&gt;22&lt;/span&gt;              0.0.0.0:&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;               LISTEN      &lt;span class=&quot;nu0&quot;&gt;854&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sshd: &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sbin
tcp        &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;      &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 0.0.0.0:&lt;span class=&quot;nu0&quot;&gt;631&lt;/span&gt;             0.0.0.0:&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;               LISTEN      &lt;span class=&quot;nu0&quot;&gt;167630&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;cupsd
tcp        &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;      &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 0.0.0.0:&lt;span class=&quot;nu0&quot;&gt;23&lt;/span&gt;              0.0.0.0:&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;               LISTEN      &lt;span class=&quot;nu0&quot;&gt;761&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;inetd
tcp        &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;      &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 0.0.0.0:&lt;span class=&quot;nu0&quot;&gt;17500&lt;/span&gt;           0.0.0.0:&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;               LISTEN      &lt;span class=&quot;nu0&quot;&gt;62324&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dropbox
tcp        &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;      &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 0.0.0.0:&lt;span class=&quot;nu0&quot;&gt;445&lt;/span&gt;             0.0.0.0:&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;               LISTEN      &lt;span class=&quot;nu0&quot;&gt;1134&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;smbd
tcp        &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;      &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 0.0.0.0:&lt;span class=&quot;nu0&quot;&gt;4446&lt;/span&gt;            0.0.0.0:&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;               LISTEN      &lt;span class=&quot;nu0&quot;&gt;2537&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sshd: gm4slv
tcp        &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;      &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 127.0.0.1:&lt;span class=&quot;nu0&quot;&gt;17600&lt;/span&gt;         0.0.0.0:&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;               LISTEN      &lt;span class=&quot;nu0&quot;&gt;62324&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dropbox
tcp        &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;      &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 0.0.0.0:&lt;span class=&quot;nu0&quot;&gt;20000&lt;/span&gt;           0.0.0.0:&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;               LISTEN      &lt;span class=&quot;nu0&quot;&gt;2537&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sshd: gm4slv
tcp        &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;      &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 0.0.0.0:&lt;span class=&quot;nu0&quot;&gt;514&lt;/span&gt;             0.0.0.0:&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;               LISTEN      &lt;span class=&quot;nu0&quot;&gt;647&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;rsyslogd
tcp        &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;      &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 127.0.0.1:&lt;span class=&quot;nu0&quot;&gt;17603&lt;/span&gt;         0.0.0.0:&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;               LISTEN      &lt;span class=&quot;nu0&quot;&gt;62324&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dropbox
tcp        &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;      &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 127.0.0.1:&lt;span class=&quot;nu0&quot;&gt;2947&lt;/span&gt;          0.0.0.0:&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;               LISTEN      &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;init
tcp        &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;      &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 0.0.0.0:&lt;span class=&quot;nu0&quot;&gt;139&lt;/span&gt;             0.0.0.0:&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;               LISTEN      &lt;span class=&quot;nu0&quot;&gt;1134&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;smbd
tcp        &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;      &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 0.0.0.0:&lt;span class=&quot;nu0&quot;&gt;27659&lt;/span&gt;           0.0.0.0:&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;               LISTEN      &lt;span class=&quot;nu0&quot;&gt;854&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sshd: &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sbin
tcp        &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;      &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 0.0.0.0:&lt;span class=&quot;nu0&quot;&gt;111&lt;/span&gt;             0.0.0.0:&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;               LISTEN      &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;init
tcp        &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;      &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt; 0.0.0.0:&lt;span class=&quot;nu0&quot;&gt;8080&lt;/span&gt;            0.0.0.0:&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;               LISTEN      &lt;span class=&quot;nu0&quot;&gt;2537&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sshd: gm4slv&lt;/pre&gt;

&lt;p&gt;
SSH is listening on ports &lt;code&gt;4446, 20000 and 8080&lt;/code&gt; which proves it&amp;#039;s up and running. 
&lt;/p&gt;

&lt;p&gt;
Port 20000 (and 20001) is used by &lt;code&gt;autossh&lt;/code&gt; to handle its “is the tunnel still up” packets. 
&lt;/p&gt;

&lt;p&gt;
From the Shack PC I can &lt;code&gt;ssh localhost -p 4446&lt;/code&gt; and reach the remove Pi, hostname &lt;code&gt;svx&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;laptop:~ $ &lt;span class=&quot;kw2&quot;&gt;ssh&lt;/span&gt; localhost &lt;span class=&quot;re5&quot;&gt;-p&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;4446&lt;/span&gt;
Linux svx 5.15.32-v7+ &lt;span class=&quot;co0&quot;&gt;#1538 SMP Thu Mar 31 19:38:48 BST 2022 armv7l&lt;/span&gt;
&amp;nbsp;
The programs included with the Debian GNU&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Linux system are &lt;span class=&quot;kw2&quot;&gt;free&lt;/span&gt; software;
the exact distribution terms &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; each program are described &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; the
individual files &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;share&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;doc&lt;span class=&quot;sy0&quot;&gt;/*/&lt;/span&gt;copyright.
&amp;nbsp;
Debian GNU&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed May  &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt;:&lt;span class=&quot;nu0&quot;&gt;28&lt;/span&gt;:06 &lt;span class=&quot;nu0&quot;&gt;2022&lt;/span&gt; from 127.0.0.1
gm4slv&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;svx:~ $ &lt;span class=&quot;kw2&quot;&gt;who&lt;/span&gt;
gm4slv   pts&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;        &lt;span class=&quot;nu0&quot;&gt;2022&lt;/span&gt;-05-04 &lt;span class=&quot;nu0&quot;&gt;14&lt;/span&gt;:&lt;span class=&quot;nu0&quot;&gt;35&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;127.0.0.1&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
gm4slv&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;svx:~ $ &lt;span class=&quot;kw2&quot;&gt;whoami&lt;/span&gt;
gm4slv
gm4slv&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;svx:~ $ &lt;span class=&quot;kw2&quot;&gt;ls&lt;/span&gt;
backup         greeting.wav   id_rsa.pub    id_svx.pub  node_info.json      svxlink          svxlink.log        svxlink-sounds-en_US-heather      svx_ref.sh
backup.tar     hosts          id_sdr.pub    log1.log    ReflectorLogic.tcl  svxlink.conf     svxlink_noel.conf  svxlink-sounds-en_US-heather.tar  tunnel.sh
git_backup.sh  id_laptop.pub  id_shack.pub  Logic.tcl   svx_el.sh           svxlink_el.conf  svxlink_ref.conf   svx_noel.sh
gm4slv&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;svx:~ $&lt;/pre&gt;

&lt;p&gt;
 &lt;em&gt;&lt;a href=&quot;mailto:&amp;#103;&amp;#109;&amp;#52;&amp;#115;&amp;#108;&amp;#118;&amp;#64;&amp;#103;&amp;#109;&amp;#52;&amp;#115;&amp;#108;&amp;#118;&amp;#46;&amp;#112;&amp;#108;&amp;#117;&amp;#115;&amp;#46;&amp;#99;&amp;#111;&amp;#109;&quot; class=&quot;mail&quot; title=&quot;&amp;#103;&amp;#109;&amp;#52;&amp;#115;&amp;#108;&amp;#118;&amp;#64;&amp;#103;&amp;#109;&amp;#52;&amp;#115;&amp;#108;&amp;#118;&amp;#46;&amp;#112;&amp;#108;&amp;#117;&amp;#115;&amp;#46;&amp;#99;&amp;#111;&amp;#109;&quot;&gt;John Pumford-Green&lt;/a&gt; Wed May  4 11:25:01 2022&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Page Updated : 04/06/26 07:39 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:pi&amp;amp;do=showtag&amp;amp;tag=pi&quot; class=&quot;wikilink1&quot; title=&quot;tag:pi&quot; rel=&quot;tag&quot;&gt;pi&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:svxlink&amp;amp;do=showtag&amp;amp;tag=svxlink&quot; class=&quot;wikilink1&quot; title=&quot;tag:svxlink&quot; rel=&quot;tag&quot;&gt;svxlink&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:linux&amp;amp;do=showtag&amp;amp;tag=linux&quot; class=&quot;wikilink1&quot; title=&quot;tag:linux&quot; rel=&quot;tag&quot;&gt;linux&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:ssh&amp;amp;do=showtag&amp;amp;tag=ssh&quot; class=&quot;wikilink1&quot; title=&quot;tag:ssh&quot; rel=&quot;tag&quot;&gt;ssh&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;The answer is SSH Tunnels&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;the_answer_is_ssh_tunnels&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;817-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 06:39:56 +0000</pubDate>
        </item>
        <item>
            <title>Svxlink Update (Dual Gateway)</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:svxlink_update</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:svxlink:start&quot; data-wiki-id=&quot;public:radio:topics:svxlink:start&quot;&gt;SVXLink&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;svxlink_update_dual_gateway&quot;&gt;Svxlink Update (Dual Gateway)&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 02/06/22 19:56&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
To allow testing and comparison between 2m and 70cm I&amp;#039;ve got &lt;strong&gt;two&lt;/strong&gt; SVXLink gateways running.
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; MB7AZE : 70cm : 430.050MHz @ 3W using FT-60&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; GM4SLV : 2m : 144.625MHz @ ??W using FT-8900 &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Both feed the same dual band colinear via a duplexer.
&lt;/p&gt;

&lt;p&gt;
Both are connected to G4NAB&amp;#039;s SVXReflector &lt;a href=&quot;http://svxportal-uk.ddns.net:81/index.php&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;http://svxportal-uk.ddns.net:81/index.php&quot; rel=&quot;ugc nofollow noopener&quot;&gt;http://svxportal-uk.ddns.net:81/index.php&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
(&lt;strong&gt;UPDATE&lt;/strong&gt; — &lt;em&gt;John Pumford-Green 03/06/22 09:05&lt;/em&gt;)
&lt;/p&gt;

&lt;p&gt;
I now realize that the DTMF problems were due to setting &lt;code&gt;de-emphasis&lt;/code&gt; &lt;code&gt;ON&lt;/code&gt; while &lt;em&gt;actually&lt;/em&gt; using the audio feed from the FT-8900 for &lt;code&gt;1200 packet&lt;/code&gt;, which already &lt;strong&gt;has&lt;/strong&gt; de-emphasis applied. So I was doing &lt;code&gt;double-de-emphasis&lt;/code&gt;. 
&lt;/p&gt;

&lt;p&gt;
No wonder the tones were being mangled.
&lt;/p&gt;

&lt;p&gt;
The &lt;del&gt;deleted&lt;/del&gt; section below shows what steps I took to restore the tone detection in this situation, but this isn&amp;#039;t &lt;em&gt;actually&lt;/em&gt; necessary if the &lt;em class=&quot;u&quot;&gt;correct&lt;/em&gt; audio feed is used. The quick-fix is to turn SVXLink&amp;#039;s &lt;code&gt;de-emphasis&lt;/code&gt; &lt;code&gt;OFF&lt;/code&gt; and restore the DTMF &lt;code&gt;twist&lt;/code&gt; to its normal value. The better fix will be to re-wire the interface to use the flat 9600 baud audio and restore SVXLink&amp;#039;s &lt;code&gt;de-emphasis&lt;/code&gt;.
&lt;/p&gt;

&lt;p&gt;
Set up audio levels &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:mb7azeconf&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:svxlink:mb7azeconf&quot; data-wiki-id=&quot;public:radio:topics:svxlink:mb7azeconf&quot;&gt;MB7AZE SvxLink Config&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;del&gt;
Some tweaks were necessary to get GM4SLV to work - DTMF detection was flaky on certain digits when RX &lt;code&gt;de-emphasis&lt;/code&gt; was enabled - which is necessary when using the &lt;code&gt;9600 packet&lt;/code&gt; flat-audio feed from the FT-8900. The issue seems to be the roll-off of the de-emphasis affecting the DTMF digits that use the widest spaced tone-pairs. There&amp;#039;s are configuration items that can fix the problem:

&lt;code&gt;DTMF_MAX_FWD_TWIST&lt;/code&gt; and &lt;code&gt;DTMF_MAX_REV_TWIST&lt;/code&gt; in the [Local Receiver] section.

I had to set &lt;code&gt;DTMF_MAX_FWD_TWIST&lt;/code&gt; to &lt;code&gt;15&lt;/code&gt; to fix the problem.
&lt;/del&gt;
&lt;/p&gt;

&lt;p&gt;
The &lt;code&gt;GM4SLV&lt;/code&gt; gateway now uses the FT-8900 via an unmodified CM108 sound dongle. 
&lt;/p&gt;

&lt;p&gt;
The PTT is from GPIO25 and SQL is from CTCSS.
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;ve swapped the Echolink service &lt;em&gt;from&lt;/em&gt; MB7AZE-L &lt;em&gt;to&lt;/em&gt; GM4SLV-L.
&lt;/p&gt;

&lt;p&gt;
For the next period of testing MB7AZE will be lower profile, and the FT-60 handheld &lt;em class=&quot;u&quot;&gt;&lt;em&gt;can not&lt;/em&gt;&lt;/em&gt; handle long periods of transmitting (e.g. when set on HUBNET or similar). 
&lt;/p&gt;

&lt;p&gt;
The start-up script that also sets up GPIO (for PTT):
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;CFG&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;etc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink.conf
&lt;span class=&quot;re2&quot;&gt;LOG&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;home&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink.log
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;killall&lt;/span&gt; svxlink
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;killall&lt;/span&gt; svxlink
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;killall&lt;/span&gt; svxlink
&amp;nbsp;
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;25&amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sys&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;class&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gpio&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;export&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sleep&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;out&amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sys&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;class&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gpio&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gpio25&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;direction
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; svxlink &lt;span class=&quot;re5&quot;&gt;--daemon&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--logfile&lt;/span&gt;=&lt;span class=&quot;re1&quot;&gt;$LOG&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--config&lt;/span&gt;=&lt;span class=&quot;re1&quot;&gt;$CFG&lt;/span&gt;
&lt;span class=&quot;kw3&quot;&gt;exit&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
&lt;code&gt;crontab&lt;/code&gt; to start it at &lt;code&gt;reboot&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;@reboot sleep 30 &amp;amp;&amp;amp; sudo -u gm4slv /home/gm4slv/svx_ref.sh &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/code&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;folder&quot; href=&quot;#folded_dcc18b4bf15b85fdd1823aec22a71c11_43&quot;&gt;Here is the current &amp;#039;&amp;#039;svxlink.conf&amp;#039;&amp;#039; for GM4SLV : &lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;folded hidden&quot; id=&quot;folded_dcc18b4bf15b85fdd1823aec22a71c11_43&quot;&gt;&lt;pre class=&quot;code bash&quot;&gt;&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;GLOBAL&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LOGICS&lt;/span&gt;=SimplexLogic,ReflectorLogic
&lt;span class=&quot;re2&quot;&gt;CFG_DIR&lt;/span&gt;=svxlink.d
&lt;span class=&quot;re2&quot;&gt;TIMESTAMP_FORMAT&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;%c&amp;quot;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CARD_SAMPLE_RATE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;48000&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LOCATION_INFO&lt;/span&gt;=LocationInfo
&lt;span class=&quot;re2&quot;&gt;LINKS&lt;/span&gt;=LinkToReflector
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;SimplexLogic&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Simplex
&lt;span class=&quot;re2&quot;&gt;RX&lt;/span&gt;=Rx1
&lt;span class=&quot;re2&quot;&gt;TX&lt;/span&gt;=Tx1
&lt;span class=&quot;re2&quot;&gt;MODULES&lt;/span&gt;=ModuleHelp,ModuleParrot,ModuleEchoLink	
&lt;span class=&quot;re2&quot;&gt;CALLSIGN&lt;/span&gt;=GM4SLV
&lt;span class=&quot;re2&quot;&gt;SHORT_IDENT_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SHORT_CW_ID_ENABLE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SHORT_VOICE_ID_ENABLE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CW_AMP&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CW_PITCH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CW_WPM&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LONG_IDENT_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LONG_VOICE_ID_ENABLE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LONG_CW_ID_ENABLE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;EVENT_HANDLER&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;share&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;events.tcl
&lt;span class=&quot;re2&quot;&gt;DEFAULT_LANG&lt;/span&gt;=en_GB
&lt;span class=&quot;re2&quot;&gt;RGR_SOUND_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TX_CTCSS&lt;/span&gt;=ALWAYS
&lt;span class=&quot;re2&quot;&gt;MACROS&lt;/span&gt;=Macros
&lt;span class=&quot;re2&quot;&gt;FX_GAIN_NORMAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;FX_GAIN_LOW&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;ONLINE_CMD&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;998877&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TIME_FORMAT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;RGR_SOUND_ALWAYS&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;RepeaterLogic&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;ReflectorLogic&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Reflector
&lt;span class=&quot;re2&quot;&gt;HOSTS&lt;/span&gt;=svxportal-uk.ddns.net
&lt;span class=&quot;re2&quot;&gt;HOST_PORT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;5300&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CALLSIGN&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;change this&amp;quot;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;AUTH_KEY&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;change this too&amp;quot;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;JITTER_BUFFER_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DEFAULT_LANG&lt;/span&gt;=en_GB
&lt;span class=&quot;re2&quot;&gt;DEFAULT_TG&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MONITOR_TGS&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;91&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;235&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2350&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2351&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;23561&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TG_SELECT_TIMEOUT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;ANNOUNCE_REMOTE_MIN_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;300&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MUTE_FIRST_TX_LOC&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MUTE_FIRST_TX_REM&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TMP_MONITOR_TIMEOUT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3600&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;EVENT_HANDLER&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;share&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;events.tcl
&lt;span class=&quot;re2&quot;&gt;NODE_INFO_FILE&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;etc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;node_info.json
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;LinkToReflector&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CONNECT_LOGICS&lt;/span&gt;=SimplexLogic:&lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt;:,ReflectorLogic
&lt;span class=&quot;re2&quot;&gt;DEFAULT_ACTIVE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;OPTIONS&lt;/span&gt;=DEFAULT_CONNECT,NO_DISCONNECT
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;QsoRecorder&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;REC_DIR&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;var&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;spool&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;qso_recorder
&lt;span class=&quot;re2&quot;&gt;MAX_TIME&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3600&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SOFT_TIME&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;300&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MAX_DIRSIZE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1024&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Voter&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;MultiTx&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;NetRx&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;NetTx&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Rx1&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Local
&lt;span class=&quot;re2&quot;&gt;AUDIO_DEV&lt;/span&gt;=alsa:plughw:&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;AUDIO_CHANNEL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SQL_DET&lt;/span&gt;=CTCSS
&lt;span class=&quot;re2&quot;&gt;SQL_START_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SQL_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SQL_HANGTIME&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;VOX_FILTER_DEPTH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;VOX_THRESH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1000&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CTCSS_FQ&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;77.0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;HID_DEVICE&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;hidraw0
&lt;span class=&quot;re2&quot;&gt;HID_SQL_PIN&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;VOL_DN
&lt;span class=&quot;re2&quot;&gt;SIGLEV_SLOPE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SIGLEV_OFFSET&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SIGLEV_OPEN_THRESH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;30&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;SIGLEV_CLOSE_THRESH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DEEMPHASIS&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;PREAMP&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0.0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_DEC_TYPE&lt;/span&gt;=INTERNAL
&lt;span class=&quot;re2&quot;&gt;DTMF_MUTING&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_HANGTIME&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;40&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_SERIAL&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;ttyS0
&lt;span class=&quot;co0&quot;&gt;#DTMF_MAX_FWD_TWIST=8&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#DTMF_MAX_REV_TWIST=4&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;WbRx1&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Tx1&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TYPE&lt;/span&gt;=Local
&lt;span class=&quot;re2&quot;&gt;AUDIO_DEV&lt;/span&gt;=alsa:plughw:&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;AUDIO_CHANNEL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;PTT_TYPE&lt;/span&gt;=GPIO
&lt;span class=&quot;re2&quot;&gt;PTT_PIN&lt;/span&gt;=gpio25
&lt;span class=&quot;re2&quot;&gt;HID_DEVICE&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;hidraw0
&lt;span class=&quot;re2&quot;&gt;HID_PTT_PIN&lt;/span&gt;=GPIO3
&lt;span class=&quot;re2&quot;&gt;PTT_HANGTIME&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TIMEOUT&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;300&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TX_DELAY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;500&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CTCSS_FQ&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;77.0&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;CTCSS_LEVEL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;PREEMPHASIS&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_TONE_LENGTH&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_TONE_SPACING&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DTMF_DIGIT_PWR&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;MASTER_GAIN&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;LocationInfo&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;APRS_SERVER_LIST&lt;/span&gt;=euro.aprs2.net:&lt;span class=&quot;nu0&quot;&gt;14580&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;STATUS_SERVER_LIST&lt;/span&gt;=aprs.echolink.org:&lt;span class=&quot;nu0&quot;&gt;5199&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;LON_POSITION&lt;/span&gt;=1.25.30W
&lt;span class=&quot;re2&quot;&gt;LAT_POSITION&lt;/span&gt;=60.17.18N
&lt;span class=&quot;re2&quot;&gt;CALLSIGN&lt;/span&gt;=EL-GM4SLV
&lt;span class=&quot;re2&quot;&gt;FREQUENCY&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;144.625&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TX_POWER&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;ANTENNA_GAIN&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;ANTENNA_HEIGHT&lt;/span&gt;=5m
&lt;span class=&quot;re2&quot;&gt;ANTENNA_DIR&lt;/span&gt;=-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;BEACON_INTERVAL&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;TONE&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;77&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;COMMENT&lt;/span&gt;=Connected to UK Svx Reflector
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;Macros&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;=EchoLink:&lt;span class=&quot;nu0&quot;&gt;9999&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;=EchoLink:&lt;span class=&quot;nu0&quot;&gt;973498&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;=EchoLink:&lt;span class=&quot;nu0&quot;&gt;662666&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;=:&lt;span class=&quot;nu0&quot;&gt;91235&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;=:&lt;span class=&quot;nu0&quot;&gt;9123561&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt;=:&lt;span class=&quot;nu0&quot;&gt;910&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;h4 id=&quot;overview_of_config&quot;&gt;overview of config&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
See &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:mb7azeconf&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:svxlink:mb7azeconf&quot; data-wiki-id=&quot;public:radio:topics:svxlink:mb7azeconf&quot;&gt;MB7AZE SvxLink Config&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Svxlink Update (Dual Gateway)&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;svxlink_update_dual_gateway&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-5286&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 02/06/22 19:56&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Page last updated: 04/06/26 20:58 BST
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:echolink&amp;amp;do=showtag&amp;amp;tag=echolink&quot; class=&quot;wikilink1&quot; title=&quot;tag:echolink&quot; rel=&quot;tag&quot;&gt;echolink&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:svxlink&amp;amp;do=showtag&amp;amp;tag=svxlink&quot; class=&quot;wikilink1&quot; title=&quot;tag:svxlink&quot; rel=&quot;tag&quot;&gt;svxlink&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;5287-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 19:58:40 +0000</pubDate>
        </item>
        <item>
            <title>Svx Mobile</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:svx_mobile</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:svxlink:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:svxlink:start&quot; data-wiki-id=&quot;public:radio:topics:svxlink:start&quot;&gt;SVXLink&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;svx_mobile&quot;&gt;Svx Mobile&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt;Plan…&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
To make a mobile hotspot that will provide access to SVXReflector and Echolink as well as a handy single-frequency parrot repeater.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Svx Mobile&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;svx_mobile&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-188&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;hardware&quot;&gt;Hardware&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Remains the same as the previous portable hotspot
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Raspberry Pi&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; CM108 soundcard&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; IC-2E&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; MiFi router &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
It will be installed in my vehicle, which also has a TM-D710 for APRS and voice comms. 
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;todo&quot;&gt;&lt;input type=&quot;checkbox&quot; class=&quot;todocheckbox&quot; data-index=&quot;0&quot; data-date=&quot;1780607017&quot; data-pageid=&quot;public:radio:topics:svxlink:svx_mobile&quot; data-strikethrough=&quot;1&quot; /&gt; &lt;span class=&quot;todotext clickabletodo todohlght&quot;&gt;&lt;span class=&quot;todoinnertext&quot;&gt;Add 5V regulator to power R.Pi from 12VDC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;todo&quot;&gt;&lt;input type=&quot;checkbox&quot; class=&quot;todocheckbox&quot; data-index=&quot;1&quot; data-date=&quot;1780607017&quot; data-pageid=&quot;public:radio:topics:svxlink:svx_mobile&quot; data-strikethrough=&quot;1&quot; /&gt; &lt;span class=&quot;todotext clickabletodo todohlght&quot;&gt;&lt;span class=&quot;todoinnertext&quot;&gt;Put everything in a grab-box for portability&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Hardware&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;hardware&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;189-538&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;svxlink_config&quot;&gt;SVXLink Config&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Echolink Module enabled (switchable via DTMF commands)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Echolink using a &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:jre_echolink&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:allstar:jre_echolink&quot; data-wiki-id=&quot;public:radio:topics:allstar:jre_echolink&quot;&gt;Java JRE and Echolink Proxy&lt;/a&gt; running on my VPS machine to enable incoming connections.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;SVXLink Config&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;svxlink_config&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;539-736&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;logictcl_additions_for_switching_el_on_off&quot;&gt;Logic.tcl additions for switching EL on/off&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Added to &lt;code&gt;&amp;lt;…&amp;gt;/events.d/local/Logic.tcl&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code tcl&quot;&gt;&lt;span class=&quot;co1&quot;&gt; # Example: Custom command executed when DTMF 97 is received&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$cmd&lt;/span&gt; == &lt;span class=&quot;st0&quot;&gt;&amp;quot;97&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Executing external command&amp;quot;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;online&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;exec&lt;/span&gt; /home/gm4slv/svx_ref_el.sh &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;
  # Example: Custom command executed when DTMF 98 is received&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$cmd&lt;/span&gt; == &lt;span class=&quot;st0&quot;&gt;&amp;quot;98&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Executing external command&amp;quot;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;online&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;exec&lt;/span&gt; /home/gm4slv/svx_ref_noel.sh &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;  # Example: Custom command executed when DTMF 99 is received&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$cmd&lt;/span&gt; == &lt;span class=&quot;st0&quot;&gt;&amp;quot;99&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Executing external command&amp;quot;&lt;/span&gt;
    playMsg &lt;span class=&quot;st0&quot;&gt;&amp;quot;Core&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;online&amp;quot;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;exec&lt;/span&gt; /home/gm4slv/svx_noref_el.sh &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
  &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; DTMF command &lt;code&gt;97#&lt;/code&gt; will cause svxlink to restart with &lt;strong&gt;Reflector&lt;/strong&gt; connected, &lt;strong&gt;Echolink&lt;/strong&gt; connected.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; DTMF command &lt;code&gt;98#&lt;/code&gt; will cause svxlink to restart with &lt;strong&gt;Reflector&lt;/strong&gt; connected, &lt;strong&gt;Echolink&lt;/strong&gt; disabled.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; DTMF command &lt;code&gt;99#&lt;/code&gt; will cause svxlink to restart with &lt;strong&gt;Reflector&lt;/strong&gt; disabled, &lt;strong&gt;Echolink&lt;/strong&gt; connected.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Logic.tcl additions for switching EL on\/off&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;logictcl_additions_for_switching_el_on_off&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;737-1802&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;start_with_reflector_on_and_echolink_on&quot;&gt;Start with Reflector ON and Echolink ON&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;code&gt;97#&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;CFG&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;etc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink_ref_el.conf
&lt;span class=&quot;re2&quot;&gt;LOG&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;home&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink.log
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;killall&lt;/span&gt; svxlink
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;killall&lt;/span&gt; svxlink
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;killall&lt;/span&gt; svxlink
&amp;nbsp;
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;25&amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sys&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;class&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gpio&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;export&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sleep&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;out&amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sys&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;class&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gpio&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gpio25&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;direction
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; svxlink &lt;span class=&quot;re5&quot;&gt;--daemon&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--logfile&lt;/span&gt;=&lt;span class=&quot;re1&quot;&gt;$LOG&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--config&lt;/span&gt;=&lt;span class=&quot;re1&quot;&gt;$CFG&lt;/span&gt;
&lt;span class=&quot;kw3&quot;&gt;exit&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Start with Reflector ON and Echolink ON&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;start_with_reflector_on_and_echolink_on&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1803-2190&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;start_with_reflector_on_echolink_disabled&quot;&gt;Start with Reflector ON, Echolink Disabled&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;code&gt;98#&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;CFG&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;etc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink_ref_noel.conf
&lt;span class=&quot;re2&quot;&gt;LOG&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;home&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink.log
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;killall&lt;/span&gt; svxlink
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;killall&lt;/span&gt; svxlink
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;killall&lt;/span&gt; svxlink
&amp;nbsp;
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;25&amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sys&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;class&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gpio&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;export&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sleep&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;out&amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sys&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;class&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gpio&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gpio25&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;direction
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; svxlink &lt;span class=&quot;re5&quot;&gt;--daemon&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--logfile&lt;/span&gt;=&lt;span class=&quot;re1&quot;&gt;$LOG&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--config&lt;/span&gt;=&lt;span class=&quot;re1&quot;&gt;$CFG&lt;/span&gt;
&lt;span class=&quot;kw3&quot;&gt;exit&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h4 id=&quot;start_with_reflector_disabled_echolink_on&quot;&gt;Start with Reflector disabled, Echolink ON&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;code&gt;99#&lt;/code&gt;
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;CFG&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;etc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink_noref_el.conf
&lt;span class=&quot;re2&quot;&gt;LOG&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;home&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;svxlink.log
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;killall&lt;/span&gt; svxlink
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;killall&lt;/span&gt; svxlink
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;killall&lt;/span&gt; svxlink
&amp;nbsp;
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;25&amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sys&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;class&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gpio&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;export&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sleep&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;out&amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sys&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;class&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gpio&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gpio25&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;direction
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;sudo&lt;/span&gt; svxlink &lt;span class=&quot;re5&quot;&gt;--daemon&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--logfile&lt;/span&gt;=&lt;span class=&quot;re1&quot;&gt;$LOG&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--config&lt;/span&gt;=&lt;span class=&quot;re1&quot;&gt;$CFG&lt;/span&gt;
&lt;span class=&quot;kw3&quot;&gt;exit&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
It&amp;#039;s probable that I&amp;#039;ll configure the initial start &lt;code&gt;@reboot&lt;/code&gt; to be &lt;em&gt;with&lt;/em&gt; Reflector &lt;strong&gt;and&lt;/strong&gt; Echolink  
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;crontab&lt;/code&gt;  →  &lt;code&gt;@reboot sleep 30 &amp;amp;&amp;amp; sudo -u gm4slv /home/gm4slv/svx_ref_el.sh &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
Using a PROXY server for connecting to Echolink, and be able to accept incoming Echolink connections, is necessary because it&amp;#039;s not possible to control external firewall/port forwarding when using the MiFi 4G router for internet access. 
&lt;/p&gt;

&lt;p&gt;
Connecting &lt;code&gt;direct&lt;/code&gt; to Echolink, without the &lt;code&gt;proxy&lt;/code&gt; still allows outgoing Echolink connections to be made
&lt;/p&gt;

&lt;p&gt;
Rather than relying on other &lt;code&gt;PUBLIC&lt;/code&gt; Echolink proxies I though it would be wise to install and run a proxy server myself, on the VPS machine. It turned out to be easier than I thought and the basic steps are &lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:allstar:jre_echolink&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:allstar:jre_echolink&quot; data-wiki-id=&quot;public:radio:topics:allstar:jre_echolink&quot;&gt; here&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Start with Reflector ON, Echolink Disabled&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;start_with_reflector_on_echolink_disabled&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;2191-3797&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit7&quot; id=&quot;parrot&quot;&gt;Parrot&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
I imagine being able to use the Parrot feature as a temporary single-frequency repeater perhaps for emergency use? 
&lt;/p&gt;

&lt;p&gt;
I&amp;#039;ll experiment….
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Parrot&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;parrot&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;3798-3957&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit8&quot; id=&quot;page_info&quot;&gt;Page Info&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 03/06/22 17:59&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Page last updated: 01/01/70 01:00 BST
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Page Info&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;page_info&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:4,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;3958-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 21:03:37 +0000</pubDate>
        </item>
        <item>
            <title>YaDDNet Data Backup</title>
            <link>https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:yaddnet:yaddnet_data_backup</link>
            <description>
&lt;p&gt;
←&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=public:radio:topics:yaddnet:start&quot; class=&quot;wikilink1&quot; title=&quot;public:radio:topics:yaddnet:start&quot; data-wiki-id=&quot;public:radio:topics:yaddnet:start&quot;&gt;YaDDNet&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;yaddnet_data_backup&quot;&gt;YaDDNet Data Backup&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt; Offsite Text file backups of all DSC messages &lt;/strong&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Alan Spindel initially suggested an offsite backup of the DSC messages in 2019&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; YaDDNet has had the facility to send copies of each new message out to specified IP addresses via UDP since that time&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; The DSC messages are sent by UDP as simple plain text, for easy archiving&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; The archived text file can be used if necessary to rebuild the SQL database table containing the DSC messages in case of disaster&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Since I&amp;#039;m now hosting YaDDNet again I decided I should run a UDP log receiver at home to improve the backup provision&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; The daily archive files will be &lt;code&gt;gzipped&lt;/code&gt; and stored on Dropbox&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; I could share the link to anyone who is interested in using the saved data&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;YaDDNet Data Backup&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;yaddnet_data_backup&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;17-795&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;yaddnet_udp_send_to_mirror&quot;&gt;YaDDNet UDP Send to Mirror&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; In the &lt;code&gt;PyYadd.py&lt;/code&gt; function a DSC message is created from the raw incoming data from YaDD (and DSC Decoder) in a standard format.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; This involves converting MMSI → Coast or Ship name, finding the &lt;code&gt;[MID]&lt;/code&gt; and corresponding country etc.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Prior to using the newly created message to inject new data into the SQL server &lt;code&gt;PyYadd.py&lt;/code&gt; calls the function &lt;code&gt;send_to_mirror()&lt;/code&gt; to send out the UDP packet to any configured IP addresses&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;PyYadd.py&lt;/code&gt; then inserts the new data in the SQL server &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Any addressed &amp;amp; listening UDP clients receive the UDP packets and append them to a log file&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code python&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; send_to_mirror&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;data&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    log_data &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;[log];&amp;quot;&lt;/span&gt;+data
    port &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2505&lt;/span&gt;
    host &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;aaa.bbb.ccc.ddd.eee&amp;quot;&lt;/span&gt;
    host2 &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;fff.ggg.hhh.iii&amp;quot;&lt;/span&gt;
    sock &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;.&lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;AF_INET&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;SOCK_DGRAM&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    sock.&lt;span class=&quot;me1&quot;&gt;sendto&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;log_data&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;host&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; port&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    sock.&lt;span class=&quot;me1&quot;&gt;sendto&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;log_data&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;host2&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; port&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;YaDDNet UDP Send to Mirror&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;yaddnet_udp_send_to_mirror&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;796-1747&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;backup_udp_receive_and_logrotate&quot;&gt;Backup UDP receive and logrotate&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Backup UDP receive and logrotate&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;backup_udp_receive_and_logrotate&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1748-1794&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;udp_listener&quot;&gt;UDP Listener&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code python&quot;&gt;&lt;span class=&quot;co1&quot;&gt;#!/usr/bin/env python&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;# udp_logger.py&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;#&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;SocketServer&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; ThreadedUDPRequestHandler&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;SocketServer&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;BaseRequestHandler&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; handle&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        data &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;request&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;strip&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw3&quot;&gt;socket&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;request&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
        &lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;write_file&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;data&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;def&lt;/span&gt; write_file&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
        filename &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;/home/gm4slv/yaddlogs/yaddnet_udp_log.txt&#039;&lt;/span&gt;
        f &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;filename&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&#039;a+&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        log &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; text
        f.&lt;span class=&quot;me1&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;log+&lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        f.&lt;span class=&quot;me1&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; ThreadedUDPServer&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;SocketServer&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;ThreadingMixIn&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;SocketServer&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;UDPServer&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;:
    &lt;span class=&quot;kw1&quot;&gt;pass&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; __name__ &lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;__main__&amp;quot;&lt;/span&gt;:
    HOST&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; PORT &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2505&lt;/span&gt;
    server &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; ThreadedUDPServer&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;HOST&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; PORT&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ThreadedUDPRequestHandler&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    ip&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; port &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; server.&lt;span class=&quot;me1&quot;&gt;server_address&lt;/span&gt;
    server.&lt;span class=&quot;me1&quot;&gt;serve_forever&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# Start a thread with the server -- &lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# that thread will then start one&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# more thread for each request&lt;/span&gt;
    server_thread &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;threading&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;Thread&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;target&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;server.&lt;span class=&quot;me1&quot;&gt;serve_forever&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;co1&quot;&gt;# Exit the server thread when the main thread terminates&lt;/span&gt;
    server_thread.&lt;span class=&quot;me1&quot;&gt;daemon&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;True&lt;/span&gt;
    server_thread.&lt;span class=&quot;me1&quot;&gt;start&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    server.&lt;span class=&quot;me1&quot;&gt;shutdown&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; The UDP Log Receiver listens to UDP/2505 for incoming packets from YaDDNet. These are of the form:&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code&quot;&gt;
[log];2024-04-19 08:43:06;NLD_MB_HF1;2187.5;SEL;002050480;COAST;205;Belgium;Ostende Radio;SAF;636092799;SHIP;636;Liberia;CISNES, D5HF4, Cargo;TEST;NOINF;--;--;REQ;OK
[log];2024-04-19 08:43:28;BDXC-Han-Remote;12577.0;SEL;002241022;COAST;224;Spain;Coruna Radio;SAF;538005991;SHIP;538;Marshall Islands;NAVIG8 VIOLETTE, V7IH3, Tanker;TEST;NOINF;--;--;REQ;OK&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; each new packet is appended to the running log file &lt;code&gt;/home/gm4slv/yaddlogs/yaddnet_udp_log.txt&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; the file will grow indefinitely if left to itself!&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;UDP Listener&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;udp_listener&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;1795-3580&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;logrotate&quot;&gt;Logrotate&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; run by Crontab every day at midnight&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; copies the current running log to a timestamped file&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; erases the contents of the running log file &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;gzips&lt;/code&gt; the timestamped copy and moves it to &lt;em&gt;Dropbox&lt;/em&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;## CRONTAB ENTRY&lt;/span&gt;
&amp;nbsp;
00 00 &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;home&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;bin&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;yaddlog_rotate.sh &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;null &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;# yaddlog_rotate.sh&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;DROPBOX&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;home&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Dropbox&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Yaddlogs&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;DIR&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;home&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;yaddlogs
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;INFILE&lt;/span&gt;=yaddnet_udp_log.txt
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;TIMESTAMP&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;`&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;date&lt;/span&gt; +&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;Y&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;m&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;d_&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;H&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;M&lt;span class=&quot;sy0&quot;&gt;`&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re2&quot;&gt;OUTFILE&lt;/span&gt;=&lt;span class=&quot;re1&quot;&gt;$TIMESTAMP&lt;/span&gt;\_&lt;span class=&quot;re1&quot;&gt;$INFILE&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;cp&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$DIR&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;re1&quot;&gt;$INFILE&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$DIR&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;re1&quot;&gt;$OUTFILE&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;cat&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;null &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$DIR&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;re1&quot;&gt;$INFILE&lt;/span&gt;
&amp;nbsp;
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;gzip&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$DIR&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;re1&quot;&gt;$OUTFILE&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;mv&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$DIR&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;re1&quot;&gt;$OUTFILE&lt;/span&gt;.gz &lt;span class=&quot;re1&quot;&gt;$DROPBOX&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; This creates a &lt;code&gt;gzipped&lt;/code&gt; log file in my Dropbox of each day&amp;#039;s new DSC messages&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h4 id=&quot;starting_the_udp_listener_at_boot-up&quot;&gt;Starting the UDP Listener at boot-up&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; crontab entry to start it as a background job at &lt;code&gt;@reboot&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;# CRONTAB ENTRY&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;sy0&quot;&gt;@&lt;/span&gt;reboot python &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;home&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gm4slv&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;bin&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;udp_logger.py &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
— &lt;em&gt;John Pumford-Green 19/04/24 09:31 BST&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
Last updated : 04/06/26 07:39 BST
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Logrotate&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;logrotate&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:3,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;3581-4601&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;further_information&quot;&gt;Further Information&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.yaddnet.org/index.php&quot; class=&quot;urlextern&quot; target=&quot;_BLANK&quot; title=&quot;https://www.yaddnet.org/index.php&quot; rel=&quot;ugc nofollow noopener&quot;&gt; YaDDNet&lt;/a&gt;
&lt;/p&gt;
&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:radio&amp;amp;do=showtag&amp;amp;tag=radio&quot; class=&quot;wikilink1&quot; title=&quot;tag:radio&quot; rel=&quot;tag&quot;&gt;radio&lt;/a&gt;,
	&lt;a href=&quot;https://www.g4slv.info/dokuwiki/doku.php?id=tag:yaddnet&amp;amp;do=showtag&amp;amp;tag=yaddnet&quot; class=&quot;wikilink1&quot; title=&quot;tag:yaddnet&quot; rel=&quot;tag&quot;&gt;yaddnet&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Further Information&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;further_information&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:6,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;4602-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 04 Jun 2026 06:39:56 +0000</pubDate>
        </item>
    </channel>
</rss>
