博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
gr-bluetooth/libbtbb源码分析
阅读量:2045 次
发布时间:2019-04-28

本文共 1802 字,大约阅读时间需要 6 分钟。

libbtbb

libbtbb是蓝牙基带解码库,源自GR-Bluetooth项目。 它可用于从Ubertooth设备以及GR-Bluetooth / USRP中提取蓝牙数据包信息。

https://github.com/greatscottgadgets/libbtbb

编译和安装

$ mkdir build$ cd build$ cmake ..$ make$ sudo make install

gr-bluetooth

gr-bluetooth是GNU Radio的蓝牙基带层实现,用于实验和教授学生软件定义无线电,它不应该用于蓝牙通信,因为它不是一个完整的软件堆栈。

gr-bluetooth网站是:http://gr-bluetooth.sourceforge.net
https://github.com/greatscottgadgets/gr-bluetooth

编译和安装

$ mkdir build$ cd build$ cmake ..$ make$ sudo make install

编译完成生成gnuradio-companion模块

在这里插入图片描述

代码分析

协议 函数
Bluetooth 3DS dissect_bt3ds
Bluetooth AVDTP dissect_bta2dp
Bluetooth AMP dissect_btamp
Bluetooth AVCTP dissect_btavctp
Bluetooth AVDTP dissect_btavdtp
Bluetooth AVRCP dissect_btavrcp
Bluetooth Attribute Protocol dissect_btatt/dissect_btgatt
Bluetooth baseband dissect_btbb
Bluetooth BNEP dissect_btbnep
Bluetooth Pseudoheader for BR/EDR Baseband dissect_btbredr / dissect_btbredr_rf
Bluetooth HCI Command dissect_btcommon_ad / dissect_btcommon_cod / dissect_btcommon_eir / dissect_btcommon_le_channel_map
Bluetooth Dial-Up Networking (DUN) profile dissect_btdun
Bluetooth Global Navigation Satellite System profile (GNSS) dissect_btgnss
Bluetooth ACL dissect_bthci_acl / dissect_bthci_*
Bluetooth HCRP dissect_bthcrp
Bluetooth Handsfree Profile (HFP) dissect_bthfp
Bluetooth HID dissect_bthid
Bluetooth Headset Profile (HSP) dissect_bthsp
Bluetooth L2CAP dissect_btl2cap
Bluetooth Low Energy dissect_btle
Bluetooth LMP dissect_btbrlmp
Bluetooth MCAP dissect_btmcap
Bluetooth mesh dissect_btmesh_msg
Bluetooth RFCOMM protocol dissect_btrfcomm
Bluetooth SAP dissect_btsap
Bluetooth SDP dissect_btsdp
Bluetooth Low Energy Security Manager dissect_btsm

继承关系 Gr-Bluetooth

在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

传统蓝牙 链路层

btbb_decode

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

Bluetooth Low Energy 链路层

dissect_btle

解析Bluetooth Low Energy(BTLE)
在这里插入图片描述
广播报文
在这里插入图片描述
广播报文的类型
在这里插入图片描述
在这里插入图片描述
数据报文
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
L2CAP
在这里插入图片描述

在这里插入图片描述

--------------完--------------

转载地址:http://gqaof.baihongyu.com/

你可能感兴趣的文章
linux下使用crontab实现定时PHP计划任务失败的原因分析
查看>>
linux环境下安装redis扩展
查看>>
一个简单大方的赞后+1,踩后-1js动画效果
查看>>
新手学习编程的最佳方式
查看>>
从json_encode过来的的字符串被返回到html页面时的解析
查看>>
linux虚拟机局域网网卡配置
查看>>
用js判断是否为手机浏览,如果是手机浏览就跳转到手机站
查看>>
每天一个linux命令(26):用SecureCRT来上传和下载文件(转载自竹子)
查看>>
定时启动计划任务(转载自网络)
查看>>
Javascript的RegExp对象(转载自网络)
查看>>
rwx对于文件和目录的意义
查看>>
借助csv用PHP生成excel文件
查看>>
使用SimpleXML解析xml文件数据
查看>>
php读取excel文档内容(转载)
查看>>
vim基本命令(转载自网络)
查看>>
Linux学习(二十二)Shell基础(二)变量、环境变量配置文件
查看>>
Linux学习(二十四)正则表达式(二)sed
查看>>
Linux学习(二十三)正则表达式(一)grep/egrep
查看>>
Linux学习(二十六)日常管理(一)w、vmstat、top、sar、nload、iostat、iotop
查看>>
Linux学习(二十五)正则表达式(三)awk
查看>>