neard: nfctool: Add LLCP traffic sniffing feature
authorThierry Escande <thierry.escande@linux.intel.com>
Fri, 14 Dec 2012 14:34:00 +0000 (15:34 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 6 Jan 2013 21:47:01 +0000 (22:47 +0100)
commit994489ccbdf7fb9543ea9595e0752c3fce9bbc60
treed3584c4a4ea2a7010022835fb815a20adb6f2759
parent471d4fe3ed7569e5202308b490c640f4c57e59cf
neard: nfctool: Add LLCP traffic sniffing feature

nfctool -d nfcX --sniffer
This dumps LLCP frames to stdout (Hex+ASCII display)

nfctool -d nfcX --sniffer --pcap-file FILENAME
This saves LLCP frames in pcap format to file FILENAME. This pcap file
can be opened in wireshark (v>=1.8.2) with the wireshark-nfc plugin
available at http://code.google.com/p/wireshark-nfc/
Makefile.am
tools/nfctool/main.c
tools/nfctool/nfctool.h
tools/nfctool/sniffer.c [new file with mode: 0644]
tools/nfctool/sniffer.h [new file with mode: 0644]