ESP-IDF + 0/2 examples
SourceVu will show references to otThreadGetDeviceRole() from the following samples and libraries:
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

OT_DEVICE_ROLE_DISABLED The Thread stack is disabled. OT_DEVICE_ROLE_DETACHED The device is not currently participating in a Thread network/partition. OT_DEVICE_ROLE_CHILD The device is currently operating as a Thread Child. OT_DEVICE_ROLE_ROUTER The device is currently operating as a Thread Router. OT_DEVICE_ROLE_LEADER The device is currently operating as a Thread Leader.

References

from examples