20. Bluetooth and OBEX
BLUETOOTH is short-range wireless technology, good for connecting mobile phones, headsets, keyboards, mice, computers, and other devices together. Many modern mobile phones have Bluetooth hardware, as you have probably noticed by the proliferation of people walking around with those mondo tomorrow Bluetooth headsets tucked in their ears.
JSR 82 defines the Bluetooth API and the OBEX API. The Bluetooth API lives in javax.bluetooth, while the OBEX API is in javax.obex.
OBEX stands for OBject EXchange. It is a standard for moving data between two endpoints. It is independent of the underlying network transport, so it can run on top of a Bluetooth connection or an infrared data connection.
The Bluetooth and OBEX APIs defined ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access