nRF Connect SDK API 2.8.99
|
int nfc_t4t_apdu_resp_decode | ( | struct nfc_t4t_apdu_resp * | resp_apdu, |
const uint8_t * | raw_data, | ||
uint16_t | len ) |
#include <include/nfc/t4t/apdu.h>
Decode R-APDU.
This function decodes buffer with encoded R-APDU and stores results in the R-APDU descriptor.
[out] | resp_apdu | Pointer to the R-APDU descriptor. |
[in] | raw_data | Pointer to the buffer with encoded R-APDU. |
[in] | len | Size of the buffer with encoded R-APDU. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |