Expand description
ยง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
- 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 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ยง
- Controller
ToHost Packet - Type representing valid deserialized HCI packets.
- From
HciBytes Error - Errors from parsing HCI data.
- Packet
Kind - Enum of valid HCI packet types.
- Read
HciError - Errors from reading HCI data.
Traitsยง
- AsHci
Bytes - A HCI type which can be represented as bytes.
- Byte
Aligned Value - Marker trait for
FixedSizeValue
s that have byte alignment. - Fixed
Size Value - Marker trait for HCI values that have a known, fixed size
- From
HciBytes - A fixed size HCI type that can be deserialized from bytes.
- Host
ToController Packet - Trait representing a HCI packet.
- ReadHci
- Adapter trait for deserializing HCI types from embedded-io implementations.
- Write
Hci - Adapter trait for serializing HCI types to embedded-io implementations.