About Us
Museum

RFID Guardian Software:Library:Generic library modules:RFID Frame

From RFID Guardian

RFID Guardian Software / Library / Generic library modules / RFID Frame


RFID Frame

RFID Guardian has implementations of the protocol stacks of ISO15693, ISO14443-A, and Mifare Light and Classic, including authentication and encryption. The RFID Frame module converts between typed protocol frames and typeless symbol streams .

A typed RFID frame uses a raw frame as helper data structure. A raw frame is associated with a port . It has an embedded symbol stream , and support for abusing CRCs to recover garbled data bits. (Un)marshalling occurs between the typed frame and the raw frame's symbol stream.

  • Each RFID protocol implements:
    • request_write() request written by reader
    • request_read() request read by 'tag'
    • response_write() response write by 'tag'
    • response_read() response read by reader
    • pretty-printer functions
  • MiFare is a special case, because its protocol sometimes specifies data frames without explicit type. The partners in the conversation already know which type of frame is going to be sent/received. This means that the type of message may depend only on the state of the partner.
API include/rfid-protocol/mrg_rfid_types.h , include/rfid-protocol/mrg_rfid_frame.h , include/rfid-protocol/mrg_rfid_frame_14443.h , include/rfid-protocol/mrg_rfid_frame_15693.h , include/rfid-protocol/mrg_rfid_frame_mifare.h , include/rfid-protocol/mrg_rfid_frame_timing.h , include/rfid-protocol/mrg_rfid_send_q.h
Source [ src/rfid-protocol/include/*.h ], [ src/rfid-protocol/common/*.c ], [ src/rfid-protocol/raw/*.c ], [ src/rfid-protocol/14443/*.c ], [ src/rfid-protocol/15693/*.c ]