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

Method force_reconnect

wifi_manager.py:2951–2955  ·  view source on GitHub ↗

Force a reconnection attempt

(self)

Source from the content-addressed store, hash-verified

2949 self.ap_last_error = None
2950 if not self.ap_mode_active and self._refuse_ap_if_unsupported():
2951 return False
2952 if self.wifi_connected:
2953 # If connected, disconnect first
2954 self.disconnect_wifi()
2955
2956 # Stop current AP if running
2957 if self.ap_mode_active:
2958 self.stop_ap_mode()

Callers 1

reconnect_wifiFunction · 0.80

Calls 2

infoMethod · 0.80

Tested by

no test coverage detected