Author Topic: Programmer Need - Wiimote Connection Utility  (Read 12411 times)

Offline benpaddlejones

  • Support Admin
  • *
  • Posts: 1178
  • Karma: +49/-0
    • View Profile
    • Inter.Connect.Ed
on: October 18, 2008, 07:17:26 AM
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 ???

benpaddlejones :)


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones


Offline UndCon

  • Support Admin
  • *
  • Posts: 566
  • Karma: +11/-3
    • View Profile
    • UndCon
Reply #1 on: October 18, 2008, 02: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!



Offline benpaddlejones

  • Support Admin
  • *
  • Posts: 1178
  • Karma: +49/-0
    • View Profile
    • Inter.Connect.Ed
Reply #2 on: October 19, 2008, 05:29:53 AM
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  ;D

benpaddlejones :)


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones


Offline jamesKL

  • *
  • Posts: 83
  • Karma: +0/-0
    • View Profile
Reply #3 on: October 19, 2008, 07:39:43 PM
hmm sry to ask a newbie question, is there an API or library for bluetooth?



Offline benpaddlejones

  • Support Admin
  • *
  • Posts: 1178
  • Karma: +49/-0
    • View Profile
    • Inter.Connect.Ed
Reply #4 on: October 19, 2008, 08:49:07 PM
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 :)


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones


Offline ujs

  • *
  • Posts: 134
  • Karma: +10/-0
    • View Profile
    • uweschmidt.org
Reply #5 on: October 19, 2008, 11:05:40 PM
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 :)


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

Exactly.



Uwe

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.


Offline jamesKL

  • *
  • Posts: 83
  • Karma: +0/-0
    • View Profile
Reply #6 on: October 19, 2008, 11:17:05 PM
think i will start this project during weekend when i am free :) i will try my best to get it done :)



Offline benpaddlejones

  • Support Admin
  • *
  • Posts: 1178
  • Karma: +49/-0
    • View Profile
    • Inter.Connect.Ed
Reply #7 on: October 19, 2008, 11:20:11 PM
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


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones


Offline benpaddlejones

  • Support Admin
  • *
  • Posts: 1178
  • Karma: +49/-0
    • View Profile
    • Inter.Connect.Ed
Reply #8 on: October 20, 2008, 02: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 :)


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones


Offline jamesKL

  • *
  • Posts: 83
  • Karma: +0/-0
    • View Profile
Reply #9 on: October 20, 2008, 07:29:49 PM
I try to use all the stack if possible, hope i could finish asap lol



Offline jamesKL

  • *
  • Posts: 83
  • Karma: +0/-0
    • View Profile
Reply #10 on: October 28, 2008, 07:38:13 PM
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!