Skip to content

Commit c336d93

Browse files
committed
feat(openthread): print leader RLOC information
1 parent a48f398 commit c336d93

File tree

1 file changed

+4
-1
lines changed
  • libraries/OpenThread/examples/Native/SimpleThreadNetwork/RouterNode

1 file changed

+4
-1
lines changed

libraries/OpenThread/examples/Native/SimpleThreadNetwork/RouterNode/RouterNode.ino

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ void loop() {
6767

6868
IPAddress nodeRloc = threadChildNode.getRloc();
6969
Serial.printf("Node RLOC: %s\r\n", nodeRloc.toString().c_str());
70-
70+
71+
IPAddress leaderRloc = threadChildNode.getLeaderRloc();
72+
Serial.printf("Leader RLOC: %s\r\n", leaderRloc.toString().c_str());
73+
7174
Serial.println();
7275

7376
} else {

0 commit comments

Comments
 (0)