http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=35323
User: krj
Date: 2011/01/02 12:13 AM
Log:
From Allan M. Madsen via. bug 5445:
Bluetooth profiles and protocols above RFCOMM and L2CAP can not be dissected correctly because the required information (server channel and dynamic PSM value mappings to services/profiles) about the type of data carried in the payload is not available. RFCOMM is currently hardcoded to handoff all payload data to the obex dissector though it may carry e.g. handsfree, dial-up networking or serial port profile related data.
The patch consists of modifcations to the following dissectors:
btsdp: Extraction of RFCOMM server channel and L2CAP dynamic PSM with service mapping is provided to RFCOMM and L2CAP through a tap interface. In addition, the packet list info is beautyfied and extended with more details for better
overview.
btl2cap: Adds a new dissector table with services and dynamic PSM mapping which is filled by a tap listner catching the info from btsdp. More info added to packet list.
btrfcomm: Adds a new dissector table with services and server channel mapping which is filled by a tap listner catching the info from btsdp. Dissectors for handsfree, dial-up netorking and serial port profiles (all based on RFCOMM) are also added.
btobex: Registers several obex based profiles (e.g. obex push, file transfer, basic printing etc.) in both RFCOMM and L2CAP. Some cleanup.
Directory: /trunk/epan/dissectors/
Changes Path Action
+1 -0 Makefile.common Modified
+207 -113 packet-btl2cap.c Modified
+10 -3 packet-btl2cap.h Modified
+438 -427 packet-btobex.c Modified
+291 -31 packet-btrfcomm.c Modified
+338 -192 packet-btsdp.c Modified