feat(openthread): Add RLOC16 in otPrintNetworkInformation() (#11480)

* feat(openthread): Add RLOC16 in otPrintNetworkInformation()
This commit is contained in:
Ludovic BOUÉ 2025-06-18 19:55:11 +02:00 committed by GitHub
parent 6d4886cd1f
commit f7889116b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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));