The following packages are supported by the Bluetooth API:
javax.bluetooth
:
Full support.
javax.obex
:
Full support.
javax.microedition.io
: This is a generally
scoped package. Only the Connector
and PushRegistry
classes of this package are targeted by Bluetooth API and they are supported.
The other classes of this package are not relevant to Bluetooth API scope
and therefore they are not supported in a practical sense.
JSR-82 defines the following types of connection:
RFCOMM
The Serial Port Profile (SPP) defines the requirements for Bluetooth devices to set up emulated serial cable connections using RFCOMM.
L2CAP
The Logical Link Control and Adaptation Protocol handles the multiplexing, reassembly and segmentation of packets.
OBEX
The Object Exchange protocol sends and receives objects (for example, business cards).