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

Aperta
#874 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
cli, networking

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
855
Fork
355
Merge medio
3g 3h
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di meshtastic/python

Tutte le issue di meshtastic/python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.