uhf_c72_plugin 1.0.1 copy "uhf_c72_plugin: ^1.0.1" to clipboard
uhf_c72_plugin: ^1.0.1 copied to clipboard

PlatformAndroid

A flutter plugin for UHF/RFID C72 to read UHF/RFID Cards for Chinaway devices.

uhf_plugin #

A flutter plugin for UHF type C72 to read UHF Cards.

https://pub.dev/packages/uhf_plugin

Getting Started #

  • Import the library: import 'package:uhf_c72_plugin/uhf_c72_plugin.dart';

  • Open connection to the UHF reader

    await UhfPlugin.connect

  • Check if is the reader connected

    await UhfPlugin.isConnected;

  • Start reading data a single UHF card

    await UhfPlugin.startSingle;

  • Start reading data multi 'continuous' UHF cards

    await UhfPlugin.startContinuous;

  • Is started reading

    await UhfPlugin.isStarted;

  • Stop Reading

    await UhfPlugin.stop;

  • Close the connection

    await UhfPlugin.close;

  • Clear cached data for the reader

    await UhfPlugin.clearData;

  • Is Empty Tags

    await UhfPlugin.isEmptyTags;

  • Set Power level (5 dBm : 30 dBm use string numbers)

    await UhfPlugin.setPowerLevel;

  • Set Work area Area Values { "1", "2" 4", "8", "22", "50", "51", "52", "128"} await UhfPlugin.setWorkArea;

  • Listen to tags status

    UhfPlugin.tagsStatusStream.receiveBroadcastStream().listen(updateTags);

       List<TagEpc> _data = [];
       void updateTags(dynamic result) {
        setState(() {
            _data = TagEpc.parseTags(result);
         });
       }
    
11
likes
120
pub points
74%
popularity

Publisher

unverified uploader

A flutter plugin for UHF/RFID C72 to read UHF/RFID Cards for Chinaway devices.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on uhf_c72_plugin