Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MIFARE_ULTRALIGHT(3)   FreeBSD Library Functions Manual	  MIFARE_ULTRALIGHT(3)

NAME
     mifare_ultralight_connect,	mifare_ultralight_disconnect,
     mifare_ultralight_read, mifare_ultralight_write, -- Mifare	UltraLight Ma-
     nipulation	Functions

LIBRARY
     Mifare card manipulation library (libfreefare, -lfreefare)

SYNOPSIS
     #include <freefare.h>

     int
     mifare_ultralight_connect(MifareTag tag);

     int
     mifare_ultralight_disconnect(MifareTag tag);

     int
     mifare_ultralight_read(MifareTag tag,
	 const MifareUltralightPageNumber page,	MifareUltralightPage *data);

     int
     mifare_ultralight_write(MifareTag tag,
	 const MifareUltralightPageNumber page,
	 const MifareUltralightPage data);

DESCRIPTION
     The mifare_ultralight_*() functions allows	management of Mifare Ultra-
     Light tags.

     The mifare_ultralight_connect() function activates	the specified tag.

     A page of data can	be read	from a tag using mifare_ultralight_read(), and
     written using mifare_ultralight_write().

     After usage, a tag	is deactivated using mifare_ultralight_disconnect().

RETURN VALUES
     Unless stated otherwise, all functions return a value greater than	or
     equal to 0	on success or -1 on failure.

SEE ALSO
     freefare(3)

AUTHORS
     Romain Tartiere <romain@blogreen.org>
     Romuald Conty <romuald@libnfc.org>

FreeBSD	13.0			March 30, 2010			  FreeBSD 13.0

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | RETURN VALUES | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=mifare_ultralight_connect&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help