[uJSON] Delay between commands
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 43
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
Currently, a small timeout ([`time.sleep(0.01)`](https://github.com/lowRISC/ot-sca/blob/e20ffa3f0210cf8b568d6bae89f59e1b6587bcf3/capture/lib/ot_communication.py#L43)) between uJSON commands are needed to prevent that the receive buffers overflow and the message gets lost.
To speed up capture rate, we should get rid of this problem.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in capture/lib/ot_communication.py at the time.sleep(0.01) between uJSON commands and inspect how receive buffers are handled. Reproduce the lost-message or overflow behavior, then verify that removing the delay maintains reliable command handling while improving capture rate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- embedded-iot, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100