Skip to content

Instantly share code, notes, and snippets.

@Vudentz
Created January 26, 2023 21:58
Show Gist options
  • Save Vudentz/82938a4b7d501d5fea43a3b71e265e12 to your computer and use it in GitHub Desktop.
Save Vudentz/82938a4b7d501d5fea43a3b71e265e12 to your computer and use it in GitHub Desktop.
= mgmt-tester: Add Advertising - Success 18 (Power -> off, Remove) - setup 13:56:31.851445
= mgmt-tester: Adding advertising instance with timeout 13:56:31.851449
@ MGMT Command: Set Low Energy (0x000d) plen 1 {0x0001} [hci3] 13:56:31.850216
Low Energy: Enabled (0x01)
@ MGMT Event: Command Complete (0x0001) plen 7 {0x0001} [hci3] 13:56:31.850217
Set Low Energy (0x000d) plen 4
Status: Success (0x00)
Current settings: 0x00000280
BR/EDR
Low Energy
@ MGMT Event: New Settings (0x0006) plen 4 {0x0002} [hci3] 13:56:31.850217
Current settings: 0x00000280
BR/EDR
Low Energy
@ MGMT Command: Set Powered (0x0005) plen 1 {0x0001} [hci3] 13:56:31.850227
Powered: Enabled (0x01)
< HCI Command: Write LE Host Supported (0x03|0x006d) plen 2 #75 [hci3] 13:56:31.850245
Supported: 0x01
Simultaneous: 0x00
> HCI Event: Command Complete (0x0e) plen 4 #76 [hci3] 13:56:31.850262
Write LE Host Supported (0x03|0x006d) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Advertising Data (0x08|0x0008) plen 32 #77 [hci3] 13:56:31.850271
Length: 3
TX power: 0 dBm
> HCI Event: Command Complete (0x0e) plen 4 #78 [hci3] 13:56:31.850280
LE Set Advertising Data (0x08|0x0008) ncmd 1
Status: Success (0x00)
< HCI Command: Write Local Name (0x03|0x0013) plen 248 #79 [hci3] 13:56:31.850288
Name:
> HCI Event: Command Complete (0x0e) plen 4 #80 [hci3] 13:56:31.850294
Write Local Name (0x03|0x0013) ncmd 1
Status: Success (0x00)
@ MGMT Event: Command Complete (0x0001) plen 7 {0x0001} [hci3] 13:56:31.850301
Set Powered (0x0005) plen 4
Status: Success (0x00)
Current settings: 0x00000281
Powered
BR/EDR
Low Energy
@ MGMT Event: New Settings (0x0006) plen 4 {0x0002} [hci3] 13:56:31.850303
Current settings: 0x00000281
Powered
BR/EDR
Low Energy
@ MGMT Command: Add Advertising (0x003e) plen 18 {0x0001} [hci3] 13:56:31.850317
Instance: 1
Flags: 0x00000000
Duration: 0
Timeout: 1
Advertising data length: 7
Name (short): test1
Scan response length: 0
@ MGMT Event: Advertising Added (0x0023) plen 1 {0x0002} [hci3] 13:56:31.850319
Instance: 1
< HCI Command: LE Set Advertising Data (0x08|0x0008) plen 32 #81 [hci3] 13:56:31.850327
Length: 7
Name (short): test1
> HCI Event: Command Complete (0x0e) plen 4 #82 [hci3] 13:56:31.850333
LE Set Advertising Data (0x08|0x0008) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Random Address (0x08|0x0005) plen 6 #83 [hci3] 13:56:31.850340
Address: 1A:1D:D6:86:C0:0A (Non-Resolvable)
> HCI Event: Command Complete (0x0e) plen 4 #84 [hci3] 13:56:31.850347
LE Set Random Address (0x08|0x0005) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Advertising Parameters (0x08|0x0006) plen 15 #85 [hci3] 13:56:31.850364
Min advertising interval: 100.000 msec (0x00a0)
Max advertising interval: 150.000 msec (0x00f0)
Type: Non connectable undirected - ADV_NONCONN_IND (0x03)
Own address type: Random (0x01)
Direct address type: Public (0x00)
Direct address: 00:00:00:00:00:00 (OUI 00-00-00)
Channel map: 37, 38, 39 (0x07)
Filter policy: Allow Scan Request from Any, Allow Connect Request from Any (0x00)
> HCI Event: Command Complete (0x0e) plen 4 #86 [hci3] 13:56:31.850372
LE Set Advertising Parameters (0x08|0x0006) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Advertise Enable (0x08|0x000a) plen 1 #87 [hci3] 13:56:31.850381
Advertising: Enabled (0x01)
> HCI Event: Command Complete (0x0e) plen 4 #88 [hci3] 13:56:31.850388
LE Set Advertise Enable (0x08|0x000a) ncmd 1
Status: Success (0x00)
@ MGMT Event: Command Complete (0x0001) plen 4 {0x0001} [hci3] 13:56:31.850394
Add Advertising (0x003e) plen 1
Status: Success (0x00)
Instance: 1
= mgmt-tester: Add Advertising setup complete (instance 1) 13:56:31.851678
= mgmt-tester: Test setup condition added, total 1 13:56:31.851682
= mgmt-tester: Client set connectable: Success (0x00) 13:56:31.851686
= mgmt-tester: Test setup condition complete, 0 left 13:56:31.851689
= mgmt-tester: Add Advertising - Success 18 (Power -> off, Remove) - setup complete 13:56:31.851693
= mgmt-tester: Add Advertising - Success 18 (Power -> off, Remove) - run 13:56:31.851697
= mgmt-tester: Registering Advertising Removed notification 13:56:31.851701
= mgmt-tester: Test condition added, total 1 13:56:31.851706
= mgmt-tester: Sending Set Powered (0x0005) 13:56:31.851709
= mgmt-tester: Test condition added, total 2 13:56:31.851713
@ MGMT Command: Set Powered (0x0005) plen 1 {0x0001} [hci3] 13:56:31.850471
Powered: Disabled (0x00)
@ MGMT Event: Advertising Removed (0x0024) plen 1 {0x0002} [hci3] 13:56:31.850476
Instance: 1
@ MGMT Event: Advertising Removed (0x0024) plen 1 {0x0001} [hci3] 13:56:31.850476
Instance: 1
@ MGMT Event: Command Complete (0x0001) plen 7 {0x0001} [hci3] 13:56:31.850480
Set Powered (0x0005) plen 4
Status: Success (0x00)
Current settings: 0x00000280
BR/EDR
Low Energy
@ MGMT Event: New Settings (0x0006) plen 4 {0x0002} [hci3] 13:56:31.850481
Current settings: 0x00000280
BR/EDR
Low Energy
= Close Index: 00:AA:01:00:00:03 [hci3] 13:56:31.850485
= mgmt-tester: New Advertising Removed event received 13:56:31.851757
= mgmt-tester: Test condition complete, 1 left 13:56:31.851761
= mgmt-tester: Set Powered (0x0005): Success (0x00) 13:56:31.851765
= mgmt-tester: Test condition complete, 0 left 13:56:31.851769
= mgmt-tester: Add Advertising - Success 18 (Power -> off, Remove) - test passed 13:56:31.851772
= mgmt-tester: Add Advertising - Success 18 (Power -> off, Remove) - teardown 13:56:31.851775
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment