diff options
author | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-12-16 02:01:58 +0000 |
---|---|---|
committer | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-12-16 02:01:58 +0000 |
commit | 0df8e1e25ca0743898b4a1fa7e8b7ea0c5208b83 (patch) | |
tree | 38b09ab6ac437b7f90796078cee5af7eef17dd8f /openpicc/application/iso14443_layer3a.c | |
parent | 7c198cbff3872795661b6ded45662dc0a9ba6db9 (diff) |
Get SSC_MODE_14443A working
git-svn-id: https://svn.openpcd.org:2342/trunk@394 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/iso14443_layer3a.c')
-rw-r--r-- | openpicc/application/iso14443_layer3a.c | 9 |
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(" "); |