Python Bibliotheken - OTH-AW/isac-oth-aw GitHub Wiki

Welches Python Bibliotheken würde sich für uns anbieten?

NFCPY

nfcpy implementiert die NFC Forum Spezifikationen und hat damit einen umfangreichen Support für NDEF und NFC Forum Tag Types.

Für die einfache Erstellung von NDEF Nachrichten bietet sich folgendes an:

  1. ndeflib für das Parsen und Generieren von NDEF Nachrichten
  2. ndeftool für erstellen und modifizieren von NDEF Nachrichten über die Kommandozeile

Alles gehört zusammen und ist unter https://github.com/nfcpy zu finden.

Connecting a reader through SPI is currently not supported by nfcpy. Your connectivity options are either the serial port on GPIO or a USB-Serial adapter (FTDI). Note that for RPi 3 the serial port is only capable running at 116.2 kbps because (The faster port is used for Bluetooth but it is possible to switch them).

Only UART and USB via FTDI. SPI and I2C are not yet supported.

Untersützte Reader

CircuitPython

Treiber für PN532 NFC/RFID Breakout

https://github.com/adafruit/Adafruit_CircuitPython_PN532

LIBNFC

Empfohlen für PN532

http://nfc-tools.org/index.php/Libnfc

Speziell für Mifare:

http://nfc-tools.org/index.php/Libfreefare

Note: Please use the limited NDEF code with care. Formatting cards for NDEF support is currently a one way operation, and should only be performed on cards you can dedicate to NDEF use.

https://learn.adafruit.com/adafruit-pn532-rfid-nfc/libnfc?view=all#faq-641183

Node driver for the PN532 NFC chip

https://github.com/techniq/node-pn532

Zusammen mit der NDEF Libary sollte dies perfekt für uns sein!

Nur mit NTAG203 getestet, aber sollte auch andere NTAG und Mifare Ultralight Tags unterstützen

Probleme mit I2C, also muss UART verwendet werden

NodeJS binding of LibFreefare

https://github.com/Alabate/node-freefare

⚠️ **GitHub.com Fallback** ⚠️