Dan Toma - YO3GGX - email@example.com
This is a light version (command line only) of JAReC application, which can be used to redirect one of your computer serial ports and one audio port to Ethernet. In this way you will be able to connect to any serial port (embedded, USB/Serial modules or Bluetooth modules) remotely over the network and transport audio too with a special client. Some of my Android applications, are able to serially connect over the Ethernet so this can be a nice addition. PocketRXTX Android application can use the secure authentication feature to securely connect and control (CAT) your radio transceiver over Internet, with audio support.
Current version of the application has the following features:
Can be run on Windows, Linux or Mac (with Java Runtime installed)
Does not need a GUI, can be run on a system without graphical interface
The application is fully portable, nothing is modified in the Registry and contains only the executable (JAR) and a simple text configuration file
You can select any local serial port (COMx in Windows, /dev/ttySx or /dev/ttyUSBx in Linux, etc)
You can select Audio In and Audio Out devices from a list. Audio feature is bi-directional, with a mic level meter for better control;
Display your local IP address
You can set the TCP port which will allow remote connections. Next TCP port is used for audio, if audio activated.
Configurable Baudrate (from 110 to 921600)
Auto server start at application startup (unattended)
Auto disconnects if loosing link going back to “wait for connection” mode
Can be easily scripted to be started at system startup
Current version of the application has the following limitations:
Configuration file must be manually edited or from the JAReC application GUI
Use this application on your own risk. I cannot be held responsible for any damage caused to your system.
Unzip the application package downloaded from my web site. You will get 2 files: jarecmini.jar and jsn.cfg. Sdecond one is the configuration file which you will need to manually edit. By default jsn.cfg contain some data which is not good for your system, to be used just as a template.
#Wed Sep 07 14:29:27 EEST 2015
Each parameter is self-explanatory. The authentication/encryption password (secret) is stored as a SHA-1 hash.
To generate it based on the secret used in Pocket RxTx application, you can use an online tool, for example:
To use the application you must download the latest java runtime from Oracle (currently version 1.8.0_60).
When you first start the application with the default configuration file, take care that the parameter bAutostart to be set false. You will get the list of current settings and what is available on your system. To run it enter the following command:
java –jar jarecmini.jar
To start the application in Windows, open a DOS command prompt and go to the folder where jarecmini.jar and jsn.cfg file were saved.
Run the command:
You will see a list of available COM ports, audio in and audio out devices. Please note the number before the name of the audio device you want to use (for both in and out).
Edit the configuration file (jsn.cfg) according to your needs. Keep bAutoStart=false and run again to check that you selected the right parameters. When ready, change bAutoStart=true and run again. The application will go to listening mode:
Start a connection from Pocket RxTx. Remote IP address will be displayed, audio will be started (if selected) and authentication performed (if selected).
You can now use the connection as usual. If you stop Pocket RxTx, then jarecmini will go back to listening mode.
Using a terminal enter the following command when you are in the folder containing the program:
java –jar jAReC.jar
The operation is similar as with the Windows version.
You can simultaneously start several instances of the application, one for each serial port you want to access through the network. If you have multiple transceivers, you can start one instance of the application for each of them. The only requirement is to use different TCP port for each connection, in order to have unique sockets.
Serial Port can be not only a local physical serial port (like COM on the motherboard or USB/Serial interface) but even a virtual COM port, for example the one created by a Bluetooth interface. You can connect in this way to your Bluetooth device over the network.
Version 0.8.1 (Sep 7, 2014). First public release of the application
jAReCmini_v0.8.pdf Bucharest, Sep 7 2015 – © Dan Toma – YO3GGX – firstname.lastname@example.org