Bluetooth: Add definitions for MGMT_OP_START_SERVICE_DISCOVERY
Subsystems (2)
Marcel Holtmann
maintainerPATCH 2/7 Bluetooth: Add definitions for MGMT_OP_START_SERVICE_DISCOVERY
From: Jakub Pawlowski <[email protected]>
This patch adds the opcode and structure for Start Service Discovery operation.
Signed-off-by Jakub Pawlowski <[email protected]>
Signed-off-by Marcel Holtmann <[email protected]>
--- include/net/bluetooth/mgmt.h | 9 +++++++++ 1 file changed, 9 insertions(+)
include/net/bluetooth/mgmt.h +9 -0
@@ -498,6 +498,15 @@ struct mgmt_cp_set_public_address { } __packed;#define MGMT_SET_PUBLIC_ADDRESS_SIZE 6 +#define MGMT_OP_START_SERVICE_DISCOVERY 0x003A +struct mgmt_cp_start_service_discovery { +__u8 type; +__s8 rssi; +__le16 uuid_count; +__u8 uuids[0 ][16 ]; +} __packed; +#define MGMT_START_SERVICE_DISCOVERY_SIZE 4 +#define MGMT_EV_CMD_COMPLETE 0x0001struct mgmt_ev_cmd_complete {__le16 opcode;
Signature · 1 line
1.9.3