Use android device as remote for the WII September 11, 2010 05:59PM | Registered: 14 years ago Posts: 24 |
Re: Use android device as remote for the WII September 12, 2010 12:43AM | Registered: 14 years ago Posts: 21 |
Re: Use android device as remote for the WII September 12, 2010 03:35AM | Registered: 14 years ago Posts: 71 |
Re: Use android device as remote for the WII September 12, 2010 04:12AM | Registered: 14 years ago Posts: 451 |
Quote
bob123456
in theory- genuis
in life- not so much
wii and blue tooth dont mix together to many glicthes/and or problems with phone/wii would null and void your phone warranty so pleaze dont try it any one (reffence from modding my previous andriod phone )
Re: Use android device as remote for the WII September 12, 2010 05:41PM | Registered: 14 years ago Posts: 282 |
Re: Use android device as remote for the WII September 12, 2010 08:55PM | Registered: 14 years ago Posts: 28 |
Re: Use android device as remote for the WII September 12, 2010 11:59PM | Registered: 14 years ago Posts: 24 |
Quote
Greg
I've been researching this topic for about a month now. The biggest hurdle I'm currently trying to overcome is the fact that I can not trick the Wii into connecting to my Android phone. I changed my bluetooth device name to "Nintendo RVL-CNT-01" and opened what I think are the correct sockets that listen for incoming connections. I then make my phone discoverable and press the sync button on the Wii. Nothing. I've also tried the reconnect option in the Wii home menu. But the Wii will not take the bait. The connection process has to involve more than scanning for devices named "Nintendo RVL-CNT-01". It could either be a device class issue, or a pin issue...
Re: Use android device as remote for the WII September 13, 2010 05:06PM | Registered: 14 years ago Posts: 28 |
Quote
rikmer
Very interesting. Is there any way I could help you? Please let me know every news you got.
Re: Use android device as remote for the WII September 13, 2010 05:50PM | Registered: 14 years ago Posts: 24 |
Quote
Greg
Without knowing what the Wii is looking for when discovering devices, its going to be tough to simulate a remote. For all I know the Wii will only connect to devices with a very specific bluetooth chip. If I could only get the Wii to initiate the connection, then I think it would be no problem. So I guess that's what I need help with. :)
Re: Use android device as remote for the WII September 13, 2010 07:26PM | Registered: 14 years ago Posts: 28 |
Quote
rikmer
Have you tried to use hcidump from the bluez project. I found a reference to that in the homebrew wiki ( http://wiibrew.org/wiki/Wiimote/Library ) under requests. But as it is still a request, perhaps it is not that easy to do so. I also will try to analyse the data which the wiimote is sending while connecting. I will tell you my results if I get some interesting information.
Re: Use android device as remote for the WII September 18, 2010 03:50PM | Registered: 14 years ago Posts: 28 |
Re: Use android device as remote for the WII September 19, 2010 12:47PM | Registered: 14 years ago Posts: 24 |
Re: Use android device as remote for the WII September 19, 2010 02:19PM | Registered: 14 years ago Posts: 24 |
Re: Use android device as remote for the WII September 19, 2010 03:40PM | Registered: 14 years ago Posts: 24 |
Quote
Greg
I think I know what's wrong. Before the Wii connects to the remote, it uses SDP to determine the services provided by the device. So, even though I've opened up both L2CAP sockets to listen for connections, I am not updating my phone's SD database with the appropriate info. The Android API (even the private API) does not support adding L2CAP entries to SD. I'm thinking the only way to do this would be to interact with bluez at a much lower level. Still looking...
Re: Use android device as remote for the WII September 19, 2010 07:37PM | Registered: 14 years ago Posts: 28 |
Quote
rikmer
Perhaps I am completely wrong but wouldnt it be possible to add services manually with sdptools when rooted.
Re: Use android device as remote for the WII September 20, 2010 03:06AM | Registered: 14 years ago Posts: 28 |
Quote
rikmer
I found something on http://wiki.wiimoteproject.com. I dont know if this will help but ...
Name Nintendo RVL-CNT-01
Vendor ID 0x057e
Product ID 0x0306
this is what the wiimote is sending.
Also this http://wiki.wiimoteproject.com/Bluetooth_Specs could be helpful. I will try some things and report if anything new evolves.
Quote
rikmer
One other question ... How do you test? Did you write an experimental app for android? Or do use an emulator? Or do you try to connect through linux, windows or mac? If you have some basic code I really like to look into it. Hopefully you or we will manage to connect to the WII. It would be awesome.
Re: Use android device as remote for the WII September 20, 2010 03:10AM | Registered: 14 years ago Posts: 28 |
sdptool add WIIMOTE
Re: Use android device as remote for the WII September 20, 2010 02:38PM | Registered: 14 years ago Posts: 24 |
Quote
Greg
I have changed my device name to Nintendo RVL-CNT-01. As far as the other values, I don't know how to set those on my device. I'm not even sure if they can be changed.
I'm testing using a very simple experimental app on my rooted Moto Droid. The emulator won't work because it does not support Bluetooth. The app I wrote is not very polished and has zero error checking. It basically just opens up the ports and listens. My first step is to just see if the connection gets established, which it's not. I figure...why go any further if I can't even make the connection happen.
Re: Use android device as remote for the WII September 20, 2010 04:23PM | Registered: 14 years ago Posts: 282 |
Re: Use android device as remote for the WII September 20, 2010 04:28PM | Registered: 14 years ago Posts: 28 |
Quote
rikmer
As far as I know you can change the DeviceID which consists of the VID and PID in the main.conf of the bluetooth settings under /system/etc/bluetooth .
Quote
rikmer
Could you provide your experimental code?
Quote
rikmer
I also managed to add the service but when I compare the wiimote services to the phone services ...
Service RecHandle: 0x0
Service Class ID List:
"SDP Server" (0x1000)
Protocol Descriptor List:
"L2CAP" (0x0100)
PSM: 1
"SDP" (0x0001)
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"" (0x0100)
Version: 0x0100
... is missing.
sdptool get 0