The new generation chameleon based on NRF52840 makes the performance of card emulation more stable. And gave the chameleon the ability to read, write, and decrypt cards.
pcd_14a_reader_ats_request didn't check for NAK so in case the tag NAKd the RATS it would return a zero length ATS which would cause an underflow in pcd_14a_reader_scan_once, that in turn resulted in HF_ERR_ATS being returned due to an invalid ATS length.
pcd_14a_reader_ats_request
didn't check for NAK so in case the tag NAKd the RATS it would return a zero length ATS which would cause an underflow inpcd_14a_reader_scan_once
, that in turn resulted inHF_ERR_ATS
being returned due to an invalid ATS length.