supperthomas / bluetoothlover_doc

this is about the learning station about friends.
https://supperthomas-wiki.readthedocs.io/
Apache License 2.0
44 stars 26 forks source link

[LE AUDIO]学习LE AUDIO相关SPEC #292

Open chenyingchun0312 opened 2 years ago

chenyingchun0312 commented 2 years ago

LE AUDIO

LE AUDIO介绍

基本术语

image-20220114150906835

CIG基本介绍

image-20220113143244000

CIG参数介绍

CIG_Sync_Delay

The CIG_Sync_Delay parameter is the maximum time, in microseconds(微秒), for transmission of PDUs of all CISes in a CIG in a CIG event

这个值是由Client端的Controller计算,通过HCI Event (HCI_LE_CIS_Established) 通知Host,并且通过LMP命令(LL_CIS_IND)通知Server端。Client端的HOST会根据这个值计算CIG Sync Point的位置,在这个位置读取SDU使得传输延时(Transport Latency)最小。

CIG reference point

CIG Sync Point

CIS_Sync_Delay

NSE

在每一个CIS event中的Subevent的最大数量

BIG基本介绍

image-20220113183704116

BIG参数介绍

相关参数的SPEC介绍,请查看《Core_v5.2.pdf》的第2968页

BIG_Sync_Delay

The BIG_Sync_Delay parameter is the maximum time, in microseconds, for transmission of PDUs of all BISes in a BIG event

BISes 表示多个BIS event,这里 BIG_Sync_Delay 表示在一个BIG event中,传输完所有的BIS event所需要的时间,单位是毫秒

image-20220113183136063

MPT

Num_BIS

在一个BIG Event中的BIS的总个数,比如下面这样的,就是一把BIG event中有4个BIS event

image-20220114092119316

BIS_Spacing

是一个BIG event 中相邻两个BIS event(BIS1和BIS2)开始时间的差值,也是最后一个BIS event 开始到 Control subevent开始之间的时间。

注意一下“相邻”两个字的含义,所谓相邻,是指BIS1和BIS2之间。每一个BIS都可能存在多个Sub event,即BIS1.1, BIS1.2等等。

image-20220114092403978

image-20220114092443569

Sub_Interval

表示同一个BIS,同一个Event,不同Subevent之间的差值

image-20220114095148023

ISO_Interval

两个邻近(adjacent)的BIG的锚点(开始的点)之间的差值

image-20220114145311672

Max_PDU

image-20220114150249697

BIG中的每一个BIS event中,所携带的数据单元的最大长度,范围是0~251

Max_SDU

一个BIG中所所携带的数据单元的最大长度,范围是1-4095

image-20220114150341930

SDU的英文全称:Service Data Unit,是一个包含同步数据流(音频流,ISO)的数据包(packet)

image-20220114150736983

NSE

image-20220114172708555

image-20220114172856997

image-20220114172224186

image-20220114172224186

supperthomas commented 1 year ago

Pixel7、三星S23