Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6037] Support for AT commands in USB URB_CONTROL packets

Date: Sun, 19 Jun 2011 09:19:28 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6037

--- Comment #1 from Tyson Key <tyson.key@xxxxxxxxx> 2011-06-19 09:19:27 PDT ---
I've attempted to resolve this by amending proto_reg_handoff_at_command(void)
with the following:

    /* Hack for Sony Ericsson devices */
    dissector_handle_t usb_at_control_handle;   
    usb_at_control_handle = find_dissector("at");
    dissector_add_uint("usb.control", IF_CLASS_IMAGE, usb_at_control_handle);
    dissector_add_uint("usb.control", IF_CLASS_CDC_DATA,
usb_at_control_handle);

However, compilation fails with the following error:

packet-usb-at.c: In function 'proto_reg_handoff_at_command':
packet-usb-at.c:128:5: error: ISO C90 forbids mixed declarations and code

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.