fix: connect older Android receivers to phone hotspots
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Android → Android 真机验收(v0.5.0-dev2)
|
||||
# Android → Android 真机验收(v0.5.0-dev3)
|
||||
|
||||
## 构建约束
|
||||
|
||||
@@ -11,7 +11,7 @@ cd android
|
||||
|
||||
## 首轮验收
|
||||
|
||||
1. 两台 Android 安装同一个 `v0.5.0-dev2` APK。
|
||||
1. 两台 Android 安装同一个 `v0.5.0-dev3` APK。
|
||||
2. 发送手机进入“手机 → 手机”,选择至少两个文件并调整一次顺序。
|
||||
3. 点击“创建发送二维码”,允许附近 Wi-Fi/位置权限。
|
||||
4. 接收手机进入“扫码直传”,扫描发送手机二维码并确认系统连接提示。
|
||||
@@ -22,7 +22,9 @@ cd android
|
||||
## 必测网络组合
|
||||
|
||||
- Android 13+ → Android 13+:`NEARBY_WIFI_DEVICES` 权限与临时热点。
|
||||
- Android 8–12 → Android 10+:位置权限与 WPA2 临时热点。
|
||||
- Android 13+ 发送 → Android 7–9 接收:连续停止并重建两次发送热点;旧机每次均应使用二维码中的最新密码连接,不得复用同名热点旧凭据。
|
||||
- Android 13+ 发送 → Android 10–12 接收:新会话即使复用了热点名称,只要密码变化就必须创建新的系统配网请求。
|
||||
- 高版本发送端返回纯 WPA3、旧接收机不支持 SAE:应立即转入原局域网自动探测,不应停留在系统热点搜索。
|
||||
- Android 7 发送端:两机先连接同一 Wi-Fi,验证自动 LAN 回落。
|
||||
- 手动停止发送端热点:接收端应报连接中断,而不是无限等待。
|
||||
- 传输中返回发送端首页:服务和临时热点应立即关闭。
|
||||
|
||||
+1
-1
@@ -99,7 +99,7 @@ The sender returns `206 Partial Content`, the matching `Content-Range`, and the
|
||||
|
||||
For both direct-transfer directions, the Windows listener may accept connections non-blockingly for shutdown responsiveness, but each accepted file socket is switched to blocking I/O with explicit timeouts before reading or writing request bodies. This prevents `WSAEWOULDBLOCK (10035)` from turning an in-progress parallel transfer into an HTTP 500 failure.
|
||||
|
||||
## 6. Android → Android (`QFTPHONE2`, v0.5.0-dev2)
|
||||
## 6. Android → Android (`QFTPHONE2`, v0.5.0-dev3)
|
||||
|
||||
The sender starts an authenticated local HTTP service and encodes only session,
|
||||
port, sender identity and optional LocalOnlyHotspot credentials in the QR. The
|
||||
|
||||
Reference in New Issue
Block a user