From 332e4afc314bbbb7166b905080db453728d8e4a4 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Fri, 22 Apr 2011 17:30:17 +0000 Subject: [PATCH] drivers/arygon: add a debug message when a not supported payload is sent. --- libnfc/drivers/arygon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libnfc/drivers/arygon.c b/libnfc/drivers/arygon.c index 377e45d..2b6a7ef 100644 --- a/libnfc/drivers/arygon.c +++ b/libnfc/drivers/arygon.c @@ -213,6 +213,7 @@ arygon_tama_send (nfc_device_t * pnd, const byte_t * pbtData, const size_t szDat size_t szFrame = 0; if (szData > PN53x_NORMAL_FRAME__DATA_MAX_LEN) { // ARYGON Reader with PN532 equipped does not support extended frame (bug in ARYGON firmware?) + DBG ("ARYGON device does not support more than %d bytes as payload (requested: %zd)", PN53x_NORMAL_FRAME__DATA_MAX_LEN, szData); pnd->iLastError = DEINVAL; return false; }