Implement PAN ID Query/Conflict. (#556)

This commit is contained in:
Jonathan Hui
2016-09-13 09:18:05 -07:00
committed by GitHub
parent 6243511d61
commit c44c20ef66
17 changed files with 865 additions and 1 deletions
+5
View File
@@ -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')