MifareUltralightCard Interface Reference
MifareUltralight card. More...
Inheritance diagram for MifareUltralightCard:
Classes | |
enum | UltralightType |
Public Member Functions | |
UltralightType | getType () |
List< SmartCardInformationBlock > | writePages (List< SmartCardInformationBlock > pages) throws SmartCardNotAvailableException, SmartCardLowLevelException |
List< SmartCardInformationBlock > | readPages (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
MifareUltralightCounter getCounter | ( | int | counterNumber | ) | throws SmartCardNotAvailableException, SmartCardLowLevelException |
- Parameters
-
counterNumber counter number to be retrieved
- Returns
- MifareUltralightCounter
- Exceptions
-
SmartCardNotAvailableException SmartCardLowLevelException
UltralightType getType | ( | ) |
Gets card capacity
- Returns
- list of MifareClassic blocks
void incrementCounter | ( | MifareUltralightCounter | counter | ) | throws SmartCardNotAvailableException, SmartCardLowLevelException |
- Parameters
-
counter card counter to be set
- Exceptions
-
SmartCardNotAvailableException SmartCardLowLevelException
List<SmartCardInformationBlock> readPages | ( | List< Integer > | pagesIds | ) | throws SmartCardNotAvailableException, SmartCardLowLevelException |
Read pages from card
- Parameters
-
pagesIds pages ids to be read
- Returns
- list of MifareUltralight pages
- Exceptions
-
SmartCardLowLevelException SmartCardNotAvailableException
List<SmartCardInformationBlock> writePages | ( | List< SmartCardInformationBlock > | pages | ) | throws SmartCardNotAvailableException, SmartCardLowLevelException |
Write pages in card
- Parameters
-
pages list of pages to be written
- Returns
- Exceptions
-
SmartCardLowLevelException SmartCardNotAvailableException