Bluetooth Application Developer's Guide

Front Cover
Elsevier, Jan 2, 2002 - Computers - 520 pages

"Bluetooth (enabled devices) will ship in the billions of units once it gains momentum." - Martin Reynolds, Gartner Group

Bluetooth is the most exciting development in wireless computing this decade! Bluetooth enabled devices can include everything from network servers, laptop computers and PDAs, to stereos and home security systems. Most Bluetooth products to hit the market in 2001 will be PC cards for laptop computers and access points, which allow up to seven Bluetooth devices to connect to a network. Reports indicate that by the end of 2003 there will be over 2 billion Bluetooth-enabled devices.

Bluetooth-enabled devices communicate with each other through embedded software applications. Bluetooth Developer's Guide to Embedded Applications will provide embedded applications developers with advanced tutorials and code listings written to the latest Bluetooth's latest specification, version 1.1. Written by Bluetooth pioneers from market leaders in Bluetooth software development, Extended Systems and Cambridge Silicon Radio, this is the first advanced level Bluetooth developer title on the market.

  • White Hot Topic
  • While other books introduce readers to the possibilities of Bluetooth, this is the first comprehensive, advanced level programming book written specifically for embedded application developers
  • Authors are responsible for SDK, the market-leading development tool for Bluetooth
  • Comes with Syngress' revolutionary Credit Card CD containing a printable HTML version of the book, all of the source code and sample applications from Extended Systems and Cambridge Silicon Radio
 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

API
215
Other Considerations
216
Fair Warning
217
Learning about the Kernel Driver
218
What Exactly Is a TTY?
219
Building Driver Stacks in the Linux Kernel
220
Understanding the Bluetooth Driver Interface
221
Using the RFCOMM TTY Drivers
222

Considering Product Design
11
Investigating Convenience
12
Enhancing Functionality
15
Do You Have Time?
17
Investigating Product Performance
18
Evaluating Connection Times
19
Discovering Devices
20
Connecting Devices
21
Quantifying Connection Times
22
Performing Service Discovery
24
Quality of Service in Connections
25
Latency
27
Delivering Voice Communications
28
Investigating Interference
29
Interfering with Other Technologies
31
Coexisting Piconets
32
Using Power Control
34
Aircraft Safety
35
Assessing Required Features
36
Using Low Power Modes
37
Sniff Mode
38
Unparking
39
Providing Channel Quality Driven Data Rate
40
Constraining Implementation Options with Profiles
43
Design Bluetooth Directly Onto the PCB
45
Design Verification
49
Manufacturing
50
Using a Prequalified Complete Bluetooth Module
51
Firmware Versions
53
Considering Battery Limitations
55
Adding Batteries
56
Using Power Saving Modes to Extend Battery Life
57
Assessing Battery Life
58
Summary
64
Solutions Fast Track
65
Frequently Asked Questions
67
Exploring the Foundations of Bluetooth
69
Introduction
70
L2CAP
71
RFCOMM
72
OBEX
73
SDP
74
Why Unconnected Devices Need to Talk
75
Discovering Neighboring Devices
77
Timing
80
When to Stop
81
Connecting to a Device
82
Timing
86
Who Calls Who?
88
Connecting to and Using Bluetooth Services
91
Summary
98
Solutions Fast Track
99
Frequently Asked Questions
101
Power Management
103
Introduction
104
Investigating Bluetooth Power Modes
106
Hold Mode
107
Sniff Mode
110
Park Mode
113
Evaluating Consumption Levels
117
Summary
120
Using Power ManagementWhen and Why Is It Necessary?
121
Evaluating Consumption Levels
122
Security Management
125
Introduction
126
Outfitting Your Security Toolbox
127
Authentication
128
Pairing
129
Link Keys
130
Application Involvement
132
Using the Trust Attribute
133
PointtoPoint Encryption
134
Application Involvement
135
Mode 1 Role
138
Mode 3 Role
141
Mode Unknown
142
The Role of Security Databases
143
Service Database Operations
144
Role of Device Databases
146
Device Database Operations
147
Working with Protocols and Security Interfaces
148
Mode 3 Operation
150
Exploring Other Routes to Extra Security
153
Invisibility
154
Implementing Security Profiles
155
Cordless Telephony and Intercom
156
Headset Profile
157
LAN Access
158
OBEX
159
Case Study
161
Summary
162
Frequently Asked Questions
164
Service Discovery
167
Introduction
168
Introduction to Service Discovery
169
Service Discovery Protocols
170
Bluetooth SDP
171
Architecture of Bluetooth Service Discovery
172
The Service Discovery Protocol
175
Developing An Abstract C API for SDP
176
Discovering Services
180
ShortCircuiting the Service Discovery Process
181
Discovering Specific Services
186
Using Service Attributes
187
Browsing for Services
189
Service Discovery Application Profile
192
Service Discovery NonApplication Profiles
193
Java C and SDP
195
Other Service Discovery Protocols
196
Salutation
197
Service Location Protocol
198
Jini
200
Universal Plug and Play UPnP
202
The Future of SDP
203
Summary
204
Introduction to Service Discovery
205
Discovering Services
206
Java C and SDP
207
The Future of SDP
208
Frequently Asked Questions
209
Linux Bluetooth Development
211
Introduction
212
Comparing BlueDrekar with OpenBT by Features
213
Kernel Versions
214
Multiplexing over RFCOMM
223
Installing a Line Discipline over an RFCOMM TTY
225
Using the Control Driver
226
Understanding the btd and btduser Applications
227
Understanding the BluetoothPN Application
228
Writing Your Own Minimal Application
231
Connecting to a Bluetooth Device
233
Initializing the Bluetooth Stack
234
Stacking the Drivers
235
Starting Communication between the PC and the Card
236
Switching to a Higher Baud Rate
237
Finding Neighboring Devices
238
Letting Other Bluetooth Devices Discover Us
239
Using Service Discovery
241
Sending an SDP Request
242
Processing an SDP Response
244
Adding a Service to the Local Database
246
Querying the Local Database
247
Creating a Connection
248
Accepting a Connection
249
Disconnecting
250
Controlling a Bluetooth Device
251
Distinguishing between Control and Data Applications
252
Covering Basic Scenarios
255
UserInitiated and Automated Shutdown
257
Summary
259
Solutions Fast Track
260
Frequently Asked Questions
262
Embedding Bluetooth Applications
265
Introduction
266
Understanding Embedded Systems
267
Understanding Messaging and Queues
268
Getting Started
271
Installing the Tool Set
273
Running an Application under the Debugger
274
Using Plugins
276
Debugging under BlueLab
280
Debugging Using VM Spy
283
Using VM Packets
284
Packing Format in Messages
287
Using the BlueLab Libraries
288
Basic Libraries
290
CSR Library
291
Using Tasks and Messages
293
Creating and Destroying Messages
294
Using the MAKE_MSG Macro
295
Connection Manager
296
Initializing and Opening the Connection Manager
297
Inquiry
302
Pairing
304
Connecting
306
Sending Data
311
Using Other Messages and Events
312
Deploying Applications
313
Summary
314
Frequently Asked Questions
316
Chapter 8
317
Introduction
318
Understanding Palm OS Profiles
320
Choosing Services through the Service Discovery Protocol
322
Updating Palm OS Applications Using the Bluetooth Virtual Serial Driver
324
Creating a VDRV ClientOnly Application
329
Creating a VDRV ServerOnly Application
332
Using Bluetooth Technology with Exchange Manager
335
Creating BluetoothAware Palm OS Applications
337
Using Basic ACL Links
339
Creating L2CAP and RFCOMM Connections
346
Using the Service Discovery Protocol
359
Advertising a Basic Service Record for an RFCOMM or L2CAP Listener Socket
360
Retrieving Connection Information about L2CAP and RFCOMM Listeners on a Remote Device
361
Using Bluetooth Security on Palm OS
364
The Future of Palm OS Bluetooth Support
369
Summary
370
Solutions Fast Track
372
Frequently Asked Questions
376
Designing an Audio Application
379
Introduction
380
Choosing a Codec
381
Pulse Code Modulation
383
Continuous Variable Slope Delta Modulation
385
Configuring Voice Links
389
Choosing an HV Packet Type
390
Sending Data and Voice Simultaneously
391
Using ACL Links for HighQuality Audio
393
Choosing an Audio Interface
395
Selecting an Audio Profile
396
Applications Not Covered by Profiles
401
New Audio Profiles
402
Discovering Devices
403
Using Service Discovery
405
Connecting to a Service
407
Using Power Saving with Audio Connections
409
Differentiating Your Audio Application
410
Enabling Upgrades
411
Improving the Audio Path
412
Summary
413
Frequently Asked Questions
417
Personal Information Base Case Study
419
Introduction
420
Why Choose Bluetooth Technology?
422
Implementing Optional Extra Features
425
Choosing a Wireless Technology for the PIB Device
427
Considering the Cost of the PIB
428
Exploring the Safety and Security Concerns of a Personal Information Base
429
Ensuring Data Integrity
430
Providing Security
431
Meeting Medical Requirements
432
Understanding the Bluetooth Specification Hierarchy
433
Initializing the PIB
437
Sending and Receiving Information
438
Selecting a Device
448
Using the Service Discovery Application Profile
449
Using the Generic Object Exchange Profile
450
Considering the Users View
454
Identifying System Use Cases
455
Managing Personal Information Base Performance
456
Summary
458
Solutions Fast Track
459
Frequently Asked Questions
461
Bluetooth Application Developers Guide Fast Track
463
Glossary
487
Index
493
Copyright

Other editions - View all

Common terms and phrases

Popular passages

Page v - FridaYara of Publishers Group West for sharing their incredible marketing experience and expertise. Mary Ging, Caroline Hird, Simon Beale, Caroline Wheeler, Victoria Fuller, Jonathan Bunkell, and Klaus Beran of Harcourt International for making certain that our vision remains worldwide in scope.
Page v - Publishers for the enthusiasm with which they receive our books. Kwon Sung June at Acorn Publishing for his support. Jackie Gross, Gayle Voycey, Alexia Penny, Anik Robitaille, Craig Siddall, Darlene Morrow...
Page v - Miller, Jane Mackay, and Marie Skelly at Jackie Gross & Associates for all their help and enthusiasm representing our product in Canada. Lois Fraser, Connie McMenemy, Shannon Russell, and the rest of the great folks at Jaguar Book Group for their help with distribution of Syngress books in Canada.
Page v - ... Acknowledgments We would like to acknowledge the following people for their kindness and support in making this book possible. Richard Kristof, Duncan Anderson, Jennifer Gould, Robert Woodruff, Kevin Murray, Dale Leatherwood...

References to this book

Bibliographic information