安卓设备可以广播SSID吗?[英] Can an Android device broadcast an SSID?

本文是小编为大家收集整理的关于安卓设备可以广播SSID吗?的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。

问题描述

我想查看来自Android设备上的Nintendo 3ds的数据. 3ds将自动尝试连接到任何路由器,使用"nintendo_3ds_continured_scan_000"的SSID.

我知道应该是可能的,因为束缚应用实质上是相同的.我尝试过查看Wifi Direct或Wifi P2P,但到目前为止我还没有看到设置ssid的任何选项.我在看这个项目的错误库吗?

编辑:我找到了一个库这里处理接入点.我现在成功地测试了它,所以我要尝试疯狂的事情.

推荐答案

如果Android设备可以用作热点,但它可以.更改SSID,您将使用WifiManger和WifiConfiguration类.他们的文档可以找到这里分别.我也发现了一个问题,我相信可能对你有帮助. wifi热点配置.这里是用户对可能也有用的HTC设备无法问题的另一个问题. htc 的热点配置.

编辑 - 我的答案是假设您正在尝试更改设备的广播SSID,以便Nintendo 3DS连接到它,这是正确的吗?

本文地址:https://www.itbaoku.cn/post/102559.html

问题描述

I want to look at data coming from a Nintendo 3DS on an Android device. The 3DS will automatically try and connect to any router with the SSID of "Nintendo_3DS_continuous_scan_000".

I know it should be possible, since tethering apps do essentially the same thing. I've tried looking at Wifi Direct or Wifi P2P, but so far I haven't seen any option to set an SSID. Am I looking at the wrong library for this project?

EDIT: I found a library here that handles the Access Points. I've successfully tested it once now, so I'm off to try crazy things.

推荐答案

If the android device can be used as a hotspot it sure can. For changing the SSID you would use the WifiManger and WifiConfiguration classes. Their documentations can be found here and here respectively. I also found a question I believe may help you with this. Wifi Hotspot Configuration. And here is another question where the user was having trouble with HTC devices that might also be useful. Hotspot Config on HTC.

EDIT - My answer was assuming that you are trying to change the broadcast SSID of the device so that the Nintendo 3DS will connect to it, is this correct?