parent
a6675eda70
commit
73a3eb7268
6 changed files with 10 additions and 12 deletions
|
@ -215,7 +215,7 @@ freefare_free_tag (MifareTag tag)
|
|||
const char *
|
||||
freefare_strerror (MifareTag tag)
|
||||
{
|
||||
const char *p = "Unkown error";
|
||||
const char *p = "Unknown error";
|
||||
if (nfc_device_get_last_error (tag->device) < 0) {
|
||||
p = nfc_strerror (tag->device);
|
||||
} else {
|
||||
|
|
|
@ -103,7 +103,7 @@ function returns the error code returned by the last command run on
|
|||
.Fn freefare_strerror
|
||||
returns the error message,
|
||||
.Fn freefare_strerror_r
|
||||
returns 0 on success, -1 on failure;
|
||||
returns 0 on success, \-1 on failure;
|
||||
.Fn mifare_desfire_last_pcd_error
|
||||
and
|
||||
.Fn mifare_desfire_last_picc_error
|
||||
|
|
|
@ -101,7 +101,7 @@ on the
|
|||
.Vt tag
|
||||
and copy them into
|
||||
.Vt buf.
|
||||
The function returns the amount of data it copied, or -1 on error.
|
||||
The function returns the amount of data it copied, or \-1 on error.
|
||||
.Pp
|
||||
The
|
||||
.Fn mifare_application_write
|
||||
|
@ -115,7 +115,7 @@ on the
|
|||
.Vt mad
|
||||
of the
|
||||
.Vt tag
|
||||
and returns the quantity of data written, or -1 on error.
|
||||
and returns the quantity of data written, or \-1 on error.
|
||||
.\" ___ _ _ _ _ _
|
||||
.\" |_ _|_ __ ___ _ __ | | ___ _ __ ___ ___ _ __ | |_ __ _| |_(_) ___ _ __ _ __ ___ | |_ ___ ___
|
||||
.\" | || '_ ` _ \| '_ \| |/ _ \ '_ ` _ \ / _ \ '_ \| __/ _` | __| |/ _ \| '_ \ | '_ \ / _ \| __/ _ \/ __|
|
||||
|
|
|
@ -145,7 +145,7 @@ Value-blocks can be easily accessed using the
|
|||
.Fn mifare_classic_read_value
|
||||
and
|
||||
.Fn mifare_classic_init_value
|
||||
functions. Aditional functions are available for such
|
||||
functions. Additional functions are available for such
|
||||
.Vt blocks :
|
||||
.Fn mifare_classic_increment
|
||||
and
|
||||
|
|
|
@ -274,7 +274,7 @@ of the free memory on the PICC (in bytes).
|
|||
.Pp
|
||||
The
|
||||
.Fn mifare_desfire_set_configuration
|
||||
function can be used to desactivate the format function when setting
|
||||
function can be used to deactivate the format function when setting
|
||||
.Vt disable_format
|
||||
to a value different from 0, or swicth the card to use random UDI setting
|
||||
.Vt enable_random_uid
|
||||
|
@ -404,7 +404,7 @@ The
|
|||
.Fn mifare_desfire_create_application_iso
|
||||
acts as the
|
||||
.Fn mifare_desfire_create_application
|
||||
function but allows to specify if the created files within the application shall have an ISO file identifier setting
|
||||
function but allows one to specify if the created files within the application shall have an ISO file identifier setting
|
||||
.Vt want_iso_file_identifiers
|
||||
to a non-NULL value, a DF can be provided using
|
||||
.Vt iso_file_id ,
|
||||
|
|
|
@ -60,9 +60,7 @@ Mifare card manipulation library (libfreefare, \-lfreefare)
|
|||
.Sh DESCRIPTION
|
||||
The
|
||||
.Fn mifare_desfire_aid_*
|
||||
functions allows management of Mifare DESFire AIDs.
|
||||
.Fn
|
||||
The
|
||||
functions allows management of Mifare DESFire AIDs. The
|
||||
.Fn mifare_desfire_aid_new
|
||||
function returns a new Mifare DESFire AID of value
|
||||
.Vt aid .
|
||||
|
@ -72,7 +70,7 @@ The
|
|||
functions returns a new Mifare DESFire AID using a Mifare Classic AID
|
||||
.Vt mad_aid
|
||||
and
|
||||
.Vt
|
||||
.Vt n
|
||||
as the last nibble of the new AID.
|
||||
.Pp
|
||||
Both
|
||||
|
|
Loading…
Reference in a new issue