Calling meshtastic --set-time 1769686798 causes reboot

Aberta
#896 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
30/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
cli, embedded-iot

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Python
Estrelas
855
Forks
355
Merge médio
3d 3h
PRs com merge (30d)
12

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de meshtastic/python

Todas as issues de meshtastic/python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.