n4af / TR4W

TRLOG 4 Windows free amateur radio logging application
GNU General Public License v3.0
19 stars 6 forks source link

Support of YCCC SO2R box #61

Open ny4i opened 8 years ago

ny4i commented 8 years ago

Documentation: http://www.k1xm.org/OTRSP/OTRSP_Protocol.pdf

gm0gav commented 8 years ago

Yes, this is a priority. As is Microham SO2R support, both should prpbably be done at same time

ny4i commented 8 years ago

Adding a comment from a user to show more interest...

On Wed, Apr 13, 2016 at 1:00 PM, Allan Taylor radio.k7gt@gmail.com wrote: I am exploring SO2R and just picked up a YCCC SO2R+ box. I would like to use TR4W with it and would like to contact others who may be using that combination. The documentation for the box says it works with TRlog for Linux but that is all it says re TRxxxx. I will be using it with a FT1000 or FT1000MP pair.

— 73 Allan K7GT

ny4i commented 4 years ago

Reference device to test OTRSP commands without an actual device: https://k1xm.org/OTRSP/OTRSP_Reference_Device_Installer.exe

ny4i commented 2 years ago

During Kyle AA0Z's presentation there was a request to support this interface. So bump this up the list to a release in a few months. Testing may be an issue but code it to the spec and see if there is a simulator for development.

n4af commented 2 years ago

If it helps, i can send u yccc box...

On Thu, Apr 21, 2022, 21:26 Tom Schaefer @.***> wrote:

During Kyle AA0Z's presentation there was anther request to support this interface. So bump this up the list to a release in a few months. Testing may be an issue but code it to the spec and see if there is a simulator for development.

— Reply to this email directly, view it on GitHub https://github.com/n4af/TR4W/issues/61#issuecomment-1105913181, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVLCUAFVVDK2ZEO5ZF7UGTVGH55RANCNFSM4BWCWHHQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ny4i commented 2 years ago

Let me take a crack at the code first. I’ll let you know when it’s ready to test. You can try and if I don’t get it right, we can go to that step.

Tom

Principal Solutions Architect Better Software Solutions, Inc. 727-437-2771

On Apr 21, 2022, at 9:29 PM, Howie Hoyt @.***> wrote:

 If it helps, i can send u yccc box...

On Thu, Apr 21, 2022, 21:26 Tom Schaefer @.***> wrote:

During Kyle AA0Z's presentation there was anther request to support this interface. So bump this up the list to a release in a few months. Testing may be an issue but code it to the spec and see if there is a simulator for development.

— Reply to this email directly, view it on GitHub https://github.com/n4af/TR4W/issues/61#issuecomment-1105913181, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVLCUAFVVDK2ZEO5ZF7UGTVGH55RANCNFSM4BWCWHHQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were assigned.

ny4i commented 2 years ago

I learned something new today. My Flex supports OTRSP.

"All Flex 6000 rigs implement the OTRSP protocol "

I have a box to implement this with then. I will add this when I add the networking interface for the Flex next month.

ny4i commented 2 years ago

I have the test program running and can send commands to it. I believe I need some help to go from the OTRSP commands documented here https://k1xm.org/OTRSP/OTRSP_Protocol.pdf and know when each command in TR4W should send what command.

n4af commented 2 years ago

Hi Tom -

So basically, this https://www.k1xm.org/OTRSP/OTRSP_Reference_Device_Installer.exe runs and you need interpretation of what actions it triggers in TR4W ?

On Tue, Apr 26, 2022 at 2:13 AM Tom Schaefer @.***> wrote:

I have the test program running and can send commands to it. I believe I need some help to go from the OTRSP commands documented here https://k1xm.org/OTRSP/OTRSP_Protocol.pdf and know when each command in TR4W should send what command.

— Reply to this email directly, view it on GitHub https://github.com/n4af/TR4W/issues/61#issuecomment-1109386136, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVLCUHHWHPOTXGVLHV5ETDVG6CPVANCNFSM4BWCWHHQ . You are receiving this because you commented.Message ID: @.***>

n4af commented 2 years ago

i have asked na8v and n5aw to provide some input.
Using winkey to do the switching works perfect for me, but d/n provide switching for fone.

The RX switching is between otrsp and hardware (audio input).

TR4W major control is via SwapRadios in LogSubs1.pas

I will take a closer look today...

n4af commented 2 years ago

ok, so some basic checking. if we do not issue MAP, then R1/R2 are defined by port assignment.

So TX1 command checks if active radio is 2 then SWAPRADIOS else If ActiveRadio is already 1 then exit

The RX commands are important but would only be passed on to the OTRSP box for physical switching of headphones ?

On Tue, Apr 26, 2022 at 7:20 AM Howie Hoyt @.***> wrote:

A lot of the commands can be skipped for now. REQUIRED: The TX1, TX2, RX1, RX2, RX1S, RX2S, RX1R, and RX2R commands. RX1R and RX2R can be treated as RX1S and RX2S. RTS as a PTT control if appropriate. I am guessing Mode would be nice, but suspect TR4W can already control that based on radio physical settings ?

On Tue, Apr 26, 2022 at 6:38 AM Howie Hoyt @.***> wrote:

Hi Tom -

So basically, this https://www.k1xm.org/OTRSP/OTRSP_Reference_Device_Installer.exe runs and you need interpretation of what actions it triggers in TR4W ?

On Tue, Apr 26, 2022 at 2:13 AM Tom Schaefer @.***> wrote:

I have the test program running and can send commands to it. I believe I need some help to go from the OTRSP commands documented here https://k1xm.org/OTRSP/OTRSP_Protocol.pdf and know when each command in TR4W should send what command.

— Reply to this email directly, view it on GitHub https://github.com/n4af/TR4W/issues/61#issuecomment-1109386136, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVLCUHHWHPOTXGVLHV5ETDVG6CPVANCNFSM4BWCWHHQ . You are receiving this because you commented.Message ID: @.***>

ny4i commented 2 years ago

Howie,

That is the right track. I am thinking I need something such as when we SWAPRADIOS, I send a command to OTRSP to swap the RX and TX.

There is also the question if there are manual controls on the OTRSP box that should change states within TR4W. From looking at the YCCC box, there are switches so I suspect if a switch is pressed, I will get a message from the control program and have to take the correct action.

Maybe we just need a state table.

Tom

On Apr 26, 2022, at 7:59 AM, Howie Hoyt @.***> wrote:

ok, so some basic checking. if we do not issue MAP, then R1/R2 are defined by port assignment.

So TX1 command checks if active radio is 2 then SWAPRADIOS else If ActiveRadio is already 1 then exit

The RX commands are important but would only be passed on to the OTRSP box for physical switching of headphones ?

On Tue, Apr 26, 2022 at 7:20 AM Howie Hoyt @.***> wrote:

A lot of the commands can be skipped for now. REQUIRED: The TX1, TX2, RX1, RX2, RX1S, RX2S, RX1R, and RX2R commands. RX1R and RX2R can be treated as RX1S and RX2S. RTS as a PTT control if appropriate. I am guessing Mode would be nice, but suspect TR4W can already control that based on radio physical settings ?

On Tue, Apr 26, 2022 at 6:38 AM Howie Hoyt @.***> wrote:

Hi Tom -

So basically, this https://www.k1xm.org/OTRSP/OTRSP_Reference_Device_Installer.exe runs and you need interpretation of what actions it triggers in TR4W ?

On Tue, Apr 26, 2022 at 2:13 AM Tom Schaefer @.***> wrote:

I have the test program running and can send commands to it. I believe I need some help to go from the OTRSP commands documented here https://k1xm.org/OTRSP/OTRSP_Protocol.pdf and know when each command in TR4W should send what command.

— Reply to this email directly, view it on GitHub https://github.com/n4af/TR4W/issues/61#issuecomment-1109386136, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVLCUHHWHPOTXGVLHV5ETDVG6CPVANCNFSM4BWCWHHQ . You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/n4af/TR4W/issues/61#issuecomment-1109706673, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6TWSS7YGTZ5LNG5NTIUVLVG7LB5ANCNFSM4BWCWHHQ. You are receiving this because you were assigned.

ny4i commented 2 years ago

One additional observation. Adding support for a brand new keyer may not be trivial just because of how much code has exceptions such as If WinKeyer...else ... (i.e., spaghetti). It would be better to just put the CW sending code in one class and leave the decisions to each object based on keyer type and simply call functions. It's good to explore this but these changes would be after I add the Flex TCP/IP code and a few other changes.

n4af commented 1 year ago

On Tue, Apr 26, 2022 at 10:43 AM Tom Schaefer @.***> wrote:

Howie,

That is the right track. I am thinking I need something such as when we SWAPRADIOS, I send a command to OTRSP to swap the RX and TX.

rr/ either TX1, TX2, or NIL also commands r1,r2,r1s, and r2s

There is also the question if there are manual controls on the OTRSP box that should change states within TR4W. From looking at the YCCC box, there are switches so I suspect if a switch is pressed, I will get a message from the control program and have to take the correct action.

Well, I am thinking the OTRSP box will do most of that standalone. Eg, it has key line, headphones, and ptt lines that the switches will control...

Maybe we just need a state table.

Tom

On Apr 26, 2022, at 7:59 AM, Howie Hoyt @.***> wrote:

ok, so some basic checking. if we do not issue MAP, then R1/R2 are defined by port assignment.

So TX1 command checks if active radio is 2 then SWAPRADIOS else If ActiveRadio is already 1 then exit

The RX commands are important but would only be passed on to the OTRSP box for physical switching of headphones ?

On Tue, Apr 26, 2022 at 7:20 AM Howie Hoyt @.***> wrote:

A lot of the commands can be skipped for now. REQUIRED: The TX1, TX2, RX1, RX2, RX1S, RX2S, RX1R, and RX2R commands. RX1R and RX2R can be treated as RX1S and RX2S. RTS as a PTT control if appropriate. I am guessing Mode would be nice, but suspect TR4W can already control that based on radio physical settings ?

On Tue, Apr 26, 2022 at 6:38 AM Howie Hoyt @.***> wrote:

Hi Tom -

So basically, this https://www.k1xm.org/OTRSP/OTRSP_Reference_Device_Installer.exe runs and you need interpretation of what actions it triggers in TR4W ?

On Tue, Apr 26, 2022 at 2:13 AM Tom Schaefer @.***> wrote:

I have the test program running and can send commands to it. I believe I need some help to go from the OTRSP commands documented here https://k1xm.org/OTRSP/OTRSP_Protocol.pdf and know when each command in TR4W should send what command.

— Reply to this email directly, view it on GitHub https://github.com/n4af/TR4W/issues/61#issuecomment-1109386136, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABVLCUHHWHPOTXGVLHV5ETDVG6CPVANCNFSM4BWCWHHQ

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/n4af/TR4W/issues/61#issuecomment-1109706673>, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AC6TWSS7YGTZ5LNG5NTIUVLVG7LB5ANCNFSM4BWCWHHQ . You are receiving this because you were assigned.

— Reply to this email directly, view it on GitHub https://github.com/n4af/TR4W/issues/61#issuecomment-1109886084, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVLCUGWOWIBOTT2CGUV3BLVG76KXANCNFSM4BWCWHHQ . You are receiving this because you commented.Message ID: @.***>

n4af commented 1 year ago

A lot of the commands can be skipped for now. REQUIRED: The TX1, TX2, RX1, RX2, RX1S, RX2S, RX1R, and RX2R commands. RX1R and RX2R can be treated as RX1S and RX2S. RTS as a PTT control if appropriate. I am guessing Mode would be nice, but suspect TR4W can already control that based on radio physical settings ?

On Tue, Apr 26, 2022 at 6:38 AM Howie Hoyt @.***> wrote:

Hi Tom -

So basically, this https://www.k1xm.org/OTRSP/OTRSP_Reference_Device_Installer.exe runs and you need interpretation of what actions it triggers in TR4W ?

On Tue, Apr 26, 2022 at 2:13 AM Tom Schaefer @.***> wrote:

I have the test program running and can send commands to it. I believe I need some help to go from the OTRSP commands documented here https://k1xm.org/OTRSP/OTRSP_Protocol.pdf and know when each command in TR4W should send what command.

— Reply to this email directly, view it on GitHub https://github.com/n4af/TR4W/issues/61#issuecomment-1109386136, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVLCUHHWHPOTXGVLHV5ETDVG6CPVANCNFSM4BWCWHHQ . You are receiving this because you commented.Message ID: @.***>

ny4i commented 1 year ago

I have a YCCC box in the mail on its way to me. I found a used one so I can implement and test it.

n4af commented 1 year ago

WOW, that would be great Tom. I think Na8V dropped tr cuz no otrsp support.

Thanks, Howie

On Mon, Mar 6, 2023 at 1:59 PM Tom Schaefer @.***> wrote:

I have a YCCC box in the mail on its way to me. I found a used one so I can implement and test it.

— Reply to this email directly, view it on GitHub https://github.com/n4af/TR4W/issues/61#issuecomment-1456775363, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVLCUCJRY5K3R7XO7FZPWLW2YX2XANCNFSM4BWCWHHQ . You are receiving this because you commented.Message ID: @.***>

ny4i commented 1 year ago

It has wires for a 590 so I need to change that to the k4Principal Solutions ArchitectBetter Software Solutions, Inc. 727-437-2771On Mar 6, 2023, at 2:14 PM, Howie Hoyt @.***> wrote: WOW, that would be great Tom. I think Na8V dropped tr cuz no otrsp support.

Thanks, Howie

On Mon, Mar 6, 2023 at 1:59 PM Tom Schaefer @.***> wrote:

I have a YCCC box in the mail on its way to me. I found a used one so I can implement and test it.

— Reply to this email directly, view it on GitHub https://github.com/n4af/TR4W/issues/61#issuecomment-1456775363, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVLCUCJRY5K3R7XO7FZPWLW2YX2XANCNFSM4BWCWHHQ . You are receiving this because you commented.Message ID: @.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were assigned.Message ID: @.***>

ny4i commented 1 year ago

OK. I think this is next. It is not clear yet to me if I should use a socket connection or a serial connection. My YCCC box states the software listens on a socket. But it appears one can open the serial port via USB and talk to it directly.

n4af commented 1 year ago

I was thinking serial ports, but up to you Tom.

Note- hamliib is up on https://tr4w.net/4.125/tr4w_setup_4_125.1.exe

Thanks, Howie

On Tue, Aug 22, 2023 at 11:36 AM Tom Schaefer @.***> wrote:

OK. I think this is next. It is not clear yet to me if I should use a socket connection or a serial connection. My YCCC box states the software listens on a socket. But it appears one can open the serial port via USB and talk to it directly.

— Reply to this email directly, view it on GitHub https://github.com/n4af/TR4W/issues/61#issuecomment-1688450697, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVLCUAOZ5FUD4VBYUUZRS3XWTGXNANCNFSM4BWCWHHQ . You are receiving this because you commented.Message ID: @.***>

ny4i commented 1 year ago

Serial ports are fine by me. It is a bit harder but I can certainly copy the other serial port code for it.

We may need to bite the bullet and add serial port support above 20 at some point. With my Flex ports, I know I am running low on ports below 20 :)

On Aug 22, 2023, at 11:40 AM, Howie Hoyt @.***> wrote:

I was thinking serial ports, but up to you Tom.

Note- hamliib is up on https://tr4w.net/4.125/tr4w_setup_4_125.1.exe

Thanks, Howie

On Tue, Aug 22, 2023 at 11:36 AM Tom Schaefer @.***> wrote:

OK. I think this is next. It is not clear yet to me if I should use a socket connection or a serial connection. My YCCC box states the software listens on a socket. But it appears one can open the serial port via USB and talk to it directly.

— Reply to this email directly, view it on GitHub https://github.com/n4af/TR4W/issues/61#issuecomment-1688450697, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVLCUAOZ5FUD4VBYUUZRS3XWTGXNANCNFSM4BWCWHHQ . You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/n4af/TR4W/issues/61#issuecomment-1688456606, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6TWSQUWQ26Z4IA7F26H5DXWTHFXANCNFSM4BWCWHHQ. You are receiving this because you were assigned.

ny4i commented 8 months ago

Almost 10 years in the making...

I started on this patch for those keeping score.