Skip to main content

Crate bluetooth_rust

Crate bluetooth_rust 

Source
Expand description

This library is intended to eventually be a cross-platform bluetooth handling platform Android portions adapted from https://github.com/wuwbobo2021/android-bluetooth-serial-rs

Structs§

BluetoothAdapterBuilder
A builder for BluetoothAdapter
BluetoothL2capProfileSettings
Settings for an rfcomm profile
BluetoothRfcommProfileSettings
Settings for an rfcomm profile
Dummy
A dummy struct for ensuring enums are not empty

Enums§

BluetoothAdapter
Represents a bluetooth adapter that communicates to bluetooth devices
BluetoothAdapterAddress
The address of a bluetooth adapter
BluetoothCommand
Commands issued to the library
BluetoothDevice
A bluetooth device
BluetoothDiscovery
The trait for the object that manages bluetooth discovery
BluetoothL2capConnectableAsync
A bluetooth profile for rfcomm channels
BluetoothL2capConnectableSync
A bluetooth profile for rfcomm channels
BluetoothL2capProfileAsync
A bluetooth profile for rfcomm channels
BluetoothL2capProfileSync
A bluetooth profile for rfcomm channels
BluetoothResponse
Responses issued by the library
BluetoothRfcommConnectableAsync
A bluetooth profile for rfcomm channels
BluetoothRfcommConnectableSync
A bluetooth profile for rfcomm channels
BluetoothRfcommProfileAsync
A bluetooth profile for rfcomm channels
BluetoothRfcommProfileSync
A bluetooth profile for rfcomm channels
BluetoothSocket
A bluetooth rfcomm socket
BluetoothStream
An active stream for bluetooth communications
BluetoothUuid
Represents the uuid for a bluetooth service
MessageFromBluetoothHost
Messages that are send directly from the bluetooth host
MessageToBluetoothHost
Messages that can be sent specifically to the app user hosting the bluetooth controls
PairingStatus
The pairing status of a bluetooth device
ResponseToPasskey
The user response to a bluetooth passkey

Traits§

AsyncBluetoothAdapterTrait
Common async functionality for the bluetooth adapter
BluetoothAdapterTrait
Common functionality for the bluetooth adapter
BluetoothDeviceTrait
The trait that all bluetooth devices must implement
BluetoothDiscoveryTrait
The trait that implements managing when bluetooth discovery is enabled
BluetoothL2capConnectableAsyncTrait
The trait for bluetooth rfcomm objects that can be connected or accepted
BluetoothL2capConnectableSyncTrait
The trait for bluetooth rfcomm objects that can be connected or accepted
BluetoothRfcommConnectableAsyncTrait
The trait for bluetooth rfcomm objects that can be connected or accepted
BluetoothRfcommConnectableSyncTrait
The trait for bluetooth rfcomm objects that can be connected or accepted
BluetoothRfcommProfileAsyncTrait
Allows building an object to connect to bluetooth devices
BluetoothRfcommProfileSyncTrait
Allows building an object to connect to bluetooth devices
BluetoothSocketTrait
The common functions for all bluetooth rfcomm sockets
SyncBluetoothAdapterTrait
Common sync functionality for the bluetooth adapter