Wireshark-bugs: [Wireshark-bugs] [Bug 7754] Enable "Decode As" for Bluetooth L2CAP
Date: Tue, 25 Sep 2012 06:13:54 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7754

--- Comment #2 from Andrei Emeltchenko <andrei.emeltchenko.news@xxxxxxxxx> 2012-09-25 06:13:53 PDT ---
(In reply to comment #1)
> Hi Andrei, you also need to add to
> dissect_b_frame() 
> 
> Line like:
> if (!dissector_try_uint(l2cap_cid_dissector_table, (guint32) cid,
>                     next_tvb, pinfo, tree))
> 
> Before other kind of dissection (After "/* call next dissector */")
> "cid" come from this frame, not DecodeBy.
> 
> Then DecodingByCid will be available for btobex. If you implemented "DecodeBy"
> Dialog of course.

Thanks, BTW I though that decode dialog would be added automatically with
entries from added dissectors like if I add btobex then "btobex" would added.

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