¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Changing Modem Type via Connect Script #modem


 

¿ªÔÆÌåÓý

I think the code really needs a "disconnect script".? I'll look into that.

73,
John

On 21/04/2023 18:35, PacketCat Red PE1RRR wrote:

On Fri, Apr 21, 2023 at 10:30 AM, PacketCat Red PE1RRR wrote:
On Fri, Apr 21, 2023 at 03:53 AM, Matt Atwood, WE1H wrote:
HI all,

While testing some connect scripts, I came across an interesting thing...

It seems that you can change UZ7HO modems via a connect script

ATTACH 2
MODEM 0
RADIO freq mode filter
c n1abc-4

I was looking at this to facilitate the following

I have a single radio with HF and VHF?
The rig control is defined as port 2
My default frequency is 20M
I want to QSY to 6M for forwarding to a partner every x period, and return to 20M when done

The above connect script seems to work nicely for the first part (QSY to 6M and forward), except, when the forwarding session on 6M is complete, the radio returns to 20M, but the 1200 baud modem is still active, not the 300 baud modem needed.

In case it is pertinent, my rigcontrol statement as defined in Port 2

? RIGCONTROL
? ? COM7 19200 ICOM IC746 56h
? ? 00:00
? ? 60,14.105,LSB
? ? 02:00
? ? 60,7.104,LSB
? ? 10:00
? ? 60,14.105,LSB
? ****

Any thoughts on how I can accomplish this without using a software com port splitter (they never work right in my experience and are more trouble than they are worth) and get the 300 baud HF modem to become active again? Or maybe there is a better way to do this that I have not thought of yet?

--
73,

- Matt, WE1H

we1h AT arrl.net

Hi Matt
?You could try putting another MODEM statement for after the connect statement which should run after the station disconnects.

E.g.

ATTACH 2
MODEM x
C blah
MODEM x


73
Red

This does not work according to another post I just read on the forum :(

I use FBB so my method works for me, BPQ stops processing the connect script after a connection finishes.


(For reference here is a test demo for FBB):

IF MAN
? ?C C SWITCH
? ?C AT 1
? ?C MODEM AFSK AX.25 300bd
? ?X sleep 2
? ?C MODEM AFSK AX.25 1200bd
? ?C FREQ 1700
? ?X sleep 2
? ?C MODEM AFSK AX.25 300bd
? ?C FREQ 1000
? ?C D
ENDIF

Join [email protected] to automatically receive all group messages.