[pskmail] Re: [pskmail] New features "Change MODE (USB/LSB)" in Scanner & QRG Traffic

  • From: Rein Couperus <rein@xxxxxxxxxxxx>
  • To: pskmail@xxxxxxxxxxxxx
  • Date: Thu, 11 Sep 2008 14:32:08 +0200

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 with 
the 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
> 
> 
> 
> 

-- 
http://pa0r.blogspirit.com

Other related posts:

  • » [pskmail] Re: [pskmail] New features "Change MODE (USB/LSB)" in Scanner & QRG Traffic