Bluetooth Application Programming with the Java APIs


  • C Bala Kumar, Freescale Semiconductor Inc., Austin, TX, USA
  • Paul Kline, Freescale Semiconductor Inc., Austin, TX, USA
  • Timothy Thompson, Motorola Inc., Austin, TX, USA

Adoption of Bluetooth wireless technology has made great strides in the last few years. One of the biggest steps forward—the standardization of Java APIs for Bluetooth wireless technology (JABWT)—is explained in detail in this book. The JABWT standard, defined by the JSR-82 specification, supports rapid development of Bluetooth applications that are portable, secure, and highly-usable. Wireless device manufacturers have responded to the JABWT specification by announcing mobile phones and other products that will run JABWT applications. Bluetooth Application Programming with the Java APIs explains in detail how to write Bluetooth applications using the Java APIs to exploit the power of both technologies. Written by the specification lead for JSR-82 and two other key participants in the definition of JABWT, this book provides the authoritative explanations and concrete examples you need to get started right away. About the AuthorsC Bala Kumar is a Distinguished Member of the Technical Staff at Motorola. He chaired the industry expert group that defined the Java APIs for Bluetooth wireless technology. He currently leads the systems software team for wireless platforms in Motorola's Semiconductor Products Sector. Paul J. Kline is a Distinguished Member of the Technical Staff at Motorola and the maintenance lead for the JABWT specification. He currently works on the System Software Architecture team in Motorola's Semiconductor Products Sector. Timothy J. Thompson is a Senior Software Engineer on the System Software Architecture team in Motorola's Semiconductor Products Sector. He was the OBEX architect on the JABWT specification team at Motorola.
View full description


Java programmers -embedded systems programmers, applications programmers and developers, network programmers


Book information

  • Published: September 2003
  • ISBN: 978-1-55860-934-1


"We are all fortunate to have this book that not only explains Java APIs for Bluetooth wireless technology, but also is chock-full of pithy examples that illustrate how to make things work. This is the only book on this topic that anyone should need and it is the one that practitioners must have." -Brent A. Miller, IBM Corporation, co-author, Bluetooth Revealed "While the JSR specification does a good job of specifying the API, a book that provides more explanations and examples is essential to extend its reach among the developers. The authors are perfect candidates to write and explain the relevant APIs, adding insights to the design process of this specification." -Teck Yang Lee, Sun Microsystem (Representative to JSR-82 Expert Group)

Table of Contents

Chapter 1 Introduction 1.1 Wireless Connectivity 1.2 What is Bluetooth Wireless Technology? 1.3 Overview of the Bluetooth Stack architecture1.4 What is J2ME? 1.5 Why Java Technology for Bluetooth Devices?1.6 Summary Chapter 2 An Overview of JABWT 2.1 Goals 2.2 API Characteristics and Hardware Requirements2.3 Scope2.4 SummaryChapter 3 High-Level Architecture3.1 Architecture of JABWT 3.2 Bluetooth Control Center 3.3 Simple JABWT Application3.4 SummaryChapter 4 RFCOMM4.1 Overview4.2 API capabilities4.3 Programming with the API4.4 Summary Chapter 5 OBEX 5.1 Overview 5.2 API Capabilities 5.3 Programming with the API 5.4 Summary Chapter 6 Device Discovery 6.1 Overview 6.2 API capabilities6.3 Programming with the API 6.4 Summary Chapter 7 Service Discovery7.1 Overview 7.2 API capabilities 7.3 Programming with the API 7.4 Summary Chapter 8 L2CAP 8.1 Overview 8.2 API Capabilities 8.3 Programming with the API8.4 SummaryChapter 9 Example Applications 9.1 Overview 9.2 Tic-Tac-Toe MIDlet 9.3 OBEX Application Download 9.4 Summary Chapter 10 Implementing JABWT on a Device10.1 Porting Process 10.2 Steps 1 and 2: Adding J2ME and Bluetooth support 10.3 Step 3: Implementing JABWT 10.4 Step 4: TCK Compliance Chapter 11 Closing RemarksAppendix A: Complete Code ExamplesAppendix B: javax.bluetooth.apiAppendix C: java.obex.apiReferencesIndex