8ff8c084f5
Add scheme.rs to btusb daemon serving scheme:hciN with full SchemeSync implementation (status, info, command, events, ACL, LE scan/connect/ disconnect). Add hci_backend.rs to btctl implementing Backend trait via scheme filesystem reads/writes instead of stub data. Backend selection via REDBEAR_BTCTL_BACKEND=hci env var, StubBackend remains default. Fix daemon_main to use correct redox-scheme 0.11 API (Socket::create, next_request/handle_sync/write_response loop) instead of non-existent SchemeBlock. 125 btusb tests, 45 btctl tests, 2 wifictl tests passing.
16 lines
354 B
TOML
16 lines
354 B
TOML
[package]
|
|
name = "redbear-btusb"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[[bin]]
|
|
name = "redbear-btusb"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
libc = "0.2"
|
|
libredox = { version = "0.1", features = ["call", "std"] }
|
|
log = { version = "0.4", features = ["std"] }
|
|
redox-scheme = "0.11"
|
|
syscall = { package = "redox_syscall", version = "0.7", features = ["std"] }
|