feat(openthread): Add RLOC16 in otPrintNetworkInformation() (#11480)
* feat(openthread): Add RLOC16 in otPrintNetworkInformation()
This commit is contained in:
parent
6d4886cd1f
commit
f7889116b1
1 changed files with 2 additions and 0 deletions
|
|
@ -335,6 +335,8 @@ void OpenThread::otPrintNetworkInformation(Stream &output) {
|
|||
|
||||
output.printf("Role: %s", otGetStringDeviceRole());
|
||||
output.println();
|
||||
output.printf("RLOC16: 0x%04x", otThreadGetRloc16(mInstance)); // RLOC16
|
||||
output.println();
|
||||
output.printf("Network Name: %s", otThreadGetNetworkName(mInstance));
|
||||
output.println();
|
||||
output.printf("Channel: %d", otLinkGetChannel(mInstance));
|
||||
|
|
|
|||
Loading…
Reference in a new issue