handle_Iso_14443_4_Tag sends C-APDU with 0x00 as Le, which is not according to NFC specs.
dyjper opened this issue · 0 comments
dyjper commented
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.