[Bug]: STM32WB0 BLE stack never replies to AUX_CONNECT_REQ from a third-party central, reproduces on plain LE 1M PHY
@MKISTM がすでに取り組んでいます。
2026年9月7日 から。
評価
この issue はまだ評価されていません。
説明
Bug Summary
STM32WB07CC never replies to AUX_CONNECT_REQ (extended-advertising connection request) from an ESP32-S3/NimBLE central, on every PHY combination tested, including plain LE 1M on both primary and secondary advertising channels. The same node accepts a legacy CONNECT_IND from the same central without issue, every time.
Detailed Description
When advertising with extended (non-legacy) advertising PDUs, connectable, this node never replies AUX_CONNECT_RSP to an incoming AUX_CONNECT_REQ. From the central's side, the connect procedure starts normally (ble_gap_ext_connect() -> rc=0) and times out (status=13) after 60s. Node-side RTT logs show no visible response to the connect attempt.
Steps to reproduce:
- Configure aci_gap_set_advertising_configuration() with ADV_TYPE = HCI_ADV_EVENT_PROP_CONNECTABLE (no LEGACY bit, i.e. extended advertising), Primary_Advertising_PHY = Secondary_Advertising_PHY = HCI_PHY_LE_1M.
- From an ESP32-S3 (NimBLE), scan and confirm ADV_EXT_IND/AUX_ADV_IND is received correctly (prim=1 sec=1 props=0x01 conn=1).
- Call ble_gap_ext_connect() with a matching 1M PHY mask.
- Observe rc=0 (procedure started), then status=13 (timeout) 60s later.
- Retry immediately with legacy ble_gap_connect() against the same peer: connects successfully every time.
Isolation evidence ruling out our own config:
- With scan-response mode enabled, AUX_SCAN_REQ/AUX_SCAN_RSP completes successfully on the exact same secondary channel/PHY the connect attempt fails on, same low-level T_IFS timing and channel-selection mechanics as AUX_CONNECT_REQ/AUX_CONNECT_RSP. So the radio is confirmed listening and replying correctly on that channel in general.
- Coded PHY itself works fine once a connection exists (we connect via legacy 1M, then move the link to Coded PHY S=8 via hci_le_set_phy(), stable indefinitely), so PHY capability and stack build config are not the issue.
- Confirmed independent of PHY via an isolation test: forcing both primary and secondary advertising PHY to plain 1M while still using extended (non-legacy) advertising still reproduces the identical AUX_CONNECT_REQ timeout.
Log (isolation test, 1M/1M, Coded PHY not involved at all):
Node RTT:
[Adv] cfg=0x00 data=0x00 enable=0x00
[Adv] props=0x01 phy=1M/1M tx_power=127 filter=0
Central log:
extdisc prim=1 sec=1 props=0x01 conn=1 scan=0 dir=0 srsp=0 addrtype=0
ble_gap_ext_connect rc=0
...(60s later)...
Connect event: status=13 handle=65535
Connect failed: status=13
Hypothesis: extended-advertising connections require ChSel (Channel Selection Algorithm #2), which legacy CONNECT_IND does not. Since legacy connect always works and extended connect never does regardless of PHY, this is our leading suspect, either the node's stack silently dropping a request it doesn't like, or a field the central sends non-conformantly. No BLE5 sniffer available to confirm which side is at fault; a parallel report is filed with Espressif for the central side.
Ask: is this a known limitation/erratum of this BLE stack version regarding AUX_CONNECT_REQ handling from third-party centrals? Is there a way to get stack-level tracing of an incoming AUX_CONNECT_REQ even when the stack doesn't respond to it?
Expected Behavior
Node should reply AUX_CONNECT_RSP and complete the connection, the same way it does for legacy CONNECT_IND.
Actual Behavior
No response to AUX_CONNECT_REQ. Central-side connect procedure times out (status=13) after the full connect duration, every time, regardless of PHY.
Environment
STM32WB07CC, STM32CubeIDE 1.19.0, project generated via CubeMX (COMMON_BLE + STM32_BLE IPs), Full BLE stack (stm32wb0x_ble_stack.a, supports Extended Advertising/Coded PHY/CTE/ISO), CFG_BLE_CONTROLLER_2M_CODED_PHY_ENABLED=1. Central peer: ESP32-S3, ESP-IDF v5.5.5, NimBLE.
Severity
Major
- 主要言語
- C
- スター
- 18
- フォーク
- 3
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
STMicroelectronics/STM32CubeWB0 のほかの issue
-
[Question]: CDM0062822 details再び着手できるかも @ALABSTM が 46 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンdocumentation internal bug tracker question
難易度 4/5 3〜5日 初心者へのやさしさ 10/100
STMicroelectronics/STM32CubeWB0#11 · コメント 3 件 · 担当者 1 名 ·
STMicroelectronics/STM32CubeWB0 の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Polprzewodnikowy/N64FlashcartMenu#486 · コメント 3 件 ·
-
crash
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
`core.output` prints string properties without escaping their quotes対応中かも @JensOgorek が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
zauberzeug/lizard#399 ·
メンテナーはふだん 2 日以内に返信