Problem with HF remote

Hi all-

I have a problem with app_rpt with ft897

(does the same with ic706)

In the source there are frequency/mode defaults, example below for 40M:

else if(m == 7){ /* 40 meters */
dflmd = REM_MODE_LSB;
if(d > 30000)
return -1;
}

This works, this has a problem:

else if(m == 50){ /* 6 meters */
if(d >= 30000)
dflmd = REM_MODE_FM;
else
dflmd = REM_MODE_USB;
}

The above works up to 50.3, and sets USB mode, but above this the frequency does not set, nor does mode.

I have determined by experimenting that anywhere REM_MODE_FM is, the frequency setting fails. If you set it from a memory channel defined in rpt.conf it works and selects the frequency and mode just fine.

What I’m wondering is if “REM_MODE_FM” is correct syntax. I find it in 20+ places in the source. I setup for IC706, does exactly same.

By changing all the “FM” to “AM” (or USB, LSB) (in the source)the frequency and mode will select.

nybody have any advice, other than changing all instances of FM to AM/USB/LSB, etc to be able to program a freq, and then a second step to select mode (which WILL select FM)?

GeorgeC

W2DB

UHF node 2360, HF still with a hidden node, 1999

George,

You might want to try putting a few printf statements in the
check_freq_ft897 or check_freq_ic706 function to see if it is returning
a -1 on a valid 6 meter frequency.

You will have to run asterisk in the foreground to see the outputs of
the printfs. In an ACID distribution you can kill the asterisk
background task using the /root/scripts/astdn.sh script. To run asterisk
in the foreground, type asterisk -vvvvvc.

Steve
WA6ZFT

George Csahanin wrote:

···

Hi all-

I have a problem with app_rpt with ft897

(does the same with ic706)

In the source there are frequency/mode defaults, example below for 40M:

else if(m == 7){ /* 40 meters */
  dflmd = REM_MODE_LSB;
  if(d > 30000)
   return -1;
}

This works, this has a problem:

else if(m == 50){ /* 6 meters */
  if(d >= 30000)
   dflmd = REM_MODE_FM;
  else
   dflmd = REM_MODE_USB;
}

The above works up to 50.3, and sets USB mode, but above this the frequency does not set, nor does mode.
I have determined by experimenting that anywhere REM_MODE_FM is, the frequency setting fails. If you set it from a memory channel defined in rpt.conf it works and selects the frequency and mode just fine.

What I'm wondering is if "REM_MODE_FM" is correct syntax. I find it in 20+ places in the source. I setup for IC706, does exactly same.

By changing all the "FM" to "AM" (or USB, LSB) (in the source)the frequency and mode will select.

nybody have any advice, other than changing all instances of FM to AM/USB/LSB, etc to be able to program a freq, and then a second step to select mode (which WILL select FM)?

GeorgeC
W2DB
UHF node 2360, HF still with a hidden node, 1999

------------------------------------------------------------------------

_______________________________________________
App_rpt-users mailing list
App_rpt-users@qrvc.com
http://qrvc.com/mailman/listinfo/app_rpt-users