About Us
Museum

RFID Guardian Software:Library:Core modules:On-board reader

From RFID Guardian

RFID Guardian Software / Library / Core modules / On-board reader


On-board reader

This library module provides functions to perform an RFID request/response exchange, with the module hiding the existence of RFID frames. The basic functionality is a variadic function mrg_reader_transceive(request command, ...) , where the caller is responsible for providing the correct arguments.

Shouldn't we provide typed transceive calls? After all, varargs functions are badly typed, and therefore a source of bugs.

On-board 15693 reader

Besides this basic transceive function, this module implements anticollision procedures. For 15693, there are functions to perform a 1-slot anticollision, one round of 16-slot anticollision, or a full recursive anticollision, as outlined in the ISO standard.

API include/rfid-reader/mrg_rfid_reader_15693.h
Source [ src/rfid-reader/mrg_rfid_reader_15693.c ]


On-board 14443-A/MiFare reader

For 14443-A, there is an implementation to perform in one call a REQA, anticollision and select at all 3 levels. This reader also supports the MiFare classic protocol, for authentication and for data exchange.

To be implemented The functionality for this reader still lives in its prototype test [ test/reader-14443-A ]. It must be lifted into the library.

API include/rfid-reader/mrg_rfid_reader_14443.h
Source [ src/rfid-reader/mrg_rfid_reader_14443_A.c ]