diff options
author | Michal Labedzki <michal.labedzki@tieto.com> | 2015-01-07 12:16:15 +0100 |
---|---|---|
committer | Michal Labedzki <michal.labedzki@tieto.com> | 2015-02-03 06:45:56 +0000 |
commit | ca3fe281f586e07b0e0d47a946a5d5d1b0263f97 (patch) | |
tree | b484160025de034186ffa7aea94320242c3bbc12 /epan/dissectors/packet-bluetooth.c | |
parent | 60b9be9644212cfa84980c9753692d9598689b29 (diff) |
Bluetooth: ATT: Dissect almost all attributes
Change-Id: Ia388c07150d9664327daf2d1990b4465b5f4ae28
Reviewed-on: https://code.wireshark.org/review/6910
Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Diffstat (limited to 'epan/dissectors/packet-bluetooth.c')
-rw-r--r-- | epan/dissectors/packet-bluetooth.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bluetooth.c b/epan/dissectors/packet-bluetooth.c index 9da8be7980..c170d2043c 100644 --- a/epan/dissectors/packet-bluetooth.c +++ b/epan/dissectors/packet-bluetooth.c @@ -61,7 +61,7 @@ static wmem_tree_t *hci_vendors = NULL; static int bluetooth_tap = -1; -static const value_string bluetooth_uuid_vals[] = { +const value_string bluetooth_uuid_vals[] = { /* Protocol Identifiers - https://www.bluetooth.org/en-us/specification/assigned-numbers/service-discovery */ { 0x0001, "SDP" }, { 0x0002, "UDP" }, @@ -1228,6 +1228,15 @@ print_uuid(uuid_t *uuid) } } +gchar * +print_numeric_uuid(uuid_t *uuid) +{ + if (uuid && uuid->size > 0) + return bytes_to_str(wmem_packet_scope(), uuid->data, uuid->size); + + return NULL; +} + static gint dissect_bluetooth(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) |