简体   繁体   中英

Bluetooth in java (J2SE)

I am a newbie to bluetooth and this is the thing i want to do , I want to to get the device information that gets connected to the Bluetooth on my pc and write the info in a file. which api should i use and how to implement . I came across bluecove but on a few searches i found that bluecove doesn't work on 64 bit pc's. what should i do now .i want this to work on both 32 bit and 64 bit pcs.

Thankx

The bluetooth apis recommended in the oracle tutorials are included in the JSR 82 API specification.

I think though, that the latest release of the BlueCove (2.1.1)includes the driver for windows 7 64.

check:

http://snapshot.bluecove.org/distribution/download/2.1.1-SNAPSHOT/2.1.1-SNAPSHOT.62/

You can download the JSR 82 specification and source code here:

http://jcp.org/aboutJava/communityprocess/mrel/jsr082/index2.html

A good oracle tutorial how to start is:

http://developers.sun.com/mobility/midp/articles/bluetooth2/

And here is also a good practical example:

http://today.java.net/pub/a/today/2004/07/27/bluetooth.html

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