Wireshark-bugs: [Wireshark-bugs] [Bug 9119] NFC: PN532 implement half of specification
Date: Wed, 11 Sep 2013 13:27:24 +0000

Comment # 13 on bug 9119 from
I don't know if it's an intentional change, but I think that I've found a
slight regression, in that the ATS length is no longer being dissected, except
in case where there was a transmission error, and packet is seemingly
malformed:

No.     Time           Source                Destination           Length
Protocol Info 
  37286 3140.971372000 20.2                  host                  104    PN532
   InListPassiveTarget (Response)

Frame 37286: 104 bytes on wire (832 bits), 104 bytes captured (832 bits) on
interface 4
    Interface id: 4 (usbmon5)
    Encapsulation type: USB packets with Linux header and padding (115)
    Arrival Time: Sep 11, 2013 14:21:18.347020000 BST
    [Time shift for this packet: 0.000000000 seconds]
    Epoch Time: 1378905678.347020000 seconds
    [Time delta from previous captured frame: 0.001010000 seconds]
    [Time delta from previous displayed frame: 0.000000000 seconds]
    [Time since reference or first frame: 3140.971372000 seconds]
    Frame Number: 37286
    Frame Length: 104 bytes (832 bits)
    Capture Length: 104 bytes (832 bits)
    [Frame is marked: False]
    [Frame is ignored: False]
    [Protocols in frame: usb:usbccid:pn532:data]
USB URB
    URB id: 0x00000000f70ba180
    URB type: URB_COMPLETE ('C')
    URB transfer type: URB_BULK (0x03)
    Endpoint: 0x82, Direction: IN
        1... .... = Direction: IN (1)
        .000 0010 = Endpoint value: 2
    Device: 20
    URB bus id: 5
    Device setup request: not relevant ('-')
    Data: present (0)
    URB sec: 1378905678
    URB usec: 347020
    URB status: Success (0)
    URB length [bytes]: 40
    Data length [bytes]: 40
    [Request in: 37285]
    [Time from request: 0.001010000 seconds]
    [bInterfaceClass: Smart Card (0x0b)]
USB CCID
    Message Type: RDR_to_PC_DataBlock (0x80)
    Packet Length: 30
    Slot: 0
    Sequence: 13
    Status: 0
    Error: 0
    Chain Parameter: 0
NXP PN532
    Direction: PN532 to Host (0xd5)
    Command: InListPassiveTarget (Response) (0x4b)
    Number of Targets: 1
    Target 1/1
    ISO/IEC 14443-A ATQA: 0x0004
    ISO/IEC 14443-A SAK: 0x20
    ISO/IEC 14443-A UID Length: 4
    ISO/IEC 14443-A UID: 0x00000000ee4aabbb
    ISO/IEC 14443-A ATS Length: 16
    Unexpected data
        [Expert Info (Warn/Protocol): Unexpected data]
            [Unexpected data]
            [Severity level: Warn]
            [Group: Protocol]
Data (15 bytes)
    Data: 788070020031c0641f270100009000
    [Length: 15]

0000  80 a1 0b f7 00 00 00 00 43 03 82 14 05 00 2d 00   ........C.....-.
0010  4e 6e 30 52 00 00 00 00 8c 4b 05 00 00 00 00 00   Nn0R.....K......
0020  28 00 00 00 28 00 00 00 00 00 00 00 00 00 00 00   (...(...........
0030  00 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00   ................
0040  80 1e 00 00 00 00 0d 00 00 00 d5 4b 01 01 00 04   ...........K....
0050  20 04 ee 4a ab bb 10 78 80 70 02 00 31 c0 64 1f    ..J...x.p..1.d.
0060  27 01 00 00 90 00 90 00                           '.......


You are receiving this mail because:
  • You are watching all bug changes.