Andrea Guzzo > RFID-Libnfc-0.13 > RFID::Libnfc::Modulation

Download:
RFID-Libnfc-0.13.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

RFID::Libnfc::Modulation

SYNOPSIS ^

    use RFID::Libnfc;

    $modulation = RFID::Libnfc::Modulation->new();

    or 

    $target = RFID::Libnfc::Target->new();
    $modulation = $target->nm();

DESCRIPTION ^

  Provides a perl OO api to libnfc functionalities
  (actually implements only mifare-related functionalities)

METHODS

nmt ( [ $modulation_type ] )

returns the configured modulation type. The returned value is an integer as defined in NMT constants : NMT_ISO14443A NMT_ISO14443B NMT_FELICA NMT_JEWEL NMT_DEP

check RFID::Libnfc::Constants for more details

If $modulation_type is defined the new value will be set before returning the old value

nbr ( [ $baud_rate ] )

returns the configured baud rate. The returned value is an integer as defined in NBR constants : NBR_UNDEFINED NBR_106 NBR_212 NBR_424 NBR_847

check RFID::Libnfc::Constants for more details

If $baud_rate is defined the new value will be set before returning the old value

SEE ALSO ^

RFID::Libnfc RFID::Libnfc::Device RFID::Libnfc::TargetInfo 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.

syntax highlighting: