蓝牙BLE LINK LAYER剖析(二) -- PDU

来源:互联网 发布:上古卷轴5捏脸ECE数据 编辑:程序博客网 时间:2024/05/18 03:09

DATA FORMAT

The Link Layer has only one packet format used for both advertising channel 
packets and data channel packets
链接层不管广播通道还是数据通道,都公用一种包格式

参数:

1.Preamble


2.Access Address

3.PDU

PDU分两种,一种是广播信道的PDU,一种是DATA信道的PDU

1)广播信道PDU:

2)DATA信道PDU

DATA PDU也分两种PDU(正常data PDU,control data PDU)
正常data PDU(用于L2CAP传输数据)和control data PDU( is used to control the Link Layer connection)通过以下图区分


control data PDU 图示:

opcode:


4.CRC

At the end of every LinkLayer packet there is a 24-bit CRC. It shall be calculated over the PDU
1 0
原创粉丝点击