Skip to content

Instantly share code, notes, and snippets.

@Vudentz
Created June 10, 2021 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vudentz/c2521303fef8105fae5fb4a12679a968 to your computer and use it in GitHub Desktop.
Save Vudentz/c2521303fef8105fae5fb4a12679a968 to your computer and use it in GitHub Desktop.
= mgmt-tester: Enabling LL Privacy feature 14:38:28.977622
@ MGMT Command: Set Low Energy (0x000d) plen 1 {0x0001} [hci0] 14:38:28.651362
Low Energy: Enabled (0x01)
@ MGMT Event: Command Complete (0x0001) plen 7 {0x0001} [hci0] 14:38:28.651374
Set Low Energy (0x000d) plen 4
Status: Success (0x00)
Current settings: 0x00000280
BR/EDR
Low Energy
@ MGMT Event: New Settings (0x0006) plen 4 {0x0002} [hci0] 14:38:28.651382
Current settings: 0x00000280
BR/EDR
Low Energy
@ MGMT Command: Set Privacy (0x002f) plen 17 {0x0001} [hci0] 14:38:28.651437
Privacy: Enabled (0x01)
Key: 01020304050607080102030405060708
@ MGMT Event: Command Complete (0x0001) plen 7 {0x0001} [hci0] 14:38:28.651450
Set Privacy (0x002f) plen 4
Status: Success (0x00)
Current settings: 0x00002280
BR/EDR
Low Energy
Privacy
@ MGMT Event: New Settings (0x0006) plen 4 {0x0002} [hci0] 14:38:28.651458
Current settings: 0x00002280
BR/EDR
Low Energy
Privacy
@ MGMT Command: Load Identi.. (0x0030) plen 25 {0x0001} [hci0] 14:38:28.651507
Keys: 1
LE Address: BC:9A:78:56:34:12 (OUI BC-9A-78)
Key: 11223344556677881122334455667788
@ MGMT Event: Command Complete (0x0001) plen 3 {0x0001} [hci0] 14:38:28.651526
Load Identity Resolving Keys (0x0030) plen 0
Status: Success (0x00)
= mgmt-tester: Load IRK completed 14:38:28.995360
@ MGMT Command: Set Experim.. (0x004a) plen 17 {0x0001} [hci0] 14:38:28.651969
UUID: BlueZ Experimental LL privacy
Action: Enabled (0x01)
@ MGMT Event: Command Compl.. (0x0001) plen 23 {0x0001} [hci0] 14:38:28.651984
Set Experimental Feature (0x004a) plen 20
Status: Success (0x00)
UUID: BlueZ Experimental LL privacy
Flags: 0x00000003
Active
Settings change
= mgmt-tester: LL Privacy Exp feature is enabled 14:38:29.000653
@ MGMT Command: Add Device (0x0033) plen 8 {0x0001} [hci0] 14:38:28.652394
LE Address: BC:9A:78:56:34:12 (OUI BC-9A-78)
Action: Auto-connect remote device (0x02)
@ MGMT Event: Device Added (0x001a) plen 8 {0x0002} [hci0] 14:38:28.652430
LE Address: BC:9A:78:56:34:12 (OUI BC-9A-78)
Action: Auto-connect remote device (0x02)
@ MGMT Event: Device Flags... (0x002a) plen 15 {0x0002} [hci0] 14:38:28.652446
LE Address: BC:9A:78:56:34:12 (OUI BC-9A-78)
Supported Flags: 0x00000001
Remote Wakeup
Current Flags: 0x00000000
@ MGMT Event: Device Flags... (0x002a) plen 15 {0x0001} [hci0] 14:38:28.652446
LE Address: BC:9A:78:56:34:12 (OUI BC-9A-78)
Supported Flags: 0x00000001
Remote Wakeup
Current Flags: 0x00000000
@ MGMT Event: Command Compl.. (0x0001) plen 10 {0x0001} [hci0] 14:38:28.652474
Add Device (0x0033) plen 7
Status: Success (0x00)
LE Address: BC:9A:78:56:34:12 (OUI BC-9A-78)
= mgmt-tester: New Device is Added : BC:9A:78:56:34:12 14:38:29.022896
@ MGMT Command: Set Powered (0x0005) plen 1 {0x0001} [hci0] 14:38:28.652905
Powered: Enabled (0x01)
< HCI Command: Write LE Host.. (0x03|0x006d) plen 2 #81 [hci0] 14:38:28.652977
Supported: 0x01
Simultaneous: 0x00
> HCI Event: Command Complete (0x0e) plen 4 #82 [hci0] 14:38:28.653030
Write LE Host Supported (0x03|0x006d) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Exten.. (0x08|0x0036) plen 25 #83 [hci0] 14:38:28.653055
Handle: 0x00
Properties: 0x0012
Scannable
Use legacy advertising PDUs: ADV_SCAN_IND
Min advertising interval: 1280.000 msec (0x0800)
Max advertising interval: 1280.000 msec (0x0800)
Channel map: 37, 38, 39 (0x07)
Own address type: Random (0x03)
Peer address type: Public (0x00)
Peer address: 00:00:00:00:00:00 (OUI 00-00-00)
Filter policy: Allow Scan Request from Any, Allow Connect Request from Any (0x00)
TX power: Host has no preference (0x7f)
Primary PHY: LE 1M (0x01)
Secondary max skip: 0x00
Secondary PHY: LE 1M (0x01)
SID: 0x00
Scan request notifications: Disabled (0x00)
> HCI Event: Command Complete (0x0e) plen 5 #84 [hci0] 14:38:28.653078
LE Set Extended Advertising Parameters (0x08|0x0036) ncmd 1
Status: Success (0x00)
TX power (selected): 0 dbm (0x00)
< HCI Command: Write Local.. (0x03|0x0013) plen 248 #85 [hci0] 14:38:28.653104
Name:
> HCI Event: Command Complete (0x0e) plen 4 #86 [hci0] 14:38:28.653125
Write Local Name (0x03|0x0013) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Extend.. (0x08|0x0037) plen 7 #87 [hci0] 14:38:28.653146
Handle: 0x00
Operation: Complete extended advertising data (0x03)
Fragment preference: Minimize fragmentation (0x01)
Data length: 0x03
TX power: 0 dBm
@ MGMT Event: Command Complete (0x0001) plen 7 {0x0001} [hci0] 14:38:28.653164
Set Powered (0x0005) plen 4
Status: Success (0x00)
Current settings: 0x00002281
Powered
BR/EDR
Low Energy
Privacy
@ MGMT Event: New Settings (0x0006) plen 4 {0x0002} [hci0] 14:38:28.653176
Current settings: 0x00002281
Powered
BR/EDR
Low Energy
Privacy
= mgmt-tester: Controller powered on 14:38:29.046554
= mgmt-tester: Test setup condition added, total 1 14:38:29.047289
> HCI Event: Command Complete (0x0e) plen 4 #88 [hci0] 14:38:28.653887
LE Set Extended Advertising Data (0x08|0x0037) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Random.. (0x08|0x0005) plen 6 #89 [hci0] 14:38:28.653916
Address: 7B:74:64:A0:50:24 (Resolvable)
> HCI Event: Command Complete (0x0e) plen 4 #90 [hci0] 14:38:28.653942
LE Set Random Address (0x08|0x0005) ncmd 1
Status: Success (0x00)
< HCI Command: LE Add Device.. (0x08|0x0011) plen 7 #91 [hci0] 14:38:28.653965
Address type: Public (0x00)
Address: BC:9A:78:56:34:12 (OUI BC-9A-78)
> HCI Event: Command Complete (0x0e) plen 4 #92 [hci0] 14:38:28.654035
LE Add Device To White List (0x08|0x0011) ncmd 1
Status: Success (0x00)
< HCI Command: LE Add Devic.. (0x08|0x0027) plen 39 #93 [hci0] 14:38:28.654063
Address type: Public (0x00)
Address: BC:9A:78:56:34:12 (OUI BC-9A-78)
Peer identity resolving key: 11223344556677881122334455667788
Local identity resolving key: 01020304050607080102030405060708
= mgmt-tester: Client set connectable: Success (0x00) 14:38:29.064125
= mgmt-tester: Test setup condition complete, 0 left 14:38:29.064868
= mgmt-tester: Add Device - Success 12 - 2nd device... 14:38:29.065712
> HCI Event: Command Complete (0x0e) plen 4 #94 [hci0] 14:38:28.655382
LE Add Device To Resolving List (0x08|0x0027) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Addres.. (0x08|0x002d) plen 1 #95 [hci0] 14:38:28.655412
Address resolution: Enabled (0x01)
> HCI Event: Command Complete (0x0e) plen 4 #96 [hci0] 14:38:28.659182
LE Set Address Resolution Enable (0x08|0x002d) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Extend.. (0x08|0x0041) plen 8 #97 [hci0] 14:38:28.659215
Own address type: Random (0x03)
Filter policy: Ignore not in white list (0x01)
PHYs: 0x01
Entry 0: LE 1M
Type: Passive (0x00)
Interval: 60.000 msec (0x0060)
Window: 30.000 msec (0x0030)
> HCI Event: Command Complete (0x0e) plen 4 #98 [hci0] 14:38:28.659239
LE Set Extended Scan Parameters (0x08|0x0041) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Extend.. (0x08|0x0042) plen 6 #99 [hci0] 14:38:28.659260
Extended scan: Enabled (0x01)
Filter duplicates: Enabled (0x01)
Duration: 0 msec (0x0000)
Period: 0.00 sec (0x0000)
> HCI Event: Command Complete (0x0e) plen 4 #100 [hci0] 14:38:28.659281
LE Set Extended Scan Enable (0x08|0x0042) ncmd 1
Status: Success (0x00)
= mgmt-tester: Add Device - Success 12 - 2nd device... 14:38:29.085065
= mgmt-tester: Registering Device Added notification 14:38:29.085829
= mgmt-tester: Test condition added, total 1 14:38:29.086681
= mgmt-tester: Registering HCI command callback 14:38:29.087538
= mgmt-tester: Test condition added, total 2 14:38:29.088362
= mgmt-tester: Sending Add Device (0x0033) 14:38:29.089167
= mgmt-tester: Test condition added, total 3 14:38:29.090025
@ MGMT Command: Add Device (0x0033) plen 8 {0x0001} [hci0] 14:38:28.661653
LE Address: 66:55:44:33:22:11 (OUI 66-55-44)
Action: Auto-connect remote device (0x02)
< HCI Command: LE Set Exten.. (0x08|0x0042) plen 6 #101 [hci0] 14:38:28.661687
Extended scan: Disabled (0x00)
Filter duplicates: Disabled (0x00)
Duration: 0 msec (0x0000)
Period: 0.00 sec (0x0000)
@ MGMT Event: Device Added (0x001a) plen 8 {0x0002} [hci0] 14:38:28.661695
LE Address: 66:55:44:33:22:11 (OUI 66-55-44)
Action: Auto-connect remote device (0x02)
@ MGMT Event: Device Flags... (0x002a) plen 15 {0x0002} [hci0] 14:38:28.661717
LE Address: 66:55:44:33:22:11 (OUI 66-55-44)
Supported Flags: 0x00000001
Remote Wakeup
Current Flags: 0x00000000
@ MGMT Event: Device Flags... (0x002a) plen 15 {0x0001} [hci0] 14:38:28.661717
LE Address: 66:55:44:33:22:11 (OUI 66-55-44)
Supported Flags: 0x00000001
Remote Wakeup
Current Flags: 0x00000000
@ MGMT Event: Command Compl.. (0x0001) plen 10 {0x0001} [hci0] 14:38:28.661745
Add Device (0x0033) plen 7
Status: Success (0x00)
LE Address: 66:55:44:33:22:11 (OUI 66-55-44)
= mgmt-tester: New Device Added event received 14:38:29.113434
= mgmt-tester: Test condition complete, 2 left 14:38:29.114185
> HCI Event: Command Complete (0x0e) plen 4 #102 [hci0] 14:38:28.662416
LE Set Extended Scan Enable (0x08|0x0042) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Addre.. (0x08|0x002d) plen 1 #103 [hci0] 14:38:28.662457
Address resolution: Disabled (0x00)
= mgmt-tester: HCI Command 0x2042 length 6 14:38:29.117591
= mgmt-tester: Add Device (0x0033): Success (0x00) 14:38:29.118308
= mgmt-tester: Test condition complete, 1 left 14:38:29.118974
> HCI Event: Command Complete (0x0e) plen 4 #104 [hci0] 14:38:28.663533
LE Set Address Resolution Enable (0x08|0x002d) ncmd 1
Status: Success (0x00)
< HCI Command: LE Add Devic.. (0x08|0x0011) plen 7 #105 [hci0] 14:38:28.663567
Address type: Public (0x00)
Address: 66:55:44:33:22:11 (OUI 66-55-44)
= mgmt-tester: HCI Command 0x202d length 1 14:38:29.125312
> HCI Event: Command Complete (0x0e) plen 4 #106 [hci0] 14:38:28.664345
LE Add Device To White List (0x08|0x0011) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Addre.. (0x08|0x002d) plen 1 #107 [hci0] 14:38:28.664381
Address resolution: Enabled (0x01)
= mgmt-tester: HCI Command 0x2011 length 7 14:38:29.128846
> HCI Event: Command Complete (0x0e) plen 4 #108 [hci0] 14:38:28.666329
LE Set Address Resolution Enable (0x08|0x002d) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Exten.. (0x08|0x0041) plen 8 #109 [hci0] 14:38:28.666363
Own address type: Random (0x03)
Filter policy: Ignore not in white list (0x01)
PHYs: 0x01
Entry 0: LE 1M
Type: Passive (0x00)
Interval: 60.000 msec (0x0060)
Window: 30.000 msec (0x0030)
= mgmt-tester: HCI Command 0x202d length 1 14:38:29.134092
> HCI Event: Command Complete (0x0e) plen 4 #110 [hci0] 14:38:28.666669
LE Set Extended Scan Parameters (0x08|0x0041) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Exten.. (0x08|0x0042) plen 6 #111 [hci0] 14:38:28.666708
Extended scan: Enabled (0x01)
Filter duplicates: Enabled (0x01)
Duration: 0 msec (0x0000)
Period: 0.00 sec (0x0000)
= mgmt-tester: HCI Command 0x2041 length 8 14:38:29.138762
> HCI Event: Command Complete (0x0e) plen 4 #112 [hci0] 14:38:28.667031
LE Set Extended Scan Enable (0x08|0x0042) ncmd 1
Status: Success (0x00)
= mgmt-tester: HCI Command 0x2042 length 6 14:38:29.141271
Add Device - Success 12 - 2nd device in resolv list - test timed out
Add Device - Success 12 - 2nd device in resolv list - teardown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment