Sponsors of Wiimoteproject.com
IR Pens for Wiimote Whiteboard
Wiimote Project » General Wiimote and Technology » Project Ideas » Programmer Need - Wiimote Connection Utility
Pages: [1]
  Print  
Author Topic: Programmer Need - Wiimote Connection Utility  (Read 7531 times)
0 Members and 1 Guest are viewing this topic.
Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« on: October 18, 2008, 04:17:26 PM »

Wiimote Friends

As the software continues to be developed, the last barrier for this project is easy connection. Thex did a fantastic job, with his WiimoteConnect. But, it only works with the Windows BT Stack.

Leaving a great varience in connection between the stacks and ongoing user difficulties.

What would be an amazing help to this project is a single connection utility that works with all stacks.

Any takers Huh

benpaddlejones Smiley
Logged


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones
Support Admin
*
Karma: +11/-3
Posts: 566
Offline Offline
View Profile WWW
« Reply #1 on: October 18, 2008, 11:56:14 PM »

I wish it could connect as easy as it does for the MobiPad...

http://www.mobi-pad.com/

Activate BT and connect - Done!
Logged

Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« Reply #2 on: October 19, 2008, 02:29:53 PM »

Wiimote Friends

The Mobi-pad project, Wiimote Connect (Thex) & Java IWB (UJS) have all proved it is possible. Java IWB connects with the wiimote through the API and Ujs advises me that this won't allow connection with .net frameworks apps (best programming framework for Windows). However Ujs has proved that the same code can be used for all stacks.

Really Thex's Wiimote Connect just needs to be extended to include support for Bluesoleil & Widcomm. Bluesoleil can be downloaded at http:/www.bluesoleil.com and widcomm can be applied to any USB BT radio using: http://www.telusplanet.net/public/wladykad/.

We just need is a programmer willing to prove their skill and take this on!

Please any takers???
We'll make you famous  Grin

benpaddlejones Smiley
Logged


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones
*
Karma: +0/-0
Posts: 83
Offline Offline
View Profile
« Reply #3 on: October 20, 2008, 04:39:43 AM »

hmm sry to ask a newbie question, is there an API or library for bluetooth?
Logged
Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« Reply #4 on: October 20, 2008, 05:49:07 AM »

jamesKL
I'm blindly throwing a cool Idea out there, I don't even know what a API or Library for Bluetooth looks like? Ujs would be the best person to help you as he sucesfully integrated a Bluetooth connection utility in his IWB application.

I hope you are considering my idea! In teh words of our good friend and great programmer "hehe"

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 #5 on: October 20, 2008, 08:05:40 AM »

The Mobi-pad project, Wiimote Connect (Thex) & Java IWB (UJS) have all proved it is possible. Java IWB connects with the wiimote through the API and Ujs advises me that this won't allow connection with .net frameworks apps (best programming framework for Windows). However Ujs has proved that the same code can be used for all stacks.

Let's take a brief look at the technical details (according to my knowledge):

  • Johnny's original software and Boon Jin's Smoothboard both use Brian Peek's WiimoteLib.
  • WiimoteLib "talks" to the Wiimote using the USB HID driver provided by the Operating System (Microsoft Windows in this case).
  • The Operating System needs to be connected to the Wiimote in order to provide access to it as a USB HID device.
  • Every Bluetooth stack for Windows apparently has a different connection procedure.
  • Thex's WiimoteConnect does the connection procedure for you if you're using the standard Windows Bluetooth stack.

  • My Java WiimoteWhiteboard program uses the Java Wiimote library WiiRemoteJ.
  • WiiRemoteJ uses the Java APIs for Bluetooth (JSR 82) to connect to the Wiimote over the L2CAP protocol. The Operating System mustn't be connected to the Wiimote, otherwise it would block the connection attempt.
  • Since JSR 82 is just a specification, you need an actual library that implements it. I decided to use BlueCove because it supports many stacks on various Operating Systems.
  • In short: Java WiimoteWhiteboard -> WiiRemoteJ -> JSR-082 (BlueCove) -> OS & Bluetooth Stack (e.g. WIDCOMM) -> Bluetooth Controller (e.g. USB dongle)


I'm blindly throwing a cool Idea out there, I don't even know what a API or Library for Bluetooth looks like? Ujs would be the best person to help you as he sucesfully integrated a Bluetooth connection utility in his IWB application.

To say to use "an" API or "the" API is pretty much meaningless without context Smiley


Really Thex's Wiimote Connect just needs to be extended to include support for Bluesoleil & Widcomm.

Exactly.



Uwe
Logged

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.
*
Karma: +0/-0
Posts: 83
Offline Offline
View Profile
« Reply #6 on: October 20, 2008, 08:17:05 AM »

think i will start this project during weekend when i am free Smiley i will try my best to get it done Smiley
Logged
Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« Reply #7 on: October 20, 2008, 08:20:11 AM »

Ujs
Thanks for the clarification, for those who hadn't worked it out already I have no idea about programing. I just see a need, unfortunatley Thex is no longer interested.

JamesKL
May your wiimote be with you!

benpaddlejones
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 #8 on: October 20, 2008, 11:11:19 AM »

JamesKL
My suggestion is you follow the simplistic nature of WiimoteConnect:

1. Open connection utility (press buttons 1&2 on wiimote)
2. Ultility automatically detects wiimote
3. Utility executes user defined application
4. Utility closes

Weather you have one application for each stack (no need to produce one for Windows stack as already done) or better a single program that user defines stack or best the application automatically detects stack and applies correct connection protocol.

benpaddlejones Smiley
Logged


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones
*
Karma: +0/-0
Posts: 83
Offline Offline
View Profile
« Reply #9 on: October 21, 2008, 04:29:49 AM »

I try to use all the stack if possible, hope i could finish asap lol
Logged
*
Karma: +0/-0
Posts: 83
Offline Offline
View Profile
« Reply #10 on: October 29, 2008, 03:38:13 AM »

hmm i nid to ask where to find the bluetooth lib cause i try to find during weekends but i cant find one. So if anyone gt the source of the bluetooth lib can tell me? thanks alot!
Logged
Pages: [1]
  Print  
 
Jump to:  

Clicky Web Analytics