acs_nfc 1.0.3 acs_nfc: ^1.0.3 copied to clipboard
ACS NFC Reader flutter plugin project which is used for reading NFC from ACS NFC Reader devices.
acs_nfc #
A new flutter plugin project.
Library Pub link
https://pub.dev/packages/acs_nfc/
Getting Started #
-
Import the library:
import 'package:acs_nfc/acs_nfc.dart';
-
Open connection the connection
await AcsNfc.openConnection(ip: '192.168.137.1', port: '8001');
-
Listen to connection Status
AcsNfc.connectionStatusStream.receiveBroadcastStream().listen(nfcConnectionStatus);
-
List to Nfc data
AcsNfc.nfcDataStream.receiveBroadcastStream().listen(nfcData);
-
Data format is:
{"nfcBytes":"","nfcId":""}