aioble not happy with characteristic writes...
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- python
- 領域
- embedded-iot
研究方向
回溯指向 lib/aioble/server.py (_remote_write) 和 lib/aioble/core.py (ble_irq);先閱讀這些處理常式以及所描述的 capture=True/False 行為。從 LightBlue 重現寫入 ESP32-S3 的操作,然後驗證 IRQ 路徑不再引發例外,並且在兩種模式下都能觀察到寫入行為。
由索引模型根據 Issue 內容生成。
描述
Howdy Legends,
Getting some weird errors when doing the most basic writes...
I am connecting just fine to an ESP32-S3 running Firmware: 3.4.0; MicroPython v1.24.1 on 2024-11-29., and aioble is the latest.
With capture=True on the characteristic, when I attempt a write from LightBlue I get:
Unhandled exception in IRQ callback handler
Traceback (most recent call last):
File "/lib/aioble/core.py", line 71, in ble_irq
File "/lib/aioble/server.py", line 48, in _server_irq
File "/lib/aioble/server.py", line 184, in _remote_write
AttributeError: type object 'BaseCharacteristic' has no attribute '_capture_queue'
...and then with capture=False just not getting anything.
Anything obvious I am missing?
Best,
Luke
- 主要語言
- Python
- 星號
- 2.9k
- 分支
- 1.1k
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
micropython/micropython-lib 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 62/100
micropython/micropython-lib#1074 ·
-
needs-info
難度 1/5 1 小時以內 新手友好度 72/100
micropython/micropython-lib#943 · 1 則留言 ·
-
"requests" does not handle redirection with relative path correctly可能重新可做 關聯的 PR 已關閉且未合併。 未關閉
難度 2/5 1-3 小時 新手友好度 68/100
micropython/micropython-lib#931 · 1 則留言 ·
-
難度 1/5 1 小時以內 新手友好度 62/100
micropython/micropython-lib#795 · 2 則留言 ·
-
webrepl: Support LAN as well as WLAN boards.可能已有人在做 @Romaric-RILLET 於 775 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 62/100
micropython/micropython-lib#762 ·
查看 micropython/micropython-lib 的全部 Issue
相似的 Issue
-
documentation good first issue
難度 2/5 1-3 小時 新手友好度 82/100
selimfirat/pysad#379 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 75/100
open-webui/open-webui#32805 ·
維護者通常 1 天內回覆
-
fix: [bug description] HTML CVE metric table shows only the last CVE for each product可能已有人在做 @Chris-wh233 今天認領。 未關閉bug
難度 2/5 1-3 小時 新手友好度 66/100
ossf/cve-bin-tool#5976 ·
維護者通常 1 天內回覆
-
needs-triage
難度 2/5 1-3 小時 新手友好度 72/100
gke-labs/kube-agents#3615 ·
維護者通常 1 天內回覆
-
deferred
難度 2/5 1-3 小時 新手友好度 70/100
維護者通常 1 天內回覆