Module bluetooth_hci::host [−][src]
Host-side interface to the Bluetooth HCI.
Ideas for discussion and improvements
- Remove
cmd_link
andevent_link
modules. These provide alternative mechanisms for writing to and reading from the controller, respectively, without the packet identifier byte. The open-source Bluetooth implementations I have found (admittedly, I haven't looked hard) only support sending the packet ID, asuart
does. In that case, it would make sense to also removeuart
and move its contents up one level.
Modules
cmd_link |
Implementation of the HCI that includes the packet ID byte in the header. |
event_link |
Implementation of the HCI that only supports reading events from the controller. |
uart |
Implementation of the HCI that includes the packet ID byte in the header. |
Structs
AdvertisingInterval |
Define an advertising interval range. |
AdvertisingParameters |
Parameters for the |
AesParameters |
Parameters for the |
Channels |
The advertising channels that shall be used when transmitting advertising packets. |
ConnectionInterval |
Define a connection interval range with its latency and supervision timeout. This value is passed to the controller, which determines the actual connection interval. |
ConnectionIntervalBuilder |
Intermediate builder for the ConnectionInterval |
ConnectionParameters |
Parameters for the |
ConnectionUpdateParameters |
Parameters for the |
EncryptionKey |
Newtype for the encryption key. |
EncryptionParameters |
Parameters for the |
EventFlags |
Event flags defined for the |
ExpectedConnectionLength |
Define an expected connection length range |
LeEventFlags |
Event flags defined for the |
PlaintextBlock |
Newtype for the plaintext data. |
ScanParameters |
Parameters for the |
ScanWindow |
Define a scanning window. |
Enums
AdvertisingFilterPolicy |
Possible filter policies used for undirected advertising. |
AdvertisingType |
The advertising type is used in the
|
ConnectionFilterPolicy |
Possible values for the initiator filter policy in the
|
Error |
Errors that may occur when sending commands to the controller. Must be specialized on the types of communication errors. |
OwnAddressType |
Indicates the type of address being used in the advertising packets. |
PeerAddrType |
Possible values for the peer address in the |
ScanFilterPolicy |
Which advertising packets to accept from a scan. |
ScanType |
Types of scan to perform. |
TestPacketPayload |
Possible values of the |
TxPowerLevel |
For the |
Traits
Hci |
Trait defining the interface from the host to the controller. |
HciHeader |
Trait to define a command packet header. |