CLI "-b" and "--ble" options do NOT terminate after operation completed

オープン
#817 コメント 0 件 リアクション 4 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
python
領域
cli

調査の方向性

The bug is in the BLE connection path of the CLI, so start by reproducing it with the -b option and a BLE node. Compare it with the serial path (--port), which does exit, to find where the BLE connection is opened and where the CLI should close it after --sendtext or --info finish. Done when the process exits on its own after each command, and the serial behaviour is unchanged.

索引モデルが issue の本文から書いたものです。

説明

Using V2.7.1 meshtastic on Linux, doing operations such as

meshtastic -b Meshtastic_0b88 --ch-index 0 --sendtext "Ping!"

or

meshtastic -b Meshtastic_0b88 --no-nodes --info

sends the message or gets the info, but meshtastic REMAINS connected to the node. It does not terminate (as one would expect it to). The only way out is a CTRL-C. This behavior does NOT occur when using serial connections ("--port" or "--serial" or "-s"). It terminates after the operation as one would expect. I have not tried it via HTTP/HTTPS.

主要言語
Python
スター
855
フォーク
355
平均マージ
3日 3時間
マージ済み PR(30日)
12

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

meshtastic/python のほかの issue

meshtastic/python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。