Ubuntu16.04搭建UbertoothOne环境
创始人
2024-01-20 17:34:01

Ubuntu16.04搭建UbertoothOne环境

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

相关链接

  • ubertoothone 主页
  • ubertoothone github

环境说明

  • 操作系统: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(蓝牙基带库)库安装

  • github源码 下载

编译安装

1.编译安装
tar zxvf libbtbb-2020-12-R1.tar.gz
cd libbtbb-2020-12-R1
mkdir build
cd build
cmake ..
make
sudo make installsudo ldconfig2.安装路径
[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工具软件安装

  • github源码 下载

编译安装

1.编译安装
tar zxvf ubertooth-2020-12-R1.tar.gz
cd ubertooth-2020-12-R1/host
mkdir build
cd build
cmake ..
make
sudo make installsudo ldconfig2.安装路径
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)

关注公众号,获取更多资讯
关注公众号 获取更多资讯

相关内容

热门资讯

埃菲尔铁塔在哪 中国仿建埃菲尔... 2019年4月26日,广西南宁市,街头惊现一座巨型山寨版埃菲尔铁塔,高约20米,白色塔身,造型逼真,...
阳澄湖在哪里哪个省的 阳澄湖是... 点击题目下方苏州生活指南有用 有趣 有态度近期的阳澄湖度很高,3月24日,央视二套《第一时间》直播连...
苗族的传统节日 贵州苗族节日有... 【岜沙苗族芦笙节】岜沙,苗语叫“分送”,距从江县城7.5公里,是世界上最崇拜树木并以树为神的枪手部落...
北京的名胜古迹 北京最著名的景... 北京从元代开始,逐渐走上帝国首都的道路,先是成为大辽朝五大首都之一的南京城,随着金灭辽,金代从海陵王...
应用未安装解决办法 平板应用未... ---IT小技术,每天Get一个小技能!一、前言描述苹果IPad2居然不能安装怎么办?与此IPad不...
脚上的穴位图 脚面经络图对应的... 人体穴位作用图解大全更清晰直观的标注了各个人体穴位的作用,包括头部穴位图、胸部穴位图、背部穴位图、胳...
长白山自助游攻略 吉林长白山游... 昨天介绍了西坡的景点详细请看链接:一个人的旅行,据说能看到长白山天池全凭运气,您的运气如何?今日介绍...
猫咪吃了塑料袋怎么办 猫咪误食... 你知道吗?塑料袋放久了会长猫哦!要说猫咪对塑料袋的喜爱程度完完全全可以媲美纸箱家里只要一有塑料袋的响...
世界上最漂亮的人 世界上最漂亮... 此前在某网上,选出了全球265万颜值姣好的女性。从这些数量庞大的女性群体中,人们投票选出了心目中最美...
北京的名胜古迹 北京最著名的景... 北京从元代开始,逐渐走上帝国首都的道路,先是成为大辽朝五大首都之一的南京城,随着金灭辽,金代从海陵王...
金属硬度排行 各种金属硬度 世界上最硬的东西排名分别为硫化碳块,石墨烯,金刚石,金属玻璃和金属锇。这五种物体几乎是整个世界上最坚...
埃菲尔铁塔在哪 中国仿建埃菲尔... 2019年4月26日,广西南宁市,街头惊现一座巨型山寨版埃菲尔铁塔,高约20米,白色塔身,造型逼真,...
苗族的传统节日 贵州苗族节日有... 【岜沙苗族芦笙节】岜沙,苗语叫“分送”,距从江县城7.5公里,是世界上最崇拜树木并以树为神的枪手部落...