주변 스캔 기능을 정리
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
<?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();
|
||||
}
|
||||
Reference in New Issue
Block a user