burble
burble copied to clipboard
Code quality improvements for v0.3.0+
General
- [x] Split README.md and crate documentation?
- [ ] General documentation cleanup.
- [ ] Simplify
Errortypes and review the design. - [ ] Review logging structure and maybe switch to span-based logging in places.
- [ ] Replace uses of
stdwithcore/allocto start moving towardno_stdsupport. - [ ] Remove unnecessary derives.
- [ ] Restrict visibility for internal library components.
USB
- [x] Put
usbbackend behind a feature flag. - [x] Do not expose
rusb::Error.
HCI
- [x] Populate
hci::Conn::local_addrwhen the connection is created. This requireshci::Hostto track advertising state commands. - [x] Block on
hci::Error::CommandQuotaExceeded. - [x] Store
DisconnectionCompletereason. - [ ] Log informational events (e.g.
ReadRemoteVersionInformationComplete,LePathLossThreshold).
L2CAP
- [x] Handle L2CAP Signal channel events.
- [x] Get rid of
l2cap::Allocand cache transfers inRawChan.
SMP
- [ ] Send encryption request when the client first connects.
- [ ] Handle SMP rate limiting and repeated pairing attempts.
- [ ] Atomic file storage.
- [ ] Review
smp::{Display, Confirm}API.
HID
- [x] Review HID module design and simplify for the new API.
- [x] Use physical DPI units for the mouse.