“ubuntu教程”ubuntu和bluez ble

来源: 电脑维修教程   阅读:     发表时间:

bluez ble 1. ubuntu12.04查看bluez版本: #dpkg --status bluez | grep '^version:' version: 4.98-2ubuntu7 http://www.ioncannon.net/linux/1570/bluetooth-4-0-le-on-raspberry-pi-with-bluez-5-x/ 2.查看

bluez ble

1. ubuntu12.04查看bluez版本:

#dpkg --status bluez | grep '^version:'

version: 4.98-2ubuntu7

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

2.查看蓝牙适配器:

root@wv-thinkpad-sl:/home/wv# hciconfig

hci1: type: br/edr bus: usb

bd address: 00:23:4d:fd:01:9c acl mtu: 1021:8 sco mtu: 64:1

up running pscan

rx bytes:856 acl:0 sco:0 events:36 errors:0

tx bytes:886 acl:0 sco:0 commands:36 errors:0

root@wv-thinkpad-sl:/home/wv# 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

rx bytes:822 acl:0 sco:0 events:33 errors:0

tx bytes:877 acl:0 sco:0 commands:33 errors:0

hci1: type: br/edr bus: usb

bd address: 00:23:4d:fd:01:9c acl mtu: 1021:8 sco mtu: 64:1

up running pscan

rx bytes:856 acl:0 sco:0 events:36 errors:0

tx bytes:886 acl:0 sco:0 commands:36 errors:0

3. 扫描le设备:

root@wv-thinkpad-sl:/home/wv# hcitool lescan

le scan ...

90:59:af:27:b6:c9 (unknown)

90:59:af:27:b6:c9 keyfobdemo

4. 设置装备摆设advertise:

此中: hello world" would use: 48 45 4c 4c 4f 57 4f 52 4c 44

以上是:解决“ubuntu教程”ubuntu和bluez ble问题的详细资料教程

?
热门链接: 机顶盒 | 主板维修 | 声卡怎么安装 | 路由器怎么设置 | 电脑内存维修技术 | 维修大全?| 主板维修资料 | 电脑声卡音响故障维修 | 内存 | 显示器 | 电源维修教程 | cpu | 硬盘 | 显卡 |win8操作系统教程|linux操作系统教程|ubuntu操作系统教程|mac苹果操作系统教程|execl教程
友情链接: ?苹果手机维修?| 更多...