Skip to content

Instantly share code, notes, and snippets.

@kevinprince
Created April 11, 2013 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevinprince/5363573 to your computer and use it in GitHub Desktop.
Save kevinprince/5363573 to your computer and use it in GitHub Desktop.
Quick explanation of the unattended card reader idea
We have:
- A NFC card reader that presents as a USB keyboard
- A raspberry pi with wifi
What we want to do:
Have a standalone network enabled card reader.
Requirements:
- Can only use the above components
- Must boot, notify webservice its ready and conduct reads without a screen or mouse connected
- May allow for some kind of additional output device to notify its ready but reader beeps on read.
Ideas on how welcome.
@edent
Copy link

edent commented Apr 11, 2013

Set it up with latest Debian.

Run a Python script on startup (or Ruby etc).

Script should continually listen and then react on string termination character (I assume the reader issues CR or similar once read)?

From the script, issue a GET/POST with the input from the scanner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment