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

Ouverte
#823 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
25/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
À l'abandon
Stack technique
macos, python
Domaine
cli

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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
Langage dominant
Python
Étoiles
855
Forks
355
Merge moyen
3 j 3 h
PR mergées (30 j)
12

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de meshtastic/python

Toutes les issues de meshtastic/python

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.