Getting Started

See README.md for getting started tutorial.

Core

Core
Static Members
new Pn532()
new Packet(args)
new Crypto1(args)

Plugin

Plugin
Static Members
new Pn532Hf14a()
new Pn532LoggerRxTx()
new Pn532WebbleAdapter()
new Pn532WebserialAdapter()

Example

Example
Static Members
M1 UID4B Writer
M1 EML Toolkit
M1 UID Scanner
mfkey32v2 and mfkey64
Key Detector for 北方智能卡
Key Detector for 福睿

other

other
Static Members
new Pn532Frame(pack)
new Pn532FrameAck(pack)
new Pn532FrameNormal(pack)
new Pn532FrameExtended(pack)

modules

modules
Static Members
pn532.js/Packet
pn532.js/plugin/Hf14a
pn532.js/plugin/LoggerRxTx
pn532.js/plugin/WebbleAdapter
pn532.js/plugin/WebserialAdapter
pn532.js/pn532
pn532.js/utils

typedef

typedef
Static Members
Pn532Hf14a~MifareTarget
Pn532~Gpio

pn532.js/Crypto1

src/Crypto1.js
pn532.js/Crypto1
Example
import Crypto1 from 'pn532.js/Crypto1'

pn532.js/plugin/SerialPortAdapter

src/plugin/SerialPortAdapter.js
pn532.js/plugin/SerialPortAdapter
Example
import Pn532SerialPortAdapter from 'pn532.js/plugin/SerialPortAdapter'

// Run serialport-list to list port, see https://serialport.io/docs/bin-list
pn532.use(new Pn532SerialPortAdapter(), { path: '/dev/tty.usbserial-120' })