Windows: BLE workflow serial notifications are delivered twice
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
- 35/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Tranquilo
- Stack tecnológico
- javascript, python
- Área
- embedded-iot
Línea de trabajo
Start by tracing connectToSerial() and its notification subscription path in the web editor. Compare whether notifications are duplicated on air or only after reaching the editor, using a BLE trace if available; check first connections and reconnects on Windows. Done means the source of the duplicate delivery is identified and the terminal no longer shows each notification twice.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Claude wrote this:
Over the BLE workflow serial connection from Chrome on Windows, every notification arrives twice. Consistently, not intermittently. The same board and the same firmware do not show it from Chrome on macOS.
Not investigated beyond the observation, so the cause could be anywhere: the peripheral sending twice, the Windows BLE stack delivering twice, or the editor subscribing twice.
What is known
- Seen on Chrome on Windows; not reproduced on macOS with the same board and build.
- The board was a Feather nRF52840 Express running CircuitPython 10.3.0-alpha.4.
- It duplicates the data the user sees in the terminal, so it is user-visible rather than merely wasteful.
Worth checking first
- Whether the duplication is on air or above it. A sniffer or
btmon-equivalent trace would settle immediately whether the peripheral sends one notification or two. - Whether the TX characteristic's CCCD gets subscribed twice —
connectToSerial()in the web editor removes and re-adds itscharacteristicvaluechangedlistener before callingstartNotifications(), so a double subscription is a plausible shape for this. - Whether it survives a page reload, and whether it appears on a first connection or only after a reconnect.
Notes
Observed during the three-platform testing behind adafruit/circuitpython#11178, and originally recorded in a comment there that has since been removed because most of its content was superseded. This observation was not, and it is unrelated to that PR's changes.
Also unexplained on Windows, and possibly related: Chrome spins while reading boot_out.txt for the board-information dialog. That one is noted as pre-existing in #11178.
- Lenguaje dominante
- C
- Estrellas
- 4.6k
- Forks
- 1.4k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 153
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de adafruit/circuitpython
-
board breaks api
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
adafruit/circuitpython#11099 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Pico-W: shrink firmware regionAbiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
adafruit/circuitpython#11515 ·
Los mantenedores suelen responder en 1 día
-
Tags and BranchesAbiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
adafruit/circuitpython#11514 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
Move silabs to ZephyrAbiertosilabs
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
adafruit/circuitpython#11507 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Feature/API request: portable camera capture across ESP-IDF, Zephyr, and parallel interfacesAbiertocircuitpython api enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
adafruit/circuitpython#11505 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de adafruit/circuitpython
Issues similares
-
chore(gateway): emit INFO budget reserved/settled logs for proactivity v2 (chip task_2855f4ec)Abiertobackend
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
BasedHardware/omi#20940 ·
Los mantenedores suelen responder en 1 día
-
Linux notifications: the default action's ' ' label shows as a blank button in xfce4-notifydAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
kovidgoyal/kitty#10625 ·
Los mantenedores suelen responder en 1 día
-
Feature Status: Needs Triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
docs
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día