当前位置:网站首页>Analysis of ble packet capturing debugging information
Analysis of ble packet capturing debugging information
2022-06-26 15:11:00 【jim0506】
1、l2cap fragment start;l2cap fragment
Segmentation and reorganization (Fragmentation and Recombination)
Some controllers may have limited transmission capacity , And may need to L2CAP Segments create clips of different sizes . therefore ,L2CAP The lower layer may be further to L2CAP PDU Fragment and recombine , To create clips that fit the capabilities of each layer . In the transport L2CAP PDU period , Many different levels of fragmentation and reassembly can occur between two peer devices .
HCI The driver or controller can control L2CAP PDU Go into segments , To comply with the packet size limit of the host controller interface transmission scheme . This leads to HCI The packet payload carries L2CAP PDU The beginning and continuation of . Similarly , The controller can put L2CAP PDU Segment to map them to controller packets . This may cause the controller packet load to carry L2CAP PDU The beginning and continuation of .
Each layer of the protocol stack may pass different sizes of L2CAP PDU Fragmentation , And the partition size created by each layer may be different in each peer device . However ,PDU Be segmented within the stack , receive L2CAP The entity still recombines these segments to get the original L2CAP PDU.
2、SERVER CONFIGURATION
This function is client Used to set ATT Of , There is only one setting MTU size The program :Exchange MTU
When client Of ATT_MTU Greater than default ATT_MTU when ,client Will call Exchange MTU Application configuration ATT_MTU, This program is executed only once during the connection process ( In fact, it can also be used in connection ,Android Native CTS In the test, there are changes in the connection ATT_MTU The operation of ). stay BR/EDR physical link Don't execute Exchange MTU,MTU The interaction is L2CAP It's done
The process :
(1)client send out ATT Of Exchange MTU Request to server, Parameters Client Rx MTU Set to the maximum you can receive MTU size
(2)Server There are two possible responses , One is Exchange MTU Response and Error Response, Reply to... Under normal circumstances Exchange MTU Response, Parameters Server Rx MTU by server The maximum amount that the terminal can receive MTU size, then client and server Will take Client Rx MTU and Server Rx MTU The smallest value in is taken as ATT_MTU. Reply in case of abnormality Error Response,error code The reason for the failure will be set , If Error Code by Request Not Supported, be client and server Will use default MTU
As shown in the figure below :
Client send out Exchange MTU Request, Set up Client Rx MTU=0x0200,Server reply Exchange MTU Response, Set up Server Rx MTU=0x0032,server and client City settings ATT_MTU=0x0032
边栏推荐
- TCP 复位攻击原理
- 聊聊几位大厂清华同学的近况
- nvidia-smi 报错
- SAP sales data actual shipment data export sales
- Unity C # e-learning (VIII) -- www
- 15 bs对象.节点名称.节点名称.string 获取嵌套节点内容
- 关于 selenium.common.exceptions.WebDriverException: Message: An unknown server-side error 解决方案(已解决)
- Get the intersection union difference set of two dataframes
- [async/await] - the final solution of asynchronous programming
- qt下多个子控件信号槽绑定方法
猜你喜欢
TCP拥塞控制详解 | 1. 概述
使用 Abp.Zero 搭建第三方登录模块(一):原理篇
RestCloud ETL抽取動態庫錶數據實踐
【TcaplusDB知识库】TcaplusDB单据受理-建表审批介绍
使用卷积对数据进行平滑处理
设计人员拿到的工程坐标系等高线CAD图如何加载进图新地球
710. random numbers in the blacklist
Authoritative announcement on the recruitment of teachers in Yan'an University in 2022
Bank of Beijing x Huawei: network intelligent operation and maintenance tamps the base of digital transformation service
数据库-完整性约束
随机推荐
子查询的使用
文献1
Advanced operation of MySQL database basic SQL statement tutorial
Deployment of kubernetes' controller
Kubernetes的pod调度
SAP gui 770 下载
redis集群的重新分片与ASK命令
集群中命令的执行过程
重磅白皮书发布,华为持续引领未来智慧园区建设新模式
One click analysis hardware /io/ national network performance script (strong push)
程序分析与优化 - 8 寄存器分配
RestCloud ETL抽取動態庫錶數據實踐
About selenium common. exceptions. Webdriverexception: message: an unknown server side error solution (resolved)
Lexin AWS IOT expresslink module achieves universal availability
R语言glm函数逻辑回归模型、使用epiDisplay包logistic.display函数获取模型汇总统计信息(自变量初始和调整后的优势比及置信区间,回归系数的Wald检验的p值)、结果保存到csv
One copy ten, CVPR oral was accused of plagiarizing a lot, and it was exposed on the last day of the conference!
15 bs对象.节点名称.节点名称.string 获取嵌套节点内容
【TcaplusDB知识库】TcaplusDB系统管理介绍
The tablestack function of the epidisplay package of R language makes a statistical summary table (descriptive statistics of groups, hypothesis test, etc.), does not set the by parameter to calculate
Document 1