Models topic
Data models representing Bluetooth devices, connections, server sockets, stream sinks, and platform capabilities.
Classes
- BtcConnection Models
- An active RFCOMM connection to a remote Bluetooth device.
- BtcDevice Models
- Represents a Bluetooth Classic remote device.
- BtcFrameSplitter Models
- Splits a byte stream into frames separated by a delimiter, buffering across chunk boundaries so a frame may span several reads. The delimiter is stripped from the emitted frames.
- BtcPlatformCapabilities Models
- Reports the Bluetooth Classic capabilities of the current platform.
- BtcReconnectingConnection Models
- A self-healing RFCOMM connection that transparently reconnects when the link drops, using the exponential backoff described by its policy.
- BtcReconnectPolicy Models
- Controls how a BtcReconnectingConnection retries after the link drops.
- BtcServerSocket Models
- A server socket that listens for incoming Bluetooth RFCOMM connections.
- BtcStreamSink Models
- A write sink for an active Bluetooth connection.
Extensions
-
BtcByteStreamReader
on Stream<
Uint8List> Models - Serial-friendly reading helpers on a byte stream such as BtcConnection.input or BtcReconnectingConnection.input.