RfidScannerBle class
BLE RFID reader (H100 / CFBLE) integration.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
scanResults
→ Stream<
String> -
Tag EPC stream. Call ensureTagListener once before listening, or use
startScanning which sets up the native tag stream automatically.
no setter
Static Methods
-
connect(
String deviceId) → Future< void> -
connectedAddress(
) → Future< String?> -
disconnect(
) → Future< void> -
dispose(
) → Future< void> - Cancels the native tag subscription. Does not disconnect the reader.
-
ensureTagListener(
) → Future< void> -
Bridges the native tag EventChannel into scanResults.
Re-subscribes every call so native
tagSinkis active after dispose/reconnect. -
initialize(
) → Future< void> -
isConnected(
) → Future< bool> -
scanDevices(
{int timeoutSeconds = 10, bool readersOnly = true, List< String> knownDeviceIds = const []}) → Future<List< RfidBleDevice> > -
startScanning(
) → Future< void> - Starts UHF inventory on a connected reader. Tag EPCs are emitted on scanResults.
-
stopDeviceScan(
) → Future< void> -
stopScanning(
) → Future< void>