diff options
author | Michal Labedzki <michal.labedzki@tieto.com> | 2015-07-13 19:01:48 +0200 |
---|---|---|
committer | Michal Labedzki <michal.labedzki@tieto.com> | 2015-07-17 08:06:40 +0000 |
commit | dac7cf9f8c5bf5ce0d0abe10c5a04950716d02bc (patch) | |
tree | 2ccb6f3bdf57aade00f14917986b505419d0cff2 /epan/dissectors/packet-bthsp.c | |
parent | 5491fea2017f8c1ad92476f25bee7219e3c68155 (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-bthsp.c')
-rw-r--r-- | epan/dissectors/packet-bthsp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/epan/dissectors/packet-bthsp.c b/epan/dissectors/packet-bthsp.c index 0b3cfe2e7c..8f263f5314 100644 --- a/epan/dissectors/packet-bthsp.c +++ b/epan/dissectors/packet-bthsp.c @@ -1155,9 +1155,10 @@ proto_register_bthsp(void) void proto_reg_handoff_bthsp(void) { - dissector_add_uint("btrfcomm.service", BTSDP_HSP_SERVICE_UUID, bthsp_handle); - dissector_add_uint("btrfcomm.service", BTSDP_HSP_HS_SERVICE_UUID, bthsp_handle); - dissector_add_uint("btrfcomm.service", BTSDP_HSP_GW_SERVICE_UUID, bthsp_handle); + dissector_add_string("bluetooth.uuid", "1108", bthsp_handle); + dissector_add_string("bluetooth.uuid", "1112", bthsp_handle); + dissector_add_string("bluetooth.uuid", "1131", bthsp_handle); + dissector_add_for_decode_as("btrfcomm.channel", bthsp_handle); } |