Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
eddcf0a5
Commit
eddcf0a5
authored
Nov 01, 2016
by
Paul Sokolovsky
Browse files
esp8266/scripts/port_diag: Add descriptions for esf_buf types.
parent
805f7ea2
Changes
1
Hide whitespace changes
Inline
Side-by-side
esp8266/scripts/port_diag.py
View file @
eddcf0a5
...
...
@@ -24,8 +24,8 @@ def main():
print
(
"STA ifconfig:"
,
network
.
WLAN
(
network
.
STA_IF
).
ifconfig
())
print
(
"AP ifconfig:"
,
network
.
WLAN
(
network
.
AP_IF
).
ifconfig
())
print
(
"Free WiFi driver buffers of type:"
)
for
i
in
range
(
5
):
print
(
"%d: %d"
%
(
i
,
esp
.
esf_free_bufs
(
i
)))
for
i
,
comm
in
enumerate
((
"1,2 TX"
,
"4 Mngmt TX(len: 0x41-0x100)"
,
"5 Mngmt TX (len: 0-0x40)"
,
"7"
,
"8 RX"
)
):
print
(
"%d: %d
(%s)
"
%
(
i
,
esp
.
esf_free_bufs
(
i
)
,
comm
))
print
(
"lwIP PCBs:"
)
lwip
.
print_pcbs
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment