This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| sdk:scripts:best-operator [2021/09/23 08:57] – dodenhoeft | sdk:scripts:best-operator [2023/06/30 12:25] (current) – dodenhoeft | ||
|---|---|---|---|
| Line 59: | Line 59: | ||
| if (is_void(net) || is_void(lai) || is_void(status)) continue; | if (is_void(net) || is_void(lai) || is_void(status)) continue; | ||
| - | if (trim(status) == " | + | if (trim(tolower(status)) == " |
| nb_syslog(" | nb_syslog(" | ||
| networks[netcount++] = mkstruct(" | networks[netcount++] = mkstruct(" | ||
| Line 95: | Line 95: | ||
| status = nb_status(" | status = nb_status(" | ||
| s = (int) struct_get(status, | s = (int) struct_get(status, | ||
| - | if (s < -113) { | + | if (s > -113) { |
| signal = s; | signal = s; | ||
| nb_syslog(" | nb_syslog(" | ||