aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bthci_sco.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-02-03 21:11:53 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-02-03 21:11:53 +0000
commitef625890aab324946c97dfa26357049e3377c25a (patch)
tree3be42b7d6cdeb7cb033fa3ed154293a6d37d6a40 /epan/dissectors/packet-bthci_sco.c
parenta341198859eaf64345d10d0966f9c4f00604b39d (diff)
From Shane Kearns (bug 2237):
Added support for Symbian OS btsnoop. The bluetooth HCI layer in Symbian OS can be configured to log all packets to a file. The log format, "btsnoop" is based on the RFC1761 "snoop" format - but differences in the header make it incompatible. The btsnoop format supports logging of these formats: "H1" (raw HCI packets without framing) "H4" (HCI UART packets including packet type header) "H5" (HCI 3 wire UART packets including framing) "BCSP" (HCI bluecore serial protocol including framing) "H1" and "H4" are section numbers in the original v1 bluetooth specifications, but still used colloquially - wireshark's existing support for Linux bluez HCI logs uses the "H4" name. In practice, the "H1" format is used for H5,BCSP and USB HCI logs, as the HCI packet logs are mainly useful for debugging higher layers, bluetooth profiles and bluetooth applications. From me: Deleted some unused prototypes. Mark an unused parameter. svn path=/trunk/; revision=24263
Diffstat (limited to 'epan/dissectors/packet-bthci_sco.c')
-rw-r--r--epan/dissectors/packet-bthci_sco.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-bthci_sco.c b/epan/dissectors/packet-bthci_sco.c
index f72475ad97..fc31f33bff 100644
--- a/epan/dissectors/packet-bthci_sco.c
+++ b/epan/dissectors/packet-bthci_sco.c
@@ -110,6 +110,7 @@ proto_reg_handoff_btsco(void)
bthci_sco_handle = find_dissector("bthci_sco");
dissector_add("hci_h4.type", HCI_H4_TYPE_SCO, bthci_sco_handle);
+ dissector_add("hci_h1.type", BTHCI_CHANNEL_SCO, bthci_sco_handle);
}