RFID::Libnfc::Tag::ISO14443A_106::ULTRA Specific implementation for mifare ultralight tags
use RFID::Libnfc; $tag = $r->connectTag(IM_ISO14443A_106); # so the 2-level cascade selection process as specified in M028634_MF0ICU1_Functional_Spec_V3.4.pdf $tag->select()
Base class for ISO14443A_106 compliant tags
None by default.
Returns the data contained within the block number $block
NOTE: read operations on ultrlight will return back 16 bytes, even if a single block is 4 bytes wide. Remember also about the "roll back" property described in chapter 6.6.4 of the spec document : M028634_MF0ICU1_Functional_Spec_V3.4.pdf So , If you are reading one of the last three blocks, you will get data also from the first ones , since always 4 blocks are read.
(for instance. if you read block 15, you will get back data from 15, 1, 2 and 3)
Writes $data into $blocknum. Remember that ultralight cards have 4byte blocks so whatever you pass as $data will be truncated to 4 bytes
On ultralight token read_sector is only an alias for read_block since on such cards 1 sector (called also 'page' within the specs) is exactly 1 block
On ultralight token write_sector is only an alias for write_block since on such cards 1 sector (called also 'page' within the specs) is exactly 1 block
Returns the number of blocks present on the card
Returns the number of sectors present on the card
Returns a representation of the aclbits. (boths page-locking bits and block-locking bits)
implements the 2-level cascade selection process
check also documentation for libnfc c library [ http://www.libnfc.org/documentation/introduction ]
Copyright (C) 2009-2011 by xant <email@example.com>
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.