Android 将 WiiMote 连接到安卓设备
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3261121/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Connecting a WiiMote to an android device
提问by Milhous
Does anyone know the UUID to connect an android 2.2 device to a WiiMote? The wiimote will not pair, as the wiimote does not require a PIN #.
有谁知道将 android 2.2 设备连接到 WiiMote 的 UUID?wiimote 不会配对,因为 wiimote 不需要 PIN #。
采纳答案by eldarerathis
As far as I know, you can only connect a Wiimote to a non-Wii device if you use a bluetooth stack/program that allows you to skip the PIN. This is possible a couple of different ways on laptops and such, but Android 2.2 requires the PIN for the first pairing.
据我所知,如果您使用允许跳过 PIN 的蓝牙堆栈/程序,则只能将 Wiimote 连接到非 Wii 设备。这在笔记本电脑等上可能有几种不同的方式,但 Android 2.2 需要 PIN 进行第一次配对。
However, depending on what kind of phone you have, you can try the WiimoteControllerapp. It doesn't connect on HTC devices that are running the Sense UI, but if you have a Nexus One or you're running some kind of custom vanilla Android ROM on your phone, it should work.
但是,根据您拥有的手机类型,您可以尝试使用WiimoteController应用程序。它无法连接到运行 Sense UI 的 HTC 设备,但如果您有 Nexus One 或者您正在手机上运行某种自定义的香草 Android ROM,它应该可以工作。
回答by Emily
Apologies for answer an old question, but to pair the Wiimote using legacy pairing, you reverse the bytes of the device address and use that as the pin.
抱歉回答一个老问题,但要使用传统配对来配对 Wiimote,您需要反转设备地址的字节并将其用作引脚。