Skip to main content

bluetooth on Windows Mobile problem

4 replies [Last post]
dzieciou
Offline
Joined: 2004-03-30
Points: 0

Hi :-)

Can you sugest me any Bluetooth JSR82 library for Windows Mobile 2005 on iPAQ with Broadcom (WIDCOMM) ?

I used Bluecove with phoneME Advanced - Personal Profile b60 (downloaded from Davy's Preuveneers) page and I got the following message when trying to access Bluetooth's LocalDevice from Java code:

javax.bluetooth.BluetoothStateException: No WIDCOMM error code
at com.intel.bluetooth.BluetoothStackWIDCOMM.getLocalDeviceBluetoothAddress(Native Method)
at javax.bluetooth.LocalDevice.(Unknown Source)
at javax.bluetooth.LocalDevice.getLocalDeviceInstance(Unknown Source)
at javax.bluetooth.LocalDevice.getLocalDevice(Unknown Source)
at unimore.ecosystem.bluetooth.BluetoothDeviceDiscovery.main(Unknown Source)
at sun.misc.CVM.runMain(Unknown Source)

Thank you for your time,

Maciej

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Hi :-)
>
> Can you sugest me any Bluetooth JSR82 library for Windows Mobile 2005 on iPAQ with Broadcom (WIDCOMM) ?
>
> I used Bluecove with phoneME Advanced - Personal Profile b60 (downloaded from Davy's Preuveneers) page and I got the following message when trying to access Bluetooth's LocalDevice from Java code:
>
> javax.bluetooth.BluetoothStateException: No WIDCOMM error code
> at com.intel.bluetooth.BluetoothStackWIDCOMM.getLocalDeviceBluetoothAddress(Native Method)
> at javax.bluetooth.LocalDevice.(Unknown Source)
> at javax.bluetooth.LocalDevice.getLocalDeviceInstance(Unknown Source)
> at javax.bluetooth.LocalDevice.getLocalDevice(Unknown Source)
> at unimore.ecosystem.bluetooth.BluetoothDeviceDiscovery.main(Unknown Source)
> at sun.misc.CVM.runMain(Unknown Source)
>
>
Hi Maciej,

You can confirm with Davy Preuveneers, but I believe his binary is using
our phoneME WinMobile port which binds to the Broadcom WIDCOMM
implementation of Bluetooth (found on many WinMobile devices, like the
HTC Mogul)

I'm assuming your WinMobile device does not have the Broadcom WIDCOMM
implementation of Bluetooth on it. If it does not, you'll either have
to find and embed/install a Broadcom WIDCOMM driver for your WinMobile
device, or to rewrite the port of JSR 82 to use Bluecove instead of WIDCOMM.

Both are non-trivial tasks.

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

davyp
Offline
Joined: 2007-01-03
Points: 0

Hi Maciej,

I just tried out the Remote Device Discovery example on the BlueCove
website, and it seems to run fine on my Qtek 9090 (WM2003) and also
on an WM2006 device. I have tested this with a Personal Profile b64
development build. You can get the new binaries to my website.

However, I did encountered the error you mentioned once during my
tests. But after a soft reset, the problem was resolved.

Davy

paganopaganino
Offline
Joined: 2008-02-21
Points: 0

Hi devy,
I downloaded the last binary of phoneme advanced dual stack from your site ... I wanted to know if i can use bluecove through the midlet.
And if yes how?

Thanks Pagano

davyp
Offline
Joined: 2007-01-03
Points: 0

Hi Pagano,

I just did a quick test by adding the bluecove libraries to the classpath
(and even to the bootclasspath), but my Bluetooth midlet doesn't seem
to find the javax.bluetooth.* classes. I don't know if it is possible to use
external libraries from within a midlet.

Davy