Hi Per, many thanks for your mail. The problem is simply to solve without modify the code. In the file "freqs.txt" instead a mode (USB/LSB) simply insert 0.When the radio receive the command "M 0 0" instead of "M USB 0" reply with an error but nothing else and change only the frequency. I have tried now and work fine with my radio/your radio IC-706MKIIG. The same configuration "0" in the variable "$traffic_qrg_mode" in pskmailrc.pl if you don't want change the mode.
Best 73 Roberto IS0GRB----- Original Message ----- From: "Pär Crusefalk" <per@xxxxxxxxxxxx>
To: <pskmail@xxxxxxxxxxxxx> Sent: Thursday, September 11, 2008 3:00 PMSubject: [pskmail] Re: Re2: Re: New features "Change MODE (USB/LSB)" inScanner & QRG Traffic
Hi, Interesting addition, nice work Roberto! I only need to make an addition here, a control variable that turns this feature off. The reason being that I also use an Icom 706MK2G and the rig is not capable of using a 500 Hz filter in ssb mode (and there is no digital mode). To solve that problem I use a split where I transmit in usb and listen in cw (using a vfo offset). If the client changes to usb/lsb in rx then the server will hear nothing as the fq is offset for cw. But, blocking this is an easy addition in pskmailrc.pl. 73 de Per, sm0rwo On tor, 2008-09-11 at 14:15 +0000, Roberto IS0GRB wrote:Hello Rein, many thanks for your quick reply and for the 0.7.17 version.I have see the rflinkserver.pl but you have lost the part regarding the qrgtraffic. I have modified it and installed in my server.Now my server is running with rflinkserver.pl that you can see in attach inthis mail. is necessary to insert the new freqs.txt to avoid confusion. see attach.I have added a new variable in pskmailrc.pl at the end to permit to changethe default filter bandpass of the radio; 0 is default. see attach All parts patched are marked. Thanks for your interest. Best 73 Roberto IS0GRB----- Original Message ----- From: "Rein Couperus" <rein@xxxxxxxxxxxx>To: <pskmail@xxxxxxxxxxxxx> Sent: Thursday, September 11, 2008 12:32 PM Subject: [pskmail] Re: [pskmail] New features "Change MODE (USB/LSB)" in Scanner & QRG Traffic Hello Roberto, tnx for the patch. I have worked it into the new server code. Can you test if this works?This code contains the new telnet agent. You can use it from the client withthe command: ~TELNET host port You can put passwords into a file ~/.pskmail/telnetusers. Format: CALL,host,port,login_name, password,anycommand,...,.... example: PA0R,k1ttt.net,23,PA0R PA0R,db0fhn.efi.fh-nuernberg.de,8023,pa0r,reinpa0rct,c IGATE 73, Rein PA0R > -----Ursprüngliche Nachricht----- > Von: "Roberto IS0GRB" <is0grb@xxxxxxxxx> > Gesendet: 11.09.08 11:27:57 > An: <pskmail@xxxxxxxxxxxxx>> Betreff: [pskmail] New features "Change MODE (USB/LSB)" in Scanner & > QRG> Traffic > 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 > > > >__________ Informazione NOD32 3433 (20080910) __________ Questo messaggio è stato controllato dal Sistema Antivirus NOD32 http://www.nod32.it