You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/components/openthread.mdx
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,9 +99,32 @@ See [https://openthread.io/guides/thread-primer/node-roles-and-types](https://op
99
99
The Poll Period makes the device behave as a SED. Follow on work is needed utilizing Power Management and/or Light Sleep capability in esp-idf.
100
100
If the device is always awake, the API timeout is 60 seconds, so a ping request will force interaction with the parent when the poll period is greater than 60 seconds.
101
101
102
+
## OpenThread ESP-IDF Logging
103
+
104
+
The OpenThread log level is controlled by the ``log_level`` setting in the ESP-IDF framework configuration.
105
+
The ESP-IDF log levels are mapped to OpenThread log levels as follows:
106
+
107
+
| ESP-IDF Level | OpenThread Level |
108
+
|---------------|------------------|
109
+
| NONE | NONE |
110
+
| ERROR | CRIT |
111
+
| WARN | WARN |
112
+
| INFO | NOTE |
113
+
| DEBUG | INFO |
114
+
| VERBOSE | DEBG |
115
+
116
+
```yaml
117
+
# Example ESP-IDF framework log_level setting
118
+
esp32:
119
+
framework:
120
+
type: esp-idf
121
+
log_level: INFO
122
+
```
123
+
102
124
## See Also
103
125
104
126
- [OpenThread Info Text Sensor](/components/text_sensor/openthread_info/)
0 commit comments