Wireshark-bugs: [Wireshark-bugs] [Bug 8740] New: Bluetooth: Improve HFP dissection

Date: Fri, 31 May 2013 12:41:54 +0000
Bug ID 8740
Summary Bluetooth: Improve HFP dissection
Classification Unclassified
Product Wireshark
Version SVN
Hardware All
OS All
Status UNCONFIRMED
Severity Enhancement
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Created attachment 10876 [details]
Example Bluetooth HFP Logs

Build Information:
TShark 1.11.0 (SVN Rev Unknown from unknown)

Copyright 1998-2013 Gerald Combs <[email protected]> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GLib 2.32.3, with libpcap, with libz 1.2.3.4, with POSIX
capabilities (Linux), with libnl 2, with SMI 0.4.8, with c-ares 1.7.5, with Lua
5.2, without Python, with GnuTLS 2.12.14, with Gcrypt 1.5.0, with MIT Kerberos,
with GeoIP.

Running on Linux 3.6.9, with locale en_IE.UTF-8, with libpcap version
1.5.0-PRE-GIT_2013_05_15, with libz 1.2.3.4.
        Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz

Built using gcc 4.6.3.
--
Hi,
I would like to present new Bluetooth HFP dissector. In real this patch add HFP
dissection, because previously there was only simply printing AT Commands.
Now commands are reassembled and dissected if know how. The work is not
finished
by Patch 1. I want to send little later next patches to dissect all AT commands
from this profile (HFP 1.6, try http://www.bluetooth.org/ to get
specification).

However Patch 1 can be reviewed and applied now. Please do not close this bug,
until "TODO" will be done (I try to do that soon [to the end of 2013]).

TODO:
1. Add function check_*  (for example "check_bcc" to check role is correct 
   for this command 
   or not) - this will add possibility to add some expert fields and should
help
   to determine if command should have parameters or not.
2. Some commands need to save request command type (request with TYPE_READ vs
   TYPE_TEST, etc.) to properly dissect response parameters.
   Some commands can use TYPE_TEST response to properly dissect parameters,
   for example: AT+CIND=?, AT+CIND?
3. Dissect all HFP AT commands (to be implemented: 12; implemented: 13+)

By the way:
It seems that there is WMEM bug. When I try to switch
"Force treat packets as AG or HS role" to "Sent is AG, Rcvd is HS" there is
crash in wmem_alloc... Could anyone see that?


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