HAL & Bluez

HAL is an Hardware Abstraction Layer, merging various device informations and describing hardware for many systems. It might become the first place to interact with BlueZ.

Status

You should use org.bluez DBus API.

Some work-in-progress has been made by Matthew Garrett during the SoC'06.

You can see this thread and try this hal addon.

HAL device methods

I reproduce the interface provided on the HAL device tree as proposed by M. Garrett here.

org.freedesktop.Hal.Device.Bluetooth

for a device

 int Pair

 int DisconnectRemoteDevice

 int Unbound

 int SetRemoteAlias
   string:alias

 int ClearRemoteAlias

 int Browse

if a "service device":

 int rfcomm_bind