[Rfdump] Writing Software Bridge to Allow Other Readers to
workwith RFDUMP
Michael Parsons
mtparsons87 at gmail.com
Wed Mar 18 12:05:45 UTC 2009
Thanks Dirk,
That was very helpful and exactly what I was hoping for. My reader supports those commands so I'll get started on that.
Thanks again for the help,
Mike
-----Original Message-----
From: Dirk Jagdmann <doj at cubic.org>
Date: Tue, 17 Mar 2009 16:54:29
To: <rfdump at lists.dn-systems.net>
Subject: Re: [Rfdump] Writing Software Bridge to Allow Other Readers to work
with RFDUMP
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
_______________________________________________
Rfdump mailing list
Rfdump at lists.dn-systems.net
http://lists.dn-systems.net/mailman/listinfo/rfdump
More information about the Rfdump
mailing list