Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle_Iso_14443_4_Tag sends C-APDU with 0x00 as Le, which is not according to NFC specs. #110

Open
dyjper opened this issue Feb 5, 2021 · 0 comments

Comments

@dyjper
Copy link

dyjper commented Feb 5, 2021

Hi,

The NFC forum documentation specifies that the Le (Expected response length) never be zero:
"Data Field Length Lc: Optional. If it is present, it SHALL contain the number of bytes in the data field of the command and it SHALL NOT be zero.
Data Field: Optional.
Expected Response Length Le: Optional. If present, the response R-APDU (see Section 4.2.2)
contains the number of expected bytes."

I believe is should be omitted, if no response data is expected, or not?

In the handle_Iso_14443_4_Tag function you have a hard coded Le = 0x00.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant