ubuntu蓝牙bluez

来源:互联网 发布:淘宝什么字体是免费的 编辑:程序博客网 时间:2024/06/06 06:29
Ubuntu和BlueZ BLE
1. Ubuntu12.04查看BlueZ版本:
#dpkg --status bluez | grep '^Version:'
Version: 4.98-2ubuntu7


dpkg --status bluez
Package: bluez
Status: install ok installed
Multi-Arch: foreign
Priority: optional
Section: admin
Installed-Size: 2466
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Version: 4.98-2ubuntu7
Replaces: bluez-audio (<= 3.36-3), bluez-input, bluez-network, bluez-serial, bluez-utils (<= 3.36-3), udev (<< 170-1)
Depends: libc6 (>= 2.15), libcap-ng0, libdbus-1-3 (>= 1.1.1), libglib2.0-0 (>= 2.28.0), libreadline6 (>= 6.0), libudev0 (>= 147), libusb-0.1-4 (>= 2:0.1.12), upstart-job, module-init-tools, udev (>= 170-1), lsb-base, dbus, python-dbus
Pre-Depends: dpkg (>= 1.15.7.2)
Breaks: udev (<< 170-1)
Conflicts: bluez-audio (<= 3.36-3), bluez-utils (<= 3.36-3)
Conffiles:
 /etc/init/bluetooth.conf e6b0122c1e5cd56016859a0767a8cfcb
 /etc/bluetooth/main.conf 040f452803430c8c9b95f50c60e43b4b
 /etc/bluetooth/serial.conf 5dcc15dd1153ddebbd41612da9b642e5
 /etc/bluetooth/input.conf 4bebcedeed8770b1aea07eefc5c35a52
 /etc/bluetooth/network.conf 0c7497c405b963382ff71789d0730abd
 /etc/bluetooth/audio.conf c2ee67e4141ac548f5bc49634f44018a
 /etc/bluetooth/rfcomm.conf 0a87d3eddd29683c1456688907e67b4f
 /etc/bluetooth/proximity.conf b75823a140e00905d41465c380bf89fe
 /etc/dbus-1/system.d/bluetooth.conf ab36f00296c5d1f7ce78db671fb4338a
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>

http://www.myexception.cn/open-source/1585662.html

http://www.ioncannon.net/linux/1570/bluetooth-4-0-le-on-raspberry-pi-with-bluez-5-x/

2.查看蓝牙适配器:
hciconfig
hci0:    Type: BR/EDR  Bus: USB
    BD Address: 00:1A:7D:DA:71:13  ACL MTU: 310:10  SCO MTU: 64:8
    UP RUNNING PSCAN ISCAN
    RX bytes:8233 acl:58 sco:0 events:152 errors:0
    TX bytes:2375 acl:58 sco:0 commands:55 errors:0

3.Ubuntu 蓝牙全攻略


4.设置Ubuntu蓝牙激发ubuntu的潜能(1)

sudo apt-get install subversion g++ autoconf libtool libspeexdsp-dev libasound2-dev libbluetooth-dev libaudiofile-dev libdbus-1-devdownload PyBluez0.20   http://code.google.com/p/pybluez/

0 0
原创粉丝点击