diff options
author | Michal Labedzki <michal.labedzki@tieto.com> | 2015-01-22 12:27:23 +0100 |
---|---|---|
committer | Michal Labedzki <michal.labedzki@tieto.com> | 2015-02-07 16:35:39 +0000 |
commit | fb00452b30b51d4f10a34dfb616bf29df455aee8 (patch) | |
tree | 5328a51147f32e2d6151c4ec375231b69b90afb2 /epan/dissectors/packet-btsdp.c | |
parent | 2ff79ddeb235ccf56cbbf430f8a31c9b6c0596a2 (diff) |
Bluetooth/GUI: ATT: Add Server Attribute Table
It is a GUI+QT feature that introduce Bluetooth menu and
"ATT Server Attributes" that present all handle+UUID pairs
as table. User may copy cell value, row, selected rows or whole
table within header. On activate user will go to packet that
introduce UUID for specified handle.
Change-Id: If17e53aff5feb89ededc740a595ba5882b90be5e
Reviewed-on: https://code.wireshark.org/review/6911
Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Diffstat (limited to 'epan/dissectors/packet-btsdp.c')
-rw-r--r-- | epan/dissectors/packet-btsdp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-btsdp.c b/epan/dissectors/packet-btsdp.c index 50282f986a..9f712ebfc1 100644 --- a/epan/dissectors/packet-btsdp.c +++ b/epan/dissectors/packet-btsdp.c @@ -1301,14 +1301,14 @@ dissect_uuid(proto_tree *tree, tvbuff_t *tvb, gint offset, gint size, uuid_t *uu item = proto_tree_add_item(tree, hf_data_element_value_uuid, tvb, offset, size, ENC_NA); i_uuid = 0; - while (custom_uuid[i_uuid].name) { - if (custom_uuid[i_uuid].size != size) { + while (bluetooth_uuid_custom[i_uuid].name) { + if (bluetooth_uuid_custom[i_uuid].size != size) { i_uuid += 1; continue; } - if (tvb_memeql(tvb, offset, custom_uuid[i_uuid].uuid, 4) == 0) { - proto_item_append_text(item, " (%s)", custom_uuid[i_uuid].name); + if (tvb_memeql(tvb, offset, bluetooth_uuid_custom[i_uuid].uuid, 4) == 0) { + proto_item_append_text(item, " (%s)", bluetooth_uuid_custom[i_uuid].name); break; } |