mirror of
https://github.com/espressif/openthread.git
synced 2026-07-27 14:27:47 +00:00
Implement PAN ID Query/Conflict. (#556)
This commit is contained in:
@@ -325,6 +325,11 @@ class Node:
|
||||
self.send_command('netdataregister')
|
||||
self.pexpect.expect('Done')
|
||||
|
||||
def panid_query(self, panid, mask, ipaddr):
|
||||
cmd = 'commissioner panid ' + panid + ' ' + mask + ' ' + ipaddr
|
||||
self.send_command(cmd)
|
||||
self.pexpect.expect('Conflict:', timeout=8)
|
||||
|
||||
def scan(self):
|
||||
self.send_command('scan')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user