User Tools

Site Tools


pentominos:pidio

Pidio

Client library to communicate with Pidiod.

Design

  • int init(SERVERADDRESS, SERVERPORT)
  • int registerOnLocation(id1, id2, location, ttl)
  • int clearLocaton(location)
  • string onLocation(location)
  • string id2genuine(id)
  • string id2pseudo(id)
  • string error2string(int error)

Maybes:

  • string cpr2name(cpr)

Old

Pidio retrieves UID from an external reader, and sends it to the Pidiod server, together with its location ID. And so makes a map between UIDs and location.

Currently implemented to support input from a magnetic card reader or keypad. At later phase needs to support input from rfid tag readers.

TODO

Next Version

  • Use libcurl.
  • Rewrite as C-lib.

Current Version

  • Send location to pidiod.
  • (Feed) Retrieve cpr based on location configuration.
  • Send operator information.
pentominos/pidio.txt · Last modified: 2010/03/29 11:34 by jsc