Community discussions

 
arve
just joined
Topic Author
Posts: 16
Joined: Wed Oct 20, 2004 5:00 pm

Wireless audio linktest

Mon May 15, 2006 2:05 pm

Hi!
I've made a script for audible wireless signal test. I've looked around for a simple way to run the script from an external application, so that it's easy to use for regular users.

So far, I've looked into telnet and SSH(plink). The standard telnet application in windows does not implement batch, and plink needs user input when it does not have the RSA fingerprint in registry.

Any ideas?

Here is the signal test script for anyone interested:
:local beep "10ms";
:local no "2400ms";
:local 90 "1290ms";
:local 85 "790ms";
:local 80 "590ms";
:local 77 "390ms";
:local 74 "290ms";
:local 71 "240ms";
:local 68 "190ms";
:local 65 "140ms";
:local 62 "90ms";
:local 59 "60ms";
:local 56 "40ms";
:local 53 "20ms";
:local 50 "10ms";

:for i from=1 to=100 do={
/interface wireless monitor wlan1 interval=1 do={
 :if ($signal-strength <= -90) do={
  :delay $no;
  }
 :if ($signal-strength <= -85 && $signal-strength > -90) do={
  :for i from=1 to=2 do={ :beep length=$beep; :delay $90; }
  }  
 :if ($signal-strength <= -80 && $signal-strength > -85) do={
  :for i from=1 to=3 do={ :beep length=$beep; :delay $85; }
  }
 :if ($signal-strength <= -77 && $signal-strength > -80) do={
  :for i from=1 to=4 do={ :beep length=$beep; :delay $80; }
  }  
 :if ($signal-strength <= -74 && $signal-strength > -77) do={
  :for i from=1 to=6 do={ :beep length=$beep; :delay $77; }
  }  
 :if ($signal-strength <= -71 && $signal-strength > -74) do={
  :for i from=1 to=8 do={ :beep length=$beep; :delay $74; }
  }  
 :if ($signal-strength <= -68 && $signal-strength > -71) do={
  :for i from=1 to=10 do={ :beep length=$beep; :delay $71; }
  }  
 :if ($signal-strength <= -65 && $signal-strength > -68) do={
  :for i from=1 to=12 do={ :beep length=$beep; :delay $68; }
  }  
 :if ($signal-strength <= -62 && $signal-strength > -65) do={
  :for i from=1 to=16 do={ :beep length=$beep; :delay $65; }
  }  
 :if ($signal-strength <= -59 && $signal-strength > -62) do={
  :for i from=1 to=24 do={ :beep length=$beep; :delay $62; }
  }  
 :if ($signal-strength <= -56 && $signal-strength > -59) do={
  :for i from=1 to=34 do={ :beep length=$beep; :delay $59; }
  }  
 :if ($signal-strength <= -53 && $signal-strength > -56) do={
  :for i from=1 to=48 do={ :beep length=$beep; :delay $56; }
  }
 :if ($signal-strength <= -50 && $signal-strength > -53) do={
  :for i from=1 to=80 do={ :beep length=$beep; :delay $53; }
  }  
 :if ($signal-strength <= -20 && $signal-strength > -50) do={
  :for i from=1 to=120 do={ :beep length=$beep; :delay $50; }
  }  
 }
}
Last edited by arve on Tue May 16, 2006 9:04 am, edited 2 times in total.
 
GotNet
Member
Member
Posts: 436
Joined: Fri May 28, 2004 7:52 pm
Location: Florida

Tue May 16, 2006 5:56 am

Very nice. I added a stepped freq change every few db to enhance feedback.

I'd like this to trigger from the user button on the rb100s.

But for now will maybe start the script at boot or connection to target AP.

Thanks for sharing...

Mike
 
arve
just joined
Topic Author
Posts: 16
Joined: Wed Oct 20, 2004 5:00 pm

Tue May 16, 2006 9:02 am

I would like that very much too!

It is possible to trigger the script from sigwatch, but RB100 series doesn't support sigwatch.

Who is online

Users browsing this forum: No registered users and 9 guests