스캔 캐시를 백그라운드로 갱신

This commit is contained in:
seo
2026-06-27 03:08:28 +09:00
parent 9936ae6985
commit 3be4d8838f
4 changed files with 167 additions and 51 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
declare(strict_types=1);
define('CONTROL_API_LIBRARY', true);
require __DIR__ . '/../public/api.php';
$type = (string)($argv[1] ?? '');
if ($type === 'wifi') {
wifi_scan_refresh_payload();
} elseif ($type === 'bluetooth') {
bluetooth_scan_refresh_payload();
}