Re: Macros triggered based on SO2R state changes

Matt Murphy

Larry -- 

I just wrote a bit of code to work with the UDP data to do this, and realized that the FocusRadioNr seems to correspond to the RX focus, but that there does not seem to be an indication of which radio has TX focus. 

Just wondering if there is a way to derive which radio has TX focus from the data streamed over UDP.

For the purpose I'm working on, I need to know which radio has TX focus and which has RX focus at all times.  Just want to verify whether this is possible. 

Matt NQ6N

On Thu, Apr 6, 2017 at 7:33 AM, 'Larry Gauthier (K8UT)' k8ut@... [N1MMLoggerplus] <N1MMLoggerplus@...> wrote:

>set up macros based on SO2R "events" like switching active radios, typing in the entry window, etc?
There is nothing inherent within N1MM+ that will provide the features you describe, but you may be able to accomplish them with some value-added tools.
Take a look at the data available via serial ports for SO2R operation, and the SO2R OTRSP macros within Function Key messages.
These were not intended for the scenario you describe, but you may be able to repurpose them to meet your needs.
You could also harvest SO2R status tags (RadioNr, FocusRadioNr, IsStereo) from the RadioInfo packets of network UDP broadcasts, and initiate external events based on those parameters.
Specifically per your message, “switching active radios” is a recognized event that triggers an SO2R output; “typing in the Entry Window” is not.
-larry (K8UT)
From: Matt NQ6N matt@... [N1MMLoggerplus]
Sent: Thursday, April 06, 2017 2:19 AM
To: n1mmloggerplus@...
Subject: [N1MMLoggerplus] Macros triggered based on SO2R state changes

I finally got set up for SO2R and have the macros working as expected, except for one scenario:
I'm using the built-in SO2R switching in my SPE-2KFA amplifier, which uses a dedicated RX antenna input that is routed to the inactive radio when doing SO2R.
This works just fine except that the antenna I'm using for inactive radio RX benefits from a preamp (and I'd like to use the built-in preamp in the rig).
I'd like to have N1MM+ send ascii commands to the active and inactive radios to do this.
So far I have it working for the F1 key, but if I get a caller and start typing, the inactive radio becomes active and the preamp is still on, which is undesirable.
Advice on whether it's possible to use the existing macros to set this up would be much appreciated.
Also, is there a way to set up macros based on SO2R "events" like switching active radios, typing in the entry window, etc?  It would be very useful to be able to add these macros right into the function key file, such as:
F1,cq test de nq6n
F12, {wipe}
73, and thanks for the great software.
Matt NQ6N

Join to automatically receive all group messages.