On Dec 13, 2009, at 12:15 AM, [email protected] wrote: > I'm new to wireshark dissectors and am writing a USB dissector that > is working quite well. > However, it's working because it's the only device on the chosen > bus. What I'd like to > do is activate my dissector for a given vendor id/product id. At the > moment my dissector > is a child of usb.bulk which doesn't contain USB descriptors. Since > there aren't that many > examples of USB dissectors, could anyone explain how I do this?
I don't have much experience with these, but I think a dissector table tied to the vendor / product id would be the right way to go here. You could then have your USB dissector register with the table's values. The main USB dissector would need to be modified too. Steve ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
