Closed raufaser closed 1 month ago
Thanks I'll take a look.
On Fri, Jul 19, 2024, 8:00 AM raufaser @.***> wrote:
Is your feature request related to a problem? Please describe. It is not possible to operate CW through flrig connection.
Describe the solution you'd like Make it possible to operate CW through flrig connection.
Additional context Excerpt from flrig manual
rig.cwio_set_wpm n:i set cwio WPM rig.cwio_text i:s send text via cwio interface rig.cwio_send n:i cwio transmit 1/0 (on/off)
command lines to test the CW API via XMLRPC
Setting WPM curl -d "<?xml version='1.0'?>
" http://localhost:12345 rig.cwio_set_wpm 28 Setting the text to send curl -d "<?xml version='1.0'?>
" http://localhost:12345 rig.cwio_text test test test Enable send curl -d "<?xml version='1.0'?>
" http://localhost:12345 rig.cwio_send 1 — Reply to this email directly, view it on GitHub https://github.com/mbridak/not1mm/issues/114, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALWVLRNFTQ5WE655IJK6I2TZNESXFAVCNFSM6AAAAABLEX7EEGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQYTSMJVGYZDGOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Okay. I merged a code snippet. It might work... Probably not though. I tried to get flrig to send CW to 3 different radios I have to test with. I couldn't get it to send CW using it's own keyer interface to any of them. The most I can say about the code is that while testing, it didn't crash. So it didn't make it any worse.
It kinda works.
In case the Send button is already yellow the text is not send. Only when you push another button. It can also be the "empty" button.
Please see the video to get an idea what i mean. 3.webm
Okay. So If I understand correctly, it would work if I:
Also:
If the mode is CW, I can cycle the send button to clear the buffer if the user presses the ESC key in the not1mm interface.
Okay pushed a try # 2. Go ahead and give it a try.
It works. Only thing i noticed. If you manually disable the Send/Pause button in the flrig cw interface, then nothing is send when you hit a macro button. The text buffer is filled until you either manualky reenable the Send/Pause button or switch to SSB and back to CW. I guess best is not to manually fiddle around with the CW interface when you use Not1MM to send CW :)
What is not working: Setting WPM
Thanks so far!
Yeah, I looked through their xmlrpc docs, and they have no way to query the state of the send button. So I have no way to know if someone clicked it on their own.
Okay. Added setting the speed.
Is your feature request related to a problem? Please describe. It is not possible to operate CW through flrig connection.
Describe the solution you'd like Make it possible to operate CW through flrig connection.
Additional context Excerpt from flrig manual
command lines to test the CW API via XMLRPC
Setting WPM
curl -d "<?xml version='1.0'?><methodCall><methodName>rig.cwio_set_wpm</methodName><params><param><value><i4>28</i4></value></param></params></methodCall>" http://localhost:12345
Setting the text to send
curl -d "<?xml version='1.0'?><methodCall><methodName>rig.cwio_text</methodName><params><param><value><string>test test test</string></value></param></params></methodCall>" http://localhost:12345
Enable send
curl -d "<?xml version='1.0'?><methodCall><methodName>rig.cwio_send</methodName><params><param><value><i4>1</i4></value></param></params></methodCall>" http://localhost:12345