0% found this document useful (0 votes)
171 views

Pocketrxtx v2.1

This application allows users to remotely control ham radio receivers and transceivers from an Android device. It can connect to WebSDR servers over the internet or directly to a radio using Bluetooth, USB, or a network connection. Key features include tuning frequencies, saving and recalling memories, logging calls, and configuring different connection and radio settings.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
171 views

Pocketrxtx v2.1

This application allows users to remotely control ham radio receivers and transceivers from an Android device. It can connect to WebSDR servers over the internet or directly to a radio using Bluetooth, USB, or a network connection. Key features include tuning frequencies, saving and recalling memories, logging calls, and configuring different connection and radio settings.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 48

Pocket RxTx –Multimode Transceiver Control for Android

Version 2.1
Dan Toma - YO3GGX - [email protected]

I kindly ask you not to give a negative feedback in Play Store or Amazon AppStore before contacting me by
e-mail to clarify your issues with the application. I promise to answer you ASAP. Starting with version 0.8,
Pocket RxTx is available as a free application (Ads based) or as a Pro application, with no Ads and some
extra features.

Please install the free version first and check it if is useful for you and only if the answer is yes, buy the Pro
version.

Contents
Introduction ............................................................................................................................................................................ 3
Features .................................................................................................................................................................................. 3
Limitations............................................................................................................................................................................... 4
Starting the application........................................................................................................................................................... 5
Using the WebSDR client mode ............................................................................................................................................ 11
Selecting WebSDR server .................................................................................................................................................. 11
Operating in WebSDR client mode ................................................................................................................................... 13
Tuning using the Waterfall or Spectrum ........................................................................................................................... 15
Setting the bandwidth ...................................................................................................................................................... 17
Using direct CAT mode.......................................................................................................................................................... 18
Configuring direct CAT mode ............................................................................................................................................ 19
Bluetooth mode ............................................................................................................................................................ 19
USB ................................................................................................................................................................................ 21
Network ........................................................................................................................................................................ 22
CAT over Network ............................................................................................................................................................. 24
Sticky PTT ...................................................................................................................................................................... 25
Using the Memories .............................................................................................................................................................. 25
Saving to a Memory location ............................................................................................................................................ 26
Recalling a Memory location ............................................................................................................................................ 26
Clearing a Memory location .............................................................................................................................................. 26
Logging calls .......................................................................................................................................................................... 27
Transceiver configuration files .............................................................................................................................................. 32
Defining hardware buttons for CAT commands ................................................................................................................... 39

1
Changing the iCOM radio address ........................................................................................................................................ 41
Locking the interface............................................................................................................................................................. 41
Changing application font size .............................................................................................................................................. 41
Activating logging/debugging mode ..................................................................................................................................... 42
Application forum ................................................................................................................................................................. 42
Practical demonstration ........................................................................................................................................................ 42
Bibliography .......................................................................................................................................................................... 42
Application history ................................................................................................................................................................ 43
Version 0.3 (Feb 3rd , 2013). .............................................................................................................................................. 43
Version 0.4 (Feb 10th , 2013). ............................................................................................................................................ 43
Version 0.4.1-3 (Feb 17th , 2013). ..................................................................................................................................... 43
Version 0.5 (Feb 26th , 2013). ............................................................................................................................................ 43
Version 0.6 (Mar 12th , 2013). ........................................................................................................................................... 44
Version 0.6.4 (Jun 8th , 2013)............................................................................................................................................. 44
Version 0.7 (Aug 24th , 2014). ............................................................................................................................................ 45
Version 0.7.1-7 (Aug 29th , 2014)....................................................................................................................................... 45
Version 0.8 (Aug 9th , 2015). .............................................................................................................................................. 45
Version 2.0 (Feb 6th , 2018). .............................................................................................................................................. 46
Version 2.1 (Mar 4th , 2018). ............................................................................................................................................. 48

2
Introduction
This is an Android only application used to remotely control different HAM receivers of transceivers. You can connect
through Internet to a WebSDR server or through Bluetooth, USB/Serial or network to a HAM transceiver.

Features
Current version of the application has the following generic features:

• Works on any Android device, including smartphones, tablets and Google TV, with a minimum resolution of
320x240 and Android version 2.1 or higher. For USB support Android v3.1 or higher is required, or to have USB
host support installed for Android 2.3.x;
• Works in both portrait and landscape modes;
• Tuning through the rotary knob or by directly entering the frequency from a numeric keypad (in MHz);
• Up/Down buttons to change the frequency with a preset step (+ or -), which depends on the selected band;
• 16 presets (all currently available parameters are saved). For each of the 16 memories all parameters are saved
(frequency, alias, description, band, mode, etc.);
• ON/OFF button. When off, the application is disconnected from the server/transceiver;
• Select band from the pool of available ones
• Select operation mode (AM/ LSB/USB/CW/ etc.)
• Display SWR in both graphical and text mode
• Set font size according to your preferences
• A FN key to extend the number of memories to 16
• UTC clock included in the interface.
• Call logging with QRZ database query support

Specific functions direct CAT mode:

• Can connect to the transceiver over Bluetooth, USB/Serial or Network;


• Network connection can use secure authentication;
• Bi-directional audio support, so no need for external applications (like Skype);
• Radios support is based on text plugins and can be extended by the users. Support for the following transceivers
is already available in the central repository, accessible from the application GUI:
o Elecraft: K3, KX3;
o Icom: IC-703, IC-718, IC-746, IC-746Pro, IC-7000, ICR-7000, ICR-71E, IC-7200, IC-7300, IC-7400, IC-9100;
o Kachina: 505DSP;
o Kenwood: TH-F6/F7, TS-480, TS-480SAT, TS480hx, TS-570, TS-590, TS-870, TS-2000;
o TEN-TEC: Orion;
o Yaesu: FT-100, FT-817, FT-847, FT-857, FT-891, FT-897, FT-450, FT-950, FT-991, FT-1000MP, FTDX-3000,
FTDX-5000;
o Mini: SW-2012, SW-2012C.
• Control the following functions of the transceiver (extensible and customizable by the user): Mode, Band, VFO,
Output Power, PTT, ATU (ON/OFF), Tune, AGC, NR, NB, IPO, etc.
• User configurable radio feedback for several CAT commands.

3
Specific functions in SDR Receiver mode:

• Can connect to multiple WebSDR servers. New servers can be added in the future without requiring application
update;
• Control Mode (AM/USB/LSB/CW/FM), bandwidth (Normal/Narrow/Wide), Band;
• Display waterfall or spectrum per band;
• Waterfall/spectrum zoom up to 64x (for RTLSDR based servers);
• Slow speed AGC for Waterfall;
• Configurable automatic latency control (experimental);
• Mute button.
• Call logging support with QRZ database query (only in the Pro version)

Limitations
Current version of the application has the following limitations:

• A limited number of tests were performed by me. Application may have bugs, or can crash for apparent no
reason. With your help issues will be solved one by one and new features will be added;
• Encryption is used only for the initial authentication, then all the traffic is unencrypted, for both CAT and audio.

WARNING!!!
Use this application on your own risk. As in direct CAT mode your PC can be made accessible
from Internet (for CAT and audio), is your job to protect against attacks, possible by using
some kind of VPN (ex. PPTP), application providing only secure authentication, no data
encryption. Full encryption option will be added in the future. If you are not comfortable
with this and you are not using any kind of VPN, then use this only over your LAN.

More, even this application does not send any “dangerous” data to the transceiver, as the
protocol used by FT-8x7 for CAT does not use any error correction mechanism, it is possible
(in some extreme situations) to give you unexpected results, like a software crash on the
transceiver (requiring to power cycle it) or in a worst case scenario even a complete wipe of
all EEPROM data, including configuration, software calibration/alignment and memories. As
any CAT command is user customizable by just editing a text file, supplemental precaution
must be taken.

For this reason, please save your transceiver settings using for example “FT 817
Commander” (you can google for it) before using this application.

Please use any program you like (ex. FT817 commander) to save at least all “soft calibration”
settings, plus any other information stored in your radio before using this application.

4
I cannot be held responsible for any damage caused to your Android device, your transceiver
or your PC… You are warned! ☺

Starting the application


You can install the application directly from Google Play Store (search for “Pocket RxTx” or using the link from the top of
this document.

After you install the application, you will have a new icon like the following:

Press on the icon to launch the application.

If the application was newly installed or fully initialized with a long press on START button and then on ALL, at first start
you will be prompted to enter your callsign choose the default mode: Direct CAT or WebSDR.

The callsign will be further used for the call logging and to be identified on the connected WebSDR server when this
mode is used. You will get the following startup page (for Landscape and Portrait modes) at first run (WebSDR client
mode):

5
NOTE: In the Notification dropdown list you can see a small orange icon, which will be present if the application is
started, even if is running in the background. If you press that notification, you will force the application to go in
foreground.

The behavior can be different for different Android versions. On newer versions (>=5), you will be able to force closing
the application by pressing on the notification.

If you start the application in WebSDR client mode or change to that mode from direct CAT mode, the application starts
to save locally the list of the available servers and each server configuration (bands, version, picture, logo, etc.). During
this period (a few seconds), the START button name change to WAIT. At the end of the process a list of unavailable
servers will be displayed shortly and the button name goes back to START.

You can change the mode from the startup page at any time by touching one of the two orange hands.

When you switch in the second mode (named Direct CAT) for the first time after the installation of after a full reset of
the application, you will be prompted to download the configuration file for your specific radio from the central online
repository.

You need to select and download minimum one radio configuration before going further. Use the left wheel to select
radio brand and second wheel to select model. Third wheel is used to select between several configurations for the
same radio, if available.

6
Any user is welcome to publish his own configuration in the central repository, in order to share it with other users of
the same transceiver. You just have to send your configuration file to me by e-mail. For each configuration you can see
some comments (ex. changes), the name and callsign of the person who created that configuration and the date/time of
the files. After you select the desired configuration file press on LOAD in order to save it locally. You will be prompted to
save or cancel.

Last used mode (WebSDR client or Direct CAT) is saved when you exit the application, so at next start will enter directly
in that mode. At the next start in Direct CAT mode the startup page will show up your previously loaded radio.

NOTE: You can load as many radio configurations you need, even all available, but only one version for each radio.

To exit the application, click on the system back icon. You will get a message prompt.

Click on YES if you want to exit or on NO to return to the startup page.

7
If at any time you want to revert to the default configuration just long press on START button. Depending on your
current mode, you will have several options. In SDR mode you have the option to reset everything (ALL) or to reload the
list of the WebSDR servers (RELOAD) from the master server and check availability. In the first situation the application is
initialized and automatically restarted.

If ALL button is pressed, the full application configuration folder will be removed from the Internal Storage and you will
be prompted with the following message:

You need to restart the application after pressing OK button.

In direct CAT mode, long pressing on START button allows you to reinitialize application (as in the previous mode) or to
reload embedded radio configuration files in the application folder.

Later about this in the dedicated chapter of the user manual.

8
The blue button is mode sensitive. In WebSDR client is named “HELP” and is used to access the application online help
(through a short press). In Direct CAT mode is named “Hlp/Cfg”and is used to access the application online help (short
press) or radio configuration page (long press), which looks like below.

Pressing on LOAD you go to the page allowing you to load radio configurations, described above (see here).
Pressing on EDIT you can edit the text configuration file directly on your device, for example if you want to make some
changes to the default file). You will be prompted to select the text editor you want to use to edit the file.
I recommend you to download Total Commander, available for free in Google Play Store. If you have multiple text
editors installed, you will be asked to select one

Press on your preferred text editor and then on “Always” or “Just once”, as you wish. The configuration file will be open
in that editor and you can make changes.

When ready, save your changes and exit the editor. You will return to the Pocket RxTx startup page.

9
Press on START button to go to the application main screen.

When in WebSDR client mode, you need to wait for the list of servers to be loaded from the central repository, together
with the configuration of each online and available server which will be stored locally. During this period, the orange
button will display “WAIT…” and all the WebSDR servers from the list will be parsed for configurations (callsign is
displayed in red for a short period of time in the central part of the screen, if that server is unavailable at that moment in
time.

Unavailable servers will no further appear in the list. At the end you will be able to see the number of available servers
from the total number of servers registered with Pocket RxTx.

10
Using the WebSDR client mode
When you start the main screen, the receiver is “powered off”, so the display will look like in the following pictures for
both Landscape and portrait mode.

The logo of the currently selected WebSDR server is represented by a small icon in the first of the 3 orange boxes in the
left part of the screen.

Selecting WebSDR server


You can select the WebSDR to which the application will connect. For this purpose, click on the WebSDR server logo in
the left part of the screen, or on the yellow cogwheel.
NOTE: You can select the WebSDR server from the startup page too, by long pressing on the server picture.
When you enter WebSDR client setup for the first time, you will be asked to enter your own callsign (if not entered at
first run of the application), which will appear on that WebSDR server web page. If you are not a HAM, please use your
name/alias. You will get the following screen.

You can enter a string no shorter than 3 chars and no longer than 8 chars and then press OK. You will not be asked
anymore till you will decide to reset the application.
11
If at any time later you want to change your callsign/name, you just have to long press on the server owner callsign in
the selection page and you will be prompted again.

You can select the SDR server you want to connect to using the wheel. For each server you get a picture, a small logo
and info regarding the available bands/frequencies, the server owner callsign and server locator.
You can click on the big picture to get more info about that server or on the “WebSDR software….”. Click on green label
in the lower right corner of the screen to get more info about WebSDR software.
The wheel contains a locally stored list of servers which are available at that moment. All the data about a specific server
is loaded from the local cache prepared during application startup. New server can be added in the future without the
need to update the application.
To activate the selected server, click on SET button. To return to the previous server click on CANCEL button.

12
Operating in WebSDR client mode
To start reception long press on the blue power button. The screen will change like in the following pictures.

The screen contains the following components (for Landscape mode):


• “WebSDR” mode displayed in the top left corner;
• WebSDR server callsign (YO3GGX);
• WebSDR server location (KN34bk);
• A big light green display for the tuning frequency;
• Currently selected HAM band (or NoHAM if outside official HAM bands);
• S-meter level. Numerical value for S is displayed on top;
• 8 memory buttons used to store all the settings (Freq, mode, info, etc.) - extended to 16 memories through the
green FN (function) button;
• A wheel used to select operation mode (LSB/USB/CW/AM/FM). Any change will be send to the server in real-
time;
• A wheel used to change the bandwidth (Normal/Narrow/Wide);
• + and – buttons to increase/decrease frequency with a step depending on the current HAM band. By keeping
one of these button pressed, you will enter a “Repeat” mode for faster change;
• A rotary knob which can be used for tuning, like the one available on a real transceiver. When slow rotating, the
step is 10Hz, when fast rotating is higher;
• An ON/OFF button used to turn ON or OFF the connection to the WebSDR server. When OFF, the display will be
completely dimmed and buttons locked;
• A Function (FN) button to switch between the two groups of memories (M1-M8 and M8-M16) and to further
select the second function for the 5 option buttons (not used in WebSDR client mode);
• A gray slider on top of the frequency display used to activate the Waterfall or Spectrum mode;
13
• A gray button named SP/WF, used to select between big frequency digits/Waterfall/Spectrum (3 possible states)
• A gray button named “LTCY”, used to choose the latency compensation mode. It can be “OFF” – no
compensation, “SLOW” – slow compensation, “FAST” – aggressive compensation. If you encounter dropouts in
the sound or a very high latency, try one of the active modes (SLOW or FAST);
• A gray button named “NTCH”, used to activate the notch filter;
• A gray button named “ZOOM”, used to zoon into the Waterfall or Spectrum;
• An orange box in the bottom of the screen used to display customized info (if available);
• A BAND button used to change the band. When you press on this button, only the available bands for the
currently selected server are displayed. You can select any the available HAM by just pressing on the
corresponding button.

• You can directly enter the frequency you want. For this purpose, long press on the frequency display to activate
the numeric keypad.

14
The rotary knob will be replaced by the keypad and the big blue button will change to “SET”, as in the following images
(both landscape and portrait modes):

After you enter the desired frequency click on the big “SET” button in the lower right part of the screen. The button name
will be grayed out.
If you select a WebSDR server, in the main page when radio is on, the distance from you to that WebSDR server is
displayed. This may help if you want to check your Tx performance.
NOTE: This is only possible if you entered the Callsign and registered to www.qrz.com.

Tuning using the Waterfall or Spectrum


To access the Waterfall, drag the gray slider down, over the frequency display, or press on the SP/WF button. The
frequency display will be covered by the waterfall.

15
Current frequency will be displayed now on the bottom info box. Use the “SP/WF” button to switch between Waterfall,
Spectrum and OFF.

When Spectrum is displayed, if you long press on “SP/WF” button, you can select to display only the peak for the
spectrum graph.

Current tuning frequency will be represented by a vertical yellow marker and the bandwidth with a semitransparent
green strip (showing current bandwidth). Current frequency scale is displayed on top of the waterfall/spectrum,

You can directly touch the waterfall/spectrum or drag the yellow marker to tune to a specific frequency. A fine tuning
can then be done using the knob.

You can zoom into the firewall using the ZOOM button from the lower part of the screen. Clicking on it you will increase
the zoom level, as follows: 1x -> 2x -> 4x -> 8x …. Depending on the available bandwidth of a specific HAM band, you can
have a maximum zoom between 2x and 64x. As an example, for a 192 KHz bandwidth you will have a maximum zoom of

16
8x, for 96 KHz a maximum of 4x and for a 2MHz bandwidth a maximum zoom of 64x. The frequency scale will change
accordingly. Zoom feature can be very useful if you tune for example in a CW zone, where the bandwidth is very small,
like in the following picture. Long pressing ZOOM button will automatically reset the zoom to 1x.

You can decrease the zoom to a lower one by touching the waterfall with 3 fingers in the same time.

When in waterfall mode, press on SPEED button to select the desired speed for the firewall (FAST, NORMAL or SLOW).
Current mode is displayed above the corresponding button.

Setting the bandwidth


You have 3 presets for the bandwidth in WebSDR client mode, depending on the current modulation type, as follows:

AM:
Narrow: +/- 2.5 KHz
Narrow2: +/- 2 KHz
Normal: +/- 3 KHz
Wide: +/- 3.5 KHz
SSB:
Narrow: 0.2 – 2 KHz
Narrow2: 0.2 – 1.5 KHz
Normal: 0.3 – 2.7 KHz
Wide: 0.2 – 3.5 KHz
CW:
Narrow: 0.72 – 0.78 KHz
Narrow2: 0.73 – 0.77 KHz
Normal: 0.6 – 0.9 KHz
Wide: 0.55 – 0.95 KHz
FM:
Narrow: +/- 5 KHz
Narrow2: +/- 3 KHz
Normal: +/- 8 KHz
Wide: +/- 25 KHz

Current bandwidth is displayed in the top left corner of the waterfall, as in the following picture:

17
By default, the received sound pass through the smartphone/tablet speaker. If a corded or a stereo handsfree/headset is
used, then you will hear the sound through the headphones.

Sometimes you may want to use a cheap Bluetooth mono headset (with no media A2DP profile). If you want to be able
to use the radio sound through that Bluetooth headset, then you need to long press on the “Speaker” button in the left
of the knob. The icon on the button will change from speaker to headset.

NOTE: Please be aware that there is another volume slider for this audio output (Phone).

An experimental automatic latency control is used in the current version. The meaning of this is to provide lower latency
for old devices and when the Internet connection quality is not optimal.

The status of this is represented by the UTC clock background, as follows:

- Blue – buffer underrun


- Green – low latency
- Yellow – medium latency
- Orange – high latency
- Red – very high latency

Using direct CAT mode

In the startup page you need to select the right transceiver type and the connection mode (Bluetooth, USB/Serial or
Network). According with the selected mode, the display will look like in the following images.

Please keep in mind the colors: blue for Bluetooth, magenta for USB/Serial and green for network. Some icons will be
displayed over the transceiver image. First one represent the connection mode, second audio status and third (only in
network mode) the authentication setting (no authentication or secure authentication). After the selection was done,
press START button.
The main screen will look like in the following images (both landscape and portrait mode).

18
Possible icons are represented in the following table.

Network
1st icon
Connection USB/Serial
mode
Bluetooth

Audio ON
2nd icon
Audio Status
Audio Off

Secure Authentication ON
3rd icon
Authentication
Secure Authentication OFF

Configuring direct CAT mode


For each connection mode (Bluetooth, USB or Network), a different setup page will be displayed.

NOTE: Starting with version 0.9.0-16 you can enter setup page only when radio is off.

Bluetooth mode
When you try to press the round blue power button for the first time in Bluetooth mode, a search for Bluetooth devices
will start. At the end a list with the available Bluetooth devices will be displayed.

19
You can select your radio Bluetooth interface, to search again, or to go to Offline mode. In Offline mode you can just
play with the interface, nothing more. Click on the name of your radio Bluetooth interface to connect to it.

If connected successfully, the virtual blue led around the power button will be on.

In this mode you don’t have to configure anything. If a previous connection was successful, then this one is stored in the
configuration file and in the setup page you can see the name and the MAC address of the Bluetooth interface you were
connected to.

NOTE: You can reset Bluetooth connection (in order for example to connect to another transceiver) by a long click on
the Bluetooth button in the startup page.

In the lower part of the screen, you can see 5 buttons used for specific configurations. The 5 buttons are present in each
connection mode setup and are visible only in the Pro version of the application:

20
1. ANIMATIONS – used to activate/deactivate interface animations. When activated, button background goes
green.
2. NOTIFIC – used to activate/deactivate application notification. When notification is activated and application is
running (even in the background), a small orange icon will be visible in the task bar. When the application is
started a small device vibration will show you that the notification is active.
3. NOSTDBY – used to enable/ disable automatic standby of your device. When active, the device will never go to
sleep and the display will be always on. Please take into consideration that this will drain your battery much
faster, so is better to use it only when the device is connected to an external power source.
4. TBD – to be defined. The buttons are reserved for a future version of the application.

To go back to the radio screen, press the back button of your device.

USB
If you select USB mode, you will be prompted to select the application to be run. Select pRxTx or pRxTx+, depending on
the version installed on your device and then press “Always” (if you want the app to automatically start when you
connect your USB CAT interface, or “Just once” if you want to do it manually each time.

Then press orange START button, then long press the blue power button to connect. A magenta virtual led around the
power button will go on to show that you are connected.

When you try to enter setup for this mode, using the cog wheel or pressing the USB icon, you will get the following
screen:

21
NOTE: To use this mode you need Android 3.1 or higher with embedded USB host support. If not available then you can
connect only over Bluetooth or network. In the current version of the application the USB CAT interfaces based on the
following USB/Serial chips are supported:

FTDI FT230XS UART VID: 0x0403 PID: 0x6015


FTDI FT232R UART VID: 0x0403 PID: 0x6001
RT Systems CT29B VID: 0x2100 PID: 0x9E54
RT Systems USB-62 VID: 0x2100 PID: 0x9E56
Arduino VID: 0x2341 PID: xxxxxx
Teensyduino VID: 0x16C0 PID: 0x0483
Atmel VID: 0x03eb PID: xxxxxx
CP210x UART Bridge VID: 0x10C4 PID: 0xEA60
Prolific PL2303 VID: 0x067b PID: 0x2303
CH340 VID: 0x1A86 PID: 0x7523

Some info about the USB CAT interface is displayed. In the current version of the application you can select only the
Baudrate, the same set in the radio CAT menu. When ready press SET button to save the configuration and return to the
radio panel.

NOTE: Only PTT over CAT is supported when connected over USB.

Network
When Network mode is selected, enter the setup screen to configure all the required parameters:

• Host name – fully qualified domain name of your router (if connected over the Internet) or the IP address of the
PC/Mac/RaspberryPI running jAReC java application (check my site for free download) or the WTI-1 interface. If
22
you connect over Internet, you need to configure port forwarding for the CAT port and for the audio port. Check
your router documentation to learn how to configure port forwarding.
• CAT port – TCP port configured in jAReC for CAT
• Audio port – this is for jAReC mode the same one as for CAT, but on UDP.
• Network Mode - 3 network modes are available:
- jAReC
- RigExpert WTI-1 (CAT only for the moment, no audio)
- Droid ARC (an Android version of jAReC, not yet available (under development)
• Security - Press the yellow padlock to toggle authentication ON/OFF. You can enter the secret only when the
authentication is activated. The secret is mandatory if authentication is activated.
• Audio - Press the round blue speaker to toggle audio ON/OFF. In RigExpert WTI-1 mode, you can adjust audio
level only if audio is activated (not yet available). If audio is activated, a thin meter will be displayed under the
frequency display in the main app window. This meter will show you, when connected, the mic level from your
tablet/smartphone.

• Baudrate and PTT port – parameters available only in WTI-1 mode

NOTE: At first run all the fields are empty.

In the Pro version you can select from a list of possible previously successful connections. For this long press in the area
of the label “Remote socket(s)”. A new window will be displayed to let you select one of the available connections.

Select the desired configuration using the wheel. Press on REMOVE to remove that configuration of on SELECT to load all
the parameters for the selected configuration.

23
When ready press SET button to save the parameters in the configuration file. If you want to discard the changes, press
CANCEL to return without saving the parameters.

Follow the instructions from the application user guide for the PC side configuration. The guide for the current version of
jAReC application can be found here:

https://www.yo3ggx.ro/jAReC/doc20/jAReC_v2.0.pdf

NOTE: As a general rule, use jAReC application with the same version number (in this case 2.0) as Pocket RxTx
application. New versions of Pocket RxTx may require new versions of jAReC. Even no changes will occur in jAReC, the
version number will be updated to be in sync with the one of Pocket RxTx.

CAT over Network


CAT operation of the transceiver is identical for all 3 connection modes. The only difference is the way you initiate each
mode. You need to connect your transceiver to a PC over the network (Windows, Linux or Mac) and run jAReC (see
chapter named “Configuring direct CAT mode” for more details). When the background of the PC application goes
yellow, is ready to receive network connections.
In the startup page press NETWORK button which will go green. Select your transceiver from the list and press START.
In the next screen powered on the transceiver by a long press on the round blue button. If POWER_ON CAT command is
available, the transceiver will be powered on automatically.

You can control frequency, mode, output power, Band, VFO (A/B), Noise Blanker, PTT and any other parameter which
are supported through CAT commands.

All 5 option buttons are user configurable by just editing radio configuration file. You can practically define as many sets
of 5 option buttons as you want, by just editing the configuration file. The green Fn button will show you the current set
from the total number of sets. In the picture above, I have 4 sets (20 possible CAT settings). You can switch between the
sets with a press on Fn button. For each set of option buttons, you have a set of memory buttons too, so in this case you
can have 4x8=32 memories.

NOTE: To keep compatibility with older configuration files, if no specific parameter is defined for the number of sets,
then you can define only two sets (16 memories and 10 option buttons).

Any command available through CAT for your specific transceiver can be programmed on any option button. Option
buttons can be used to go through an unlimited number of commands, one by one, based on the previous state. Current
state is displayed in the corresponding option label.
24
Long pressing an option button behaves differently based on how many states are defined for each button short press:

1. No command defined for short press – you cannot define a command for long press. An unused option button is
available, so there is no reason to use it only for long press.
2. One or two commands defined for short press – the command defined for button long press is executed. The
label associated with that command is displayed as a message. You can use this for example on a button which
by short press activate/deactivate the internal ATU and a long press will initiate the tuning, displaying a short
message “Tuning…” (similar with the operation from the transceiver keyboard). Check the configuration file for
Yaesu FT-450 for an example)
3. 3 or more commands defined for short press – then a long press will go back to the previous state. Even a
command is defined for a long press, this will never be executed. In the right side of the knob there is a button
used to activate/deactivate radio feedback. Press on that button to activate/deactivate the feedback from the
radio. The button icon will change accordingly.

By default, at first start, radio feedback is deactivated. Status is then kept in the configuration file.

When feedback is active, a yellow dot will blink in the upper left part of the UTC clock area. It will act as a heartbeat.

Another yellow dot is visible in the upper right part of the UTC clock area. This is used to display the heartbeat, a special
packet sent by the application to jAReC (or WTI-1 interface) at each 8s. If the heartbeat signal is not received, the
connection will close.

Radio feedback is user configurable through the same text configuration files. See the chapter dedicated to the radio
configuration file for more details about how to edit it to cover your own needs.

Sticky PTT
There is a feature implemented for the PTT button. If you press on PTT button, the transceiver will go in Tx mode till you
release it, like on a normal transceiver. If you press and slide your finger vertically over the PTT button, the PTT will enter
sticky mode. The transceiver will remain in Tx till you press the button again or if a timeout defined in jAReC occurs. This
sticky mode can be useful when you need to talk and to have the hands free.

Using the Memories


You have two sets of memories (M1-M8 and M9-M16) for each available WebSDR server and a user configurable
number of sets for direct CAT mode.

25
Saving to a Memory location
Each memory location saves the state of all defined option buttons (if more than one state), of the two wheels and the
frequency. To save a specific memory configure the transceiver for all the parameters and then long click on one of the
memories button (ex. M1).
The screen will change; a big entry field will be available together with the standard keyboard.

Enter the memory name (max. 6 chars) you want to appear on the button for that specific frequency and a description
(length not limited), separated by ‘,’ symbol and then press OK. Data is saved to memory button 1. Description is not
mandatory and can be omitted.

Recalling a Memory location


To recall a memory location, you just have to click on the corresponding button. All the settings saved for that location
will be restored and the option buttons status synchronized with the saved values.

Clearing a Memory location


To clear a memory location, you have to long click on the corresponding button and when asked to enter name and alias
just delete everything and press OK. The memory button will be renamed to the original Mx.

26
Logging calls
Starting with version 2.1 you have the possibility to log calls directly on your device.

NOTE: This feature is available in the free version of the application only in the WebSDR client mode.

When in radio screen and radio off, long press on the UTC clock area. You will be prompted to enter your qrz.com
credentials. This is further used to query QRZ database for callsign information.

Enter username and password in a single line, separated by ‘/’ character and then press SET (‘mycallsign/mypassword’).
This step is required only if you want that callsign info to be automatically downloaded from the QRZ database.

When radio is on, long press in the UTC clock area to start logging for the current call. An overlay frame will be displayed
allowing you to enter basic information for the call. The UTC clock background will go green, to show you that you are in
call logging mode.

The call start time is set now. Enter the callsign of the corresponding party and press NEXT. If you previously entered
QRZ credentials, all available data for that callsign is saved locally. In the GUI Name, Locator, QTH and Country fields are
automatically filled-in.

27
If a picture of your correspondent is available, this will be displayed in the upper left corner of the screen.

You can toggle between small and large picture by just clicking on it.

If the picture for that person is not available in his QRZ entry, a generic picture will be displayed.

You need to manually fill some fields: RST Rec (communicated by the correspondent), RST Sent (the one you sent to the
correspondent) and a comment (optional). If you want to operate the radio during the call, click shortly in the UTC time
area to toggle the call log entry form on/off. The UTC time background color will remain green during this time, to show
you that you are in call logging mode.

If you encountered a network error when the automatic query was started, you can manually force a new query by
pressing “QUERY” button. The only required field for this is the callsign.

28
If you entered QRZ logins and enough location information is available for both you and your correspondent
(coordinates or locators), then the distance to the corresponding station is displayed in the info bar.

Now you have some other options. You can save the call information in the local call log by pressing SAVE button. The
information for the current call will be appended to the existing log file. If no local call log file available, a new one will
be automatically created, in ADIF format, with standard header information. A short message will be displayed showing
that the info was saved. The end call time is set now. Time used is UTC time. You can have maximum one local log file at
any moment. Multiple files are not supported. The standard format for the call log file name is the following:

logbookyyyyMMddhhmmss.adi where:

yyyy – year

MM – month (01-12)

dd – day (01-31)

hh – hour (in 24h format)

mm – minute (0-60)

ss – second (0-60)

when the call log file was created (UTC time).

You can export locally stored call log file by e-mail by just pressing “EMAIL” button. The default e-mail application on
your device will be automatically opened and some fields populated: ‘To:’ (your e-mail address if available in your own
QRZ record), subject ‘Pocket RxTx ADIF Call Log logbookyyyyMMddhhmmss.adi’, message body ‘This is a Pocket RxTx
ADIF Call Log created on mm/dd/yyyy hh:mm:ss’. The log file is automatically attached.

You can edit any e-mail field before clicking on send.

29
After you transfer the log file by e-mail, you have the possibility to remove locally stored log file by clicking on “DEL”
button. You will be prompted if you really want to delete the log file.

If you want to cancel call logging for the current call, you can long press on the UTC clock to cancel it. A short message
will be displayed showing that call logging mode was canceled.

The call log file is stored locally in the application external folder ‘/Internal Storage/prxtx’, so can be copied
directly if required.

The created ADIF file is based on the specifications for the version 3.0.8 from here:

http://www.adif.org/308/ADIF_308.htm

Only the following fields are added to the log if available (from QRZ database or from a local entry in the call log form):

ADDRESS - contacted station's complete mailing address


AGE - contacted station's operator's age in years in the range 0 to 120 (inclusive)
BAND - QSO Band
CALL - contacted station's Callsign
COMMENT - comment field for QSO
COUNTRY - contacted station's DXCC entity name
CQZ - contacted station's CQ Zone in the range 1 to 40 (inclusive)
DISTANCE - the distance between the logging station and the contacted station in kilometers. This is calculated in the
application based on latitude and longitude (if available) or on maidenhead grid squares.
DXCC - contacted station's DXCC Entity Code
EMAIL - contacted station's email address

30
FREQ - QSO frequency in Megahertz
GRIDSQUARE - contacted station's 2-character, 4-character, 6-character, or 8-character Maidenhead Grid Square
IOTA - contacted station's IOTA designator
ITUZ - contacted station's ITU zone in the range 1 to 90 (inclusive)
LAT - contacted station's latitude
LON - contacted station's longitude
MODE – QSO Mode
MY_CITY – my station’s city
MY_COUNTRY – my station's DXCC entity name
MY_CQ_ZONE – my station's CQ Zone in the range 1 to 40 (inclusive)
MY_DXCC – my station's DXCC Entity Code
MY_GRIDSQUARE – my station's 2-character, 4-character, 6-character, or 8-character Maidenhead Grid Square
MY_IOTA – my station's IOTA designator
MY_ITU_ZONE - my station's ITU zone in the range 1 to 90 (inclusive)
MY_LAT – my station's latitude
MY_LON – my station's longitude
MY_NAME – my name
MY_POSTAL_CODE – my station's postal code
NAME - contacted station's operator's name
QTH - contacted station's city
TIME_OFF - HHMM or HHMMSS in UTC
TIME_ON - HHMM or HHMMSS in UTC
TX_PWR – my station's power in Watts
WEB - contacted station's URL
To build all ADIF record fields, the following data is extracted from the QRZ database, for both my station and for the
contacted station (as described in https://www.qrz.com/XML/current_spec.html):
call - callsign
dxcc - DXCC entity ID (country code) for the callsign
fname - first name
name - last name
addr1 - address line 1 (i.e. house # and street)
addr2 - address line 2 (i.e, city name)
zip - Zip/postal code
country - country name for the QSL mailing address
lat - lattitude of address (signed decimal) S < 0 > N
lon - longitude of address (signed decimal) W < 0 > E
grid - grid locator
email - email address
url - web page address
image - full URL of the callsign's primary image, used just to display the picture in the Pocket RxTx GUI, not stored
cqzone - CQ Zone identifier
ituzone - ITU Zone identifier
born - operator's year of birth
iota - IOTA Designator (blank if unknown)
31
Transceiver configuration files
For each transceiver available in direct CAT mode two files are required:

• A configuration file with the filename < brand>_<model>.radio (ex. yaesu_ft450.radio)


• A 480x320 JPG image representing the radio, with the filename <model>.jpg (ex. ft450.jpg)

All filenames are lowercase.

NOTE: Starting with version 0.8 you can edit the transceiver configuration files in two ways: using a text editor on a PC
connected to your Android Device or directly on your device. For the last option, in the startup page select your
transceiver and long press on HELP blue button. The configuration file will be open in the default text editor. Press on
Android BACK button to return to Pocket RxTx.

Both files are located in a subfolder named “Radios” of the main application folder named “prxtx”. This is located in the
root of the internal device SD card (not external, even if that one exist). This is how the folder structure looks on a
Samsung Galaxy Tab 7.7 with Android 4.2.2.

To edit radio configuration file use a simple text editor, not Word/Notepad or any other “high level” editor as this can
add unexpected chars in the file which can make the application behaves unexpectedly. The file is based on the
following general structure for each line: <parameter>=<values>.

NOTE: Anywhere in the file you can enter comments by starting the line with the “;” char.

The radio configuration file has the following structure (explanation with the example of the Elecraft K3 configuration
file):

1. The header – general info about the radio.

Brand=Yaesu
Model=FT817
Pic=ft817.jpg
sigRadios=$1gR@d10s

; Number of sets for the option button and memories (require prxtx >= 0.9.0-13).
For the older versions defaults to 2.

SETS=4

Brand – the brand of the transceiver;


Model – the model of the transceiver;
Pic – the filename of the radio image file (480x320 jpeg);

32
sigRadios – a special signature used to recognize this as a radio configuration file. This must be the same for all
radios.
SETS – the number of option buttons/memories sets. Ex: if this value is 5, you have 5x5=25 options buttons and
5x8=40 memories.

2. Radio frequency range, frequency steps and available HAM bands

; Frequency coverage(sections separated by ',')


FRANGE=490000-30000000,44000000-54000000

; Frequency step per frequency range, in KHz, freq range in Hz


; format: FSTEP=<brute_step>/<fine_step>=<freq_int_min>-<freq_int_min>, ...
; brute - for +/-, fine for knob tunning
FSTEP=1/0.1=100000-87499999,100/5=87500000-107999999,5/0.1=108000000-
136999999,25/5=137000000-137995000,12.5/6.25=138000000-173999999,25/25=174000000-
215999999,12.5/6.25=216000000-224999999,12.5/6.25=225000000-
469999999,25/12.5=470000000-1300000000

; List of available Bands


BANDS=160m,80m,60m,40m,30m,20m,17m,15m,12m,11m,10m,6m
BANDSA=
BANDSB=

FRANGE – some radios does not have a continuous frequency coverage. You can add here all frequency segments
(defined by <start_freq_Hz>-<end_freq_Hz). Segments are separated by “,” char. You can add as many segments you
want. Do not use <CR> or <LF> control chars inside the line, even if the line is very long.

FSTEP – here you can define the frequency steps (fine – when tuning by the knob, or brute – when tuning by Up/Down
buttons). The steps can be defined separately for as many frequency segments you want, but you must take care that
the full radio frequency range is covered, otherwise internal default values are used for the undefined segments

BANDS – list of transceiver available HAM bands, when is the same for both VFOs. This will determine which bands you
can select when you press BAND button in the main app interface.

BANDSA, BANDSB – For some transceivers (like Kenwood TH-F6/7) available bands are different for each VFO. In this
situation you need to use separate values for each VFO, using the following parameters:

BANDSA=

BANDSB=

NOTE: Only BANDS or (BANDA and BAND) must be filled in.

3. First wheel (default is Mode) content:

LST1NAME=MODE
LST1ITEMS=LSB,USB,AM,FM,CW,DATA,CW-REV,DAT-REV
LST1CMDS=CMD_SET_MODE_LSB,CMD_SET_MODE_USB,CMD_SET_MODE_AM,CMD_SET_MODE_FM,CMD_SE
T_MODE_CW,CMD_SET_MODE_DATA,CMD_SET_MODE_CW-REV,CMD_SET_DAT-REV

33
LST1NAME – the name which will appear on top of the first wheel (MODE wheel);
LST1ITEMS – the list of the available operation modes, separated by the “,” char;
LST1CMDS – list of the commands, separated by the “,” char, to set the modes from the previous list. You must take
care to respect the same position in the enumeration;

4. Second wheel (default is Output Power) content:

LST2NAME=PWR
LST2ITEMS=1W,5W,10W,25W,50W,100W
LST2CMDS=CCMD_SET_PWR_1W,CMD_SET_PWR_5W,CMD_SET_PWR_10W,CMD_SET_PWR_25W,CMD_SET_P
WR_50W,CMD_SET_PWR_100W

LST2NAME – the name which will appear on top of the second wheel (POWER wheel);
LST2ITEMS – the list of the output power values to appear in the list;
LST2CMDS – the list of the commands, separated by the “,” char, to set the corresponding power levels from the
previous list. You must take care to respect the same position in the enumeration;

5. Option buttons configuration (with Fn key pressed and with Fn key released) for click action

BTN_OPT1_NOFN=VFO,CMD_SET_VFO-A=VFO-A,CMD_SET_VFO-B=SPLIT
BTN_OPT2_NOFN=NB,CMD_SET_NB_OFF=OFF,CMD_SET_NB_ON=ON
BTN_OPT3_NOFN=
BTN_OPT4_NOFN=R-ATT,CMD_SET_ATT_OFF=OFF,CMD_SET_ATT_ON=ON
BTN_OPT5_NOFN=AGC,CMD_SET_AGC_OFF=OFF,CMD_SET_AGC_SLOW=SLOW,CMD_SET_AGC_FAST=FAST
,CMD_SET_AGC_AUTO=AUTO
BTN_OPT1_FN=
BTN_OPT2_FN=
BTN_OPT3_FN=
BTN_OPT4_FN=
BTN_OPT5_FN=

For each button (OPT1 to OPT5, with or without FN pressed) the structure of the line is the following:

<btn_name>_<Fn_status>=<btn_caption>,<cmd1>=<option_display_for_cmd1>,<cmd2>=<opt
ion_display_for_cmd2>,<cmd3>=<option_display_for_cmd3>,<cmd4>=<option_display_for
_cmd4>…

Each button, in both normal and with Fn mode can have 2 or multiple states.

You can have as many commands as you want in the list for each button, but minimum is 2, as you need to have
minimum two states (ex ON/OFF). In the example above, ATT (attenuator) button has two states: ON/OFF. The AGC
(auto gain control) has 4 states OFF/SLOW/FAST/AUTO. The status following each command execution is displayed on
top of the corresponding option button.

6. Option buttons configuration (with Fn key pressed and with Fn key released) for long click action

34
BTN_LONG_OPT1_NOFN=
BTN_LONG_OPT2_NOFN=
BTN_LONG_OPT3_NOFN=
BTN_LONG_OPT4_NOFN=
BTN_LONG_OPT5_NOFN=
BTN_LONG_OPT1_FN=
BTN_LONG_OPT2_FN=
BTN_LONG_OPT3_FN=
BTN_LONG_OPT4_FN=
BTN_LONG_OPT5_FN= TUNE,CMD_SET_ATU_TUNE=[Tuning...]

The syntax is the same as for the click action. For both click and long click actions you can have a special syntax for a
single action button (in the example above BTN_LONG_OPT5_FN is used to launch a TUNE command on a FT-450
transceiver. The syntax is a little bit different. Instead of ‘…=<option_display_for_cmd4>’ the fomat is
‘…=[<toast_message>]‘. The text included between ‘[..]’ is the text to appear for a short period as an overlay, not
in the option button label above.

7. Defining CAT commands for specific hardware keys (KEY_DOWN and KEY_UP events)

KEY1CODE=25
KEY1_DOWN=CMD_SET_PTT_ON
KEY1_UP=CMD_SET_PTT_OFF

KEY2CODE=
KEY2_DOWN=
KEY2_UP=

KEY3CODE=
KEY3_DOWN=
KEY3_UP=

You can define up to 3 hardware buttons to execute specific CAT commands for the two possible events. By default the
first key definition is used for PTT and can be configured from the application interface. See here for more details.
To find the Keycode you can use the GUI to define the PTT key. For each even you can define a CAT command using
standard format.

8. The list of the available SET commands. These commands are used to set different parameters in the radio and
the name always must start with “CMD_SET_...”.

As new features will be added to the application, this section will be extended. The general format of each line from this
section is the following:

<cmd >=<byte1>,<byte2>,<byte3>…..

The bytes are effectively transmitted over CAT only after the full command is rebuilt inside the application. Exception is
when one of the bytes represent the special ‘pause’ byte (see below).

Now, the byte can be represented in several ways.


35
• by his hexadecimal representation (2 hex chars): ex. : 13,A2,FF,9D
• by a non hexa (direct) representation. In this case the full byte is included between ‘<…>’. First character after
‘<’ reprezents the type of data which follows, and can be:

<S…> – String – followed by one to an unlimited number of chars. Each character represent the byte to be transmitted;
Example (Elecraft K3):
CMD_SET_MODE_LSB=<SMD1;>
This command will send the following string: ‘MD1;’

<Cx> – Char digit. This is used to transmit frequency values and is followed by a number (x) which can be 0 – Hz, 1 – tens
of Hz, 2 – hundred of Hz, …., 8 – hundred of MHz, 9 – GHz;
Example (Elecraft K3):
CMD_SET_FREQ_VFO-A=<SFA>,<C7>,<C6>,<C5>,<C4>,<C3>,<C2>,<C1>,<C0>,<S;>
If the frequency is 14.120MHz this command will send the following string: ‘FA14120000S;’

<Dxy> – BCD digit. This is used to transmit frequency values and is followed by 2 numbers (x and y from 0 to 9), same
as above, as two digits are packed for each byte;
Example (Yaesu FT817):
CMD_SET_FREQ=<D87>,<D65>,<D43>,<D21>,01
If the frequency is 145.225MHz this command will send the following bytes sequence (represented as hex
values): 14,52,25,00,01

<P> – Pause. This is a special identifier and is followed by 4 digits representing the pause time in milliseconds. If this
special ‘byte’ is encountered, all the previous bytes are sent and then wait for the defined number of milliseconds and
then build the next part of the command.
Example:
<P1000>
This will send previous bytes sequence from the command, insert a 1s pause and then go further for the next
sequence(s) of bytes (which follows in the same line).

<WEaaaa;bbbbbbbb;cccccccc> – This command is used only for FT8x7 transceivers to write specific EEPROM
memory location (some basic commands are undocumented and available only through direct EEPROM writing ).
Enter EEPROM location aaaa (as a 4 digits hex value), first byte (bbbbbbbb) and second byte (cccccccc) as binary
values. Use only ‘0’, ‘1’ or ‘x’ for each individual bit value, (x) meaning to keep the old value unchanged.
Example:
CMD_SET_PWR_1.0W=<WE0079;xxxxxx10;xxxxxxxx>
This command will set bit 0 of memory location 0079 to 0 bit 1 to 1 and will keep unchanged the rest of the bits
for the same memory location and for the next one (007A). The Write EEPROM command has two steps. In the first one
previous values for the two successive EEPROM addresses are read and then only desired bits are changed and the
updated values goes back to the EEPROM.

WARNING: It can be very dangerous to modify EEPROM locations. If you have


not saved all the transceiver configuration before using this application is better

36
not to use it with an FT8x7 transceiver. Although I took a reasonable number of
precautions in the code, use this feature at your own risk!

9. Custom scripts to be run remotely

In the Pro version you can associate any option button with a remote script to be executed on the system where jAReC
runs. You can define up to 98 scripts (from ‘02’ to ’99). The format of the command is as in the following example:

BTN_OPT3_FN3=CMD,Command15=RUN
BTN_OPT4_FN3=NOTPD,Command02=RUN
Where “CMD” or “NOTPD” is the text to appear on the corresponding button, “RUN” is the text to appear on the label
above the option button. When that button is pressed, the associated command is executed remotely. Check jAReC user
guide to learn how to set the other end.

10. Radio feedback section

To get radio feedback, several read commands must be defined. The command name must always start with
“CMD_READ_...”. A timer is used to execute read commands at a specific interval, which is dependent on the
available CAT Baudrate.

The syntax is different than the one used for SET commands and is much more complex:

CMD_READ_...=<priority>,<when to read>,<command - variable


length>,<separator>,<nr_of_expected_bytes>,<rec_byte_1>,...,<rec byte_n>

Like for the SET commands, there are several bytes separated by “,”

<priority> - byte to define when the command is executed. Currently possible values are: 01 – at each read timer
tick, 02 – at each 4th read timer click. Use 02 for parameters which are not faster updated, like MODE.

<when to read> - byte defining if the parameter must be read during RX only (01), during TX only (02) or during
both RX and TX (00)

<command - variable length> - this is the command to be send to read that specific parameter and can have
a variable bytes length. The same syntax as for the SET commands is used. There is one more specific command
available for this, which applies to Yaesu FT8x7 transceivers only: Read EEPROM value. The syntax of this command is
the following:

<REaaaa> - Read EEPROM value from the address aaaa (as a 4 digit hex value).
This command returns 2 bytes, the value at address aaaa and at the next address (aaaa+1)

<separator> - as the command length is variable, wee need to know when the command definition is ended. We
use ‘<R>’ char sequence as separator.

<nr_of_expected_bytes> - number of data bytes expected to be received for the read command. This a 2 digit
hex number.

37
<rec_byte_x> - the way received byte number x is to be interpreted. The rule used here includes the definition for
the SEND commands bytes, plus:

<00> - byte not containing useful data – to be discarded


<value_received=how_to_set_the_parameter> -

value_received can be represented as a 2 digits hex or a 8 digit binary value. When a binary value is used,
possible values for each bit are ‘0’, ‘1’, ’v’ or ’x’. ‘v’ is used when a value span over multiple bits. You can have between
0 and 8 v’s in each binary represented bytes, but they must be contiguous. For example a succession of 4 v’s means that
the value to be read is between 0000 and 1111 (from 0 to 15 decimal). ‘x’ means bit to be discarded. If several
possible values are to be interpreted, separate them with ‘;’

To better understand how to use this, here are some examples from the Yaesu FT817 configuration file:

CMD_READ_SMETER=01,01,00,00,00,00,E7,<R>,01,<xxxx0000=S0;xxxx0001=S1;xxxx0010=S2;
xxxx0011=S3;xxxx0100=S4;xxxx0101=S5;xxxx0110=S6;xxxx0111=S7;xxxx1000=S8;xxxx1001=
S9;xxxx1010=S9+10dB;xxxx1011=S9+20dB;xxxx1100=S9+30dB;xxxx1101=S9+40dB;xxxx1110=S
9+50dB;xxxx1111=S9+60dB>
This command will send at each read timer click (priority = 01), during RX only (when_to_read = 01) the
following byte sequence: ‘00,00,00,00,E7’ and wait to receive one byte (nr_of_expected_bytes=01). The
received byte is then interpreted as follow. Bit 7 to bit 4 are discarded (x) and for the rest (bit 3 to 0), depending
on the specific values, set the S-meter accordingly: for 0000 set it to S0, for 0001 set it to S1, …. , for 1111 set it to
S9+60dB.

CMD_READ_PTT=04,00,00,00,00,00,F7,<R>,01,<0xxxxxxx=ON;1xxxxxxx=OFF>
This command will send at each 4th read timer tick (priority = 04), during both RX and TX (when_to_read =
01), the following byte sequence: ‘00,00,00,00,F7’ and wait to receive 1 byte (nr_of_expected_bytes=01).
If bit 7 of the received byte is 0 then interpret this as PTT is active (ON). If is 1, interpret this as PTT is not active (OFF).

CMD_READ_PWR=01,02,00,00,00,00,BD,<R>,02,<vvvvxxxx>,<xxxxxxxx>
This command will send at each read timer tick (priority = 01), during TX only (when_to_read = 02), the
following byte sequence: ‘00,00,00,00,BD’ and wait to receive 2 bytes (nr_of_expected_bytes=02). Keep
only bits 7 to 4 from the first byte and compose a 4 bit numeric value (0 to 15 decimal). A numeric value is used normally
to read one of the following parameters: S-meter, output power, SWR, ALC or MOD. In order to display useful values
(standard S-level, power in W, standard SWR or percentage for ALC and MOD), some calibration parameters must be
used. In some situations (ex S-meter for FT817) each S value correspond with a fixed received numeric value. Then the
calibration data must be omitted (empty parameter)

Available calibration settings are: CALIB_SMETER, CALIB_PWR, CALIB_SWR, CALIB_ALC and CALIB_MOD.
The syntax for each calibration setting is the following:
‘xx=valxx’ – xx – received 2 digit hex value, valxx - parameter value corresponding to that received value.
You can specify multiple points, useful when the value variation is not linear. For the intermediary values, linear
interpolation is used to calculate that parameter real value. If latest value is not the highest possible value, any values
greater than that one will be represented with “>”. This usually happen only for SWR parameter (ex. SWR > 10).

38
NOTE: If a parameter read definition contains ‘v’, then a calibration setting is mandatory). You can use Debug/Logging
mode (see here) to read radio response to read meters commands in order to help you define calibration parameters for
your specific radio.

You can define the list of commands you want to use in order to get feedback from the radio, using POLLING
parameter, ex:
POLLING=CMD_READ_FREQ&MODE,CMD_READ_PTT,CMD_READ_VFO,CMD_READ_SMETER,CMD_READ_SWR
,CMD_READ_PWR,CMD_READ_ALC,CMD_READ_MOD

It is recommended not to use too many parameters as this will slow down the feedback.
Currently only the following feedback commands are implemented:
CMD_READ_FREQ&MODE (FT8x7 only)
CMD_READ_FREQ (not applicable to FT8x7)
CMD_READ_MODE (not applicable to FT8x7)
CMD_READ_PTT
CMD_READ_VFO
CMD_READ_SMETER
CMD_READ_PWR
CMD_READ_ALC
CMD_READ_SWR
CMD_READ_MOD

11. Startup commands – a list of commands to be sent after transceiver power up.
This is a list of commands, separated by ‘,’ using ‘STARTUP’ as name
Example:
STARTUP=CMD_SET_LOCK_OFF

There was a special startup command with no definition: CMD_SET_PARAMS_FROM_INTERFACE which becomes
obsolete starting with version 0.9.0-16. Now the last status of the radio is stored in the memory 0 and is automatically
loaded at next restart.

Some commands are sent automatically when long pressing round blue power button inside the application:
CMD_SET_POWER_ON and CMD_SET_POWER_OFF, if available.

NOTE: Not using feedback does not seems to generate lost sync, even at higher speeds, but make all the controls very
responsive (ex. the tuning wheel).

Defining hardware buttons for CAT commands


You can define up to 3 hardware keys on your device with commands for the KEY_DOWN and KEY_UP commands.
For the PTT command, you can do this from the GUI. For this long press on the green Fn button when in Direct CAT
mode and radio off. You will be prompted to press the key you want to be used as PTT.

39
On standard Android devices, you can use any key except the STANDBY/ON one. Usually you can have VOL UP, VOL
DOWN and (sometimes) CAMERA SHUTTER. Press the desired button (ex. VOL DOWN). The code of that key will be
displayed and you have the option to set, clear or cancel.

To define the other two optional hardware buttons, you need to edit the radio configuration file (see the chapter about
the configuration file for more details).

40
Changing the iCOM radio address
If you want to change the radio address for an iCOM radio, in the startup page, short press on the info box in the right
part of the screen. You will be prompted to enter/modify the address.

Locking the interface


You can lock the interface of the application and the one of the transceiver (if CMD_SET_LOCK_ON and
CMD_SET_LOCK_OFF CAT commands are defined). For this you need to long press on the green Fn button when radio is
on.
The button caption will change to “LOCKED”.

Long press the button again to unlock it.

Changing application font size


Under normal circumstances, the font size is automatically set by the application at first start.
For some Android devices is possible that application fonts to be too big or too small (based on the system settings), or
you just want to adapt it to your own preferences. For this purpose, when in main radio screen and radio is OFF, long
press on the frequency display. You will get the following screen:

41
To change font size, slide the finger vertically over the semi-transparent area. The new value for the font size will be
shortly displayed.

For better visibility select the biggest font does not generate overlapping. When ready, slide the finger horizontally over
the same area to exit this mode and return to the standard radio screen. The new font size will be automatically saved in
the application configuration file. When you further run the application, the new font size will be used.

Activating logging/debugging mode


If you long press on the BAND button when the radio is off, you can toggle debugging/logging mode. This can be useful
for application debugging or to help you define meters calibration parameters in the radio configuration file.
Debug mode is automatically disabled when you power off the radio or exit the application.
When in Debug mode, a yellow label “Debug” will be displayed and the info will be available in the orange info box in
the lower part of the screen.

Application forum
There is a dedicated forum for this application on my web site here:

http://www.yo3ggx.ro/forum/viewforum.php?f=15

Please join it to discuss any details about Pocket RxTx. This will further help other interested users.

Practical demonstration
A video presenting all application features is available on YouTube. Please check my web page for the link.

Please subscribe to my channel (Dan Toma) to be automatically informed when a new video will be available.

Bibliography
The KA7OEI FT-817 pages - http://www.ka7oei.com/ft817_meow.html
Icom CI-V protocol - http://www.plicht.de/ekki/civ/civ-p0a.html
Kenwood PC control protocol - http://www.kenwood.com/i/products/info/amateur/ts_480/pdf/ts_480_pc.pdf
FT-450 CAT operation reference book - http://yaesu.com/downloadFile.cfm?FileID=2600&FileCatID=158&FileName=FT-
450_CAT_Operation_Reference_Book.pdf&FileContentType=application%2Fpdf
Elecraft K3 and KX3 Programmer’s reference - http://www.elecraft.com/manual/K3&KX3%20Pgmrs%20Ref,%20E11.pdf
42
Application history
Version 0.3 (Feb 3rd , 2013).
First release of the application in the current form.

Version 0.4 (Feb 10th , 2013).


What’s new/changed:
- waterfall and spectrum added in SDR mode;
- connection/power status LED replaced with a circular light around power button;
- to toggle ON/OFF you have now to long press on Power button ;
- mute button added;
- waterfall/spectrum zoom (x1, x2, x4, x8);
- you can now select the language for the online user manual or HELP menu;
- exit menu added;
- default font size is auto scaled based on device type/config;
- other small cosmetic changes (ex. info frame background changed to Black, rounded buttons, gray background
for help, etc.).

Version 0.4.1-3 (Feb 17th , 2013).


What’s new/changed:
- feedback for PTT and S-Meter added in HRD mode
- support extended to more functions/transceivers (see the table)

Bugs solved:
- cannot change mode because of feedback from transceiver
- in HRD mode the power is not read correctly at startup
- if Off and then On does not connect anymore to HRD (need to restart app)
- do not keep mode and bandwidth settings when rotating in SDR mode
- sound dropouts in SDR mode

Version 0.5 (Feb 26th , 2013).


What’s new/changed:
- USB CAT support in FT8x7 mode (Only FTDI and CP2102 based USB-Serial adapters are supported for the
moment);
- ask to activate Bluetooth if disabled at application startup;
- added support for : FT-840, IC-718, IC-746pro in HRD mode;
- symbol added on the main screen to display current mode (HRD, SDR, Bluetooth, USB);
- better handling memory load/save/edit;
- optimize feedback (Freq, mode, PTT, S) in HRD mode;
- better handling MODE/PWR/BW wheels updates;
- real power read for FT817 at startup or band change (not only 5W/0.5W);
- Max Power no more on the display as it is represented by the wheel;
- Max power saved for each memory location;
- other small bug fixes;
- small cosmetic changes;

43
Bugs solved:
- no graphical representation for S level;
- the power is not set correctly for some transceivers (ex. IC-7200);
- memory edit field overwritten by the frequency digits in portrait mode;
- when starting in SDR mode the BW wheel does not correctly represent current BW
- last freq/mode/BW not saved in SDR mode if exit;

Version 0.6 (Mar 12th , 2013).


What’s new/changed:
- multi WebSDR servers support;
- slow AGC for waterfall (better contrast without fast changes);
- High/Low quality mode for Waterfall/Spectrum;
- use camera hardware button (if available) as PTT;
- added support for IC-7000 in HRD mode;
- when you manually edit the frequency the display is cleared at first key press;

Bugs solved:
- USB symbol remains when starting in FT8x7 mode even if USB is not activated;
- incorrect UTC time if time zone is negative;
- PTT does not work for TS-2000;
- crash if no USB host support available on the smartphone/tablet with os version 2.3.x;
- bands not saved/recalled when changing memories;

Version 0.6.4 (Jun 8th , 2013).


What’s new/changed:
- fully redesigned SDR routines to allow playback on low performance Android devices too (ex. WM8650);
- save/load config and/or memories to a file;
- automatically load memories and last frequency per WebSDR server, if a file exist with the server callsign name;
- memories are now separate per operation mode (SDR/HRD/FT8x7) and saved to external files, not internally;
- second location for servers master data, for redundancy;
- display bandwidth in SDR mode;
- better handling of waterfall AGC;
- automatically set the default font size independent on the device type/model (font size no more dependent on
system font size settings);
- easier procedure to set font size if the default one is not acceptable;
- toast message to long press on Power in order to start;
- Waterfall AGC active only when no zoom.
- Up/DOWN steps are now aligned at first press (useful when changing channels in VHF/UHF bands) .

Bugs solved:
- 11m Band button does not work;
- cannot access 2m and 70cm bands in HRD mode (IC-7000).

44
Version 0.7 (Aug 24th , 2014).
What’s new/changed:
- fully redesigned application engine;
- slightly redesigned graphical interface;
- all WebSDR servers info is cached in the application at startup for faster switching;
- all servers availability is checked at startup and if no available then that server is automatically removed from
the list;
- HRD mode was removed;
- a new mode – direct CAT was added, which is based on text plugins. These allows users to add support for new
transceivers without the need for an application upgrade;
- transceivers supported in this version in direct CAT mode (for some of them just basic commands are included in
the configuration file):
o Kenwood (not tested): TS-480, TS-870, TS-2000
o Icom (not tested): IC-718, IC746, IC-7000, IC-7200
o Yaesu: FT-817, FT-857, FT-897, FT-450
o Elecraft (not tested): K3, KX3

Version 0.7.1-7 (Aug 29th , 2014).


What’s new/changed from 0.7:
- add debug log
- you can now enter radio address for Icom transceivers
- new type included in the radio config file: '<A>' - for Icom radios, enter the radio address
- add embedded support for IC-7400
- updated config file for Icom transceivers
- do not automatically enter in SETUP if in Bluetooth or USB/Serial mode
- version 9 servers (like I1YRB) are supported again
- radio pictures no more visible in Android Gallery

Bug fixes:
- an error at application startup in v0.7 (package not found)
- if manually enter the frequency and after that use the wheel, there is a frequency jump back
- Java error if changing back from SDR mode to CAT after entering WebSDR mode.
- S-meter in WebSDR mode stops if changing orientation;
- PTT button wrongly activated in WebSDR client mode when changing orientation or manually entering
frequency;
- invalid waterfall for some WebSDR servers
- crash when changing between some of the WebSDR servers
- some glitches in the graphical interface

Version 0.8 (Aug 9th , 2015).


What’s new/changed from 0.7.1-7:
- a paid version of the application (with no ads) is now available
- implementation of a new CAT engine supporting customizable radio feedback
- several new parameters in the config file (check the full list in the radio configuration file section here)
- user customizable radio status feedback, speed of feedback based on available CAT Baudrate
- embedded support added for the new transceivers (new tags available in the radio configuration file):
45
o Kenwood TH-F6/F7, TS-480, TS-590
o Yaesu FTDX5000
o Icom IC-R71e, IC-R7000
- sticky PTT option in direct CAT mode
- sound server using raw 48000bps data to provide support for external applications with stream reconnection.
Used TCP port is user configurable
- you can now toggle audio output between media and voice, allowing you to use a cheap Bluetooth headset
(without A2DP support) to listen to the radio
- change Encryption to Security, as full encryption is still not functional
- messages when changing security mode
- new config file parameter '<VFO>" to better handle VFO selection based commands
- no more Ad block warning
- configurable frequency step (brute and fine) per frequency interval, as a new parameter in the radio
configuration file
- better handling for Bluetooth device discovery and connection
- reset Bluetooth with a long press on "Bluetooth" button
- display the correct band based only on tuned frequency, from 3Hz up to 3GHz
- application menu was removed, all the menu features available now directly in the interface
- a dual function Help button available in the startup page (open online help or edit radio configuration file)
- launch default text editor for the configuration file directly from the application startup page with a long press
on Help button
- long press on BAND button when off to toggle logging (debug mode), display meter calibration data in RDS label
- in WebSDR mode can now be used any names for the bands.
- set application font size directly from the main application window GUI (no more a menu item)
- lower audio latency in WebSDR client mode
- cleaner spectrum in WebSDR client mode (using some averaging)

Bug fixes:
- java error “Java.io error FileNotFoundException” when starting the application
- when entering Setup in direct CAT mode all text entries are cleared.
- connection status circular LED goes blue when returning from standby even if connection is over network or
USB.
- wrong circular LED color when switching back from standby or from setup mode
- authenticated mode not saved between app restarts
- AndroidManifest.xml error at application startup.
- secure authentication does not work on some 4.x.x devices
- Java error when changing orientation and then selecting another WebSDR server.
- when switching between WebSDR client and Direct CAT modes after application start, connection mode (button
color) and radio/model selection is lost

Version 2.0 (Feb 6th , 2018).


NOTE: Starting with this version, some of the features will be available only in the Pro version

What’s new/changed from 0.8:


- remove the 20 servers limit for WebSDR client mode. As of Jan 2018, 35 WebSDR servers registered
- changed operation mode for sticky PTT (swipe the finger vertically over the button for sticky PTT)
- accept variable length answers for iCOM radios (as the termination is always $FD)
- redesigned meters for better visibility
- for each radio the CAT protocol document is now stored locally (if PDF) or loaded from a Web page if URL
- the waterfall can now be activated from an option button
- new engine to load WebSDR servers info
46
- WebSDR servers list sorted. Fastest servers are now on top.
- click on the server image in the startup page (WebSDR mode) to enter WebSDR client setup
- supports now PTT over CAT, RTS or DTR (same or different COM port than the one for CAT)
- PTT user defined timeout (in seconds)
- separate configuration pages for each direct CAT mode (USB/NET/Bluetooth)
- you can no more change the app mode with “sliding finger", but only using touches on the orange hands
- notification when the application is running (even in the background) with an icon in the task bar. This feature is
enabled by default, but can be disabled in the Pro version
- you can now add unlimited number of option buttons and memories sets (5 option buttons and 8 memory
buttons per set)
- USB mode updated to support many more devices (including RT Systems USB CAT cables) and to display device
details
- when reinitialize all, delete the prxtx folder too
- check version and inform user about available updates (one time at 10 servers load)
- possibility to edit/modify radio address for iCOM transceivers at a later time.
- animated controlls (activated by default in the free version, or configurable in the Pro version)
- up to 3 user configurable hardware keys (ex. PTT), for KEY_DOWN and KEY_UP events
- long click on server picture in the startup page when in SDR mode open the setup page
- you can now set any CAT commands for the two wheels too (not only Mode and Power)
- CMD_SET_PARAMS_FROM_INTERFACE parameter is no more used. Restore last status is now active by default
(stored in memory location 0)
- lock interface command works on both Pocket RxTx panel and radio, if command defined in the radio
configuration file
- in each memory all the parameters from the option buttons are saved (except the ones with a single state), so
you can now memorize potentially any parameter and reload them at next connection to the radio
- separate virtual LEDs for radio feedback and heartbeat
- currently loaded radio configuration file version name displayed in the startup page
- separate SQL (squelch) button definition added for each Fn button status
- audio over UDP, using the same port as the one for CAT
- disable back key when radio on
- fast/normal/slow waterfall in WebSDR client mode
New/changed features available only in the Pro versions:
- add support for system commands associated with buttons in jAReC
- you can now save a network configuration and then switch between them
- you can enable/disable interface animations, activated by default in the free version
- you can enable/disable application notifications (icon in the taskbar), activated by default in the free version
- user activated “screen always on” to prevent standby
- use full screen /immersive mode (hide navigation buttons) if Android >= 4.4 (KitKat)
Bug fixes:
- cannot connect over Bluetooth (discovery impossible if Android >=6, because of missing location services rights
requested now by Google for this feature
- fix a bug in sound routine
- fix some java errors at startup requiring configuration file reset
- cannot install app on some devices with some SD cards format
- if authentication set in jAReC and no authentication in Pocket RxTx, CAT does not work but audio is started
- if in Direct CAT over Bluetooth or USB mode, hostname/port and secret are still required in the setup page
- application hangs completely when resetting or if freshly installed
- font size setting (if changed within the app) is not kept when application restarts
- an S-meter value of S9+60dB never displayed
- if the app was in Direct CAT mode with Bluetooth and then switched to WebSDR, when entering setup you get
the message "Nothing to configure in Bluetooth mode")
47
- when in startup page and WebSDR mode for the first time during a session, long pressing on the radio picture
does not open setup page
- when long press on the radio label the application behaves like pressing the power button
- the two wheels reset to the default value when switching orientation or returning from standby
- crash when changing orientation in the main app screen
- inconsistency in the picture displayed in the startup page when changing modes
- "map not initialized" crash at first start after a full reset
- crash when changing orientation in the main app screen
- crash when connected to the radio and changing orientation
- if you define a lock radio command, Pocket RxTx is locked too
- option button labels lost when changing orientation and then java error
- java error if pressing SQL button in direct CAT mode and button is not defined in the config file
- java error when connected to a radio and changing orientation
- crash if saving the memories in the third or more option set
- when the screen timed out and I had to unlock the app was reset to LSB and 0.5W output power. (Sometimes
this is sent to the radio, sometimes not)
- when recalling a Memory the mode Is always set To LSB

Version 2.1 (Mar 4th , 2018).


What’s new/changed from 2.0:
- call logging with QRZ database query. For the free version this feature is available only in WebSDR client mode.
- as your own callsign is used now for call logging too, you are asked to enter it when you start the application for
the first time
- when in landscape mode, on-screen keyboard is removed after each entry in the Network setup screen
- in WebSDR mode display the distance from you to the selected WebSDR server, if QRZ is used for local grid
locator
- Free version renamed to Pro version in the startup page

Bug fixes:
- when CAT port entered, Audio port is set to CAT port + 1 in the GUI

For any queries regarding bugs or features requests please join and use the application dedicated forum here:
http://www.yo3ggx.ro/forum/viewforum.php?f=15

To see more videos about my projects and to be informed about any news please subscribe to my YouTube channel
here:
http://www.youtube.com/channel/UC3eDuq-p4mcwWYE3-pZmObQ/videos?view=0

If you want to contribute to further developments, please consider to buy the “Pro” version of the application (Pocket
RxTx+), available in Google Play Store here:
https://play.google.com/store/apps/details?id=ro.yo3ggx.rxtxpro

Please send me your feedback. Further development of the application fully


depends on YOU.
pocketrxtx_v2.1.pdf Bucharest, Mar 4, 2017 – © Dan Toma – YO3GGX – [email protected]

48

You might also like