summaryrefslogtreecommitdiff
path: root/openpicc/application/iso14443_layer3a.c
diff options
context:
space:
mode:
Diffstat (limited to 'openpicc/application/iso14443_layer3a.c')
-rw-r--r--openpicc/application/iso14443_layer3a.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/openpicc/application/iso14443_layer3a.c b/openpicc/application/iso14443_layer3a.c
index 57a3a99..af0fc69 100644
--- a/openpicc/application/iso14443_layer3a.c
+++ b/openpicc/application/iso14443_layer3a.c
@@ -307,10 +307,15 @@ void iso14443_layer3a_state_machine (void *pvParameters)
vLedBlinkGreen();
if(1) {
int i = usb_print_set_default_flush(0);
- DumpBufferToUSB((char*)buffer->data, (buffer->len_transfers * buffer->reception_mode->transfersize_pdc)/8);
- DumpStringToUSB(" Decoded: ");
+ DumpStringToUSB("[");
+ DumpUIntToUSB((unsigned int)buffer);
+ DumpStringToUSB(":");
DumpUIntToUSB(buffer->len_transfers);
DumpStringToUSB(" ");
+ DumpUIntToUSB((unsigned int)buffer->data);
+ DumpStringToUSB("] ");
+ DumpBufferToUSB((char*)buffer->data, (buffer->len_transfers * buffer->reception_mode->transfersize_pdc)/8);
+ DumpStringToUSB(" Decoded: ");
iso14443a_decode_miller(&received_frame, buffer);
DumpBufferToUSB((char*)received_frame.data, received_frame.numbytes + (received_frame.numbits+7)/8);
DumpStringToUSB(" ");
personal git repositories of Harald Welte. Your mileage may vary