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
BluetoothRfcommProfileSettings
Settings for an rfcomm profile

Enums§

BluetoothAdapter
Represents a bluetooth adapter that communicates to bluetooth devices
BluetoothCommand
Commands issued to the library
BluetoothDevice
A bluetooth device
BluetoothDiscovery
The trait for the object that manages bluetooth discovery
BluetoothResponse
Responses issued by the library
BluetoothRfcommConnectable
A bluetooth profile for rfcomm channels
BluetoothRfcommProfile
A bluetooth profile for rfcomm channels
BluetoothRfcommSocket
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§

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
BluetoothRfcommConnectableTrait
The trait for bluetooth rfcomm objects that can be connected or accepted
BluetoothRfcommProfileTrait
Allows building an object to connect to bluetooth devices
BluetoothRfcommSocketTrait
The common functions for all bluetooth rfcomm sockets