BUG: `--request-telemetry` on a distant node times out the first time, then it works

オープン
#874 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python
領域
cli, networking

調査の方向性

The payload names no files, so start by reproducing the report: run --request-telemetry --dest against a remote node after it has been idle for a few minutes, and check whether the first request times out while an immediate retry succeeds. Compare with a direct serial connection, which the reporter says always answers at once. Done means the first request returns the telemetry without a retry after an idle period. Expect to work through the mesh request and response path, which needs knowledge of the protocol.

索引モデルが issue の本文から書いたものです。

説明

Somehow weird behavior:

  1. Start-up node x, wait a few minutes, then --request-telemetry --dest <y>: here I do not get a response and the request times out
  2. After time-out or aborting command after ca. 15s: retr the same command: now the desired result is shown.
  3. After waiting a few minutes, points 1 and 2 repeat.

Both nodes are in hop=0 distance, one is a RAK, the other is a Heltec V3 connected over WLAN (but I believe so far, that it will have the same behavior when connected via serial).

When connecting directly to node (over serial line), the request is always answered immediately.

主要言語
Python
スター
855
フォーク
355
平均マージ
3日 3時間
マージ済み PR(30日)
12

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

meshtastic/python のほかの issue

meshtastic/python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。