--export-config not working with --ble; v 2.7.2 on MacOS 15

Aperta
#823 1 commento 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
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
macos, python
Ambito
cli

Direzione di ricerca

The trace points at the BLE layer: PeripheralDelegate.py (didUpdateValue and didWriteValue callbacks) and ble_interface.py in from_num_handler around line 102, where FROMNUM notifications keep arriving while the export stalls. Start by reproducing with --export-config --ble and --debug on macOS, then check whether the config read loop ever receives its final response. Done means the export completes on macOS or the hang is traced to a specific cause.

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

Descrizione

For a few weeks now I can't seem to export my nodes' (T1000-E, Helltec V3 and others on both stable and alpha versions) configuration using the meshtastic CLI (v 2.7.2 on MacOS 15).

The --ble-scan works fine, but if I try --export-config it just seems to hang.

Adding --debug then does a whole lot of things like fetching nodeinfo packets, but suddenly slows down, repeating lines like the following

DEBUG file:PeripheralDelegate.py peripheral_didWriteValueForCharacteristic_error_ line:467 peripheral_didWriteValueForCharacteristic_error_
DEBUG file:PeripheralDelegate.py peripheral_didUpdateValueForCharacteristic_error_ line:397 peripheral_didUpdateValueForCharacteristic_error_
DEBUG file:ble_interface.py from_num_handler line:102 FROMNUM notify: 4361
DEBUG file:PeripheralDelegate.py peripheral_didUpdateValueForCharacteristic_error_ line:397 peripheral_didUpdateValueForCharacteristic_error_
DEBUG file:ble_interface.py from_num_handler line:102 FROMNUM notify: 4363
DEBUG file:PeripheralDelegate.py peripheral_didUpdateValueForCharacteristic_error_ line:397 peripheral_didUpdateValueForCharacteristic_error_
DEBUG file:ble_interface.py from_num_handler line:102 FROMNUM notify: 4364
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.