Difference between revisions of "Bluetooth"

From Lazarus wiki
Jump to navigationJump to search
Line 28: Line 28:
 
===Linux===
 
===Linux===
  
The BlueZ libraries must be installed. Under ubuntu you can use:
+
The BlueZ libraries plus their development files must be installed. Under ubuntu you can use:
 
   sudo apt-get install libbluetooth-dev
 
   sudo apt-get install libbluetooth-dev
  

Revision as of 15:01, 3 April 2008

About

The bluetoothlaz package provides bindings and functions to access bluetooth devices under various platforms.

It contains examples, like accessing the Wii Remote.

Author

Mattias Gaertner

License

LGPL (please contact the author if the LGPL doesn't work with your project licensing)

Download

The latest stable release can be found on the Lazarus CCR Files page.

Status

Alpha

At the moment the package only supports Linux. Eventually it will support Windows, MacOSX and other platforms and will get some platform independent Wrapper functions/classes.


Dependencies / System Requirements

Linux

The BlueZ libraries plus their development files must be installed. Under ubuntu you can use:

 sudo apt-get install libbluetooth-dev

Installation

Download and unpack the package to a directory of your choice. In the Lazarus IDE use Package / Open package file. A file dialog will appear. Choose the bluetooth/bluetoothlaz.lpk and open it. That's all. The IDE now knows the package.

Examples

There are two examples for the Wii Remote. One that demonstrates how to connect to a Wii Remote and shows the infrared sensors and one that demonstrates VR headtracking with the Wii Remote and the 3D package Asmoday.

ToDo: Usage/Tutorial/Reference

The package is quite new and not yet complete. Documentation will be written, when some more platforms are supported and the API has stabilized.