BLED112 connection blocks if the device do not send right GATT table
- Dominant language
- Python
- Stars
- 14
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
It would be better to add a timeout, because when it happens, we have to kill the process.
This issue should not happen normally, but during my tests to add peripheral commands to baBLE, I noticed this error when I was not able to answer to a service/characteristic probe (ReadByGroupType or FindInformation HCI commands).
Contributor guide
Research direction
Start by tracing the BLED112 connection flow around the ReadByGroupType and FindInformation HCI probes. Reproduce the case where the device does not answer a service or characteristic probe, then identify the connection wait that needs a timeout. Done means the process no longer blocks indefinitely when the GATT table response is missing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- embedded-iot, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100