meshtastic / python

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

meshtastic --dest \!fxxxxxxx --nodes : stay local #311

Closed KiwiHC16 closed 2 years ago

KiwiHC16 commented 2 years ago

As the --dest option is provided the request should go to the remote device.

Evidences:

KiwiHC16 commented 2 years ago
 System: Linux
   Platform: Linux-5.10.0-13-amd64-x86_64-with-glibc2.31
   Release: 5.10.0-13-amd64
   Machine: x86_64
   Encoding (stdin): utf-8
   Encoding (stdout): utf-8
 meshtastic: v1.2.93
 Executable: /home/xxx/.local/bin/meshtastic
 Python: 3.9.2 CPython GCC 10.2.1 20210110
KiwiHC16 commented 2 years ago
DEBUG file:node.py requestConfig line:64 requestConfig for nodeNum: 4064593152

4064593152 is the local node, not the remote one.

It should be: 4064593024 for those tests.

KiwiHC16 commented 2 years ago

Would probably requiere some dedicated proto messages so the effort compare to the benefit looks small. So I close the issue.