MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _monitoring_loop

Method _monitoring_loop

wifi_manager.py:1222–1226  ·  view source on GitHub ↗

DEPRECATED: Old monitoring loop - replaced by _endless_loop_monitoring

(self)

Source from the content-addressed store, hash-verified

1220 scan_working = (current_time - self.last_successful_scan) < self.scan_trust_window
1221 if self.known_networks_count and not scan_working:
1222 self.logger.info(
1223 "Endless Loop: AP up %ds with no clients and no working scan — "
1224 "dropping it to search for a known network", int(ap_uptime))
1225 self.stop_ap_mode()
1226 self._endless_loop_wifi_search()
1227 elif not self.known_networks_count:
1228 self.logger.debug(
1229 "Endless Loop: keeping AP up — no saved networks to rejoin")

Callers

nothing calls this directly

Calls 2

warningMethod · 0.80

Tested by

no test coverage detected