MCPcopy Index your code
hub / github.com/AndrewGi/btle

github.com/AndrewGi/btle @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
680 symbols 1,240 edges 78 files 58 documented · 9%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Error (Interface)
Generic Error Trait. Similar to `std::error::Error`. Generic Error type. Similar to `std::error::Error` but supports `no [6 …
src/error.rs
Command (Interface)
HCI Command trait for structs that are HCI commands. [14 implementers]
src/hci/command.rs
AdStructureType (Interface)
(no doc) [8 implementers]
src/le/advertisement.rs
Storage (Interface)
Objects that store and own `T`s (`Box<[T]>`, `Vec `, `StaticBuf<[T; 32]>`, etc). This allows for generic byte storage [3 …
src/bytes.rs
RawWatcherCallback (Interface)
(no doc) [2 implementers]
src/windows/ble/advertisements/observer.rs
ReturnParameters (Interface)
(no doc) [5 implementers]
src/hci/event.rs
UnpackableAdStructType (Interface)
(no doc) [8 implementers]
src/le/advertisement.rs
ToFromBytesEndian (Interface)
Trait for types that can be packed/unpack into/from bytes in either endian. [2 implementers]
src/bytes.rs

Core symbols most depended-on inside this repo

into
called by 68
src/uuid.rs
len
called by 46
src/le/att/attribute.rs
as_ref
called by 19
src/hci/le/mod.rs
as_mut
called by 17
src/hci/event.rs
error
called by 13
src/hci/mod.rs
hci_send_command
called by 13
src/hci/adapters/mod.rs
as_ref
called by 12
src/le/att/attribute.rs
as_ref
called by 9
src/hci/packet.rs

Shape

Method 457
Class 120
Enum 49
Function 30
Interface 24

Languages

Rust100%

Modules by API surface

src/hci/bluez_socket.rs37 symbols
src/bytes.rs34 symbols
src/hci/event.rs32 symbols
src/lib.rs27 symbols
src/hci/stream.rs24 symbols
src/hci/mod.rs23 symbols
src/le/advertisement.rs22 symbols
src/hci/usb/adapter.rs22 symbols
src/le/advertiser.rs21 symbols
src/uuid.rs19 symbols
src/hci/adapters/le.rs18 symbols
src/windows/ble/advertisements/observer.rs17 symbols

For agents

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

⬇ download graph artifact