Community discussions

 
David1234
Forum Veteran
Forum Veteran
Topic Author
Posts: 911
Joined: Sun Sep 18, 2011 7:00 pm
Reputation: 2

a problem in a simple get tx-signal info

Sun Jan 15, 2012 5:54 pm

Hello all ,
I want to make a simple script
if the signal goes down from -80dBm it will blink
else will beep.

this is my script -

if ( [:tobool [/interface wireless registration-table get number=0 tx-signal-strength ]] >=-80) do={/ beep frequency=1000 length=2;} else={/blink duration=3;}

what I do wrong?
 
User avatar
skot
Long time Member
Long time Member
Posts: 585
Joined: Wed Nov 30, 2011 4:05 am
Reputation: 9

Re: a problem in a simple get tx-signal info

Thu Apr 26, 2012 11:41 pm

if ( [/interface wireless registration-table get number=0 tx-signal-strength] >= -80 ) do={ :beep frequency=1000 length=2; } else={ :blink duration=3; }
 
David1234
Forum Veteran
Forum Veteran
Topic Author
Posts: 911
Joined: Sun Sep 18, 2011 7:00 pm
Reputation: 2

Re: a problem in a simple get tx-signal info

Sun Apr 29, 2012 2:02 pm

Thank you :)

Who is online

Users browsing this forum: No registered users and 3 guests