ros wifi signal is weak the client kicked out of the script

The following script is a strength of less than 75 are kicked out

Non-capman script:

/interface wireless registration-table 
:do {
:foreach i in=[find] do={
:local sin [get $i signal-strength]
:set sin [:pick $sin ([:find $sin "-"]+1) 3]
:put $sin
:if ($sin >="75") do={remove $i}
}
}

 

capman script:

/caps-man registration-table
:do {
:foreach i in=[find] do={
:local sin [get $i rx-signal]
:set sin [:pick $sin ([:find $sin "-"]+1) 3]
:put $sin
:if ($sin >="75") do={remove $i}
}
}

Guess you like

Origin www.cnblogs.com/itfat/p/11724046.html