On Thu, Dec 4, 2014 at 2:36 AM, Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote: > From: Jakub Pawlowski <jpawlowski@xxxxxxxxxx> > > This patch adds the opcode and structure for Start Service Discovery > operation. > > Signed-off-by: Jakub Pawlowski <jpawlowski@xxxxxxxxxx> > Signed-off-by: Marcel Holtmann <marcel@xxxxxxxxxxxx> > --- > include/net/bluetooth/mgmt.h | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h > index 9b382ea34fd9..95c34d5180fa 100644 > --- a/include/net/bluetooth/mgmt.h > +++ b/include/net/bluetooth/mgmt.h > @@ -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; Maybe we should get rid of type ? service discovery based on advertisement content makes sense only for LE > + __s8 rssi; > + __le16 uuid_count; > + __u8 uuids[0][16]; > +} __packed; > +#define MGMT_START_SERVICE_DISCOVERY_SIZE 4 > + > #define MGMT_EV_CMD_COMPLETE 0x0001 > struct mgmt_ev_cmd_complete { > __le16 opcode; > -- > 1.9.3 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html