Android设备可以广播SSID?设备、Android、SSID

2023-09-06 06:15:05 作者:?小小的拥抱

我想看看数据从任天堂3DS在Android设备上到来。在3DS将自动尝试,以Nintendo_3DS_continuous_scan_000的SSID连接到任何路由器。

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".

我知道这应该是可能的,因为圈养的应用程序基本上做同样的事情。我试着寻找无线直接无线P2P ,但到目前为止,我还没有看到任何选项来设置一个SSID。我是不是看错了图书馆这个项目?

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?

编辑:我发现了一个库这里处理该接入点。我已经成功地测试了一次了,所以我要去尝试疯狂的事情。

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.

推荐答案

如果Android设备可以作为一个热点,它当然可以。对于更改SSID,你会使用 WifiManger WifiConfiguration 类。他们单证可以发现此处这里 分别。我还发现一个问题,我相信可以帮助你与此有关。 WIFI热点配置。这里是另外一个问题,用户在和HTC的设备可能也是有益的麻烦。 热点配置上​​HTC 。

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.

修改 - ?我的回答是假设你正在试图改变设备的广播SSID,使任天堂3DS将连接到它,这是正确的。

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?

 
精彩推荐