HI Rein, i have added a new features in the rflinkserver.pl.Now the server, if the scanning feature is active, is able to change mode (USB/LSB) on the radio; in the previous version i was able to change only the frequency.
Also i'm able to change the mode in the QRG TRAFFIC Frequency.I'm using an ICOM IC-706MKIIG and work fine; i think is ok also for other radio. I used the command "M" of the rigctl to change the mode; the passband mode is "0".
These are the changes in the rflinkserver.pl: *********SCANNER FEATURE MODE ---------------------------- At line 164 added where the scanner file is read: my $rigmodes = $freqhrs[2]; @rigmod = split (",", $rigmodes); ---------------------------- SCHEDULER SECTION At line 1416 after the line (my $outfreq = 0;) added: $rigm = $rigmod[$mins]; Line 1426 modified:$error = `rigctl -m $rigtype -r $rigdevice -s $rigrate $cmd $outfreq M $rigm 0`
---------------------------- SUB SCANNER SECTION At line 2438 after the line (my $outfreq = 0;) added: $rigm = $rigmod[$mins]; Line 2458 modified:$error = `rigctl -m $rigtype -r $rigdevice -s $rigrate $cmd $outfreq M $rigm 0`
--------------------------- Example of format of freqs.txt 10147250,10147250,10147250,10147250,10147250 PSK250,PSK250,PSK250,PSK250,PSK250 LSB,USB,LSB,USB,LSB ------------------------------------------------------------------------------------------------ *********QRG TRAFFIC FEATURE MODE Line 57 modified:my ($ServerCall, $Inputfile, $output, $dbfile, $dbpass, $dbaddress, $relay, $smtptlsuser, $smtptlspass, $smtptlsport, $Max_retries, $Maxidle, $Maxwebpage, $nosession, $commandcall, $Beaconminute, $Aprs_connect, $Aprs_beacon, $Aprs_port, $Aprs_address, @prefixes, $posit_time, $scheduler, @schedule, $rigtype, $rigrate, $rigdevice, $scanner, $qrgfile, $freq_offset, $freq_corrections, @Beaconarray, $traffic_qrg, $traffic_qrg_mode);
At line 60 after the line ($traffic_qrg = 0;) added: $traffic_qrg_mode = 0; Line 329/330 modified:$dummy = `rigctl -m $rigtype -r $rigdevice -s $rigrate "F" $traffic_qrg M $traffic_qrg_mode 0`;
print "QSY to $traffic_qrg in $traffic_qrg_mode!\n" In the pskmailrc.pl file at line 77 after ($traffic_qrg = 0;) added:$traffic_qrg_mode = 0; (if modified will be for example: $traffic_qrg_mode = LSB )
-------------------------------------------------------------------------------------------------------------------------------------- I have pleasure if you can add this feature in the next server release. I hope to help you to improve the server funcionality. Best 73 Roberto IS0GRB