Code Monkey home page Code Monkey logo

burble's People

Contributors

mxk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

rafaelescrich

burble's Issues

Performance testing

Measure the maximum number of notifications per second with different connection parameter settings. Compare with a physical mouse/keyboard.

The current plan is to use Nordic’s nRF Sniffer to record BLE traffic from a hardware keyboard/mouse and compare it with the traffic generated by our software stack. There should be no obvious differences. The exact metrics are TBD, especially if it proves difficult to capture unencrypted traffic from the hardware devices.

Implement Link Layer privacy support

Allow using Resolvable Private Addresses for local and remote devices ([Vol 6] Part B, Section 6). This is required for communicating reliably with Android and iOS devices, which generate new random addresses when the Bluetooth stack is restarted.

Code quality improvements for v0.3.0+

General

  • Split README.md and crate documentation?
  • General documentation cleanup.
  • Simplify Error types and review the design.
  • Review logging structure and maybe switch to span-based logging in places.
  • Replace uses of std with core/alloc to start moving toward no_std support.
  • Remove unnecessary derives.
  • Restrict visibility for internal library components.

USB

  • Put usb backend behind a feature flag.
  • Do not expose rusb::Error.

HCI

  • Populate hci::Conn::local_addr when the connection is created. This requires hci::Host to track advertising state commands.
  • Block on hci::Error::CommandQuotaExceeded.
  • Store DisconnectionComplete reason.
  • Log informational events (e.g. ReadRemoteVersionInformationComplete, LePathLossThreshold).

L2CAP

  • Handle L2CAP Signal channel events.
  • Get rid of l2cap::Alloc and cache transfers in RawChan.

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

  • Review HID module design and simplify for the new API.
  • Use physical DPI units for the mouse.

Send Service Changed indication after failed LTK request

Windows 11 doesn't seem to re-discover services after failing to re-establish a bond (e.g. because Peripheral cache was cleared) and negotiating a new LTK. We should detect a failed LTK request and use that to trigger a Service Changed indication even if the GATT cache is gone.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.