Solved
Reporting 2 bugs on the X-CUBE-NFC5 rfalST25xVPollerWriteMessage API
Hi,
I would like to report 2 possible bugs on the rfalST25xVPollerWriteMessage implementation:
- The msgLen parameter must be "number of Data bytes minus 1", as a direct translation from the "Write message" command, but msgLen == 0 is not accepted as valid (rfal_st25xv.c line 205), failing to write 1 byte-long messages, which according to the ST25DV datasheet should be OK.
- The required TX buffer len (calculated on line 202, and checked on line 205), considers 2 bytes for the msgLen parameter, but this parameter is only 1 byte long, preventing from using buffers that are the exact (and correct) number of bytes long.
Best Regards
Gustavo
