What factors affect BLE QoS Settings
Hi,
I am testing ble audio with STM32WBA55G-DK1 board. I develop my ble audio application with tmap profile. I referred to BLE_Audio_TMAP_Periopheral project provided by ST. It can be paired and enable le audio.
But when i play the music on the android tablet, CAP_UNICAST_PREFERRED_QOS_REQ_EVT event was posted from ble audio stack, but the pameters was so abnormal as following:
68.818 Preferred Server QoS Settings is requested for ASE ID 1 (Type ASE_SINK)
68.819 Target Latency : TARGET_LATENCY_BALANCED_RELIABILITY
68.819 Target Phy TARGET_LE_2M_PHY to achieve the Target Latency
68.819 Codec ID
68.819 Coding format : AUDIO_CODING_FORMAT_LC3
68.819 Company id : 0x0000
68.819 VS codec id : 0x0000
68.819 Frequency : SAMPLE_FREQ_48000_HZ
68.819 Frame Duration : FRAME_DURATION_10_MS
68.819 Octets Per Codec Frame : 155
68.819 Codec Frame Blocks Per SDU : 1
68.819 Min Controller Delay in Source role 134278377 us
68.819 Max Controller Delay in Source role 536897392 us
68.819 Min Controller Delay in Sink role 537001136 us
68.819 Max Controller Delay in Sink role 20 us
68.820 Calculated SDU Interval : 10000 us
The Min Controller Delay in Source role and Max Controller Delay in Source role are so big. The Min Controller Delay in Sink is so big and bigger than Max Controller Delay in Sink role.
As a comparison,the BLE_Audio_TMAP_Peripheral does not have such issue.
Preferred Server QoS Settings is requested for ASE ID 1 (Type 0x00)
Target Latency : 3
Target Phy 2 to achieve the Target Latency
Codec ID
Coding format : 0x06
Company id : 0x0000
VS codec id : 0x0000
Frequency : 8
Frame Duration : 1
Octets Per Codec Frame : 120
Codec Frame Blocks Per SDU : 1
Min Controller Delay in Source role 5793 us
Max Controller Delay in Source role 110000 us
Min Controller Delay in Sink role 6272 us
Max Controller Delay in Sink role 70000 us.
I don't know which factors casue this issue?
Thanks
