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

outdated

A flutter plugin for UHF C72 to read UHF Cards.

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 1 > China Area 920~925MHz 2 > Chin2a Area 840~845MHz 3 > ETSI Area 865~868MHz 4 > Fixed Area 915MHz 5 > United States Area 902~928MHz -use string numbers 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
0
pub points
73%
popularity

Publisher

unverified uploader

A flutter plugin for UHF C72 to read UHF Cards.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on uhf_c72_plugin