mirror of
https://github.com/brmlab/brmdoor_libnfc.git
synced 2025-08-03 02:43:37 +02:00
Reading NDEF from Desfire
This commit is contained in:
parent
dd37e20a02
commit
8dad9a5cc4
2 changed files with 118 additions and 1 deletions
|
@ -118,9 +118,18 @@ public:
|
|||
*
|
||||
* @param apdu command APDU to send
|
||||
* @param returns response APDU received from target
|
||||
* @throws NFCError if response APDU is too long or couldn't send APDU
|
||||
*/
|
||||
ResponseAPDU sendAPDU(const std::string& apdu) throw(NFCError);
|
||||
|
||||
/**
|
||||
* Read NDEF message from Desfire.
|
||||
*
|
||||
* @returns NDEF message or empty string if there wasn't message
|
||||
* @throws NFCError if there was problem communication with card or couldn't authenticate
|
||||
*/
|
||||
std::string readDesfireNDEF() throw(NFCError);
|
||||
|
||||
/** Open device explicitly. May be useful after explicit close */
|
||||
void open() throw(NFCError);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue