bluez-utils 2.25 (binary only, incl. Pin-Change and NAP) - DEPRECATED

Official Linux Bluetooth protocol stack

General

It was quite an adventure to get this working, without any BlueZ documentation, but here we go :-)

PAN

Freetz PAN Server:

(Android) PANU Client:

Freetz PAN Server:

Android PANU Client:

Ignore any message from the Android browser that there is no connection :-)

Automation: use Script Manager or use NC Bluetooth Tether.

Ubuntu client:

Tested with a Sitecom CN-517 USB dongle (pretty generic) through a USB-hub on a 7270v2 international with the (patched) btusb module and an Android device with a CyanogenMod 7 ROM and with a Ubuntu Lucid Lynx client.

lsusb:

VID=0a12
PID=0001
CLS=224
SCL=01
SPEED='full'
VER='2.0'
ISOC=1
INUM=2
ICLS1=224
ISCL1=01
ICLS2=224
ISCL2=01

Not tested with hci_usb (earlier kernels; will probably work) and bfusb (AVM - BlueFRITZ! USB).

DUN

DBUS

See all interface methods:

dbus-send --system --dest=org.bluez --print-reply /org/bluez/$(pidof bluetoothd)/hci0 org.freedesktop.DBus.Introspectable.Introspect

See the properties of your adapter:

dbus-send --system --type=method_call --dest=org.bluez --print-reply /org/bluez/$(pidof bluetoothd)/hci0 org.bluez.Adapter.GetProperties

See the properties of your device:

dbus-send --system --type=method_call --dest=org.bluez --print-reply /org/bluez/$(pidof bluetoothd)/hci0/dev_YY_YY_YY_YY_YY_YY org.bluez.Device.GetProperties

Sizes

  libbluetooth .................   55.07 Kb
  libdbus ......................   86.59 Kb
  libexpat .....................   43.79 Kb
  libglib_2 ....................  237.86 Kb
  libpcre ......................   60.75 Kb

  crc16.ko .....................    1.27 Kb
  btusb.ko .....................    6.25 Kb
  bnep.ko ......................    7.30 Kb
  bluetooth.ko .................   27.58 Kb
  l2cap.ko .....................   17.07 Kb
  rfcomm.ko ....................   22.10 Kb

  dbus-1.5.8 ...................  143.21 Kb
  bluez-4.101 ..................  285.39 Kb