NAME
RFID::Libnfc::Device
SYNOPSIS
use RFID::Libnfc;
$device = RFID::Libnfc::Device->new();
DESCRIPTION
Provides a perl OO api to libnfc functionalities
(actually implements only mifare-related functionalities)
METHODS
acName ( )
returns the printable name of the device
nc ( )
returns an integer representing the chip type
possible values are :
NC_PN531 NC_PN532 NC_PN533
these constants are defined in RFID::Libnfc::Constants
nds ( )
returns a pointer to the device connection specification (nfc_device_spec_t)
bActive ( )
returns a boolean which determines if the device is active or not
bCrc ( [ $bool ] )
get/set the crc field which determines if crc must be used or not
bPar ( [ $bool ] )
get/set the parity field which determines if parity must be used or not
ui8TxBits ( [ $bits ] )
get/set the internal buffer holding the transmit bits
SEE ALSO
RFID::Libnfc RFID::Libnfc::Device RFID::Libnfc::Target RFID::Libnfc::Constants
< check also documentation for libnfc c library [ http://www.libnfc.org/documentation/introduction ] >
AUTHOR
xant
COPYRIGHT AND LICENSE
Copyright (C) 2009-2011 by xant <xant@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.