Sponsors of Wiimoteproject.com
IR Pens for Wiimote Whiteboard
Wiimote Project » Hardware Support » Bluetooth & Connectivity Knowledge Center » Perminant Wiimote Sync (Do you know how to directly enter a hexadecimal passkey)
Pages: 1 [2]
  Print  
Author Topic: Perminant Wiimote Sync (Do you know how to directly enter a hexadecimal passkey)  (Read 40180 times)
0 Members and 1 Guest are viewing this topic.
*
Karma: +10/-0
Posts: 134
Offline Offline
View Profile WWW
« Reply #15 on: January 08, 2009, 04:31:45 AM »

Yeah I found heeps of research into Linux changing the BT MAC Address and lots of people asking if it can be done on MAC/Win but no answers.

I actually just tried that on Linux. Pairing the Wiimote with the passkey '000000' worked when I changed the host Bluetooth address to 30:30:30:30:30:30.

The other option would be to leave the BDA as it is, and then enter the passkey directly in hexadecimal while pairing the Wimote. Paring is usually done by some sort of connection assistant which would have to be changed to offer this option. I have no idea how hard it would be to do this...

This would be ideal as once connected I just press the 'On' button then run my Wiimote Application.

Any programmers interested???

I don't think this is easy to do for the (mostly) "closed-source" Operating Systems (i.e., Windows and Mac OS X). I guess Linux is the most likely candidate to get that feature if someone bothers to implement it.


Uwe
Logged

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.
Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« Reply #16 on: January 08, 2009, 06:17:47 AM »

ujs
I don't have access to linux, could you test something for me to see if this is worth pursueing. I know changing the MAC address to 30:30:30:30:30:30 is unrealistic as will cause lots of security issues and conflicts if used in the same location. So if my MAC address is 00:19:5B:5B:E3:81 say I just changed the first byte (00) to a nominal alpha numeric this would maintain security and allow pairing.

Could you try:
1. Changing your linux MAC address to a random alpha numeric 6 byte string
2. Create the necessary binary
3. Sync & pair wiimote
4. Test by running application, close application, turning off wiimote, turn on wiimote, start application (and random variations of these)

Essentially Uwe I hoping to see if this is worth further exploration as will resolve a host of issues and barriers to teh braoder acceptance of this technology.

Obviously if you can't get it to work (30:30:30:30:30:30 in my mind is not a broad based solution) then its no longer worth exploring.

As always thanks for your deep knowledge and quality input.

benpaddlejones Smiley
Logged


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones
Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« Reply #17 on: January 08, 2009, 06:36:29 AM »

Idea!
I just remembered that I still have the direct contacts for the BT team at Bluesoleil from when they came aboard to help with the 'Bluesoleil Blue Screen of Death'.

If we can prove this works on Linux and provide a structured example (hoping you can cover this Uwe) then they may be able to assist us.

benpaddlejones Smiley
Logged


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones
*
Karma: +10/-0
Posts: 134
Offline Offline
View Profile WWW
« Reply #18 on: January 08, 2009, 04:27:36 PM »

So if my MAC address is 00:19:5B:5B:E3:81 say I just changed the first byte (00) to a nominal alpha numeric this would maintain security and allow pairing.
No, this wouldn't work. If you check the ASCII table, printable characters range from 0x20 to 0x7E (the prefix '0x' denotes hexadecimal numbers).

Could you try:
1. Changing your linux MAC address to a random alpha numeric 6 byte string
2. Create the necessary binary
3. Sync & pair wiimote
4. Test by running application, close application, turning off wiimote, turn on wiimote, start application (and random variations of these)
Changing the MAC address and then pairing the Wiimote should work not only with 30:30:30:30:30:30, but with any MAC that has an ASCII representation.
I don't know what to test after I pair the Wiimote. You seem to have a clear idea of how this is supposed to work in the end...

I just remembered that I still have the direct contacts for the BT team at Bluesoleil from when they came aboard to help with the 'Bluesoleil Blue Screen of Death'.
You could ask them if there is any way to directly enter a hexadecimal passkey, instead of ASCII.

I wouldn't pursue the idea of changing the MAC address any further. As you say, you want a mainstream solution that makes the whole thing easier, not harder Wink


Uwe
Logged

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.
Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« Reply #19 on: January 08, 2009, 05:22:35 PM »

Uwe
You could ask them if there is any way to directly enter a hexadecimal passkey, instead of ASCII.
That was the answer I was looking for.

benpaddlejones Smiley
Logged


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones
*
Karma: +0/-0
Posts: 4
Offline Offline
View Profile Email
« Reply #20 on: February 12, 2009, 11:47:14 AM »

Is Thex here?

It was my understanding that WiimoteConnect uses the Windows bluetooth stack API(possibly a hacked version, as someone mentioned). I was wondering if maybe the API itself lets you pass a PIN in hex or binary, or if it is limited to ASCII as well.

Anyway, at the moment, passing a binary key through an existing stack seems like the only viable solution.
BlueSoleil seems perfect, since they have already shown they are willing to listen, and work toward making using the Wiimote easier to connect. In fact, they can build it into their Gamii add-on. Hopefully, if BlueSoleil were to do it, maybe other competitors would take notice, and at least allow it to be done through the API.

So, any response from them yet?
Logged
Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« Reply #21 on: February 12, 2009, 12:17:37 PM »

Metacore
Yes they are already adding to the Gamii add-on, they are also going to release an API specifically for us. But That takes time, they are really doing us a favour with no direct income stream so will take time.

benpaddlejones Smiley
Logged


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones
*
Karma: +0/-0
Posts: 6
Offline Offline
Zero3K6@gmail.com thamasta2k View Profile
« Reply #22 on: April 16, 2009, 08:39:28 AM »

Any way for it to be done using Microsoft's Bluetooth stack?
Logged
Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« Reply #23 on: April 17, 2009, 12:50:06 PM »

Zero3K
Sadly no   Cry

we tried, we failed!

benpaddlejones Smiley
Logged


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones
*
Karma: +0/-0
Posts: 1
Offline Offline
View Profile Email
« Reply #24 on: May 01, 2009, 05:58:29 PM »

So I tried changing the MAC address of the bluetooth host adapter to 30:30:30:30:30:30 and it won't pair with the wiimote (passkey 000000) in BlueSoliel. Sadly for some reason my USB Linux Drive (Ubuntu 8.10) isn't letting me change the passkey else I'd try it there. HID Services work fine without pairing. Any suggestions?
Logged
*
Karma: +10/-0
Posts: 134
Offline Offline
View Profile WWW
« Reply #25 on: June 10, 2009, 08:56:41 PM »

http://www.wiimoteproject.com/bluetooth-and-connectivity-knowledge-center/permanent-wiimote-sync-how-to-do-it!/

Uwe
Logged

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.
Pages: 1 [2]
  Print  
 
Jump to:  

Clicky Web Analytics