CLI with "-ble" option and device name should not need to do a full scan for every command

Abierto
#777 1 comentario 3 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Tranquilo
Stack tecnológico
python
Área
cli, networking

Línea de trabajo

The --ble option is parsed in the CLI entry point, and the connection path that always runs a full BLE scan is in the BLE interface code. Read how a device name is resolved to an address there, then decide whether a cached identifier can skip the scan. The issue asks a question rather than specifying a change, so the design needs a maintainer decision first. Done means a named device connects without a full scan, with a test or manual check against a device.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

If I'm providing the device name after "--ble" why does every CLI invocation force another full ten-second BLE scan?

Is there some way to return some identifier from the initial scan that is usable as-is without forcing a full scan for every subsequent CLI command?

Lenguaje dominante
Python
Estrellas
855
Forks
355
Merge medio
3 d 3 h
PR fusionados (30 d)
12

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de meshtastic/python

Todos los issues de meshtastic/python

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.