MifareUltralightCard Interface Reference

MifareUltralight card. More...

Inheritance diagram for MifareUltralightCard:

Classes

enum  UltralightType
 

Public Member Functions

UltralightType getType ()
 
List< SmartCardInformationBlockwritePages (List< SmartCardInformationBlock > pages) throws SmartCardNotAvailableException, SmartCardLowLevelException
 
List< SmartCardInformationBlockreadPages (List< Integer > pagesIds) throws SmartCardNotAvailableException, SmartCardLowLevelException
 
void incrementCounter (MifareUltralightCounter counter) throws SmartCardNotAvailableException, SmartCardLowLevelException
 increment card counter More...
 
MifareUltralightCounter getCounter (int counterNumber) throws SmartCardNotAvailableException, SmartCardLowLevelException
 Retrieve card counter. More...
 
- Public Member Functions inherited from SmartCard
String getUid ()
 
Boolean getCollision ()
 
SmartCardReader getReader ()
 
List< String > sendPasstroughCommands (List< String > commands) throws SmartCardNotAvailableException, SmartCardLowLevelException
 

Detailed Description

MifareUltralight card

Member Function Documentation

◆ getCounter()

Parameters
counterNumbercounter number to be retrieved
Returns
MifareUltralightCounter
Exceptions
SmartCardNotAvailableException
SmartCardLowLevelException

◆ getType()

UltralightType getType ( )

Gets card capacity

Returns
list of MifareClassic blocks

◆ incrementCounter()

Parameters
countercard counter to be set
Exceptions
SmartCardNotAvailableException
SmartCardLowLevelException

◆ readPages()

List<SmartCardInformationBlock> readPages ( List< Integer >  pagesIds) throws SmartCardNotAvailableException, SmartCardLowLevelException

Read pages from card

Parameters
pagesIdspages ids to be read
Returns
list of MifareUltralight pages
Exceptions
SmartCardLowLevelException
SmartCardNotAvailableException

◆ writePages()

Write pages in card

Parameters
pageslist of pages to be written
Returns
Exceptions
SmartCardLowLevelException
SmartCardNotAvailableException