diff options
author | Michal Labedzki <michal.labedzki@tieto.com> | 2015-05-19 11:55:01 +0200 |
---|---|---|
committer | Michal Labedzki <michal.labedzki@tieto.com> | 2016-06-10 13:50:35 +0000 |
commit | 237f2d400669aec77dabfba29c9d4cbbd75d246e (patch) | |
tree | ec463009d669f7add0cf46f786d9628da08fa17d /epan/dissectors/packet-bluetooth.h | |
parent | 2df337d5385ddbb501c11b3d22080060d054436d (diff) |
Qt/Bluetooth: Add Device dialog
Device dialog appears when user double clicks on device in
Devices dialog (Bluetooth->Devices). It provides
summary of device, like BD_ADDR, name, timeouts, etc.
Base on information from HCI layer, so this feature is more interesting
for local devices (capturing on its side). Each field has changes counter,
what mean that value at specified field changes in time, for example:
user change device name 3 times. Please note that initial change
is not counted. It means that you can see fielkd without any value
then change occur and counter is not increased. It will be increased
next time. Reason for that is in most cases field value is unknown
at start.
Change-Id: Ife0a6bd454eac00a28f8eb2906e1b395695b0307
Reviewed-on: https://code.wireshark.org/review/15793
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>
Tested-by: Michal Labedzki <michal.labedzki@tieto.com>
Diffstat (limited to 'epan/dissectors/packet-bluetooth.h')
-rw-r--r-- | epan/dissectors/packet-bluetooth.h | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bluetooth.h b/epan/dissectors/packet-bluetooth.h index 6637a9e144..649ceb1c7a 100644 --- a/epan/dissectors/packet-bluetooth.h +++ b/epan/dissectors/packet-bluetooth.h @@ -195,7 +195,18 @@ enum bluetooth_device_type { BLUETOOTH_DEVICE_NAME, BLUETOOTH_DEVICE_LOCAL_ADAPTER, BLUETOOTH_DEVICE_LOCAL_VERSION, - BLUETOOTH_DEVICE_REMOTE_VERSION + BLUETOOTH_DEVICE_REMOTE_VERSION, + BLUETOOTH_DEVICE_RESET, + BLUETOOTH_DEVICE_SCAN, + BLUETOOTH_DEVICE_VOICE_SETTING, + BLUETOOTH_DEVICE_AUTHENTICATION, + BLUETOOTH_DEVICE_ENCRYPTION, + BLUETOOTH_DEVICE_CLASS_OF_DEVICE, + BLUETOOTH_DEVICE_SIMPLE_PAIRING_MODE, + BLUETOOTH_DEVICE_PAGE_TIMEOUT, + BLUETOOTH_DEVICE_INQUIRY_MODE, + BLUETOOTH_DEVICE_MTUS, + BLUETOOTH_DEVICE_LE_MTU }; typedef struct _bluetooth_device_tap_t { @@ -220,6 +231,24 @@ typedef struct _bluetooth_device_tap_t { guint16 lmp_subversion; guint16 manufacturer; } remote_version; + guint8 scan; + guint16 page_timeout; + guint8 authentication; + guint8 encryption; + guint32 class_of_device; + guint16 voice_setting; + guint8 simple_pairing_mode; + guint8 inquiry_mode; + struct { + guint16 acl_mtu; + guint8 sco_mtu; + guint16 acl_packets; + guint16 sco_packets; + } mtus; + struct { + guint16 acl_mtu; + guint16 acl_packets; + } le_mtus; } data; } bluetooth_device_tap_t; |