gpt4 book ai didi

android - 如何强制 Google 附近使用 WiFi Direct?

转载 作者:行者123 更新时间:2023-12-02 14:25:44 25 4
gpt4 key购买 nike

我正在开发一个中断/延迟容忍网络 (DTN) 应用程序,该应用程序无需身份验证即可使用 Android Nearby 连接到 Android 设备。

来自 Google 附近的文档:

Under the hood, the API uses a combination of Bluetooth, BLE, and Wifi hotspots, leveraging the strengths of each while circumventing their respective weaknesses.

虽然离线连接协商似乎工作得很好,但我不确定 Nearby 是否使用 WiFi Direct 进行数据传输。当我在应用中使用“附近”时,我会在 Android 状态栏中看到蓝牙 radio 处于 Activity 状态,但在建立连接后却看不到 WiFi Direct 图标。

我使用的 DTN 库只能在 WiFi 连接和 WiFi Direct 下工作。

有没有办法可以强制“附近”仅使用 WiFi Direct 连接设备?

最佳答案

不,不可能仅强制使用 WiFi Direct。我们也不热衷于揭露这一点。从我们的角度来看,理想情况下,DTN 库将在附近连接之上重建。

免责声明:我从事“附近连接”工作

关于android - 如何强制 Google 附近使用 WiFi Direct?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48730753/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com