|
NAMEmad_new , mad_read ,
mad_write , mad_get_version ,
mad_set_version ,
mad_get_card_publisher_sector ,
mad_set_card_publisher_sector ,
mad_get_aid , mad_set_aid ,
mad_free , —
Mifare Application Directory (MAD) Manipulation Functions
LIBRARYMifare card manipulation library (libfreefare, -lfreefare)SYNOPSIS#include <freefare.h>
Mad
Mad
int
int
void
MifareClassicSectorNumber
int
int
int
void
DESCRIPTIONMifare Application Directories (MAD) can be easily manipulated using themad_* () set of functions.
A mad can be loaded form a Mifare Classic
tag using A mad can be written to a Mifare Classic
tag using The version of a MAD
mad can be read using
The card publisher sector number cps can be
read read using Sectors allocation in the mad is handled by
the RETURN VALUESThemad_new () function return NULL
on failure and allocates memory that has to be freed using
mad_free () on success. Unless stated otherwise, all
other functions return a value greater than or equal to
0 on success or -1 on failure.
SEE ALSOfreefare(3), mifare_application(3), mifare_classic(3)AUTHORSRomain Tartiere ⟨romain@blogreen.org⟩Romuald Conty ⟨romuald@libnfc.org⟩
Visit the GSP FreeBSD Man Page Interface. |