I am using an nrf52833 DK connected to a raspberry PI 4B on uart (used uart1 so I can also do debug/log on J-LINK)
Built and flashed the hci_uart sample on the board (with uart1 configuration on different pins)
On raspberry PI I have succesfully attached the serial port to hci1 (using basically the same code from blueZ btattach with baud 115200 and no flow control)
Then, I have tried to start a passive le scan (similar to 'hcitool lescan --privacy --passive --duplicates' command).
Also tried without --privacy or --duplicates or --passive. Same result.
When I am executing LE Set Scan Enable the response is Invalid HCI Command Parameters (0x12).
< HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7 #5575 [hci1] 8594.745437Type: Passive (0x00)Interval: 10.000 msec (0x0010)Window: 10.000 msec (0x0010)Own address type: Random (0x01)Filter policy: Accept all advertisement (0x00)> HCI Event: Command Complete (0x0e) plen 4 #5576 [hci1] 8594.747200LE Set Scan Parameters (0x08|0x000b) ncmd 1Status: Success (0x00)< HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 #5577 [hci1] 8594.747343Scanning: Enabled (0x01)Filter duplicates: Disabled (0x00)> HCI Event: Command Complete (0x0e) plen 4 #5578 [hci1] 8594.748648LE Set Scan Enable (0x08|0x000c) ncmd 1Status: Invalid HCI Command Parameters (0x12)
Here is the full btmon output on raspberry PI with the entire execution (including hci attach)
@ RAW Open: poltys_tool (privileged) version 2.22 {0x0003} 8593.647634 @ RAW Close: poltys_tool {0x0003} 8593.647716 = New Index: 00:00:00:00:00:00 (Primary,UART,hci1) [hci1] 8593.651327 = Open Index: 00:00:00:00:00:00 [hci1] 8593.651641 < HCI Command: Reset (0x03|0x0003) plen 0 #5483 [hci1] 8593.651707 @ RAW Open: poltys_tool (privileged) version 2.22 {0x0003} 8593.652305 @ RAW Close: poltys_tool {0x0003} 8593.652486 @ RAW Open: poltys_tool (privileged) version 2.22 {0x0003} 8593.652872 > HCI Event: Command Complete (0x0e) plen 4 #5484 [hci1] 8593.653079 Reset (0x03|0x0003) ncmd 1 Status: Success (0x00) < HCI Command: Read Local Supported Features (0x04|0x0003) plen 0 #5485 [hci1] 8593.653178 @ RAW Close: poltys_tool {0x0003} 8593.653853 @ RAW Open: poltys_tool (privileged) version 2.22 {0x0003} [hci1] 8593.654397 @ RAW Open: poltys_tool (privileged) version 2.22 {0x0004} 8593.654457 > HCI Event: Command Complete (0x0e) plen 12 #5486 [hci1] 8593.655306 Read Local Supported Features (0x04|0x0003) ncmd 1 Status: Success (0x00) Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00 BR/EDR Not Supported LE Supported (Controller) < HCI Command: Read Local Version Information (0x04|0x0001) plen 0 #5487 [hci1] 8593.655394 > HCI Event: Command Complete (0x0e) plen 12 #5488 [hci1] 8593.659027 Read Local Version Information (0x04|0x0001) ncmd 1 Status: Success (0x00) HCI version: Reserved (0x0d) - Revision 4354 (0x1102) LMP version: Reserved (0x0d) - Subversion 4354 (0x1102) Manufacturer: Nordic Semiconductor ASA (89) < HCI Command: Read BD ADDR (0x04|0x0009) plen 0 #5489 [hci1] 8593.659137 > HCI Event: Command Complete (0x0e) plen 10 #5490 [hci1] 8593.660788 Read BD ADDR (0x04|0x0009) ncmd 1 Status: Success (0x00) Address: 00:00:00:00:00:00 (OUI 00-00-00) < HCI Command: Read Local Supported Commands (0x04|0x0002) plen 0 #5491 [hci1] 8593.660892 > HCI Event: Command Complete (0x0e) plen 68 #5492 [hci1] 8593.667577 Read Local Supported Commands (0x04|0x0002) ncmd 1 Status: Success (0x00) Commands: 66 entries Disconnect (Octet 0 - Bit 5) Read Remote Version Information (Octet 2 - Bit 7) Set Event Mask (Octet 5 - Bit 6) Reset (Octet 5 - Bit 7) Read Transmit Power Level (Octet 10 - Bit 2) Set Controller To Host Flow Control (Octet 10 - Bit 5) Host Buffer Size (Octet 10 - Bit 6) Host Number of Completed Packets (Octet 10 - Bit 7) Read Local Version Information (Octet 14 - Bit 3) Read Local Supported Features (Octet 14 - Bit 5) Read BD ADDR (Octet 15 - Bit 1) Read RSSI (Octet 15 - Bit 5) Set Event Mask Page 2 (Octet 22 - Bit 2) LE Set Event Mask (Octet 25 - Bit 0) LE Read Buffer Size (Octet 25 - Bit 1) LE Read Local Supported Features (Octet 25 - Bit 2) LE Set Random Address (Octet 25 - Bit 4) LE Set Advertising Parameters (Octet 25 - Bit 5) LE Read Advertising Channel TX Power (Octet 25 - Bit 6) LE Set Advertising Data (Octet 25 - Bit 7) LE Set Scan Response Data (Octet 26 - Bit 0) LE Set Advertise Enable (Octet 26 - Bit 1) LE Set Scan Parameters (Octet 26 - Bit 2) LE Set Scan Enable (Octet 26 - Bit 3) LE Create Connection (Octet 26 - Bit 4) LE Create Connection Cancel (Octet 26 - Bit 5) LE Read White List Size (Octet 26 - Bit 6) LE Clear White List (Octet 26 - Bit 7) LE Add Device To White List (Octet 27 - Bit 0) LE Remove Device From White List (Octet 27 - Bit 1) LE Connection Update (Octet 27 - Bit 2) LE Set Host Channel Classification (Octet 27 - Bit 3) LE Read Channel Map (Octet 27 - Bit 4) LE Read Remote Used Features (Octet 27 - Bit 5) LE Encrypt (Octet 27 - Bit 6) LE Rand (Octet 27 - Bit 7) LE Start Encryption (Octet 28 - Bit 0) LE Long Term Key Request Reply (Octet 28 - Bit 1) LE Long Term Key Request Neg Reply (Octet 28 - Bit 2) LE Read Supported States (Octet 28 - Bit 3) LE Receiver Test (Octet 28 - Bit 4) LE Transmitter Test (Octet 28 - Bit 5) LE Test End (Octet 28 - Bit 6) Read Authenticated Payload Timeout (Octet 32 - Bit 4) Write Authenticated Payload Timeout (Octet 32 - Bit 5) LE Set Data Length (Octet 33 - Bit 6) LE Read Suggested Default Data Length (Octet 33 - Bit 7) LE Write Suggested Default Data Length (Octet 34 - Bit 0) LE Read Local P-256 Public Key (Octet 34 - Bit 1) LE Generate DHKey (Octet 34 - Bit 2) LE Add Device To Resolving List (Octet 34 - Bit 3) LE Remove Device From Resolving List (Octet 34 - Bit 4) LE Clear Resolving List (Octet 34 - Bit 5) LE Read Resolving List Size (Octet 34 - Bit 6) LE Set Address Resolution Enable (Octet 35 - Bit 1) LE Set Resolvable Private Address Timeout (Octet 35 - Bit 2) LE Read Maximum Data Length (Octet 35 - Bit 3) LE Read PHY (Octet 35 - Bit 4) LE Set Default PHY (Octet 35 - Bit 5) LE Set PHY (Octet 35 - Bit 6) LE Enhanced Receiver Test (Octet 35 - Bit 7) LE Enhanced Transmitter Test (Octet 36 - Bit 0) LE Read Transmit Power (Octet 38 - Bit 7) LE Set Privacy Mode (Octet 39 - Bit 2) Octet 41 - Bit 2 Octet 45 - Bit 6 < HCI Command: LE Read Local Supported Features (0x08|0x0003) plen 0 #5493 [hci1] 8593.667664 > HCI Event: Command Complete (0x0e) plen 12 #5494 [hci1] 8593.669486 LE Read Local Supported Features (0x08|0x0003) ncmd 1 Status: Success (0x00) Features: 0xfd 0x49 0x00 0x00 0x00 0x00 0x00 0x00 LE Encryption Extended Reject Indication Slave-initiated Features Exchange LE Ping LE Data Packet Length Extension LL Privacy Extended Scanner Filter Policies LE 2M PHY LE Coded PHY Channel Selection Algorithm #2 < HCI Command: LE Read Buffer Size (0x08|0x0002) plen 0 #5495 [hci1] 8593.669564 > HCI Event: Command Complete (0x0e) plen 7 #5496 [hci1] 8593.670991 LE Read Buffer Size (0x08|0x0002) ncmd 1 Status: Success (0x00) Data packet length: 27 Num data packets: 3 < HCI Command: LE Read Supported States (0x08|0x001c) plen 0 #5497 [hci1] 8593.671064 > HCI Event: Command Complete (0x0e) plen 12 #5498 [hci1] 8593.672884 LE Read Supported States (0x08|0x001c) ncmd 1 Status: Success (0x00) States: 0x000000ff000300ff Non-connectable Advertising State Scannable Advertising State Connectable Advertising State High Duty Cycle Directed Advertising State Passive Scanning State Active Scanning State Initiating State and Connection State (Master Role) Connection State (Slave Role) Non-connectable Advertising State and Initiating State Scannable Advertising State and Initiating State Connectable Advertising State and Initiating State and Master Role & Slave Role High Duty Cycle Directed Advertising State and Initiating State and Master Role & Slave Role Low Duty Cycle Directed Advertising State and Initiating State and Master Role & Slave Role Connectable Advertising State and Connection State (Master Role) and Master Role & Slave Role High Duty Cycle Directed Advertising State and Connection State (Master Role) and Master Role & Slave Role Low Duty Cycle Directed Advertising State and Connection State (Master Role) and Master Role & Slave Role Connectable Advertising State and Connection State (Slave Role) and Master Role & Slave Role High Duty Cycle Directed Advertising State and Connection State (Slave Role) and Slave Role & Slave Role < HCI Command: Set Event Mask (0x03|0x0001) plen 8 #5499 [hci1] 8593.672962 Mask: 0x200080000204e890 Disconnection Complete Encryption Change Read Remote Version Information Complete Command Complete Command Status Hardware Error Number of Completed Packets Data Buffer Overflow Encryption Key Refresh Complete LE Meta > HCI Event: Command Complete (0x0e) plen 4 #5500 [hci1] 8593.674788 Set Event Mask (0x03|0x0001) ncmd 1 Status: Success (0x00) < HCI Command: LE Set Event Mask (0x08|0x0001) plen 8 #5501 [hci1] 8593.674863 Mask: 0x0000000000080fdf LE Connection Complete LE Advertising Report LE Connection Update Complete LE Read Remote Used Features Complete LE Long Term Key Request LE Data Length Change LE Read Local P-256 Public Key Complete LE Generate DHKey Complete LE Enhanced Connection Complete LE Direct Advertising Report LE PHY Update Complete LE Channel Selection Algorithm > HCI Event: Command Complete (0x0e) plen 4 #5502 [hci1] 8593.676690 LE Set Event Mask (0x08|0x0001) ncmd 1 Status: Success (0x00) < HCI Command: LE Read Advertising Channel TX Power (0x08|0x0007) plen 0 #5503 [hci1] 8593.676759 > HCI Event: Command Complete (0x0e) plen 5 #5504 [hci1] 8593.678002 LE Read Advertising Channel TX Power (0x08|0x0007) ncmd 1 Status: Success (0x00) TX power: 0 dbm (0x00) < HCI Command: LE Read Transmit Power (0x08|0x004b) plen 0 #5505 [hci1] 8593.678071 > HCI Event: Command Complete (0x0e) plen 6 #5506 [hci1] 8593.679584 LE Read Transmit Power (0x08|0x004b) ncmd 1 Status: Success (0x00) Min Tx power: -40 dBm Max Tx power: 8 dBm < HCI Command: LE Read White List Size (0x08|0x000f) plen 0 #5507 [hci1] 8593.679654 > HCI Event: Command Complete (0x0e) plen 5 #5508 [hci1] 8593.680873 LE Read White List Size (0x08|0x000f) ncmd 1 Status: Success (0x00) Size: 8 < HCI Command: LE Clear White List (0x08|0x0010) plen 0 #5509 [hci1] 8593.680942 > HCI Event: Command Complete (0x0e) plen 4 #5510 [hci1] 8593.682072 LE Clear White List (0x08|0x0010) ncmd 1 Status: Success (0x00) < HCI Command: LE Read Resolving List Size (0x08|0x002a) plen 0 #5511 [hci1] 8593.682141 > HCI Event: Command Complete (0x0e) plen 5 #5512 [hci1] 8593.683358 LE Read Resolving List Size (0x08|0x002a) ncmd 1 Status: Success (0x00) Size: 8 < HCI Command: LE Clear Resolving List (0x08|0x0029) plen 0 #5513 [hci1] 8593.683432 > HCI Event: Command Complete (0x0e) plen 4 #5514 [hci1] 8593.684566 LE Clear Resolving List (0x08|0x0029) ncmd 1 Status: Success (0x00) < HCI Command: LE Set Resolvable Private Address Timeout (0x08|0x002e) plen 2 #5515 [hci1] 8593.684645 Timeout: 900 seconds > HCI Event: Command Complete (0x0e) plen 4 #5516 [hci1] 8593.685938 LE Set Resolvable Private Address Timeout (0x08|0x002e) ncmd 1 Status: Success (0x00) < HCI Command: LE Read Maximum Data Length (0x08|0x002f) plen 0 #5517 [hci1] 8593.686015 > HCI Event: Command Complete (0x0e) plen 12 #5518 [hci1] 8593.688481 LE Read Maximum Data Length (0x08|0x002f) ncmd 1 Status: Success (0x00) Max TX octets: 251 Max TX time: 2704 Max RX octets: 251 Max RX time: 2704 < HCI Command: LE Read Suggested Default Data Length (0x08|0x0023) plen 0 #5519 [hci1] 8593.688574 > HCI Event: Command Complete (0x0e) plen 8 #5520 [hci1] 8593.690052 LE Read Suggested Default Data Length (0x08|0x0023) ncmd 1 Status: Success (0x00) TX octets: 27 TX time: 328 < HCI Command: Set Event Mask Page 2 (0x03|0x0063) plen 8 #5521 [hci1] 8593.690140 Mask: 0x0000000000800000 Authenticated Payload Timeout Expired > HCI Event: Command Complete (0x0e) plen 4 #5522 [hci1] 8593.691970 Set Event Mask Page 2 (0x03|0x0063) ncmd 1 Status: Success (0x00) < HCI Command: LE Write Suggested Default Data Length (0x08|0x0024) plen 4 #5523 [hci1] 8593.692056 TX octets: 251 TX time: 2704 > HCI Event: Command Complete (0x0e) plen 4 #5524 [hci1] 8593.693530 LE Write Suggested Default Data Length (0x08|0x0024) ncmd 1 Status: Success (0x00) < HCI Command: LE Set Default PHY (0x08|0x0031) plen 3 #5525 [hci1] 8593.693603 All PHYs preference: 0x00 TX PHYs preference: 0x01 LE 1M RX PHYs preference: 0x01 LE 1M > HCI Event: Command Complete (0x0e) plen 4 #5526 [hci1] 8593.694987 LE Set Default PHY (0x08|0x0031) ncmd 1 Status: Success (0x00) = Index Info: 00:00:00:00:00:00 (Nordic Semiconductor ASA) [hci1] 8593.695363 = Close Index: 00:00:00:00:00:00 [hci1] 8593.695429 @ MGMT Event: Index Added (0x0004) plen 0 {0x0002} [hci1] 8593.695442 @ MGMT Event: Index Added (0x0004) plen 0 {0x0001} [hci1] 8593.695442 @ MGMT Command: Read Controller Information (0x0004) plen 0 {0x0001} [hci1] 8593.695679 @ MGMT Event: Command Complete (0x0001) plen 283 {0x0001} [hci1] 8593.695717 Read Controller Information (0x0004) plen 280 Status: Success (0x00) Address: 00:00:00:00:00:00 (OUI 00-00-00) Version: Reserved (0x0d) Manufacturer: Nordic Semiconductor ASA (89) Supported settings: 0x0001be1b Powered Connectable Discoverable Bondable Low Energy Advertising Secure Connections Debug Keys Privacy Static Address PHY Configuration Current settings: 0x00000200 Low Energy Class: 0x000000 Major class: Miscellaneous Minor class: 0x00 Name: Short name: @ MGMT Command: Remove UUID (0x0011) plen 16 {0x0001} [hci1] 8593.697372 UUID: 00000000-0000-0000-0000-000000000000 @ MGMT Event: Command Complete (0x0001) plen 6 {0x0001} [hci1] 8593.697430 Remove UUID (0x0011) plen 3 Status: Success (0x00) Class: 0x000000 Major class: Miscellaneous Minor class: 0x00 @ MGMT Command: Remove Device (0x0034) plen 7 {0x0001} [hci1] 8593.697897 BR/EDR Address: 00:00:00:00:00:00 (OUI 00-00-00) @ MGMT Event: Command Complete (0x0001) plen 10 {0x0001} [hci1] 8593.697916 Remove Device (0x0034) plen 7 Status: Success (0x00) BR/EDR Address: 00:00:00:00:00:00 (OUI 00-00-00) @ MGMT Command: Set Static Address (0x002b) plen 6 {0x0001} [hci1] 8593.698037 Address: E6:CC:03:E8:BF:84 (Static) @ MGMT Event: Command Complete (0x0001) plen 7 {0x0001} [hci1] 8593.698046 Set Static Address (0x002b) plen 4 Status: Success (0x00) Current settings: 0x00008200 Low Energy Static Address @ MGMT Event: New Settings (0x0006) plen 4 {0x0002} [hci1] 8593.698052 Current settings: 0x00008200 Low Energy Static Address @ MGMT Command: Set Secure Connections (0x002d) plen 1 {0x0001} [hci1] 8593.698170 Secure Connections: Enabled (0x01) @ MGMT Event: Command Complete (0x0001) plen 7 {0x0001} [hci1] 8593.698182 Set Secure Connections (0x002d) plen 4 Status: Success (0x00) Current settings: 0x00008a00 Low Energy Secure Connections Static Address @ MGMT Event: New Settings (0x0006) plen 4 {0x0002} [hci1] 8593.698189 Current settings: 0x00008a00 Low Energy Secure Connections Static Address @ MGMT Command: Set Privacy (0x002f) plen 17 {0x0001} [hci1] 8593.698319 Privacy: Disabled (0x00) Key: 00000000000000000000000000000000 @ MGMT Event: Command Complete (0x0001) plen 7 {0x0001} [hci1] 8593.698329 Set Privacy (0x002f) plen 4 Status: Success (0x00) Current settings: 0x00008a00 Low Energy Secure Connections Static Address @ MGMT Command: Set Bondable (0x0009) plen 1 {0x0001} [hci1] 8593.698442 Bondable: Enabled (0x01) @ MGMT Event: Command Complete (0x0001) plen 7 {0x0001} [hci1] 8593.698450 Set Bondable (0x0009) plen 4 Status: Success (0x00) Current settings: 0x00008a10 Bondable Low Energy Secure Connections Static Address @ MGMT Event: New Settings (0x0006) plen 4 {0x0002} [hci1] 8593.698457 Current settings: 0x00008a10 Bondable Low Energy Secure Connections Static Address @ MGMT Command: Set IO Capability (0x0018) plen 1 {0x0001} [hci1] 8593.698603 Capability: KeyboardDisplay (0x04) @ MGMT Event: Command Complete (0x0001) plen 3 {0x0001} [hci1] 8593.698615 Set IO Capability (0x0018) plen 0 Status: Success (0x00) @ MGMT Command: Add UUID (0x0010) plen 17 {0x0001} [hci1] 8593.698731 UUID: 00001800-0000-1000-8000-00805f9b34fb Service class: 0x00 @ MGMT Event: Command Complete (0x0001) plen 6 {0x0001} [hci1] 8593.698819 Add UUID (0x0010) plen 3 Status: Success (0x00) Class: 0x000000 Major class: Miscellaneous Minor class: 0x00 @ MGMT Command: Add UUID (0x0010) plen 17 {0x0001} [hci1] 8593.699074 UUID: 00001801-0000-1000-8000-00805f9b34fb Service class: 0x00 @ MGMT Event: Command Complete (0x0001) plen 6 {0x0001} [hci1] 8593.699123 Add UUID (0x0010) plen 3 Status: Success (0x00) Class: 0x000000 Major class: Miscellaneous Minor class: 0x00 @ MGMT Command: Read Advertising Features (0x003d) plen 0 {0x0001} [hci1] 8593.699213 @ MGMT Event: Command Complete (0x0001) plen 11 {0x0001} [hci1] 8593.699225 Read Advertising Features (0x003d) plen 8 Status: Success (0x00) Flags: 0x0001f07f Switch into Connectable mode Advertise as Discoverable Advertise as Limited Discoverable Add Flags field to Advertising Data Add TX Power field to Advertising Data Add Appearance field to Scan Response Add Local Name in Scan Response Unknown advertising flag (0x0001f000) Advertising data length: 31 Scan response length: 31 Max instances: 5 Instances: 0 @ MGMT Command: Set Local Name (0x000f) plen 260 {0x0001} [hci1] 8593.699334 Name: dcc-debug-alex-ch-104 #2 Short name: @ MGMT Event: Command Complete (0x0001) plen 263 {0x0001} [hci1] 8593.699744 Set Local Name (0x000f) plen 260 Status: Success (0x00) Name: dcc-debug-alex-ch-104 #2 Short name: @ MGMT Event: Local Name Changed (0x0008) plen 260 {0x0002} [hci1] 8593.699760 Name: dcc-debug-alex-ch-104 #2 Short name: @ MGMT Command: Add UUID (0x0010) plen 17 {0x0001} [hci1] 8593.699962 UUID: 0000110e-0000-1000-8000-00805f9b34fb Service class: 0x00 @ MGMT Event: Command Complete (0x0001) plen 6 {0x0001} [hci1] 8593.699995 Add UUID (0x0010) plen 3 Status: Success (0x00) Class: 0x000000 Major class: Miscellaneous Minor class: 0x00 @ MGMT Command: Add UUID (0x0010) plen 17 {0x0001} [hci1] 8593.700099 UUID: 0000110c-0000-1000-8000-00805f9b34fb Service class: 0x00 @ MGMT Event: Command Complete (0x0001) plen 6 {0x0001} [hci1] 8593.700138 Add UUID (0x0010) plen 3 Status: Success (0x00) Class: 0x000000 Major class: Miscellaneous Minor class: 0x00 @ MGMT Command: Unblock Device (0x0027) plen 7 {0x0001} [hci1] 8593.700334 BR/EDR Address: 00:00:00:00:00:00 (OUI 00-00-00) @ MGMT Event: Device Unblocked (0x0015) plen 7 {0x0002} [hci1] 8593.700345 BR/EDR Address: 00:00:00:00:00:00 (OUI 00-00-00) @ MGMT Event: Command Complete (0x0001) plen 10 {0x0001} [hci1] 8593.700361 Unblock Device (0x0027) plen 7 Status: Success (0x00) BR/EDR Address: 00:00:00:00:00:00 (OUI 00-00-00) @ MGMT Command: Load Long Term Keys (0x0013) plen 2 {0x0001} [hci1] 8593.700484 Keys: 0 @ MGMT Event: Command Complete (0x0001) plen 3 {0x0001} [hci1] 8593.700502 Load Long Term Keys (0x0013) plen 0 Status: Success (0x00) @ MGMT Command: Load Identity Resolving Keys (0x0030) plen 2 {0x0001} [hci1] 8593.700625 Keys: 0 @ MGMT Event: Command Complete (0x0001) plen 3 {0x0001} [hci1] 8593.700637 Load Identity Resolving Keys (0x0030) plen 0 Status: Success (0x00) @ MGMT Command: Load Connection Parameters (0x0035) plen 2 {0x0001} [hci1] 8593.700743 Parameters: 0 @ MGMT Event: Command Complete (0x0001) plen 3 {0x0001} [hci1] 8593.700756 Load Connection Parameters (0x0035) plen 0 Status: Success (0x00) @ MGMT Command: Add UUID (0x0010) plen 17 {0x0001} [hci1] 8593.700865 UUID: 00001200-0000-1000-8000-00805f9b34fb Service class: 0x00 @ MGMT Event: Command Complete (0x0001) plen 6 {0x0001} [hci1] 8593.700912 Add UUID (0x0010) plen 3 Status: Success (0x00) Class: 0x000000 Major class: Miscellaneous Minor class: 0x00 @ MGMT Command: Set Device ID (0x0028) plen 8 {0x0001} [hci1] 8593.701288 Device ID: USB Implementer's Forum assigned (0x0002) Vendor: Linux Foundation (0x1d6b) Product: 0x0246 Version: 5.3.6 (0x0536) @ MGMT Event: Command Complete (0x0001) plen 3 {0x0001} [hci1] 8593.701297 Set Device ID (0x0028) plen 0 Status: Success (0x00) @ MGMT Command: Set Local Name (0x000f) plen 260 {0x0001} [hci1] 8593.701412 Name: dcc-debug-alex-ch-104 #2 Short name: @ MGMT Event: Command Complete (0x0001) plen 263 {0x0001} [hci1] 8593.701421 Set Local Name (0x000f) plen 260 Status: Success (0x00) Name: dcc-debug-alex-ch-104 #2 Short name: @ MGMT Command: Unknown (0x0046) plen 36 {0x0001} [hci1] 8593.701532 02 00 01 bf 01 fb 9d 4e f3 bc 36 d8 74 f5 39 41 .......N..6.t.9A 38 68 4c 02 a5 99 ba e4 e1 7c a6 18 22 8e 07 56 8hL......|.."..V b4 e8 5f 01 .._. @ MGMT Event: Command Complete (0x0001) plen 3 {0x0001} [hci1] 8593.701547 Unknown (0x0046) plen 0 Status: Success (0x00) = Open Index: 00:00:00:00:00:00 [hci1] 8594.695653 < HCI Command: Reset (0x03|0x0003) plen 0 #5527 [hci1] 8594.695697 > HCI Event: Command Complete (0x0e) plen 4 #5528 [hci1] 8594.696948 Reset (0x03|0x0003) ncmd 1 Status: Success (0x00) < HCI Command: Read Local Supported Features (0x04|0x0003) plen 0 #5529 [hci1] 8594.697043 > HCI Event: Command Complete (0x0e) plen 12 #5530 [hci1] 8594.698867 Read Local Supported Features (0x04|0x0003) ncmd 1 Status: Success (0x00) Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00 BR/EDR Not Supported LE Supported (Controller) < HCI Command: Read Local Version Information (0x04|0x0001) plen 0 #5531 [hci1] 8594.698956 > HCI Event: Command Complete (0x0e) plen 12 #5532 [hci1] 8594.700779 Read Local Version Information (0x04|0x0001) ncmd 1 Status: Success (0x00) HCI version: Reserved (0x0d) - Revision 4354 (0x1102) LMP version: Reserved (0x0d) - Subversion 4354 (0x1102) Manufacturer: Nordic Semiconductor ASA (89) < HCI Command: Read BD ADDR (0x04|0x0009) plen 0 #5533 [hci1] 8594.700867 > HCI Event: Command Complete (0x0e) plen 10 #5534 [hci1] 8594.702525 Read BD ADDR (0x04|0x0009) ncmd 1 Status: Success (0x00) Address: 00:00:00:00:00:00 (OUI 00-00-00) < HCI Command: Read Local Supported Commands (0x04|0x0002) plen 0 #5535 [hci1] 8594.702612 > HCI Event: Command Complete (0x0e) plen 68 #5536 [hci1] 8594.709282 Read Local Supported Commands (0x04|0x0002) ncmd 1 Status: Success (0x00) Commands: 66 entries Disconnect (Octet 0 - Bit 5) Read Remote Version Information (Octet 2 - Bit 7) Set Event Mask (Octet 5 - Bit 6) Reset (Octet 5 - Bit 7) Read Transmit Power Level (Octet 10 - Bit 2) Set Controller To Host Flow Control (Octet 10 - Bit 5) Host Buffer Size (Octet 10 - Bit 6) Host Number of Completed Packets (Octet 10 - Bit 7) Read Local Version Information (Octet 14 - Bit 3) Read Local Supported Features (Octet 14 - Bit 5) Read BD ADDR (Octet 15 - Bit 1) Read RSSI (Octet 15 - Bit 5) Set Event Mask Page 2 (Octet 22 - Bit 2) LE Set Event Mask (Octet 25 - Bit 0) LE Read Buffer Size (Octet 25 - Bit 1) LE Read Local Supported Features (Octet 25 - Bit 2) LE Set Random Address (Octet 25 - Bit 4) LE Set Advertising Parameters (Octet 25 - Bit 5) LE Read Advertising Channel TX Power (Octet 25 - Bit 6) LE Set Advertising Data (Octet 25 - Bit 7) LE Set Scan Response Data (Octet 26 - Bit 0) LE Set Advertise Enable (Octet 26 - Bit 1) LE Set Scan Parameters (Octet 26 - Bit 2) LE Set Scan Enable (Octet 26 - Bit 3) LE Create Connection (Octet 26 - Bit 4) LE Create Connection Cancel (Octet 26 - Bit 5) LE Read White List Size (Octet 26 - Bit 6) LE Clear White List (Octet 26 - Bit 7) LE Add Device To White List (Octet 27 - Bit 0) LE Remove Device From White List (Octet 27 - Bit 1) LE Connection Update (Octet 27 - Bit 2) LE Set Host Channel Classification (Octet 27 - Bit 3) LE Read Channel Map (Octet 27 - Bit 4) LE Read Remote Used Features (Octet 27 - Bit 5) LE Encrypt (Octet 27 - Bit 6) LE Rand (Octet 27 - Bit 7) LE Start Encryption (Octet 28 - Bit 0) LE Long Term Key Request Reply (Octet 28 - Bit 1) LE Long Term Key Request Neg Reply (Octet 28 - Bit 2) LE Read Supported States (Octet 28 - Bit 3) LE Receiver Test (Octet 28 - Bit 4) LE Transmitter Test (Octet 28 - Bit 5) LE Test End (Octet 28 - Bit 6) Read Authenticated Payload Timeout (Octet 32 - Bit 4) Write Authenticated Payload Timeout (Octet 32 - Bit 5) LE Set Data Length (Octet 33 - Bit 6) LE Read Suggested Default Data Length (Octet 33 - Bit 7) LE Write Suggested Default Data Length (Octet 34 - Bit 0) LE Read Local P-256 Public Key (Octet 34 - Bit 1) LE Generate DHKey (Octet 34 - Bit 2) LE Add Device To Resolving List (Octet 34 - Bit 3) LE Remove Device From Resolving List (Octet 34 - Bit 4) LE Clear Resolving List (Octet 34 - Bit 5) LE Read Resolving List Size (Octet 34 - Bit 6) LE Set Address Resolution Enable (Octet 35 - Bit 1) LE Set Resolvable Private Address Timeout (Octet 35 - Bit 2) LE Read Maximum Data Length (Octet 35 - Bit 3) LE Read PHY (Octet 35 - Bit 4) LE Set Default PHY (Octet 35 - Bit 5) LE Set PHY (Octet 35 - Bit 6) LE Enhanced Receiver Test (Octet 35 - Bit 7) LE Enhanced Transmitter Test (Octet 36 - Bit 0) LE Read Transmit Power (Octet 38 - Bit 7) LE Set Privacy Mode (Octet 39 - Bit 2) Octet 41 - Bit 2 Octet 45 - Bit 6 < HCI Command: LE Read Local Supported Features (0x08|0x0003) plen 0 #5537 [hci1] 8594.709397 > HCI Event: Command Complete (0x0e) plen 12 #5538 [hci1] 8594.711229 LE Read Local Supported Features (0x08|0x0003) ncmd 1 Status: Success (0x00) Features: 0xfd 0x49 0x00 0x00 0x00 0x00 0x00 0x00 LE Encryption Extended Reject Indication Slave-initiated Features Exchange LE Ping LE Data Packet Length Extension LL Privacy Extended Scanner Filter Policies LE 2M PHY LE Coded PHY Channel Selection Algorithm #2 < HCI Command: LE Read Buffer Size (0x08|0x0002) plen 0 #5539 [hci1] 8594.711720 > HCI Event: Command Complete (0x0e) plen 7 #5540 [hci1] 8594.713457 LE Read Buffer Size (0x08|0x0002) ncmd 1 Status: Success (0x00) Data packet length: 27 Num data packets: 3 < HCI Command: LE Read Supported States (0x08|0x001c) plen 0 #5541 [hci1] 8594.713569 > HCI Event: Command Complete (0x0e) plen 12 #5542 [hci1] 8594.715402 LE Read Supported States (0x08|0x001c) ncmd 1 Status: Success (0x00) States: 0x000000ff000300ff Non-connectable Advertising State Scannable Advertising State Connectable Advertising State High Duty Cycle Directed Advertising State Passive Scanning State Active Scanning State Initiating State and Connection State (Master Role) Connection State (Slave Role) Non-connectable Advertising State and Initiating State Scannable Advertising State and Initiating State Connectable Advertising State and Initiating State and Master Role & Slave Role High Duty Cycle Directed Advertising State and Initiating State and Master Role & Slave Role Low Duty Cycle Directed Advertising State and Initiating State and Master Role & Slave Role Connectable Advertising State and Connection State (Master Role) and Master Role & Slave Role High Duty Cycle Directed Advertising State and Connection State (Master Role) and Master Role & Slave Role Low Duty Cycle Directed Advertising State and Connection State (Master Role) and Master Role & Slave Role Connectable Advertising State and Connection State (Slave Role) and Master Role & Slave Role High Duty Cycle Directed Advertising State and Connection State (Slave Role) and Slave Role & Slave Role < HCI Command: Set Event Mask (0x03|0x0001) plen 8 #5543 [hci1] 8594.715510 Mask: 0x200080000204e890 Disconnection Complete Encryption Change Read Remote Version Information Complete Command Complete Command Status Hardware Error Number of Completed Packets Data Buffer Overflow Encryption Key Refresh Complete LE Meta > HCI Event: Command Complete (0x0e) plen 4 #5544 [hci1] 8594.717356 Set Event Mask (0x03|0x0001) ncmd 1 Status: Success (0x00) < HCI Command: LE Set Event Mask (0x08|0x0001) plen 8 #5545 [hci1] 8594.717460 Mask: 0x0000000000080fdf LE Connection Complete LE Advertising Report LE Connection Update Complete LE Read Remote Used Features Complete LE Long Term Key Request LE Data Length Change LE Read Local P-256 Public Key Complete LE Generate DHKey Complete LE Enhanced Connection Complete LE Direct Advertising Report LE PHY Update Complete LE Channel Selection Algorithm > HCI Event: Command Complete (0x0e) plen 4 #5546 [hci1] 8594.719301 LE Set Event Mask (0x08|0x0001) ncmd 1 Status: Success (0x00) < HCI Command: LE Read Advertising Channel TX Power (0x08|0x0007) plen 0 #5547 [hci1] 8594.719461 > HCI Event: Command Complete (0x0e) plen 5 #5548 [hci1] 8594.720726 LE Read Advertising Channel TX Power (0x08|0x0007) ncmd 1 Status: Success (0x00) TX power: 0 dbm (0x00) < HCI Command: LE Read Transmit Power (0x08|0x004b) plen 0 #5549 [hci1] 8594.720819 > HCI Event: Command Complete (0x0e) plen 6 #5550 [hci1] 8594.722135 LE Read Transmit Power (0x08|0x004b) ncmd 1 Status: Success (0x00) Min Tx power: -40 dBm Max Tx power: 8 dBm < HCI Command: LE Read White List Size (0x08|0x000f) plen 0 #5551 [hci1] 8594.722222 > HCI Event: Command Complete (0x0e) plen 5 #5552 [hci1] 8594.723490 LE Read White List Size (0x08|0x000f) ncmd 1 Status: Success (0x00) Size: 8 < HCI Command: LE Clear White List (0x08|0x0010) plen 0 #5553 [hci1] 8594.723574 > HCI Event: Command Complete (0x0e) plen 4 #5554 [hci1] 8594.724707 LE Clear White List (0x08|0x0010) ncmd 1 Status: Success (0x00) < HCI Command: LE Read Resolving List Size (0x08|0x002a) plen 0 #5555 [hci1] 8594.724790 > HCI Event: Command Complete (0x0e) plen 5 #5556 [hci1] 8594.726010 LE Read Resolving List Size (0x08|0x002a) ncmd 1 Status: Success (0x00) Size: 8 < HCI Command: LE Clear Resolving List (0x08|0x0029) plen 0 #5557 [hci1] 8594.726093 > HCI Event: Command Complete (0x0e) plen 4 #5558 [hci1] 8594.727228 LE Clear Resolving List (0x08|0x0029) ncmd 1 Status: Success (0x00) < HCI Command: LE Set Resolvable Private Address Timeout (0x08|0x002e) plen 2 #5559 [hci1] 8594.727307 Timeout: 900 seconds > HCI Event: Command Complete (0x0e) plen 4 #5560 [hci1] 8594.728608 LE Set Resolvable Private Address Timeout (0x08|0x002e) ncmd 1 Status: Success (0x00) < HCI Command: LE Read Maximum Data Length (0x08|0x002f) plen 0 #5561 [hci1] 8594.728696 > HCI Event: Command Complete (0x0e) plen 12 #5562 [hci1] 8594.730518 LE Read Maximum Data Length (0x08|0x002f) ncmd 1 Status: Success (0x00) Max TX octets: 251 Max TX time: 2704 Max RX octets: 251 Max RX time: 2704 < HCI Command: LE Read Suggested Default Data Length (0x08|0x0023) plen 0 #5563 [hci1] 8594.730605 > HCI Event: Command Complete (0x0e) plen 8 #5564 [hci1] 8594.732078 LE Read Suggested Default Data Length (0x08|0x0023) ncmd 1 Status: Success (0x00) TX octets: 27 TX time: 328 < HCI Command: Set Event Mask Page 2 (0x03|0x0063) plen 8 #5565 [hci1] 8594.732161 Mask: 0x0000000000800000 Authenticated Payload Timeout Expired > HCI Event: Command Complete (0x0e) plen 4 #5566 [hci1] 8594.733991 Set Event Mask Page 2 (0x03|0x0063) ncmd 1 Status: Success (0x00) < HCI Command: LE Write Suggested Default Data Length (0x08|0x0024) plen 4 #5567 [hci1] 8594.734074 TX octets: 251 TX time: 2704 > HCI Event: Command Complete (0x0e) plen 4 #5568 [hci1] 8594.735551 LE Write Suggested Default Data Length (0x08|0x0024) ncmd 1 Status: Success (0x00) < HCI Command: LE Set Default PHY (0x08|0x0031) plen 3 #5569 [hci1] 8594.735637 All PHYs preference: 0x00 TX PHYs preference: 0x01 LE 1M RX PHYs preference: 0x01 LE 1M > HCI Event: Command Complete (0x0e) plen 4 #5570 [hci1] 8594.737024 LE Set Default PHY (0x08|0x0031) ncmd 1 Status: Success (0x00) = Index Info: 00:00:00:00:00:00 (Nordic Semiconductor ASA) [hci1] 8594.737089 < HCI Command: LE Set Advertising Data (0x08|0x0008) plen 32 #5571 [hci1] 8594.737156 Length: 6 Flags: 0x04 BR/EDR Not Supported TX power: 0 dBm > HCI Event: Command Complete (0x0e) plen 4 #5572 [hci1] 8594.741112 LE Set Advertising Data (0x08|0x0008) ncmd 1 Status: Success (0x00) < HCI Command: LE Set Scan Response Data (0x08|0x0009) plen 32 #5573 [hci1] 8594.741203 Length: 13 Name (short): dcc-debug- > HCI Event: Command Complete (0x0e) plen 4 #5574 [hci1] 8594.745158 LE Set Scan Response Data (0x08|0x0009) ncmd 1 Status: Success (0x00) @ MGMT Event: New Settings (0x0006) plen 4 {0x0002} [hci1] 8594.745226 Current settings: 0x00008a11 Powered Bondable Low Energy Secure Connections Static Address @ MGMT Event: New Settings (0x0006) plen 4 {0x0001} [hci1] 8594.745226 Current settings: 0x00008a11 Powered Bondable Low Energy Secure Connections Static Address @ RAW Close: poltys_tool {0x0004} 8594.745346 < HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7 #5575 [hci1] 8594.745437 Type: Passive (0x00) Interval: 10.000 msec (0x0010) Window: 10.000 msec (0x0010) Own address type: Random (0x01) Filter policy: Accept all advertisement (0x00) > HCI Event: Command Complete (0x0e) plen 4 #5576 [hci1] 8594.747200 LE Set Scan Parameters (0x08|0x000b) ncmd 1 Status: Success (0x00) < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 #5577 [hci1] 8594.747343 Scanning: Enabled (0x01) Filter duplicates: Disabled (0x00) > HCI Event: Command Complete (0x0e) plen 4 #5578 [hci1] 8594.748648 LE Set Scan Enable (0x08|0x000c) ncmd 1 Status: Invalid HCI Command Parameters (0x12) [hci1] 8594.829497