Reading NDEF from Desfire

This commit is contained in:
Ondrej Mikle 2017-10-22 19:44:43 +02:00
parent dd37e20a02
commit 8dad9a5cc4
2 changed files with 118 additions and 1 deletions

View file

@ -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);