GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MIFARE_ULTRALIGHT(3) FreeBSD Library Functions Manual MIFARE_ULTRALIGHT(3)

mifare_ultralight_connect, mifare_ultralight_disconnect, mifare_ultralight_read, mifare_ultralight_write, —
Mifare UltraLight Manipulation Functions

Mifare card manipulation library (libfreefare, -lfreefare)

#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);

The mifare_ultralight_*() functions allows management of Mifare UltraLight 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().

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

freefare(3)

Romain Tartiere ⟨romain@blogreen.org⟩
Romuald Conty ⟨romuald@libnfc.org⟩
March 30, 2010 FreeBSD 12.0-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.