This article is the second installment in a two-part series on Java and
Bluetooth. Last month you got your feet wet in Bluetooth (JDJ, Vol. 7, issue
8); if you don't remember what the role of a Bluetooth stack or a Bluetooth
profile is in the context of a Bluetooth application, refer to Part 1.
Let's recap. The basic concepts of any Bluetooth application (Java or
otherwise) consist of the following components: Stack initialization Device
management Device discovery Service discovery Service registration
Communication We covered stack initialization last month, so let's proceed!
Device Management
LocalDevice and RemoteDevice are the two main classes in the Java Bluetooth
Specification that let you perform device management. These classes allow you
to request some statistical information about your Bluetooth device
(LocalDevice) as well as some information about the dev... (more)
This is Part 1 of a two-part article that will show you how to write wireless
J2ME applications using Bluetooth. If you're a J2ME developer, this will
quite likely be your first introduction to Bluetooth. Perhaps you've heard a
lot about it, but you're not sure what it is or how it works. Well, you've
come to the right place.
First, we'll look at the Bluetooth protocol, then compare it to another
common wireless technology: 802.11b. Next, we'll look at the anatomy of a
Java Bluetoothenabled device and examine its components in detail. Later
on, we'll dive into the details and e... (more)