Skip to content

Instantly share code, notes, and snippets.

View pokusew's full-sized avatar

Martin Endler pokusew

  • Czech Republic
  • 09:31 (UTC +02:00)
  • LinkedIn in/pokusew
View GitHub Profile
@pokusew
pokusew / index.js
Last active June 16, 2021 13:23
Modified basic example (https://github.com/pokusew/nfc-pcsc/examples/index.js) of reading and writing NFC cards with nfc-pcsc lib
"use strict";
// #############
// Basic example
// - example reading and writing data on from/to card
// - should work well with any compatible PC/SC card reader
// - tested with Mifare Ultralight cards but should work with many others
// - example authentication for Mifare Classic cards
// #############