Crate bt_hci

Source
Expand description

crates.io docs.rs

ยงbt-hci

Rust types for the Bluetooth HCI (Host Controller Interface) specification, and traits for implementing the Controller part of the interface.

ยงLicense

bt-hci is licensed under either of

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 conditions.

Modulesยง

cmd
HCI commands ๐Ÿ“–
controller
HCI controller
data
HCI data packets ๐Ÿ“–
event
HCI events ๐Ÿ“–
param
Parameter types for HCI command and event packets ๐Ÿ“–
transport
HCI transport layers ๐Ÿ“–
uuid
This module contains the UUIDs for Bluetooth.

Enumsยง

ControllerToHostPacket
Type representing valid deserialized HCI packets.
FromHciBytesError
Errors from parsing HCI data.
PacketKind
Enum of valid HCI packet types.
ReadHciError
Errors from reading HCI data.

Traitsยง

AsHciBytes
A HCI type which can be represented as bytes.
ByteAlignedValue
Marker trait for FixedSizeValues that have byte alignment.
FixedSizeValue
Marker trait for HCI values that have a known, fixed size
FromHciBytes
A fixed size HCI type that can be deserialized from bytes.
HostToControllerPacket
Trait representing a HCI packet.
ReadHci
Adapter trait for deserializing HCI types from embedded-io implementations.
WriteHci
Adapter trait for serializing HCI types to embedded-io implementations.