mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-02-27 04:06:38 +00:00
Improve PN53x frame size calculation.
chips/pn53x: adjust size and defines to better handle reply size; drivers/arygon: improve attempted reply size, should speed up the connexion; drivers/pn532_uart: improve attempted reply size, should speed up the connexion;
This commit is contained in:
@@ -54,7 +54,7 @@ main (int argc, const char *argv[])
|
||||
const char *acLibnfcVersion;
|
||||
bool result;
|
||||
|
||||
byte_t abtRx[MAX_FRAME_LEN];
|
||||
byte_t abtRx[PN53x_EXTENDED_FRAME_MAX_LEN];
|
||||
size_t szRx;
|
||||
const byte_t pncmd_diagnose_communication_line_test[] = { 0xD4, 0x00, 0x00, 0x06, 'l', 'i', 'b', 'n', 'f', 'c' };
|
||||
const byte_t pncmd_diagnose_rom_test[] = { 0xD4, 0x00, 0x01 };
|
||||
|
||||
Reference in New Issue
Block a user