diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-10-20 11:41:46 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-10-21 11:32:24 -0700 |
commit | c49cf698370641536cf7c5288e66b0370676606a (patch) | |
tree | 1acfce8243ae7bd0d2dafb89997d2b0d6bf6183d /emulator/main.c | |
parent | 47be9d40561649a2d060016cdc2a67bb79cd4d36 (diff) | |
download | bluez-c49cf698370641536cf7c5288e66b0370676606a.tar.gz |
emulator: Add initial support for MSFT vendor commands
This adds the initial support for MSFT vendor commands and enable them
when in btvirt:
< HCI Command: Microsoft Ex.. (0x3f|0x001e) plen 1
Read Supported Features (0x00)
> HCI Event: Command Complete (0x0e) plen 14
Microsoft Extension (0x3f|0x001e) ncmd 1
Read Supported Features (0x00)
Status: Success (0x00)
Features: 0x3f 0x00 0x00 0x00 0x00 0x00 0x00 0x00
RSSI Monitoring feature for BR/EDR
RSSI Monitoring feature for LE connections
RSSI Monitoring of LE advertisements
Advertising Monitoring of LE advertisements
Verifying the validity of P-192 and P-256 keys
Continuous Advertising Monitoring
Event prefix length: 0
Event prefix:
< HCI Command: Microsoft Ex.. (0x3f|0x001e) plen 2
LE Set Advertisement Filter Enable (0x05)
Enable: All filter conditions (0x01)
> HCI Event: Command Complete (0x0e) plen 5
Microsoft Extension (0x3f|0x001e) ncmd 1
LE Set Advertisement Filter Enable (0x05)
Status: Success (0x00)
Diffstat (limited to 'emulator/main.c')
-rw-r--r-- | emulator/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/emulator/main.c b/emulator/main.c index f64d46a5e..3c215efbc 100644 --- a/emulator/main.c +++ b/emulator/main.c @@ -192,6 +192,8 @@ int main(int argc, char *argv[]) if (debug_enabled) vhci_set_debug(vhci, vhci_debug, UINT_TO_PTR(i), NULL); + + vhci_set_msft_opcode(vhci, 0xfc1e); } if (serial_enabled) { |