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

Method _load_connection_state

wifi_manager.py:532–544  ·  view source on GitHub ↗

Load previous connection state

(self)

Source from the content-addressed store, hash-verified

530 return
531
532 # Fresh establishment from no active network → propagate immediately.
533 if not active_ssid:
534 self._propagate_active_network(ssid)
535 return
536
537 # Real change from one SSID to another → debounce.
538 now = time.time()
539 if self._pending_ssid_change != ssid:
540 self._pending_ssid_change = ssid
541 self._pending_ssid_first_seen = now
542 self.logger.info(
543 f"SSID change observed: {active_ssid!r} -> {ssid!r}, "
544 f"debouncing {self.ssid_change_debounce_s}s before switching "
545 f"network storage")
546 return
547

Callers

nothing calls this directly

Calls 2

warningMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected