libnfc icon indicating copy to clipboard operation
libnfc copied to clipboard

Support for other chips/devices.

Open henri62 opened this issue 6 years ago • 3 comments

Please label as "Question" Does anyone have an idea if completely other chips can be supported by libnfc? I'm especially interested in the CR95HF transceiver (UART host interface), I want to make an estimation how much work it is to implement this IC in libnfc.

Is it even possible to do this? Are there any special features in the pn53x device so it prevents me to do it?

henri62 avatar May 06 '19 08:05 henri62

It's definitely possible. One incomplete example is https://github.com/nfc-tools/libnfc/pull/300 . There may be better examples around.

ildar avatar May 08 '19 06:05 ildar

  1. Can somebody explain the use of the chip v.s. drivers directory? It looks like the "chips" directory is badly named or should not exist at all? If I look into all sources it looks like there was made an attempt to separate the chip logic from the transport method (uart/i2c/usb etc), but incompletely done (like the acr122s).

  2. The commonality between all drivers in in "struct nfc_driver". Is there an explanation what each function is supposed to do? Now it's a complete puzzle to find it out. I even have no clue if I don't have a severe hardware mismatch to implement another chip.

hdeveer avatar May 13 '19 14:05 hdeveer

Guess you want to chat about it? Come to the #libnfc channel at freenode IRC

ildar avatar May 13 '19 16:05 ildar