13#ifndef __PACKET_BTATT_H__
14#define __PACKET_BTATT_H__
17#include "packet-bluetooth.h"
19#define ATT_OPCODE_ERROR_RESPONSE 0x01
20#define ATT_OPCODE_EXCHANGE_MTU_REQUEST 0x02
21#define ATT_OPCODE_EXCHANGE_MTU_RESPONSE 0x03
22#define ATT_OPCODE_FIND_INFORMATION_REQUEST 0x04
23#define ATT_OPCODE_FIND_INFORMATION_RESPONSE 0x05
24#define ATT_OPCODE_FIND_BY_TYPE_VALUE_REQUEST 0x06
25#define ATT_OPCODE_FIND_BY_TYPE_VALUE_RESPONSE 0x07
27#define ATT_OPCODE_READ_BY_TYPE_REQUEST 0x08
28#define ATT_OPCODE_READ_BY_TYPE_RESPONSE 0x09
29#define ATT_OPCODE_READ_REQUEST 0x0A
30#define ATT_OPCODE_READ_RESPONSE 0x0B
31#define ATT_OPCODE_READ_BLOB_REQUEST 0x0C
32#define ATT_OPCODE_READ_BLOB_RESPONSE 0x0D
33#define ATT_OPCODE_READ_MULTIPLE_REQUEST 0x0E
34#define ATT_OPCODE_READ_MULTIPLE_RESPONSE 0x0F
35#define ATT_OPCODE_READ_BY_GROUP_TYPE_REQUEST 0x10
36#define ATT_OPCODE_READ_BY_GROUP_TYPE_RESPONSE 0x11
38#define ATT_OPCODE_WRITE_REQUEST 0x12
39#define ATT_OPCODE_WRITE_RESPONSE 0x13
40#define ATT_OPCODE_WRITE_PREPARE_REQUEST 0x16
41#define ATT_OPCODE_WRITE_PREPARE_RESPONSE 0x17
42#define ATT_OPCODE_WRITE_EXECUTE_REQUEST 0x18
43#define ATT_OPCODE_WRITE_EXECUTE_RESPONSE 0x19
44#define ATT_OPCODE_WRITE_COMMAND 0x52
45#define ATT_OPCODE_WRITE_SIGNED_COMMAND 0xD2
47#define ATT_OPCODE_HANDLE_VALUE_NOTIFICATION 0x1B
48#define ATT_OPCODE_HANDLE_VALUE_INDICATION 0x1D
49#define ATT_OPCODE_HANDLE_VALUE_CONFIRMATION 0x1E
59 ATTRIBUTE_TYPE_SERVICE,
60 ATTRIBUTE_TYPE_CHARACTERISTIC,
67 enum attribute_type attribute_type;
75 uint16_t char_decl_handle;
80extern const value_string btatt_ips_uncertainty_stationary_vals[];
81extern const value_string btatt_ips_uncertainty_update_time_vals[];
82extern const value_string btatt_ips_uncertainty_precision_vals[];
83extern const value_string btatt_ips_uncertainty_coordinate_system[];
85extern const value_string characteristic_presentation_namespace_description_btsig_vals[];
88get_gatt_bluetooth_uuid_from_handle(
packet_info *pinfo, uint32_t handle, uint8_t opcode,
91WS_DLL_PUBLIC
bool bluetooth_gatt_has_no_parameter(uint8_t opcode);
Definition packet-bluetooth.h:95
Definition packet-btatt.h:51
Definition packet_info.h:43
Definition packet-btatt.h:64
uint16_t service_handle
Definition packet-btatt.h:74
Definition packet-bluetooth.h:195
Definition value_string.h:25