简体   繁体   中英

JSR82 and Bluetooth dongles

I am working in a Windows 7 32 bit computer to develop a java desktop application to communicate with a Bluetooth dongle. I have found a java implementation for the jsr82 API in this link: http://www.jsr82.com/jsr-82-sample-device-discovery/

The code has no errors and no warnings, but the invocation of the line:

LocalDevice localDevice = LocalDevice.getLocalDevice(); 

returns null (so it can not find my Bluetooth device).

Note: The dongle is recognized by the pc.

My question is: What is the way to go when working with java and Bluetooth dongles? Can anyone help me to find a solution to my problem?

使用蓝牙加密狗时,请将bluecove用作库。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM