Seeed-Studio / PN532

NFC library using PN532 to read/write card and communicate with android
431 stars 176 forks source link

Message chaining for messages > 262 bytes #96

Open vmfox opened 4 years ago

vmfox commented 4 years ago

Summary of the issue: no (apparent) support of large data transfer (i.e. > 265 bytes)

Hi,

I'm using the PN532 to communicate with an android phone as:

Arduino Mega 2560 -> PN532 -> Android

After setting everything up and testing the basic data transfer I got to a point when I need to send data larger than 262 bytes supported by the inDataExchange().

Is there currently a function or a method/approach to send large messages i.e. as described in the chaining mechanism 7.4.5 DEP chaining mechanism - PN532 User Manual?

I had a look through the library and couldn't find anything relevant and as I don't really have any spare time to append the library, would appreciate some guidance/code drafts along these lines.

Thanks.

vmfox commented 4 years ago

Potentially relevant stackoverflow question