diff options
author | Michal Labedzki <michal.labedzki@tieto.com> | 2016-01-03 19:03:28 +0100 |
---|---|---|
committer | Michal Labedzki <michal.labedzki@tieto.com> | 2016-03-09 08:46:01 +0000 |
commit | fcce1e4bca92feafcaf3b63fede261469ff97ee8 (patch) | |
tree | 59f3bdd539baf64d36a9c727f303e8c1ec3981ad /epan/dissectors/packet-btatt.h | |
parent | 31d3a1b3d47c7efe0214b4f9114867e36f709c9a (diff) |
Bluetooth: GATT: Add a lot of attributes usage expert infos
Bluetooth Specifications specify properties of every characteristics
(read, write, indicate, notify, write without response, signed write etc.)
Check it and add expert info about invalid usage if detected use of wrong
opcode with the characteristic.
Change-Id: I98ad8280b9ee65b4015a021e732ea748cc9e7a83
Reviewed-on: https://code.wireshark.org/review/14313
Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Diffstat (limited to 'epan/dissectors/packet-btatt.h')
-rw-r--r-- | epan/dissectors/packet-btatt.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dissectors/packet-btatt.h b/epan/dissectors/packet-btatt.h index 8b21c2f7fe..1394dbaea4 100644 --- a/epan/dissectors/packet-btatt.h +++ b/epan/dissectors/packet-btatt.h @@ -25,6 +25,8 @@ #ifndef __PACKET_BTATT_H__ #define __PACKET_BTATT_H__ +#include <epan/expert.h> + typedef struct _btatt_data_t { bluetooth_data_t *bluetooth_data; @@ -45,6 +47,9 @@ extern const value_string btatt_ips_uncertainty_precision_vals[]; extern const value_string btatt_ips_uncertainty_coordinate_system[]; extern const value_string tds_organization_id_vals[]; +WS_DLL_PUBLIC gboolean bluetooth_gatt_has_no_parameter(guint8 opcode); +WS_DLL_PUBLIC expert_field ei_btatt_invalid_usage; + #endif /* |