开云体育

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

Documentation for the API or CLI? #sBitx #sBITX_v3


 

I am looking for documentation that covers the API or integration with the sBITX app via CLI. I would like to write a companion app that controls modes, frequencies, and other functions within the system. I would like to accomplish this without using rigctl. Thanks.


 

Hi JJ;

Don't know if this will help you - but Farhan has implemented a telnet interface on port 8081 which provides some control capability.
????? $ telnet
????? telnet> open sbitx.local 8081

If the current mode is FT8, the list of stations heard during the last 15 second period will be printed out.
If the current mode is CW, the decoded CW will be printed out.

You can also issue commands through this interface. A couple I have found:
f xxxx? ? ? ??? - sets the frequency
mode xxx?? - sets the mode
t????????????????? - puts the radio into transmit
r????????????????? - puts the radio into receive
txpitch xxx? - sets the transmit pitch

You will find more in sbitx_gtk.c? Farhan would probably appreciate it if someone made a document that captured all these commands.

73; Steve, N3SB


 

On Fri, Dec 29, 2023 at 01:14 PM, JJ - W9JES wrote:
I am looking for documentation that covers the API or integration with the sBITX app via CLI. I would like to write a companion app that controls modes, frequencies, and other functions within the system. I would like to accomplish this without using rigctl. Thanks.
In addition to what Steve recommends, Rafael Diniz has code he calls HERMES that might be close to what you are looking for.? Use the search function to find his posts here, for example?this one.
?
--
Regards,
Dave, N1AI


 

I have documented most of the telnet commands in the Using sbitx section.
Skip the bit about backslash when using the telnet. Here is the doc


On Sat, Dec 30, 2023, 2:12 AM Dave, N1AI <n1ai@...> wrote:
On Fri, Dec 29, 2023 at 01:14 PM, JJ - W9JES wrote:
I am looking for documentation that covers the API or integration with the sBITX app via CLI. I would like to write a companion app that controls modes, frequencies, and other functions within the system. I would like to accomplish this without using rigctl. Thanks.
In addition to what Steve recommends, Rafael Diniz has code he calls HERMES that might be close to what you are looking for.? Use the search function to find his posts here, for example?this one.
?
--
Regards,
Dave, N1AI