Calling meshtastic --set-time 1769686798 causes reboot

Ouverte
#896 0 commentaires 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é
3/5
Temps estimé
1-2 jours
Accessibilité débutants
30/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
À l'abandon
Stack technique
python
Domaine
cli, embedded-iot

Piste de recherche

The bug is in the --set-time option of the Python CLI, which the issue suspects triggers a reboot on the device over serial. Start by reproducing with a USB-connected node and tracing what the CLI sends after the time is set, including any reboot call. Done means the cause is identified and either fixed or documented with the exact serial exchange, and the node keeps its time after the command.

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

Description

Calling meshtastic --set-time 1769686798 causes my Heltec Lora32 v4 to reboot, which then loses the time, defeating the purpose of setting the time.

My use case is a node that is connected by USB cable for serial connectivity.

It works to call the --set-time switch, then quickly disconnect the USB cable. The time gets set, but being disconnected then prevents the python CLI from calling a reboot function (I assume this is what's happening). This establishes fair certainty that the bug is in the Python CLI and not the firmware itself.

It would be useful to know what the exact comms between the python CLI and the meshtastic firmware is. Is there a way to use PuTTY or some other client to communicate with a serial-connected node?

Thanks in advance.

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.