当前位置:网站首页>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
边栏推荐
- The DOTPLOT function in the epidisplay package of R language visualizes the frequency of data points in different intervals in the form of point graphs, specifies the grouping parameters with the by p
- Unity C# 网络学习(十)——UnityWebRequest(一)
- Lexin AWS IOT expresslink module achieves universal availability
- Mark: unity3d cannot select resources in the inspector, that is, project locking
- R语言使用epiDisplay包的aggregate函数将数值变量基于因子变量拆分为不同的子集,计算每个子集的汇总统计信息、使用aggregate.data.frame函数计算分组汇总统计信息
- RestCloud ETL抽取動態庫錶數據實踐
- Is the QR code for account opening given by the manager of the securities firm safe? Who can I open an account with?
- 重磅白皮书发布,华为持续引领未来智慧园区建设新模式
- 使用卷积对数据进行平滑处理
- R语言dplyr包summarise_at函数计算dataframe数据中多个数据列(通过向量指定)的均值和中位数、指定na.rm参数配置删除缺失值
猜你喜欢

设计人员拿到的工程坐标系等高线CAD图如何加载进图新地球

Common operation and Principle Exploration of stream

BLE抓包调试信息分析

feil_uVission4左侧工目录消失

Program analysis and Optimization - 8 register allocation

Smoothing data using convolution

北京银行x华为:网络智能运维夯实数字化转型服务底座

【TcaplusDB知识库】TcaplusDB系统管理介绍

Minister of investment of Indonesia: Hon Hai is considering establishing electric bus system and urban Internet of things in its new capital

刷题笔记(十九)--二叉树:二叉搜索树的修改与构造
随机推荐
同花顺注册开户安全吗,有没有什么风险?
R language uses ggplot2 to visualize the results of Poisson regression model and count results under different parameter combinations
Advanced operation of MySQL database basic SQL statement tutorial
Use abp Zero builds a third-party login module (II): server development
BLE抓包调试信息分析
Excel-vba quick start (II. Condition judgment and circulation)
Unity UnityWebRequest 下载封装
数据库-视图
View触摸分析
Redis集群消息
feil_uVission4左侧工目录消失
文献1
使用 Abp.Zero 搭建第三方登录模块(二):服务端开发
There are so many vulnerabilities in tcp/ip protocol?
R语言使用glm函数构建泊松对数线性回归模型处理三维列联表数据构建饱和模型、使用step函数基于AIC指标实现逐步回归筛选最佳模型、使用summary函数查看简单模型的汇总统计信息
TS常用数据类型总结
Redis cluster
teamviewer显示设备数量上限解决方法
HR export data Excel VBA
View touch analysis