Heltec V3 Companion v1.18.0 on Wi-Fi: stops answering while still associated with the AP, sometimes until a power cycle (BLE half-alive)
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- c
調査の方向性
Start with examples/companion_radio/main.cpp, especially the Wi-Fi disconnect and reconnect handling mentioned in the report. Reproduce the TCP companion stall and Wi-Fi failure on a Heltec V3, then inspect serial output with WIFI_DEBUG_PRINTLN enabled to see whether the main loop or reconnect path stops progressing. Done means the radio continues answering TCP commands and rejoins Wi-Fi after a disconnect without a reset.
索引モデルが issue の本文から書いたものです。
説明
Summary
A Heltec V3 running the Companion BLE build v1.18.0 with Wi-Fi enabled serves TCP 5000 normally for a few minutes at a time, then stops answering commands while the TCP connection stays open. After a few of these episodes it dropped off the network entirely and stayed off for two weeks, until a reset. During that time it still advertised over BLE, but every BLE connection was dropped during service discovery.
The Wi-Fi signal is good, so this doesn't look like a range problem. v1.18.0 includes the reconnect handling in examples/companion_radio/main.cpp (ARDUINO_EVENT_WIFI_STA_DISCONNECTED → WiFi.reconnect()), but the radio didn't come back. This may be related to #2300 (closed as not planned; #2299 not merged).
Hardware and firmware
- Heltec WiFi LoRa 32 V3 (ESP32-S3)
Heltec_v3_companion_radio_ble-v1.18.0-81dbae5.bin(release asset), app-only at 0x10000 over v1.17.1- Wi-Fi via
set wifi.ssid/set wifi.pwd/set wifi.enabled 1; DHCP reservation - AP: UniFi U7 Pro, 2.4 GHz ch 6 / 20 MHz, WiFi 4. Client signal −62 to −66 dBm, steady; TX retries 0.0%; Rx 39 / Tx 65 Mbps
- About 350 contacts on the radio
Client
One TCP client only: a logger built on meshcore_py (2.3.17, 2.3.19 since today) that asks for the battery level every 20 s and treats two missed replies as a lost link, then reconnects. No phone app or other client was connected (BLE included).
What happened
Times are local (US Pacific).
2026-11-01, 03:05–03:34: the radio came back on the network for half an hour, but each session lasted only 1–2 minutes:
03:05:11 connected, but no reply to CMD_GET_CONTACTS
03:07:51 link established (contacts loaded)
03:09:01 battery reads unanswered → link lost
03:10:26 link established
03:11:37 battery reads unanswered → link lost
03:15:14 connected, no reply to CMD_GET_CONTACTS
03:29:56 link established
03:31:46 battery reads unanswered → link lost
03:33:03 connected, no reply to CMD_GET_CONTACTS
03:34:20 TCP connect timeout (ETIMEDOUT)
03:44:59 host unreachable (no ARP reply); stays that way
2026-11-01 → 2026-11-16: unreachable over Wi-Fi the whole time (ping fails, TCP 5000 unreachable). The radio was still advertising over BLE (MeshCore-<name>), but two BLE connection attempts from macOS (bleak/CoreBluetooth) were both dropped during service discovery (BleakError: disconnected).
2026-11-16, after pressing RST at about 06:37: it rejoined Wi-Fi straight away, and then:
06:38:34 link established (contacts loaded)
06:41:25 (logger restarted by me)
06:41:44 link established
06:44:04 battery reads unanswered → link lost (~2.5 min)
06:45:31 meshcore_py: "No response from meshcore node, disconnecting"
06:47:03 connected, no reply to CMD_GET_CONTACTS
06:47:12 link established; stable since
Ping to the radio stayed at 0% loss throughout today's episode (RTT 50–357 ms; other hosts on the same AP 3–94 ms), so the Wi-Fi link itself was up while the companion protocol stopped answering.
Expected
- The radio keeps answering on TCP 5000 while Wi-Fi is up.
- If it loses the AP, it rejoins without a reset.
Questions
- Is there a known stall in the Wi-Fi companion's main loop (e.g. related to the RX log, contact table size, or the reconnect path) that would explain both the short sessions and the radio never rejoining?
- Would a serial log with
WIFI_DEBUG_PRINTLNenabled help? I can build with it and leave USB attached to capture the next failure.
Related: #2300, #1271, #3700 (same radio).
- 主要言語
- C
- スター
- 3.9k
- フォーク
- 1.5k
- 平均マージ
- 2日 7時間
- マージ済み PR(30日)
- 56
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
meshcore-dev/MeshCore のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
meshcore-dev/MeshCore#4015 ·
メンテナーはふだん 2 日以内に返信
-
CMD_SET_DEFAULT_FLOOD_SCOPE leaves an older, longer name's tail after the new name対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
meshcore-dev/MeshCore#3891 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
meshcore-dev/MeshCore#3826 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
meshcore-dev/MeshCore#3825 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
meshcore-dev/MeshCore#3781 ·
メンテナーはふだん 2 日以内に返信
meshcore-dev/MeshCore の issue をすべて見る
似ている issue
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
389ds/389-ds-base#8251 ·
メンテナーはふだん 1 日以内に返信
-
bug data-types
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ClickHouse/clickhouse-cpp#645 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ROCm/hrx-system#3628 ·
メンテナーはふだん 1 日以内に返信