开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

sBITX Toolbox - A great companion for the sBitx transceiver is now available for public release #file-notice #sBitx #sbitx_v2 #sBITX_v3 #wiki-notice


 

On Wed, Jan 31, 2024 at 04:38 AM, Gordon Gibby wrote:
Ashhar, I'm not familiar with "Net Rig Conttrol"? ? Is this related?to "rigcat" which is one of the options in FLDGI?? ?
My understanding is:
  • "rigcat" came from the authors of "fldigi"?
  • "net rig control" came from "hamlib" which came from a different group
  • it's more correct name is "hamlib net rigctl" based on the "rigctl" program provided by the hamlib-utils package you can install on the Pi
  • both "rigcat" and "hamlib" support a programming interface that supports many different kinds of radios underneath
  • "wsjt-x" chose to support "hamlib"?
  • "wsjt-x" is massively popular
  • because of this, most people want/need "hamlib" to work
  • SDRs don't have actual serial ports
  • the easiest way for a SDR to support "hamlib" is via a local network TCP/IP connection
  • the SDR's code can respond to the 127.0.0.1 "localhost" address at a specific port
  • the SDR's code then reads commands and writes responses to/from the network
  • the applications (e.g. "wsjt-x") include the "hamlib" library in their run time code
  • the hamlib support gets configured by user input to either use net rigctl or an actual radio serial port
  • based on this choice the hamlib code calls the right functions to get the desired behavior
  • "fldigi" supports either rigcat or hamlib so hamlib appears to be the more universal choice


This is a screen shot of wsjt-x selecting hamlib net rigctl:




You can see the "localhost" TCP/IP address (127.0.0.1) followed by ":" then by the port number used by sbitx to support rigctl (4532).

This is a screen shot of fldigi's rig control choices in its config dialog with hamlib selected:


?
Note on the left that you can use hamlib or rigcat or other approaches.

Note the sbitx hamlib.c file is lifted from the 'gqrx' SDR application's source code and isn't a full implementation of hamlib net rigctl.

Sbitx itself does not implement rigcat.? I presume you can set up flrig to be a "rig control gateway" that can use hamlib to talk to sbitx, but I presume the limited implementation of hamlib on sbitx means this probably doesn't work very well.? I did try the "grig" linux program and found it wasn't very useful because sbitx's hamlib support is limited to just the things wsjt-x needs to operate and not much more.

The sbitx community should find a better "radio side" implementation of hamlib net rigctl to lift.? I haven't looked at other open source projects to figure out if there is a better one to lift, but pretty much every SDR radio app that wants to work with wsjt-x needs to have one.? I have used "quisk" with hermes lite 2, maybe it has better support, I don't know.? Also looking at linhpsdr and/or pihspdr may provide a better implementation.

--
Regards,
Dave, N1AI


 

On Tue, Jan 30, 2024 at 03:58 PM, Gordon Gibby wrote:
At a minimum just be able to set the frequency and possibly go into transmit mode.
This level of stuff is possible already, you can see it operate from the command line.

On my sbitx:

1) Start the sbitx application

2) Open a Terminal

3) Install some software:

$ sudo apt install libhamlib-utils

4) Use the 'rigctl' command to send hamlib commands to the sbitx application

5) The following set my sbitx's frequency to 7070 kHz

$ rigctl -m 2 -r 127.0.0.1:4532 F 7070000

Interpretation:
> -m 2 means mode 2 which is hamlib net rigctl
> -r 127.0.0.1:4532 connects to sbitx's hamlib implementation (see earlier post)
> F is the frequency command
> 70700000 is frequency in Hertz

6) Do 'man rigctl' then move forward till you see 'rigctl Commands' to get a list of the commands that should work (but most don't).

7) Cross check this with $HOME/sbitx/hamlib.c to see what is actually possible (hint: not a lot)



So you can see the 'T 1' command puts the radio into transmit and 'T 0' takes it out.

As we used to say in the early days of open source, UTSL (Use the Source, Luke!).


?if there is a way to access the sound card so much the better but external sound cards can be used. ?
This already works for wsjt-x and for fldigi, why would it not work for other software?

Or are you saying you need to use software that runs on Windows and not on Linux?
?
--
Regards,
Dave, N1AI


 

I created more options for sBITX Toolbox Launcher and am testing them before pushing to GitHub.. The custom application function allows you to create buttons for websites, binary files, and system commands.? I still need to update documentation for this as well, but wanted to share a preview..

I respectfully ask that the general, CAT "rig control" discussion be moved to a new thread on here. Thank you.













 

Hi, Thanks.? ?Maybe I'm not explaining myself well.

Extremely popular and well known and important applications widely used in the ham radio community?such as N3FJP and WINLINK's entire system, do not appear to support hamlib or other systems.? ? Making control?via telnet will not work with these applications.? ? ? these aps are WINDOWS.?

The easiest way to make all of these applications?work, is to have an emulator that appears to be some radio.? ? That emulator can then call a telnet command, or interface via ham lib or any way it chooses.? ?But I doubt you are going to get N3FJP or the limited WINLINK staff to jump to your tune.??

I hope that epxlains?the issues better?

Gordon KX4Z


On Wed, Jan 31, 2024 at 9:20?AM Dave, N1AI <n1ai@...> wrote:
On Tue, Jan 30, 2024 at 03:58 PM, Gordon Gibby wrote:
At a minimum just be able to set the frequency and possibly go into transmit mode.
This level of stuff is possible already, you can see it operate from the command line.

On my sbitx:

1) Start the sbitx application

2) Open a Terminal

3) Install some software:

$ sudo apt install libhamlib-utils

4) Use the 'rigctl' command to send hamlib commands to the sbitx application

5) The following set my sbitx's frequency to 7070 kHz

$ rigctl -m 2 -r F 7070000

Interpretation:
> -m 2 means mode 2 which is hamlib net rigctl
> -r connects to sbitx's hamlib implementation (see earlier post)
> F is the frequency command
> 70700000 is frequency in Hertz

6) Do 'man rigctl' then move forward till you see 'rigctl Commands' to get a list of the commands that should work (but most don't).

7) Cross check this with $HOME/sbitx/hamlib.c to see what is actually possible (hint: not a lot)



So you can see the 'T 1' command puts the radio into transmit and 'T 0' takes it out.

As we used to say in the early days of open source, UTSL (Use the Source, Luke!).


?if there is a way to access the sound card so much the better but external sound cards can be used. ?
This already works for wsjt-x and for fldigi, why would it not work for other software?

Or are you saying you need to use software that runs on Windows and not on Linux?
?
--
Regards,
Dave, N1AI


 

On Wed, Jan 31, 2024 at 09:29 AM, Gordon Gibby wrote:
Hi, Thanks.? ?Maybe I'm not explaining myself well.
?
Extremely popular and well known and important applications widely used in the ham radio community?such as N3FJP and WINLINK's entire system, do not appear to support hamlib or other systems.? ? Making control?via telnet will not work with these applications.? ? ? these aps are WINDOWS.?
?
The easiest way to make all of these applications?work, is to have an emulator that appears to be some radio.? ? That emulator can then call a telnet command, or interface via ham lib or any way it chooses.? ?But I doubt you are going to get N3FJP or the limited WINLINK staff to jump to your tune.??
?
I hope that epxlains?the issues better?
We should honor JJ's request to move this to a new topic so this one can focus on JJ's great work.

I've created?/g/BITX20/message/108547?with my initial response.

You may not like what I have to say.
?
--
Regards,
Dave, N1AI


 

On Wed, Jan 31, 2024 at 02:29 AM, Rafael Diniz wrote:
Hi JJ,

There is no tx_compression implemented in Farhan's (there are no programmers, just one programmer) sBitx code.

- Rafael
Hi.

Compression IS a value that is available via telnet in v3.x so I assumed it was still in v3.x code. The compression setting is available in v2.0 as seen here.




Also, There are "programmers" aka developers working with Farhan to enhance the code according to the GH page.. Recognize someone on there :)






-JJ


 

On Wed, Jan 31, 2024 at 08:38 PM, JJ - W9JES wrote:
Compression IS a value that is available via telnet in v3.x so I assumed it was still in v3.x code. The compression setting is available in v2.0 as seen here.
Everyone is correct.

In?/g/BITX20/message/106340?Farhan wrote:

On Wed, Nov 22, 2023 at 03:41 PM, Ashhar Farhan wrote:
Harald,
1.The compression didn't really work, so I took it out. Once we have a decent algo, we will put it back in.
2. The macros are text files stored in web directory /home/pi/sbitx/web. The format is same as N1MM.
3. I am not sure why the disconnection is happening. Something is timing out in hamlib. It will take me a few days to get back to programming again.
- f
So the functionality was taken out, but apparently the telnet code wasn't updated to reflect this.
?
--
Regards,
Dave, N1AI


 

On Wed, Jan 31, 2024 at 08:09 PM, Dave, N1AI wrote:
In?/g/BITX20/message/106340?Farhan wrote:

On Wed, Nov 22, 2023 at 03:41 PM, Ashhar Farhan wrote:
Harald,
1.The compression didn't really work, so I took it out. Once we have a decent algo, we will put it back in.
2. The macros are text files stored in web directory /home/pi/sbitx/web. The format is same as N1MM.
3. I am not sure why the disconnection is happening. Something is timing out in hamlib. It will take me a few days to get back to programming again.
- f
So the functionality was taken out, but apparently the telnet code wasn't updated to reflect this.
?
--
Regards,
Dave, N1AI
Hi Dave,

Thank you for sleuthing this one out for me and providing further insight. I will remove the compression setting in my next release of sBITX Manager to avoid confusion.


-JJ


 

sBITX Toolbox version 1.4 is now available. You can easily upgrade to the new version by pressing the Update button



And as always... The release notes are? at??



-JJ


 

sBITX Manager v2.02 for Windows is now available as well.???



-JJ


 

Hi JJ,

: )
Indeed, but the contributions do not really scratch the surface of the problem of lack of organization of the code and architectural bugs overall. I read the code and could find no compressor code (and yes, there is a variable for it... that does nothing as far as I can tell).

- Rafael

On 2/1/24 01:38, JJ - W9JES wrote:
On Wed, Jan 31, 2024 at 02:29 AM, Rafael Diniz wrote:

Hi JJ,

There is no tx_compression implemented in Farhan's (there are no
programmers, just one programmer) sBitx code.

- Rafael

Hi.

Compression IS a value that is available via telnet in v3.x so I assumed it was still in v3.x code. The compression setting is available in v2.0 as seen here.




Also, There are "programmers" aka developers working with Farhan to enhance the code according to the GH page.. Recognize someone on there :)






-JJ


 

More fun things coming to the Toolbox soon! Here is a preview.











-JJ


 

On Fri, Feb 2, 2024 at 01:14 PM, JJ - W9JES wrote:
sBITX Toolbox version 1.4 is now available.
Hi JJ, after using the update menu item, mine is now set to v1.3, and says it is the latest version. Bug?

Enjoying your work mate ;-)?
--
Pete VK3PYE


 

JJ,
Just a reminder, you Can read the tuning knobs too from your suite to choose through settings, et al.

On Mon, Feb 5, 2024, 4:37 AM Peter VK3PYE <vk3pye@...> wrote:
On Fri, Feb 2, 2024 at 01:14 PM, JJ - W9JES wrote:
sBITX Toolbox version 1.4 is now available.
Hi JJ, after using the update menu item, mine is now set to v1.3, and says it is the latest version. Bug?

Enjoying your work mate ;-)?
--
Pete VK3PYE


 

Version 1.6 is now available for download or update.

There were some major changes in this release. Please see the release notes for information.??




-JJ


 

On Sun, Feb 4, 2024 at 05:07 PM, Peter VK3PYE wrote:
On Fri, Feb 2, 2024 at 01:14 PM, JJ - W9JES wrote:
sBITX Toolbox version 1.4 is now available.
Hi JJ, after using the update menu item, mine is now set to v1.3, and says it is the latest version. Bug?

Enjoying your work mate ;-)?
--
Pete VK3PYE
Hello Peter and thanks trying out the app.

I realized there was an issue in the way that updates were pushed out (I accidentally pushed the incomplete updates from my dev branch). I believe this issue is now resolved in version 1.6. I also added some troubleshooting steps in the guide to force updates and fix other issues. I encourage you to update the app and let me know how it goes.


-JJ


 

On Sun, Feb 4, 2024 at 07:29 PM, Ashhar Farhan wrote:
JJ,
Just a reminder, you Can read the tuning knobs too from your suite to choose through settings, et al.
Thanks and yes I figured out a way to do it and plan to add it in a later release..




-JJ


 

On Mon, Feb 5, 2024 at 02:17 PM, JJ - W9JES wrote:
I encourage you to update the app and let me know how it goes.
sBITX-toolbox has updated to v1.6? no problems this time JJ, and what I have tried? so far is working as expected. [thumbs-up]
?
--
Pete VK3PYE


 

Coming Soon in version 1.7!? sBITX Macro Manager? ?I have a few other updates to add as well and will post when it is ready for download/upgrade.




-JJ


 

sBITX Toolbox version 1.7 is now available. You can easily upgrade to the new version by pressing the Update button



And as always... The release notes are? at??




-JJ