Added new example, PN53x chips will now emulate NDEF tag! not in build-script yet

This commit is contained in:
Roel Verdult
2010-09-28 16:15:59 +00:00
parent 5efa9e2cdb
commit 6dfe88113e
10 changed files with 159 additions and 18 deletions

View File

@@ -544,11 +544,11 @@ nfc_initiator_transceive_bits (nfc_device_t * pnd, const byte_t * pbtTx, const s
* @warning Be aware that this function will wait (hang) until a command is received that is not part of the anti-collision. The RATS command for example would wake up the emulator. After this is received, the send and receive functions can be used.
*/
bool
nfc_target_init (nfc_device_t * pnd, byte_t * pbtRx, size_t * pszRxBits)
nfc_target_init (nfc_device_t * pnd, nfc_target_mode_t tm, byte_t * pbtRx, size_t * pszRxLen)
{
pnd->iLastError = 0;
return pn53x_target_init (pnd, pbtRx, pszRxBits);
return pn53x_target_init (pnd, tm, pbtRx, pszRxLen);
}
/**