Fix ARYGON driver:
- Does not send any ACK frame at start: my ARYGON does get happy with this frame (see code comments) - Send a TAMA reset (for PN532) instead of ACK frame - Remove bzero use: its a deprecated function
This commit is contained in:
parent
ca8c5cabe1
commit
8798f6bbcd
3 changed files with 81 additions and 26 deletions
|
|
@ -170,7 +170,7 @@ pn53x_transceive (nfc_device_t * pnd, const byte_t * pbtTx, const size_t szTx, b
|
|||
}
|
||||
|
||||
*pszRx = MAX_FRAME_LEN;
|
||||
// Call the tranceive callback function of the current device
|
||||
// Call the transceive callback function of the current device
|
||||
if (!pnd->pdc->transceive (pnd, pbtTx, szTx, pbtRx, pszRx))
|
||||
return false;
|
||||
// TODO Put all these hex-coded command behind a human-readable #define (1.6.x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue