MCPcopy Index your code
hub / github.com/bjoernQ/bleps

github.com/bjoernQ/bleps @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
273 symbols 605 edges 18 files 11 documented · 4%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

bleps - A toy-level BLE peripheral stack

This is a BLE peripheral stack in Rust. (no-std / no-alloc)

To use it you need an implementation of embedded-io offering communication with HCI.

The goal is just to have something that works for testing,demos and personal projects - no intentions to make this pass certification tests.

[!TIP] If your intend to use async, please consider using Trouble instead

License

Licensed under either of

  • Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or

Extension points exported contracts — how you extend this code

AttData (Interface)
(no doc) [12 implementers]
bleps/src/attribute.rs
HciConnection (Interface)
(no doc) [2 implementers]
bleps/src/lib.rs
IntoResult (Interface)
(no doc) [2 implementers]
bleps/src/attribute.rs
BleWriter (Interface)
(no doc) [1 implementers]
bleps/src/sm.rs
AsyncBleWriter (Interface)
(no doc) [1 implementers]
bleps/src/sm.rs

Core symbols most depended-on inside this repo

as_slice
called by 46
bleps/src/lib.rs
len
called by 45
bleps/src/lib.rs
append
called by 38
bleps/src/lib.rs
encode
called by 22
bleps/src/acl.rs
update
called by 20
bleps/src/crypto.rs
wait_for_command_complete
called by 18
bleps/src/lib.rs
write_bytes
called by 18
bleps/src/lib.rs
check_command_completed
called by 18
bleps/src/event.rs

Shape

Method 141
Function 65
Class 36
Enum 26
Interface 5

Languages

Rust100%

Modules by API surface

bleps/src/lib.rs50 symbols
bleps/tests/test_ble.rs49 symbols
bleps/src/crypto.rs46 symbols
bleps/src/att.rs29 symbols
bleps/src/attribute.rs17 symbols
bleps/src/sm.rs10 symbols
example/src/main.rs9 symbols
bleps/src/command.rs9 symbols
bleps/src/attribute_server.rs9 symbols
bleps/src/acl.rs8 symbols
bleps/src/event.rs7 symbols
bleps-macros/tests/macro_test.rs6 symbols

For agents

$ claude mcp add bleps \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page