Hi,
Need experts help here. I'm a final year student embarking on making a simple bluetooth application on Windows XP using Java. I've read a few thread in this forum regarding the use of free bluetooth stacks (so far the answer I've found is there's none).
For a start, all I'm trying to do is to get a free way to make my bluetooth device able to discover other bluetooth devices. So far have failed.
The bluetooth dongle I'm using is : Billionton Bluetooth USB Class 1 (USBBTC1A-B)
I've done a few experimentation myself, including :
1. Using a free implementation of the bluetooth stack (is the term right?) called The JavaBluetooth Stack (
www.javabluetooth.org). To this, I was able to get it compiled on JBuilder 9 Personal (did not use ant). When I run it, the best results I got was "HCI: Sending Command: 3092" displayed on the console. But it failed to execute the command "localDev.getFriendlyName(
)". Also, I noticed the bcc (bluetooth control centre) is not part of the compiled code. Is that a must for the code the work? Any suggestion on what when wrong?
2. I have also tried using Sun's JSR-82's Reference Implementation. But it seems to be made only for J2ME and not J2SE, am I right?
3. I've also taken a look at the Possio's example on how to get a simple app done. Found here :
http://jsr82.devzone.possio.com/example_1.html. But for this example, does that means I NEED to get the possio's bluetooth dongle/device in order to get it to work? Must make it clear that I have not tried executing this set of codes yet.
4. Also tried looking at Nokia's Development Suite, but would need to actually implement that on a Nokia handphone... which defeats the purpose of getting it to work on J2SE.... (am i right?)
So, can the possio's set of code work for my dongle, or do I need to buy possio's dongle? Is there any other alternatives I can try in order to implement a simple bluetooth application using my bluetooth USB dongle? I have another dongle which I haven't tried (PCI GW-BH02U). I don't mind buying another dongle in around the same price range if it means I can get a simple application to work.
Really gonna pull my hair out now.... help!!
(Sidenote : Have acknowledged that this question's kinda complicated. Will award an additional 500 pts (for a total of 1000 pts) if the answers get me through this bottleneck!)
Start Free Trial