Re: Hans, a request to consider please?

Adrian Scripcă

Hi all,

Since Romania is an Orthodox country, it means the Easter is due this Sunday. This in turn means that the Easter bunny was hard at work and it's time to bring some presents. Here's a new release with some features that I was working on for the last days, namely edit and show.

The edit feature allows one to quickly edit an .eep file in-place by issuing one command, without having to first convert to JSON, edit the file with a text editor and then convert back to .eep.
The show feature allows one to quickly view value of a variable currently configured in an existing .eep without having to convert it to JSON first.

Usage examples:

Enabling the first transmission slot:
    u3s-eeprom-tool edit mike.eep transmissions[0].enabled true

Updating the eeprom message with one that contains three submessages (note the use of pipe character as message delimiter)
    u3s-eeprom-tool edit bob.eep message "CQ DE ZL1RS|C# M#|HELLO WORLD"

Checking the mode of the second transmission
    u3s-eeprom-tool show chris.eep transmissions[1].mode

Checking the whole second transmission
    u3s-eeprom-tool show chris.eep transmissions[1]

The error reporting has also been improved in order to be more meaningful and the help system was also improved with extra details and usage examples.

You can find the version containing the new features here:

Some words about the command-line rationale and future developments. 
There were a couple of reasons in going for a command line tool for editing the eeproms, namely:
  • it needs to be fast, small and able to run by itself without forcing the user to install any other dependencies
  • it needs to be able to run offline, without requiring the use of a connection (think of when you're somewhere remote with a laptop and you want to reprogram your U3S)
  • it needs to be able to be ran on all major used OS-es
  • it needs to be command line based so that it will be possible to make it part of an automated tool chain for whatever reasons. Besides the visual feedback displayed to the user, whenever a command is being ran the program returns an exit code to the OS whether the command was successful or not. This makes it able to include it in automation scripts
However, some people might be more comfortable with a GUI at different times. I have pondered long on the available options and I decided to develop a web based GUI frontend for the tool which will allow anyone to drag and drop an eep file onto a page, edit the desired settings and then download the new .eep file given there is enough interest for this, of course. Writing a desktop GUI is not practical due to platform/OS fragmentation and the toll that will be placed upon users in order to be able to install/run the graphical tool.

So please let me know your thoughts.

73! Adrian, YO6SSW

On Sat, Apr 7, 2018 at 12:51 PM, Chris Wilson <chris@...> wrote:
Hello Adrian,

Thanks for the info and apologies for doubting what I saw! ;)
I'll have a play with the new version later, much appreciated!

 Saturday, April 7, 2018

> Hi Chris, Sverre, Bob,

> I'm sorry for the confusion but those were the information from the
> document Hans provided. In order to eliminate any further confusion,
> I added the ability to query existing modes in the tool. New version
> released at

> This will allow you to perform a call like u3s-eeprom-tool modes
> and have the list of known modes printed on the screen, like in the sample below:

> Available modes:
>         - RX (Receive only)
>         - FSKCW (FSK CW (slow))
>         - QRSS (Plain QRSS (slow))
>         - DFCW (DF CW (slow))
>         - SHELL (MFSK Hellschreiber (slow))
>         - HELL (Hellschreiber (standard speed))
>         - DXHELL (Hellschreiber (standard speed, DX=double))
>         - CW (CW (standard speed))
>         - CWID (CW ID (Callsign sent at 12wpm))
>         - FSK (FSK (standard CW-speed))
>         - WSPR (Standard 2-minute WSPR)
>         - WSPR15 (15-minute, 1/8th shift WSPR)
>         - TX_CW (Manually keyed transmitter mode: CW)
>         - TX_FSK (Manually keyed transmitter mode: FSK)
>         - OPERA05 (Opera 05)
>         - OPERA1 (Opera 1)
>         - OPERA2 (Opera 2)
>         - OPERA4 (Opera 4)
>         - OPERA8 (Opera 8)
>         - OPERA32 (Opera 32)
>         - OPERA65 (Opera 65)
>         - OPERA2H (Opera 2H)
>         - PI4 (PI4)
>         - JT91 (JT9-1)
>         - JT92 (JT9-2)
>         - JT95 (JT9-5)
>         - JT910 (JT9-10)
>         - JT930 (JT9-30)
>         - ISCATA (ISCAT-A)
>         - ISCATB (ISCAT-B)
>         - JT65A (JT65A)
>         - JT65B (JT65B)
>         - JT65C (JT65C)

> The feature I am currently working on is the ability to edit a
> certain part of the whole eep right from command line, for instance:

> u3s-eeprom-tool edit bob.eep message "#CS VMTX|#A0 #A1 #A3|"

> This will allow for quick .eep edits, without the need to first
> convert to json, edit things by hand and then convert back to .eep.
> It seemed to me that this feature will be convenient for U3S users.

> 73! Adrian, YO6SSW


Best regards,
 Chris                            mailto:chris@...

Best regards, Chris Wilson (2E0ILY)

Join to automatically receive all group messages.