[Rfdump] Writing Software Bridge to Allow Other Readers to work
with RFDUMP
Dirk Jagdmann
doj at cubic.org
Tue Mar 17 23:54:29 UTC 2009
Hello Mike,
> I was recently looking into writing some code that would allow me to use
> my RFID reader with the RFDump software. I was wondering if anyone could
> give me some tips or guidance about how to get started doing so.
It it possible to support a different reader then the ACG models we
currently support. However the RFDump code is currently not very well
prepared for a RFID reader hardware abstraction, which may result in
some ugly code.
The main logic of RFDump is contained in the main.c file. Currently
RFDump assumes the "select", "read block" and later on "write block"
semantics usually found in LF and HF readers. If your reader works with
those commands a support should be fairly easy. From main.c there are
functions calls to rfidSelect(), rfidGetTagID(), rfidReadAllPages(),
rfidReadPage(), rfidWritePage(), rfidConnectReader(), rfidReset(). What
they do should be fairly obvious.
Those function are currently all implemented in rfid.c and pretty
hard-wired to the ACG ASCII protocol. You could start by replacing all
of rfid.c with your own code which implements those functions.
--
---> Dirk Jagdmann
----> http://cubic.org/~doj
-----> http://llg.cubic.org
More information about the Rfdump
mailing list