During the development of the Bluetooth browser and Bluetooth benchmark applications I realized that I was using the same code several places in the applications. It was natural to put this code in a separate library, so the KlingsLib library was born. Hopefully, the library can be of use for other Java Bluetooth developers.
Two packages are defined, org.klings.wireless.BluetoothNumbers and
org.klings.wireless.j2me. Together, they provide constants for
"Bluetooth Numbers," a tool to convert 128-bit UUIDs to 16- or 32 bit short UUIDs,
a Canvas which prints Bluetooth system properties of the host device, a Canvas that prints the
attributes set in a Bluetooth service record and a tool to format Strings so they can be printed
in a Canvas without exceeding the Canvas width.
Documentation for the libraries has been generated with the JavaDoc tool and is available at:
http://wireless.klings.org/klingslib/javadoc/
The library itself is available as a JAR file at:
http://wireless.klings.org/klingslib/klingslib-1.0.jar
Source code and JavaDoc are also available as a JAR file. Source code is located in the src directory,
and the JavaDoc is located in the doc directory. The source archive will enable an IDE to display JavaDoc for the KlingsLib
during development.
http://wireless.klings.org/klingslib/klingslib-1.0_src.jar
KlingsLib is released under the BSD license which is included in every source file. This essentially means that you can use KlingsLib to whatever you want. If you decide to use KlingsLib for a real application it would be nice if you sent me an e-mail. I am curious if anyone will actually use the library.
If you discover any bugs, please let me know. I hope to develop this library further in the future.
This page was last updated 14. Jul. 2006
Comments and feedback are highly appreciated.
You can reach me at: klings (at) nowires (dot) org