Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance debug log for wifi scan, sta_start, sta_stop #3800

Merged
merged 1 commit into from Dec 7, 2020

Conversation

BennyE
Copy link

@BennyE BennyE commented Dec 7, 2020

I found it very helpful to have those information in the UART console, while working on the Wi-Fi / i2c related topics.
I don't believe there are any negative side-effects, but would love to hear from you.

I (4129) wifi_init: WiFi RX IRAM OP enabled
I (4269) phy: phy_version: 603, 72dfd77, Jul  7 2020, 19:57:05, 0, 2
I (4269) wifi:enable tsf
I (4269) wifi:mode : sta (7c:df:a1:a1:b2:c3)
W (4269) wifi: start
W (5589) wifi: scan
W (5829) wifi: scan
W (6159) wifi: scan
W (6429) wifi: scan
W (6549) wifi: scan
W (6669) wifi: scan
W (6789) wifi: scan
W (6919) wifi: scan
W (7039) wifi: scan
W (7159) wifi: scan
W (7279) wifi: scan
I (9329) wifi:new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1
I (9809) wifi:state: init -> auth (b0)
I (9839) wifi:state: auth -> assoc (0)
I (9849) wifi:state: assoc -> run (10)
I (11059) wifi:connected with Stellar-DSPSK, aid = 1, channel 6, BW20, bssid = dc:08:56:aa:bb:cc
I (11059) wifi:security: WPA2-PSK, phy: bgn, rssi: -49
I (11059) wifi:pm start, type: 1

W (11069) wifi: connected
I (11109) wifi:AP's beacon interval = 102400 us, DTIM period = 2
W (11599) i2c: i2c_reset
W (11599) i2c: i2c_reset (num): 0, i2c_status: 0
W (11599) i2c: i2c_reset (num): 1, i2c_status: 0
I (11599) wifi:state: run -> init (0)
I (11599) wifi:pm stop, total sleep time: 388234 us / 535638 us

I (11609) wifi:new:<6,0>, old:<6,0>, ap:<255,255>, sta:<6,0>, prof:1
W (11609) wifi: disconnected
W (11619) wifi: reason 8 0x08
W (11619) wifi: stop
I (11649) wifi:flush txq
I (11649) wifi:stop sw txq
I (11649) wifi:lmac stop hw txq
I (11649) wifi:Deinit lldesc rx mblock:4

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

@tannewt tannewt merged commit 22ad76b into adafruit:main Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants