Ubuntu16.04搭建UbertoothOne环境

本文详细指导如何在Ubuntu 16.04操作系统中安装libbtbb和UbertoothOne软件,包括下载、编译和配置步骤,确保硬件固件版本验证成功。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Ubuntu搭建UbertoothOne环境

  • 【支持原创,转载需经过作者同意,否则追究相关责任】

相关链接

环境说明

  • 操作系统:Ubuntu 16.04.3 LTS
  • Ubertooth软件版本:ubertooth 2020-12-R1
  • Libbtbb版本:libbtbb 2020-12-R1
  • ubuntu环境安装支持:
    sudo apt install cmake libusb-1.0-0-dev libbluetooth-dev python3-numpy python3-setuptools

libbtbb(蓝牙基带库)库安装

编译安装

1.编译安装
tar zxvf libbtbb-2020-12-R1.tar.gz
cd libbtbb-2020-12-R1
mkdir build
cd build
cmake ..
make
sudo make install

sudo ldconfig

2.安装路径
[100%] Built target btbb
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/lib/pkgconfig/libbtbb.pc
-- Installing: /usr/local/lib/libbtbb.so.1.0
-- Installing: /usr/local/lib/libbtbb.so.1
-- Installing: /usr/local/lib/libbtbb.so
-- Installing: /usr/local/include/btbb.h

Ubertooth工具软件安装

编译安装

1.编译安装
tar zxvf ubertooth-2020-12-R1.tar.gz
cd ubertooth-2020-12-R1/host
mkdir build
cd build
cmake ..
make
sudo make install

sudo ldconfig

2.安装路径
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/lib/libubertooth.so.1.1
-- Installing: /usr/local/lib/libubertooth.so.1
-- Installing: /usr/local/lib/libubertooth.so
-- Set runtime path of "/usr/local/lib/libubertooth.so.1.1" to ""
-- Installing: /usr/local/include/ubertooth.h
-- Installing: /usr/local/include/ubertooth_callback.h
-- Installing: /usr/local/include/ubertooth_control.h
-- Installing: /usr/local/include/ubertooth_fifo.h
-- Installing: /usr/local/include/ubertooth_interface.h
-- Installing: /usr/local/bin/ubertooth-rx
-- Set runtime path of "/usr/local/bin/ubertooth-rx" to ""
-- Installing: /usr/local/bin/ubertooth-tx
-- Set runtime path of "/usr/local/bin/ubertooth-tx" to ""
-- Installing: /usr/local/bin/ubertooth-dump
-- Set runtime path of "/usr/local/bin/ubertooth-dump" to ""
-- Installing: /usr/local/bin/ubertooth-util
-- Set runtime path of "/usr/local/bin/ubertooth-util" to ""
-- Installing: /usr/local/bin/ubertooth-btle
-- Set runtime path of "/usr/local/bin/ubertooth-btle" to ""
-- Installing: /usr/local/bin/ubertooth-dfu
-- Set runtime path of "/usr/local/bin/ubertooth-dfu" to ""
-- Installing: /usr/local/bin/ubertooth-specan
-- Set runtime path of "/usr/local/bin/ubertooth-specan" to ""
-- Installing: /usr/local/bin/ubertooth-ego
-- Set runtime path of "/usr/local/bin/ubertooth-ego" to ""
-- Installing: /usr/local/bin/ubertooth-afh
-- Set runtime path of "/usr/local/bin/ubertooth-afh" to ""
-- Installing: /usr/local/bin/ubertooth-ducky
-- Set runtime path of "/usr/local/bin/ubertooth-ducky" to ""
-- Installing: /usr/local/bin/ubertooth-follow
-- Set runtime path of "/usr/local/bin/ubertooth-follow" to ""
-- Installing: /usr/local/bin/ubertooth-scan
-- Set runtime path of "/usr/local/bin/ubertooth-scan" to ""
-- Installing: /usr/local/bin/ubertooth-debug
-- Set runtime path of "/usr/local/bin/ubertooth-debug" to ""
-- Installing: /usr/local/share/man/man1/ubertooth-btle.1
-- Installing: /usr/local/share/man/man1/ubertooth-dump.1
-- Installing: /usr/local/share/man/man1/ubertooth-rx.1
-- Installing: /usr/local/share/man/man1/ubertooth-specan.1
-- Installing: /usr/local/share/man/man1/ubertooth-afh.1
-- Installing: /usr/local/share/man/man1/ubertooth-dfu.1
-- Installing: /usr/local/share/man/man1/ubertooth-ego.1
-- Installing: /usr/local/share/man/man1/ubertooth-scan.1
-- Installing: /usr/local/share/man/man1/ubertooth-util.1
-- Installing: /usr/local/share/man/man7/ubertooth.7
-- Installing: /etc/udev/rules.d/40-ubertooth.rules

验证硬件连接

插上ubertoothone,选择连接到ubuntu虚拟机,通过命令查看设备固件版本,输出以下信息说明btbb库和Ubertooth工具都安装成功了。

$ ubertooth-util -v
Firmware version: 2020-12-R1 (API:1.07)
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Linux兵工厂

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值