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

Function cancelReconScan

web/scripts/ragnar_modern.js:20079–20087  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20077 } else if (data.wifi_connected) {
20078 const ssid = data.current_ssid || 'Connected';
20079 label.textContent = data.ap_mode_active ? 'AP Mode' : 'WiFi';
20080 name.textContent = data.ap_mode_active ? `AP: ${data.ap_ssid || 'Ragnar'}` : ssid;
20081 if (ip) ip.textContent = '';
20082 if (status) status.className = 'w-3 h-3 bg-green-500 rounded-full pulse-glow';
20083 if (icon) { icon.innerHTML = wifiIcon; icon.className = 'text-green-400'; }
20084 } else if (data.pan_connected) {
20085 label.textContent = 'USB/PAN';
20086 name.textContent = 'Connected via USB';
20087 if (ip) ip.textContent = '';
20088 if (status) status.className = 'w-3 h-3 bg-green-500 rounded-full pulse-glow';
20089 if (icon) icon.className = 'text-yellow-400';
20090 } else if (data.bluetooth_active) {

Callers

nothing calls this directly

Calls 2

errorMethod · 0.80
resetReconCardFunction · 0.70

Tested by

no test coverage detected