aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bt3ds.c
diff options
context:
space:
mode:
authorMichal Labedzki <michal.labedzki@tieto.com>2015-07-13 19:01:48 +0200
committerMichal Labedzki <michal.labedzki@tieto.com>2015-07-17 08:06:40 +0000
commitdac7cf9f8c5bf5ce0d0abe10c5a04950716d02bc (patch)
tree2ccb6f3bdf57aade00f14917986b505419d0cff2 /epan/dissectors/packet-bt3ds.c
parent5491fea2017f8c1ad92476f25bee7219e3c68155 (diff)
Bluetooth: Add generic UUID table for DecodeBy
Replace L2CAP Service, RFCOMM Service and AVCTP PID dissector table by shared Bluetooth Service UUID table. It also supports UUID16, UUID32 and UUID128 by hex-string, like for AVRCP: "110e". Change-Id: I473bc73d10939e8ed6dd55a6a92387c7a1ec125a Reviewed-on: https://code.wireshark.org/review/9678 Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Diffstat (limited to 'epan/dissectors/packet-bt3ds.c')
-rw-r--r--epan/dissectors/packet-bt3ds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-bt3ds.c b/epan/dissectors/packet-bt3ds.c
index 5456ba01bc..9a83a088ca 100644
--- a/epan/dissectors/packet-bt3ds.c
+++ b/epan/dissectors/packet-bt3ds.c
@@ -180,9 +180,9 @@ proto_register_bt3ds(void)
void
proto_reg_handoff_bt3ds(void)
{
- dissector_add_uint("btl2cap.service", BTSDP_3D_SYNCHRONIZATION_UUID, b3ds_handle);
- dissector_add_uint("btl2cap.service", BTSDP_3D_DISPLAY_UUID, b3ds_handle);
- dissector_add_uint("btl2cap.service", BTSDP_3D_GLASSES_UUID, b3ds_handle);
+ dissector_add_string("bluetooth.uuid", "1137", b3ds_handle);
+ dissector_add_string("bluetooth.uuid", "1138", b3ds_handle);
+ dissector_add_string("bluetooth.uuid", "1139", b3ds_handle);
dissector_add_uint("btl2cap.psm", BTL2CAP_PSM_3DS, b3ds_handle);
dissector_add_for_decode_as("btl2cap.cid", b3ds_handle);