- From: François Beaufort via GitHub <sysbot+gh@w3.org>
- Date: Tue, 21 Jul 2015 09:12:44 +0000
- To: public-web-bluetooth-log@w3.org
For reference, here's a btmon trace of `navigator.bluetooth.requestDevice`: ```js Bluetooth monitor ver 5.30 = New Index: A4:17:31:78:A6:04 (BR/EDR,USB,hci0) [hci0] 0.629490 < HCI Command: LE Set Random Address (0x08|0x0005) plen 6 [hci0] 3.946329 Address: 1B:B0:17:62:80:06 (Non-Resolvable) > HCI Event: Command Complete (0x0e) plen 4 [hci0] 3.947497 LE Set Random Address (0x08|0x0005) ncmd 1 Status: Success (0x00) < HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7 [hci0] 3.947528 Type: Active (0x01) Interval: 11.250 msec (0x0012) Window: 11.250 msec (0x0012) Own address type: Random (0x01) Filter policy: Accept all advertisement (0x00) > HCI Event: Command Complete (0x0e) plen 4 [hci0] 3.948496 LE Set Scan Parameters (0x08|0x000b) ncmd 1 Status: Success (0x00) < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 [hci0] 3.948525 Scanning: Enabled (0x01) Filter duplicates: Enabled (0x01) > HCI Event: Command Complete (0x0e) plen 4 [hci0] 3.949496 LE Set Scan Enable (0x08|0x000c) ncmd 1 Status: Success (0x00) @ Discovering: 0x01 (7) > HCI Event: LE Meta Event (0x3e) plen 33 [hci0] 4.221492 LE Advertising Report (0x02) Num reports: 1 Event type: Non connectable undirected - ADV_NONCONN_IND (0x03) Address type: Random (0x01) Address: C5:34:F9:7A:00:40 (Static) Data length: 21 Flags: 0x04 BR/EDR Not Supported 16-bit Service UUIDs (complete): 1 entry Unknown (0xfed8) Service Data (UUID 0xfed8): 00f200676f6f676c6507 RSSI: -71 dBm (0xb9) @ Device Found: C5:34:F9:7A:00:40 (2) rssi -71 flags 0x0004 02 01 04 03 03 d8 fe 0d 16 d8 fe 00 f2 00 67 6f ..............go 6f 67 6c 65 07 ogle. < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 [hci0] 4.421283 Scanning: Disabled (0x00) Filter duplicates: Disabled (0x00) > HCI Event: Command Complete (0x0e) plen 4 [hci0] 4.422591 LE Set Scan Enable (0x08|0x000c) ncmd 1 Status: Success (0x00) < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 [hci0] 4.422653 Scanning: Enabled (0x01) Filter duplicates: Enabled (0x01) > HCI Event: Command Complete (0x0e) plen 4 [hci0] 4.423569 LE Set Scan Enable (0x08|0x000c) ncmd 1 Status: Success (0x00) > HCI Event: LE Meta Event (0x3e) plen 33 [hci0] 5.222490 LE Advertising Report (0x02) Num reports: 1 Event type: Non connectable undirected - ADV_NONCONN_IND (0x03) Address type: Random (0x01) Address: C5:34:F9:7A:00:40 (Static) Data length: 21 Flags: 0x04 BR/EDR Not Supported 16-bit Service UUIDs (complete): 1 entry Unknown (0xfed8) Service Data (UUID 0xfed8): 00f200676f6f676c6507 RSSI: -78 dBm (0xb2) @ Device Found: C5:34:F9:7A:00:40 (2) rssi -78 flags 0x0004 02 01 04 03 03 d8 fe 0d 16 d8 fe 00 f2 00 67 6f ..............go 6f 67 6c 65 07 ogle. < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 [hci0] 5.422259 Scanning: Disabled (0x00) Filter duplicates: Disabled (0x00) > HCI Event: Command Complete (0x0e) plen 4 [hci0] 5.423527 LE Set Scan Enable (0x08|0x000c) ncmd 1 Status: Success (0x00) < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 [hci0] 5.423585 Scanning: Enabled (0x01) Filter duplicates: Enabled (0x01) > HCI Event: Command Complete (0x0e) plen 4 [hci0] 5.424526 LE Set Scan Enable (0x08|0x000c) ncmd 1 Status: Success (0x00) > HCI Event: LE Meta Event (0x3e) plen 33 [hci0] 6.230575 LE Advertising Report (0x02) Num reports: 1 Event type: Non connectable undirected - ADV_NONCONN_IND (0x03) Address type: Random (0x01) Address: C5:34:F9:7A:00:40 (Static) Data length: 21 Flags: 0x04 BR/EDR Not Supported 16-bit Service UUIDs (complete): 1 entry Unknown (0xfed8) Service Data (UUID 0xfed8): 00f200676f6f676c6507 RSSI: -71 dBm (0xb9) @ Device Found: C5:34:F9:7A:00:40 (2) rssi -71 flags 0x0004 02 01 04 03 03 d8 fe 0d 16 d8 fe 00 f2 00 67 6f ..............go 6f 67 6c 65 07 ogle. < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 [hci0] 6.430303 Scanning: Disabled (0x00) Filter duplicates: Disabled (0x00) > HCI Event: Command Complete (0x0e) plen 4 [hci0] 6.431558 LE Set Scan Enable (0x08|0x000c) ncmd 1 Status: Success (0x00) < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 [hci0] 6.431652 Scanning: Enabled (0x01) Filter duplicates: Enabled (0x01) > HCI Event: Command Complete (0x0e) plen 4 [hci0] 6.432579 LE Set Scan Enable (0x08|0x000c) ncmd 1 Status: Success (0x00) > HCI Event: LE Meta Event (0x3e) plen 33 [hci0] 7.237565 LE Advertising Report (0x02) Num reports: 1 Event type: Non connectable undirected - ADV_NONCONN_IND (0x03) Address type: Random (0x01) Address: C5:34:F9:7A:00:40 (Static) Data length: 21 Flags: 0x04 BR/EDR Not Supported 16-bit Service UUIDs (complete): 1 entry Unknown (0xfed8) Service Data (UUID 0xfed8): 00f200676f6f676c6507 RSSI: -71 dBm (0xb9) @ Device Found: C5:34:F9:7A:00:40 (2) rssi -71 flags 0x0004 02 01 04 03 03 d8 fe 0d 16 d8 fe 00 f2 00 67 6f ..............go 6f 67 6c 65 07 ogle. < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 [hci0] 7.437230 Scanning: Disabled (0x00) Filter duplicates: Disabled (0x00) > HCI Event: Command Complete (0x0e) plen 4 [hci0] 7.438474 LE Set Scan Enable (0x08|0x000c) ncmd 1 Status: Success (0x00) < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 [hci0] 7.438502 Scanning: Enabled (0x01) Filter duplicates: Enabled (0x01) > HCI Event: Command Complete (0x0e) plen 4 [hci0] 7.439484 LE Set Scan Enable (0x08|0x000c) ncmd 1 Status: Success (0x00) > HCI Event: LE Meta Event (0x3e) plen 33 [hci0] 8.239508 LE Advertising Report (0x02) Num reports: 1 Event type: Non connectable undirected - ADV_NONCONN_IND (0x03) Address type: Random (0x01) Address: C5:34:F9:7A:00:40 (Static) Data length: 21 Flags: 0x04 BR/EDR Not Supported 16-bit Service UUIDs (complete): 1 entry Unknown (0xfed8) Service Data (UUID 0xfed8): 00f200676f6f676c6507 RSSI: -74 dBm (0xb6) @ Device Found: C5:34:F9:7A:00:40 (2) rssi -74 flags 0x0004 02 01 04 03 03 d8 fe 0d 16 d8 fe 00 f2 00 67 6f ..............go 6f 67 6c 65 07 ogle. < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 [hci0] 8.439321 Scanning: Disabled (0x00) Filter duplicates: Disabled (0x00) > HCI Event: Command Complete (0x0e) plen 4 [hci0] 8.440568 LE Set Scan Enable (0x08|0x000c) ncmd 1 Status: Success (0x00) < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 [hci0] 8.440664 Scanning: Enabled (0x01) Filter duplicates: Enabled (0x01) > HCI Event: Command Complete (0x0e) plen 4 [hci0] 8.441544 LE Set Scan Enable (0x08|0x000c) ncmd 1 Status: Success (0x00) < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 [hci0] 8.830942 Scanning: Disabled (0x00) Filter duplicates: Disabled (0x00) > HCI Event: Command Complete (0x0e) plen 4 [hci0] 8.831467 LE Set Scan Enable (0x08|0x000c) ncmd 1 Status: Success (0x00) @ Discovering: 0x00 (7) -- GitHub Notif of comment by beaufortfrancois See https://github.com/WebBluetoothCG/web-bluetooth/issues/141#issuecomment-123228074
Received on Tuesday, 21 July 2015 09:12:46 UTC