LinuxI2cNciPacketIo

constructor(i2cDevicePath: String = defaultI2cDevicePath(), i2cAddress: Int = defaultI2cAddress(), gpioChipPath: String = defaultGpioChipPath(), irqGpioPin: Int = defaultIrqGpioPin(), venGpioPin: Int = defaultVenGpioPin())

Parameters

i2cDevicePath

Path to the Linux I2C controller character device (e.g. "/dev/i2c-1").

i2cAddress

7-bit I2C target address of the NFC controller (e.g. 0x28 for NXP PN7160).

gpioChipPath

Path to the Linux GPIO chip character device (e.g. "/dev/gpiochip0").

irqGpioPin

GPIO line offset for the active-high IRQ pin (e.g. 23 on OM27160A1EVK).

venGpioPin

GPIO line offset for the active-high VEN reset/enable pin (e.g. 24 on OM27160A1EVK).