mirror of
https://github.com/espressif/openthread.git
synced 2026-07-24 13:04:07 +00:00
[tests] add traffic for Cert_5_3_06_RouterIdMask.py (#2295)
This commit is contained in:
@@ -192,6 +192,10 @@ class otCli:
|
||||
self.pexpect.expect('Done')
|
||||
return addr16
|
||||
|
||||
def get_router_id(self):
|
||||
rloc16 = self.get_addr16()
|
||||
return (rloc16 >> 10)
|
||||
|
||||
def get_addr64(self):
|
||||
self.send_command('extaddr')
|
||||
i = self.pexpect.expect('([0-9a-fA-F]{16})')
|
||||
|
||||
Reference in New Issue
Block a user