Flex Integration Configuration

145 views
Skip to first unread message

K9YK Radio

unread,
Dec 27, 2025, 7:39:57 PM12/27/25
to digitalvoice
Now that I've got the flex waveform integration running on ubuntu, where do I find the configuration settings file so that I can adjust settings, particularly around reporting?  

Mark (K9YK)

Mooneer Salem

unread,
Dec 27, 2025, 7:51:30 PM12/27/25
to digitalvoice
Hi Mark,

There's currently no configuration available; callsign comes from the radio's configuration and grid square comes from its GPS (if equipped). What are you interested in changing? 

Thanks, 

-Mooneer K6AQ 

On Sat, Dec 27, 2025, 4:40 PM K9YK Radio <k9yk...@gmail.com> wrote:
Now that I've got the flex waveform integration running on ubuntu, where do I find the configuration settings file so that I can adjust settings, particularly around reporting?  

Mark (K9YK)

--
You received this message because you are subscribed to the Google Groups "digitalvoice" group.
To unsubscribe from this group and stop receiving emails from it, send an email to digitalvoice...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/digitalvoice/31809a71-0db7-4aa4-8a94-eddb13e8f948n%40googlegroups.com.

K9YK Radio

unread,
Dec 27, 2025, 7:54:14 PM12/27/25
to digitalvoice
It would be nice to set some of the reporting parameters.  Things like:
  1. Enable/disable freedv reporting
  2. Locator
  3. Message
Mark (K9YK)

Mooneer Salem

unread,
Dec 28, 2025, 1:31:22 PM12/28/25
to digita...@googlegroups.com
Hi Mark,

This is possible to implement with the AppImage but I'm not sure if it would be once it's able to run on the radio itself. I'll have to do more research on this.

Thanks,

-Mooneer K6AQ

Michael Walker

unread,
Dec 28, 2025, 3:19:28 PM12/28/25
to digita...@googlegroups.com, digita...@googlegroups.com
Hi Mooner

Maybe, just to be simple, these values could be set in a static file and check upon occasion.  This would allow the user to change the feature even why the image is running.  

Or passed as variables during startup

Mike Va3mw

On Dec 28, 2025, at 1:31 PM, Mooneer Salem <moo...@gmail.com> wrote:



Mooneer Salem

unread,
Dec 28, 2025, 9:23:38 PM12/28/25
to digita...@googlegroups.com
Hi all,

There's some initial work at enabling command-line options for the requested enhancements in https://github.com/drowe67/freedv-gui/pull/1154 ("ms-flex-cmd-options" branch). Unfortunately I'm currently traveling so I can't test locally yet, but let me know if you run into problems and I can investigate further.

Thanks,

-Mooneer K6AQ

K9YK Radio

unread,
Dec 29, 2025, 9:28:59 AM12/29/25
to digitalvoice
Mooneer, you could use the message command in the Flex API to send commands/instructions/settings from an external application to the freedv waveform AppImage.  Don't know if this would also work for the waveform runnning inside the radio?

Something like this:
    c0|message severity=info code=0xFD0001 "<freedv><rptsetting>'locator':'EN60ik'</rptsetting></freedv>"
is received on other clients like this:
    M10FD0001|<freedv><rptsetting>'locator':'EN60ik'</rptsetting></freedv>

Mark (K9YK)

Mooneer Salem

unread,
Dec 29, 2025, 9:33:17 PM12/29/25
to digita...@googlegroups.com
Hi Mark,

Thanks for letting me know about the message command. Ideally it would be something that could be sent via the SmartSDR application rather than anything external, so I may still need to check with Flex on that. Failing that, this is a good workaround (especially if something like NodeRed can send the needed command).

Thanks,

-Mooneer K6AQ

Alan Blind

unread,
Dec 31, 2025, 9:40:11 PM12/31/25
to digitalvoice
Mooneer

I believe I saw you added code to allow users to add comments in our Flex Radio FreeDV instance.   I now can download the latest app image.   So, question, how do we add our individual "comment" to the Flex FreeDV instance?

Alan. WA9WUD

Mooneer Salem

unread,
Dec 31, 2025, 10:37:39 PM12/31/25
to digita...@googlegroups.com
Hi Alan,

Passing the -m command-line argument should do the trick. For example:

(rade-venv) mooneer@flexradio-test:~/freedv-gui/build_linux $ PYTHONPATH=$(pwd)/rade_integ_src src/integrations/flex/freedv-flex -m "San Diego, CA - FlexRadio waveform testing"

(replace src/integrations/flex/freedv-flex with the path to the AppImage as needed)

Thanks,

-Mooneer K6AQ

Alan Blind

unread,
Jan 1, 2026, 7:14:33 AMJan 1
to digitalvoice
Mooneer

Thanks.  That worked....however, the build truncated on the first space, so only the first word appeared in FreeDV Recorder.  I removed the spaces, and all is good.   Is this your intention?

Alan. WA9WUD

Alan Blind

unread,
Jan 1, 2026, 7:45:02 AMJan 1
to digitalvoice
Mooneer

Another observation / question

Also, I note my grid square is now not correct in Recorder, it shows "AAOO", the correct grid is "EN61SW"......I assumed it would continue to use the grid square from Flex Radio....it did not.

For this build, what is the argument to add my grid square?

Any other arguments of interest?

Alan. WA9WUD

Alan Blind

unread,
Jan 1, 2026, 8:34:03 AMJan 1
to digitalvoice
Mooneer

This build installed two Flex Radio SNR meters:

WVF/0x7C50F362/FreeDV_SNR
and
WVF/0x32943D98/FreeDV_SNR

Are these different meters?  In the Flex "Meter List", they both have the same specifications.  What does the hex number represent?

Alan. WA9WUD

Alan Blind

unread,
Jan 1, 2026, 9:24:47 AMJan 1
to digitalvoice
Update

Researched the Flex docs, the hex is the meter number that Flex assigns when the meter is created.  The value changes on each boot up of the radio.  Perhaps the old SNR meter remains, and on Flex or FreeDV boot, FreeDV creates a new meter, with its unique hex number, and the old meter remains?

Alan. WA9WUD

Alan Blind

unread,
Jan 1, 2026, 11:13:05 AMJan 1
to digitalvoice
Update 2

each time I start the Flex AppImage, it adds a new SNR meter......also, each time I shutdown (power off) and restart the Flex Radio, it continues to add another SNR meter.  Each meter has a unique hex number and none of the meters function.

Powering down the Flex Radio does not remove the residual meters, including when the AppImage Instance was off.

The only way to clear the residual meters was a full Flex Factory Reset.

So......the Flex AppImage code needs to remove any residual SNR meters, before creating a new/replacement SNR meter.

Alan.  WA9WUD

Alan Blind

unread,
Jan 1, 2026, 11:27:46 AMJan 1
to digitalvoice
New Information.

My instance of Flex AppImage is showing two Recorder instances, my call is WA9WUD.

Screenshot 2026-01-01 at 11.21.28 AM.png

Alan. WA9WUD

K9YK Radio

unread,
Jan 1, 2026, 12:11:49 PMJan 1
to digitalvoice
Alan, do you have multiple instances of freedv running?  When a flex api client disconnects from the radio, it should destroy any meters created by that client.  I don't believe there is a meter delete/destroy/remove command in the API.

Mark (K9YK)

Alan Blind

unread,
Jan 1, 2026, 12:48:08 PMJan 1
to digitalvoice

Mark

Good question....Only one instance,   I shut down all other RPIs.....but...

If the assumption is correct, Flex Destroys the meter when the client dis-connects.....then the shutdown sequence becomes the issue......I have been First, shutting down, soft boot down, flex shutdown, power off, then shutting down, ki@@ing the Flex AppImage...so, Flex never sees the client disconnection.....thus the meter is remains on Flex Radio restart.  Then, when the TrueDV connects, it makes a new meter....on top of the persisted meter.

I will do a factory reset to clear out the API built meters, then reverse the future shutdown sequences.

I will report the results.

Alan. WA9WUD

K9YK Radio

unread,
Jan 1, 2026, 1:37:45 PMJan 1
to digitalvoice
Alan, I've done several stops and starts of the FreeDV Flex integration without powering on/off/rebooting my Flex and I only see one instance of the FreeDV meter when I do a "sub meter all" via the API.  It seems to be working correctly here on my 6600. 

screencap.png

Mark (K9YK)

Alan Blind

unread,
Jan 1, 2026, 1:47:03 PMJan 1
to digita...@googlegroups.com
Mark

Me too.....I observe now, the latest meter is removed on my Flex as you describe.

Problem is, there is a "residual" SNR Flex meter I cannot find a way to remove, includig factory resets and firmware version changes.....

I am a Flex Alpha tester, so perhaps something happened to not remove the meter in all my testing.

Will work with Flex now, on removing the "residual" SNR meter.

Thanks for the great question.

Alan.  WA9WUD

Mooneer Salem

unread,
Jan 1, 2026, 5:55:10 PMJan 1
to digita...@googlegroups.com
Hi all,

Just a note--to have spaces in your user message, you need to surround the message in quotes. For example:

./FreeDV-FlexRadio-...-aarch64.AppImage -m "this is a test"

Should result in "this is a test" appearing in FreeDV Reporter for your callsign. On the other hand, if you do this instead:

./FreeDV-FlexRadio-...-aarch64.AppImage -m this is a test

Then your user message on FreeDV Reporter will just show "this".

Also, as of the most recent builds, you can push Ctrl-C to close out the waveform (which should clean up after itself, including the meter that gets created).

Thanks,

-Mooneer K6AQ

Alan Blind

unread,
Jan 1, 2026, 6:36:44 PMJan 1
to digita...@googlegroups.com
Mooner

Thanks.

You said, "Also, as of the most recent builds, you can push Ctrl-C to close out the waveform (which should clean up after itself, including the meter that gets created)"

I was running the instance in a detached "screen session, so was quitting the PID for the detached screen.....I see the problem now, that must have been simply ki@@ing the FlexAppImage.

So, now I use the below to command the detached screen for FlexAppImage to "quit" and then the command to ki@@ the detached screen:

bash -c 'screen -S FreeDV -X stuff $'\''\003'\''; sleep 0.5; screen -S FreeDV -X quit'

Thanks ChatGPT.

Alan. WA9WUD

Mooneer Salem

unread,
Jan 2, 2026, 4:09:21 AMJan 2
to digita...@googlegroups.com
Hi Alan,

Doing a kill -INT of the waveform process ID should do the equivalent of Ctrl-C in the same window that it's running in, but whatever works :)

Thanks,

-Mooneer K6AQ

Mooneer Salem

unread,
Jan 2, 2026, 12:51:22 PMJan 2
to digita...@googlegroups.com
BTW to avoid confusion, I added a handler for SIGTERM as well. See https://github.com/drowe67/freedv-gui/pull/1160.

-Mooneer K6AQ
Reply all
Reply to author
Forward
0 new messages