
我在使用STM32WBA55G-DK1开发我的BLE Audio应用。我参考了ST提供的BLE_Audio_TMAP_Periopheral示例工程。 目前平板电脑连接我的应用正常,平板可以使能BLE Audio。但是当平板开始播放音乐的时候,BLE Audio协议栈上送的CAP_UNICAST_SERVER_ASE_STATE_EVT事件异常,其状态一开始是ASE_STATE_CODEC_CONFIGURED,然后是ASE_STATE_RELEASING。 作为对比,我使用BLE_Audio_TMAP_Periopheral进行测试,其CAP_UNICAST_SERVER_ASE_STATE_EVT状态是变化规律如下 ASE_STATE_CODEC_CONFIGURED->ASE_STATE_QOS_CONFIGURED->ASE_STATE_ENABLING->ASE_STATE_STREAMING。 是什么导致我的应用ASE状态没能从ASE_STATE_CODEC_CONFIGURED变迁到ASE_STATE_QOS_CONFIGURED? 下面是我的log 1204.392 CAP Event: 0x0d 1204.392 Preferred Server QoS Settings is requested for ASE ID 1 (Type ASE_SINK) 1204.392 Target Latency : TARGET_LATENCY_BALANCED_RELIABILITY 1204.392 Target Phy TARGET_LE_2M_PHY to achieve the Target Latency 1204.393 Codec ID 1204.393 Coding format : AUDIO_CODING_FORMAT_LC3 1204.393 Company id : 0x0000 1204.393 VS codec id : 0x0000 1204.393 Frequency : SAMPLE_FREQ_48000_HZ 1204.393 Frame Duration : FRAME_DURATION_10_MS 1204.393 Octets Per Codec Frame : 155 1204.393 Codec Frame Blocks Per SDU : 1 1204.393 Min Controller Delay in Source role 8336 us 1204.393 Max Controller Delay in Source role 110000 us 1204.393 Min Controller Delay in Sink role 4136 us 1204.393 Max Controller Delay in Sink role 50000 us 1204.393 Calculated SDU Interval : 10000 us 1204.393 num_snk_ases:2 num_src_ases:1 1204.393 ==>> CODEC_ReadLocalSupportedControllerDelay result 0x00 1204.394 ==>> CODEC_ReadLocalSupportedControllerDelay result 0x00 1204.394 Computed Min Controller Delay with 2 Snk ASEs and 1 Src ASEs : 14608 us 1204.394 WARNING : Controller Delay Min ( 14608 us) could be higher than the frame duration (10 ms) 1204.394 Submitted Min Presentation Delay 10010 us 1204.394 Submitted Max Presentation Delay 50010 us 1204.394 ==>> CODEC_ReadLocalSupportedControllerDelay result 0x00 1204.394 ==>> CODEC_ReadLocalSupportedControllerDelay result 0x00 1204.394 ==>> CODEC_ReadLocalSupportedControllerDelay result 0x00 1204.394 CAP Event: 0x0d 1204.395 Preferred Server QoS Settings is requested for ASE ID 2 (Type ASE_SINK) 1204.395 Target Latency : TARGET_LATENCY_BALANCED_RELIABILITY 1204.395 Target Phy TARGET_LE_2M_PHY to achieve the Target Latency 1204.395 Codec ID 1204.395 Coding format : AUDIO_CODING_FORMAT_LC3 1204.395 Company id : 0x0000 1204.396 VS codec id : 0x0000 1204.396 Frequency : SAMPLE_FREQ_48000_HZ 1204.396 Frame Duration : FRAME_DURATION_10_MS 1204.396 Octets Per Codec Frame : 155 1204.396 Codec Frame Blocks Per SDU : 1 1204.396 Min Controller Delay in Source role 8336 us 1204.396 Max Controller Delay in Source role 110000 us 1204.396 Min Controller Delay in Sink role 4136 us 1204.396 Max Controller Delay in Sink role 50000 us 1204.396 Calculated SDU Interval : 10000 us 1204.396 num_snk_ases:2 num_src_ases:1 1204.396 ==>> CODEC_ReadLocalSupportedControllerDelay result 0x00 1204.396 ==>> CODEC_ReadLocalSupportedControllerDelay result 0x00 1204.396 Computed Min Controller Delay with 2 Snk ASEs and 1 Src ASEs : 14608 us 1204.397 WARNING : Controller Delay Min ( 14608 us) could be higher than the frame duration (10 ms) 1204.397 Submitted Min Presentation Delay 10010 us 1204.397 Submitted Max Presentation Delay 50010 us 1204.397 CAP Event: 0x13 1204.397 Preferred Server Configuration for QoS Configuration: 1204.397 Framing:BAP_FRAMING_UNFRAMED 1204.397 Preferred Phy ![]() 1204.397 PrefRetransmissionNumber:2 1204.397 MaxTransportLatency:5 ms 1204.397 PresentationDelayMin:10010 us 1204.397 PresentationDelayMax:50010 us 1204.398 PrefPresentationDelayMin:10010 us 1204.398 PrefPresentationDelayMax:50010 us 1204.398 Codec specific configuration for the ASE: 1204.398 CodingFormat:AUDIO_CODING_FORMAT_LC3 CompanyID:0x00 VsCodecID:0x00 1204.398 Audio Stream Endpoint State ASE_ID:1 Type:ASE_SINK State:ASE_STATE_CODEC_CONFIGURED 1204.399 CAP Event: 0x13 1204.399 Preferred Server Configuration for QoS Configuration: 1204.399 Framing:BAP_FRAMING_UNFRAMED 1204.399 Preferred Phy ![]() 1204.399 PrefRetransmissionNumber:2 1204.399 MaxTransportLatency:5 ms 1204.399 PresentationDelayMin:10010 us 1204.399 PresentationDelayMax:50010 us 1204.399 PrefPresentationDelayMin:10010 us 1204.399 PrefPresentationDelayMax:50010 us 1204.399 Codec specific configuration for the ASE: 1204.399 CodingFormat:AUDIO_CODING_FORMAT_LC3 CompanyID:0x00 VsCodecID:0x00 1204.400 Audio Stream Endpoint State ASE_ID:2 Type:ASE_SINK State:ASE_STATE_CODEC_CONFIGURED 1204.630 CAP Event: 0x13 1204.631 Audio Stream Endpoint State ASE_ID:1 Type:ASE_SINK State:ASE_STATE_RELEASING 1204.631 CAP Event: 0x13 1204.631 Audio Stream Endpoint State ASE_ID:1 Type:ASE_SINK State:ASE_STATE_IDLE 1204.631 CAP Event: 0x13 1204.631 Audio Stream Endpoint State ASE_ID:2 Type:ASE_SINK State:ASE_STATE_RELEASING 1204.631 CAP Event: 0x13 1204.631 Audio Stream Endpoint State ASE_ID:2 Type:ASE_SINK State:ASE_STATE_IDLE |
STM32WBA52CG 使用BLE的时候,为啥SYSCLK只能设置到16MHz?
STM32WBA65如何进行matter的学习?
nucleo-wb05kz开发板BLE问题
STM32WB55 USB dongle FUS 0.0.0问题
STM32WBA65什么时候能有相应的支持?
关于意法半导体BLE AOA测向定位的问题
Bluenrg-ms是否支持hid 复合设备?
ble hid
ble hid
STM32WBA52CEU怎样开发?用标准库可以吗?