BlueCove

BlueCove is a Java library for Bluetooth (JSR-82 implementation) that currently interfaces with the Mac OS X, WIDCOMM, BlueSoleil and Microsoft Bluetooth stack found in Windows XP SP2 or Windows Vista and WIDCOMM and Microsoft Bluetooth stack on Windows Mobile.

BlueCove-GPL is additional GPL licensed module to support BlueCove runtime on Linux BlueZ.

BlueCove JSR-82 Emulator module is additional module for BlueCove to simulate Bluetooth stack.

BlueCove can be used in Java Standard Edition (J2SE) 1.1 or newer.

BlueCove has been tested on following JVM:

  • Apache Harmony - Open Source Java SE 5.0M5 on Win XP 32 bit
  • SUN Java 1.1.8 on Windows XP/X86
  • SUN Java 2 Platform Standard Edition 1.4.2 on Windows XP/X86
  • SUN Java 2 Platform Standard Edition 5.0 on Windows XP/X86
  • SUN Java 2 Platform Standard Edition 6.0 on Windows XP/X86 and Windows Vista
  • SUN Sun Java Toolkit for CDC 1.0 on Windows XP/X86 (Need custom made dlls with __cdecl exports)
  • WebSphere Everyplace Micro Environment 5.7.2, CDC 1.0/Foundation 1.0/Personal Profile 1.0 on Windows XP/X86
  • WebSphere Everyplace Micro Environment 6.1.1, CDC 1.0/Foundation 1.0/Personal Profile 1.0 on Windows XP and Linux/X86
  • WebSphere Everyplace Micro Environment 5.7.2, CLDC 1.1, MIDP 2.0 on Windows XP/X86
  • WebSphere Everyplace Micro Environment 6.1.1, CLDC 1.1, MIDP 2.0 on Linux/X86
  • Mysaifu JVM - An open-source (GPL v.2 license) Java VM on Windows Mobile 2003 Second Edition.
  • Java for Mac OS X 10.4 and 10.5, Release 5 on PowerPC and Intel processors
  • SUN Java 2 SE 5.0 on Linux Fedora 6 i386 BlueZ 3.7, Fedora 7 i386 BlueZ 3.9, (Also tested on Ubuntu and OpenSUSE, i386 and 64-bit)
  • GNU libgcj 4.1.2 on Fedora 7 i386 BlueZ 3.9
  • SableVM on Debian 4.0r3 ARM on Linksys NSLU2

BlueCove provides JSR-82 Java interface for following Bluetooth Profiles:

  • SDAP - Service Discovery Application Profile
  • RFCOMM - Serial Cable Emulation Protocol
  • L2CAP - Logical Link Control and Adaptation Protocol
  • OBEX - Generic Object Exchange Profile (GOEP) profile on top of RFCOMM and TCP

BlueCove Documentation

BlueCove Installation and configuration instructions

API-Documentation for BlueCove Java docs . For application it is not recommended to use any classes or API other than defined in JSR-82.

For more limitations on different stacks see BlueCove supported stacks .

Main project website http://bluecove.googlecode.com

JSR-82 and Bluetooth stack diagram

BlueCove Tests

You can help us to make BlueCove better or understand how we are testing it look here .

JSR 82 TCK test results here .

BlueCove examples

  • BlueCove OBEX Push J2ME application installer here .
  • MIDlet application Mobile GMaps created by Cristian Streng will connect to GPS receiver over bluetooth. ┬╗Start now .

BlueCove provides an implementation of the JSR 82. Applications should use API defined in JSR-82 . You may find many examples on the internet describing the usage of JSR 82.

We created short (50 lines of code each) examples for you to get started with JSR-82 application development:

Legal

BlueCove is licensed under Apache License, Version 2.0 . The license allows linking and distributing commercial software with BlueCove.

BlueCove BlueZ module is licensed under GNU General Public License .

For various technical and legal reasons, BlueCove library is not legally referred to as an implementation of JSR-82 . In order to legally refer to a piece of software as a JSR, it must pass the JSR-82 TCK or Sun TCK . Current BlueCove JSR-82 TCK compatibility status can be found here . Mainly there are some missing APIs in native stacks to implement full TCK compatibility.