Java APIs for Bluetooth

From Wikipedia, the free encyclopedia

The Java APIs for Bluetooth is a Java Micro Edition specification for APIs that allow Java midlets to use Bluetooth on supporting devices. The specification was developed under the Java Community Process as JSR 82. Specification, Reference Implementation, and TCK maintained at Motorola Open Source

Java API described in JSR-82 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

JSR 82 implementations for Java 2 Platform Standard Edition (J2SE) also available.

[edit] Common Problems

When they wrote the specification they misinterpreted the requirement to reserve low ports for future use. Instead they chose to block all use of low ports. This means that any future standard service making use of the reserved ports will not work. The first example of such a service is HID. Bluetooth keyboards, mice and other input devices can not connect to java programs running on bluetooth mobile phones because of this mistake.

[edit] Devices

Devices supporting JSR 82:

Platform
40 series after 40 platform 2nd
s60 series after s60 platform 2nd
s80 series after s80 platform 2nd

Full list compiled based on publicly available resources

Devices not supporting JSR 82:

[edit] External links