meshtastic / python

The Python CLI and API for talking to Meshtastic devices
https://meshtastic.org
371 stars 157 forks source link

Terminal console hanging after getting response on LAN #268

Closed MihaiRF closed 2 years ago

MihaiRF commented 2 years ago

I have noticed that (only) in the latest firmware (1.2.53.19c1f9f), all local network commands remain hanging after outputting the request. For example, if I run: meshtastic --info --nodes --host meshtastic.local I get the table with all the nodes, than I’m never getting the prompt back again. I have to “CTRL+X” to force it to end. Board is Tbeam ver. 1.1 connected as Wi-fi client. On the PC, meshtastic --version returns 1.2.40.

(hope this correct, it's my first issue:)

garthvh commented 2 years ago

I think I would upgrade your python cli with pip3 install --upgrade meshtastic it is working here with 1.2.53 MacOS 12.2 and the latest python cli.

MihaiRF commented 2 years ago

Thanks for the suggestion. I have upgraded now to 1.2.80, but I'm getting the same behavior. It still hangs after getting the result... (PC - Linux Mint 20.1, Node - "firmwareVersion": "1.2.53.19c1f9f", 'hwModel': 'TBEAM')

garthvh commented 2 years ago

Duplicate of https://github.com/meshtastic/Meshtastic-python/issues/267

OS Linux

mkinney commented 2 years ago

This might be fixed with https://github.com/meshtastic/Meshtastic-device/pull/1266

Once there is a new release, please test and let us know if the issue is resolved or not.

mkinney commented 2 years ago

Please try https://github.com/meshtastic/Meshtastic-device/releases/tag/v1.2.57.f7c6955

MihaiRF commented 2 years ago

Issue seems to be fixed in the 1.2.57. The prompt comes back after running commands through LAN (wi-fi). Thank you!