aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rfid-pn532.c
AgeCommit message (Collapse)AuthorFilesLines
2013-12-12remove unused dissector tablesMartin Kaiser1-4/+0
http://www.wireshark.org/lists/wireshark-dev/201312/msg00137.html svn path=/trunk/; revision=53977
2013-12-09Reject the packet if data is NULL without doing anything else.Chris Maynard1-3/+6
Note: We *might* want to do _something_ but that _something_ should be well-defined and consistent across all dissectors. Previously, some dissectors called proto_tree_add_text() to add some error message text to the tree, while others called DISSECTOR_ASSERT(). svn path=/trunk/; revision=53895
2013-11-12From Michal LabedzkiMartin Kaiser1-4/+4
change two local variables to gint16 so we can store -1 for invalid value https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9333 svn path=/trunk/; revision=53286
2013-11-12Remove usb_conv_info_t from packet_info and pass the data directly into the ↵Michael Mann1-6/+5
subdissectors. Bug 9413 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9413) svn path=/trunk/; revision=53274
2013-11-12From Michal LabedskiMartin Kaiser1-4/+4
fix Logically Dead Code: allow cmd==0 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9420 svn path=/trunk/; revision=53273
2013-11-06NFC: PN532: Dissect InListPassiveTarget Response and Diagnose request and ↵Michael Mann1-158/+399
response. Bug 9333 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9333) From Michal Labedzki From me: adjust datatype to guint8 on a few local variables to quiet the Microsoft compiler. svn path=/trunk/; revision=53116
2013-10-13whitespace fixes; mostly: remove trailing blanksBill Meier1-1/+1
svn path=/trunk/; revision=52591
2013-09-23Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-4/+2
svn path=/trunk/; revision=52185
2013-09-15From Michal Labedzki viaEvan Huus1-103/+704
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9119 Implement the majority of the remaining items from the PN532 spec. svn path=/trunk/; revision=52073
2013-09-12Need to specify the particular FT_UINTn type.Guy Harris1-2/+2
svn path=/trunk/; revision=51964
2013-09-12Fix the types of some multi-bit bitfields - they're not Booleans. GiveGuy Harris1-3/+3
some of them real names (presumably they were copied-and-pasted without editing). Thanks and a tip of the Hatlo hat to checkAPI.pl for catching this. svn path=/trunk/; revision=51962
2013-09-10From: Michal Labedzki <michal.labedzki@tieto.com>Anders Broman1-292/+960
Subject: [PATCH] NFC: PN532: Implement half of PN532 specification Implement TG_* and RF_* commands/responses. Also decode "status" field in all commands. Update USB CCID to decode "escaped" payload. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9119 svn path=/trunk/; revision=51916
2013-09-07From Tyson Key via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9105 :Pascal Quantin1-33/+71
Add additional PN532 opcodes, and update USB CCID dissector to skip status word in PN532 responses svn path=/trunk/; revision=51812
2013-09-04From Tyson Key:Anders Broman1-0/+10
Update the InListPassiveTarget Response handler to dissect the ISO 14443-A ATQA, and UID values from InnoVision/Broadcom Topaz cards/tags. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9096 svn path=/trunk/; revision=51745
2013-08-15From Tyson Key via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9037Evan Huus1-10/+13
Update the heuristics for detecting ISO 14443-A payloads with 4 byte UIDs, and ATS values to support MTCOS-based cards/tokens (e.g. passports) in PN532 InListPassiveTarget responses. svn path=/trunk/; revision=51361
2013-03-30From Tyson Key:Jaap Keuter1-4/+40
The attached patch adds support for dissection of SAMConfiguration request packets, and updates the opcode table to identify their corresponding (null/empty) responses. svn path=/trunk/; revision=48656
2013-03-24From Tyson Key via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8514Evan Huus1-31/+43
Device->Host detection of ISO 7816 commands in PN532 packets. From me: clean up indentation a bit in that section of the code. svn path=/trunk/; revision=48530
2013-03-22From Tyson Key via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8514Evan Huus1-2/+17
Add support for ISO 7816 commands payloads (from host -> device, only) in PN532 InDataExchange request packets svn path=/trunk/; revision=48474
2013-03-14From Tyson Key:Jaap Keuter1-4/+41
I have just finished slightly refactoring part of the PN532 dissector's with InListPassiveTarget Response handler, to resolve some issues where ISO 14443-A UIDs of various lengths in the aforementioned packet types are incorrectly dissected. The patch also introduces basic support for identifying, and dissecting InListPassiveTarget Responses from cards/tokens with variable-length Answer To Select (ATS) payloads, such as contactless EMV payment smartcards. svn path=/trunk/; revision=48306
2013-02-06From Tyson Key:Anders Broman1-4/+36
Support for dissection of MiFare command payloads in PN532 InDataExchange packets. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8291 svn path=/trunk/; revision=47518
2013-01-26From Tyson Key via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8246Evan Huus1-7/+54
Support for dissection of FeliCa payloads in PN532 InCommunicateThru packets. svn path=/trunk/; revision=47297
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-2/+0
svn path=/trunk/; revision=45017
2012-07-26Minor cleanup;Bill Meier1-293/+302
- Create/use an extended value string to access a value string array; - Reformat to match editor modelines (convert tabs to spaces). svn path=/trunk/; revision=44050
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-04-14From Tyson Key: Support for PN532 InDeselect, Release, and InSelect Command ↵Anders Broman1-10/+50
and Response Packets. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7083 svn path=/trunk/; revision=42063
2012-04-13From Tyson Key:pascal1-28/+92
Additional PN532 dissector opcode descriptions https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7078 svn path=/trunk/; revision=42052
2012-03-13(sigh) Take out the whole if(tree) as Chris suggested. ↵Jeff Morriss1-130/+127
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6903#c14 svn path=/trunk/; revision=41529
2012-03-13Move the col_set_str() outside the if(tree) to address ↵Jeff Morriss1-59/+59
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6903#c7 svn path=/trunk/; revision=41528
2012-03-12From Tyson Key:Anders Broman1-0/+514
Dissector for the NXP PN532 protocol https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6903 svn path=/trunk/; revision=41497