• Ubuntu16.04搭建UbertoothOne环境


    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
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20

    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
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60

    验证硬件连接

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

    $ ubertooth-util -v
    Firmware version: 2020-12-R1 (API:1.07)
    
    • 1
    • 2
  • 相关阅读:
    Redis主从复制、哨兵模式、集群模式
    算法刷题-链表
    数据结构:ArrayList列表
    表单验证 el-form-item里面验证两个el-select 必填如何验证
    Fighting Design - 由个人开发的 Vue3 前端组件库,上手使用简单、灵活
    【算法题解】河南师范大学 “青创杯” G : 回文子序列计数
    资深设计师们都在用的20个3dsMax建模技巧
    Atcoder Beginner Contest 273E - Notebook 解题报告
    智慧工地施工如何应用室内定位uwb技术
    制作一个简单HTML个人网页网页——人物介绍梵高(HTML+CSS)
  • 原文地址:https://blog.csdn.net/tgdzsjh/article/details/127814144