装了ubuntun 10-04 VM,查看了下bluez的版本是4.60,由于从5开始的版本才会有ble,所以先学着传统蓝牙
查看版本version command:
dpkg --status bluez | grep '^Version:'
Version: 4.60-0ubuntu8
查看其它信息:
linux@ubuntu:~$ dpkg --status bluez
Package: bluez
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 1248
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: i386
Version: 4.60-0ubuntu8
Replaces: bluez-audio, bluez-input, bluez-network, bluez-serial, bluez-utils (<= 4.9)
Depends: libbluetooth3 (>= 4.60-0ubuntu8), libc6 (>= 2.7), libdbus-1-3 (>= 1.1.1), libglib2.0-0 (>= 2.23.5), libnl1 (>= 1.1), libusb-0.1-4 (>= 2:0.1.12), module-init-tools, makedev | udev, lsb-base, dbus
Suggests: python-gobject, python-dbus
Conflicts: bluez-utils (<= 3.36-3)
Conffiles:
/etc/bluetooth/input.conf 4bebcedeed8770b1aea07eefc5c35a52
/etc/bluetooth/audio.conf 69e81d359220790f751bf0580a154057
/etc/bluetooth/network.conf ea95a939aa23cd57eb1dd9bf175dbf53
/etc/bluetooth/serial.conf 5dcc15dd1153ddebbd41612da9b642e5
/etc/bluetooth/main.conf d0c81380bfb831c6a5ccf5f9dc427882
/etc/bluetooth/rfcomm.conf 0a87d3eddd29683c1456688907e67b4f
/etc/init.d/bluetooth 289eb622a2ce57ddcf8b1e9e8ac8c00e
/etc/dbus-1/system.d/bluetooth.conf 48e77efa789f5a01029c325bca1f3dd3
Description: Bluetooth tools and daemons
This package contains tools and system daemons for using Bluetooth devices.
.
BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source
project distributed under GNU General Public License (GPL).
Homepage: http://www.bluez.org
Original-Maintainer: Debian Bluetooth Maintainers <pkg-bluetooth-maintainers@lists.alioth.debian.org>
可以每个配置文件cat一下,看看里面的内容。