Add new function pn53x_decode_target_data() that fill nfc_target_info_t with TargetData byte stream.

This commit is contained in:
Romuald Conty 2010-04-09 16:18:42 +00:00
parent bc4c34f851
commit 4128b23f86
2 changed files with 37 additions and 0 deletions

View file

@ -76,6 +76,7 @@ bool pn53x_set_parameters(const nfc_device_t* pnd, uint8_t ui8Value);
bool pn53x_set_tx_bits(const nfc_device_t* pnd, uint8_t ui8Bits);
bool pn53x_wrap_frame(const byte_t* pbtTx, const size_t szTxBits, const byte_t* pbtTxPar, byte_t* pbtFrame, size_t* pszFrameBits);
bool pn53x_unwrap_frame(const byte_t* pbtFrame, const size_t szFrameBits, byte_t* pbtRx, size_t* pszRxBits, byte_t* pbtRxPar);
bool pn53x_decode_target_data(const byte_t* pbtRawData, size_t szDataLen, nfc_chip_t nc, nfc_target_type_t ntt, nfc_target_info_t* pnti);
#endif // __NFC_CHIPS_PN53X_H__