someone-noone / libnfc-js

A simple libnfc API to interact with NFC tags.
Apache License 2.0
6 stars 9 forks source link

Error: NFC_ERFTRANS #6

Open zachheine opened 6 years ago

zachheine commented 6 years ago

Using libnfc nfc-poll:

$ nfc-poll
nfc-poll uses libnfc 1.7.1
NFC reader: NXP / PN533 opened
NFC device will poll during 30000 ms (20 pollings of 300 ms for 5 modulations)
FeliCa (424 kbps) target:
        ID (NFCID2): 02  fe  00  00  31  00  54  0f  
    Parameter (PAD): ff  ff  00  00  00  ff  ff  ff  
   System Code (SC): aa  ff  
nfc_initiator_target_is_present: Target Released
Waiting for card removing...done.

Using the library example:

{ modulationType: 'NMT_FELICA', baudRate: 'NBR_212' } {}
{ Error: NFC_ERFTRANS cause: Error: NFC_ERFTRANS, isOperational: true }

Is there a particular buffer to pass other than Buffer.from([0])?