fix: connect older Android receivers to phone hotspots

This commit is contained in:
zhy200308
2026-08-12 16:27:02 +08:00
parent 04a2d7fb10
commit 2ff0741fff
7 changed files with 139 additions and 48 deletions
+5
View File
@@ -19,6 +19,11 @@ assert 'MAX_WORKERS = 8' in upload and 'QFTDISC2:' in upload
assert 'MAX_WORKERS = 8' in download and 'bytes=$start-$end' in download and 'completionMapFile' in download
assert 'requestNetwork(request, cb)' in wifi and 'delivered.set(false)' in wifi
assert 'wifiManager.startScan()' in wifi and '.setIsHiddenSsid(false)' in wifi
assert 'pendingWifi == wifi' in wifi and 'pendingSsid == wifi.ssid' not in wifi
assert 'wifiManager.updateNetwork(config)' in wifi and 'wifiManager.removeNetwork(target)' in wifi
assert 'elapsed > 30_000' in wifi and '旧版 Android 首次关联未完成' in wifi
assert 'canJoinAutomatically' in wifi and 'wifiManager.isWpa3SaeSupported' in wifi
assert 'unsupportedHotspot' in main and 'pair.copy(wifi = null)' in main
assert 'probeConnectedNetwork' in upload and 'workers = 48' in upload
assert 'awaitGatewayEndpoints' not in main
assert 'QFTPHONE2:' in (ROOT/'android/app/src/main/java/com/qft/optical/PairingProtocol.kt').read_text()