Abhishek Pandit-Subedi
4c54bf2b09
Bluetooth: Add get/set device flags mgmt op
...
Add the get device flags and set device flags mgmt ops and the device
flags changed event. Their behavior is described in detail in
mgmt-api.txt in bluez.
Sample btmon trace when a HID device is added (trimmed to 75 chars):
@ MGMT Command: Unknown (0x0050) plen 11 {0x0001} [hci0] 18:06:14.98
90 c5 13 cd f3 cd 02 01 00 00 00 ...........
@ MGMT Event: Unknown (0x002a) plen 15 {0x0004} [hci0] 18:06:14.98
90 c5 13 cd f3 cd 02 01 00 00 00 01 00 00 00 ...............
@ MGMT Event: Unknown (0x002a) plen 15 {0x0003} [hci0] 18:06:14.98
90 c5 13 cd f3 cd 02 01 00 00 00 01 00 00 00 ...............
@ MGMT Event: Unknown (0x002a) plen 15 {0x0002} [hci0] 18:06:14.98
90 c5 13 cd f3 cd 02 01 00 00 00 01 00 00 00 ...............
@ MGMT Event: Command Compl.. (0x0001) plen 10 {0x0001} [hci0] 18:06:14.98
Unknown (0x0050) plen 7
Status: Success (0x00)
90 c5 13 cd f3 cd 02 .......
@ MGMT Command: Add Device (0x0033) plen 8 {0x0001} [hci0] 18:06:14.98
LE Address: CD:F3:CD:13:C5:90 (Static)
Action: Auto-connect remote device (0x02)
@ MGMT Event: Device Added (0x001a) plen 8 {0x0004} [hci0] 18:06:14.98
LE Address: CD:F3:CD:13:C5:90 (Static)
Action: Auto-connect remote device (0x02)
@ MGMT Event: Device Added (0x001a) plen 8 {0x0003} [hci0] 18:06:14.98
LE Address: CD:F3:CD:13:C5:90 (Static)
Action: Auto-connect remote device (0x02)
@ MGMT Event: Device Added (0x001a) plen 8 {0x0002} [hci0] 18:06:14.98
LE Address: CD:F3:CD:13:C5:90 (Static)
Action: Auto-connect remote device (0x02)
@ MGMT Event: Unknown (0x002a) plen 15 {0x0004} [hci0] 18:06:14.98
90 c5 13 cd f3 cd 02 01 00 00 00 01 00 00 00 ...............
@ MGMT Event: Unknown (0x002a) plen 15 {0x0003} [hci0] 18:06:14.98
90 c5 13 cd f3 cd 02 01 00 00 00 01 00 00 00 ...............
@ MGMT Event: Unknown (0x002a) plen 15 {0x0002} [hci0] 18:06:14.98
90 c5 13 cd f3 cd 02 01 00 00 00 01 00 00 00 ...............
@ MGMT Event: Unknown (0x002a) plen 15 {0x0001} [hci0] 18:06:14.98
90 c5 13 cd f3 cd 02 01 00 00 00 01 00 00 00 ...............
Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Reviewed-by: Alain Michaud <alainm@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2020-06-18 13:11:15 +03:00
..
2020-03-27 09:29:56 +00:00
2020-02-24 13:02:53 -08:00
2020-05-07 18:11:07 -07:00
2020-05-18 17:35:02 -07:00
2020-05-20 20:31:36 -04:00
2020-05-24 13:47:27 -07:00
2020-05-26 15:19:29 -07:00
2020-06-18 13:11:15 +03:00
2020-05-19 17:56:34 +02:00
2020-04-03 13:12:26 -07:00
2020-06-01 11:56:11 -07:00
2020-04-30 12:13:07 -07:00
2020-05-31 17:48:46 -07:00
2020-06-02 11:50:23 -07:00
2020-05-18 17:35:02 -07:00
2020-05-01 17:02:27 -07:00
2020-04-28 14:39:46 -07:00
2020-05-31 17:48:46 -07:00
2020-05-23 16:56:17 -07:00
2020-05-29 17:28:30 -07:00
2020-05-07 17:40:02 -07:00
2020-05-08 22:25:10 -07:00
2020-06-01 14:57:14 -07:00
2020-06-01 15:53:08 -07:00
2020-05-19 12:50:14 -07:00
2020-03-16 17:14:02 -07:00
2020-05-31 17:48:46 -07:00
2020-04-30 12:56:35 -07:00
2020-02-26 20:38:13 -08:00
2020-05-31 17:48:46 -07:00
2020-05-29 21:20:20 -07:00
2020-05-31 17:48:46 -07:00
2020-01-09 18:36:22 -08:00
2020-06-01 11:46:30 -07:00
2020-05-12 18:12:40 -07:00
2020-05-13 12:30:50 -07:00
2020-05-04 12:05:56 -07:00
2020-03-12 22:34:48 -07:00
2020-04-25 20:48:21 -07:00
2020-03-15 00:25:25 -07:00
2020-04-27 02:07:40 -04:00
2020-05-23 16:36:05 -07:00
2020-05-31 17:48:46 -07:00
2020-05-28 11:11:45 -07:00
2019-12-16 10:15:49 +01:00
2020-05-04 12:05:56 -07:00
2020-05-28 11:11:46 -07:00
2020-06-01 12:01:05 -07:00
2020-05-31 17:48:46 -07:00
2020-05-30 18:12:25 -07:00
2020-05-28 11:11:46 -07:00
2020-02-26 20:58:33 -08:00
2020-06-02 15:13:47 -07:00
2020-06-01 14:48:32 -07:00
2020-02-28 12:12:53 -08:00
2020-05-30 17:44:01 -07:00
2020-05-31 17:48:46 -07:00
2020-05-06 22:10:13 -07:00
2020-05-31 17:48:46 -07:00
2020-05-31 17:48:46 -07:00
2020-06-01 12:05:45 -07:00
2020-05-23 16:56:17 -07:00
2020-05-10 12:28:41 -07:00
2020-05-23 16:56:17 -07:00
2020-05-29 13:10:39 -07:00