Using The Bluetooth And Obex Apis; Bluetooth Simulation Environment; Obex Over Infrared - Sun Microsystems J2ME User Manual

Wireless toolkit 2.2
Table of Contents

Advertisement

11
C H A P T E R
Using the Bluetooth and OBEX
APIs
The J2ME Wireless Toolkit emulator supports JSR 82, the Java APIs for Bluetooth.
JSR 82 includes two independent APIs:
The Bluetooth API provides an interface to Bluetooth wireless networking,
including device discovery and data exchange.
The OBEX API allows applications to use the Object Exchange (OBEX) protocol
over Bluetooth or other communication channels.
This chapter describes how the J2ME Wireless Toolkit implements the Bluetooth
and OBEX APIs.
11.1

Bluetooth Simulation Environment

The J2ME Wireless Toolkit emulator allows you to develop and test application that
use Bluetooth without having actual Bluetooth hardware. The toolkit simulates a
Bluetooth environment for running emulators. Multiple emulator instances can
discover each other and exchange data using the Bluetooth API.
For an example, see the documentation of BluetoothDemo in
"Application
11.2

OBEX Over Infrared

The J2ME Wireless Toolkit implements OBEX transfer over simulated Bluetooth
and infrared connections. The simulated infrared connection follows the IrDA
standard (see http://www.irda.org/). Simulated infrared transfers can take
place between multiple running emulators.
Demonstrations."
Appendix A,
73

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the J2ME and is the answer not in the manual?

Questions and answers

Table of Contents