mirror of
https://github.com/espressif/openthread.git
synced 2026-08-29 13:29:54 +00:00
[thread-cert] refactor case 9.2.7 using pktverify (#5459)
This commit is contained in:
@@ -1392,7 +1392,7 @@ class NodeImpl:
|
||||
self.send_command('dataset commit active')
|
||||
self._expect('Done')
|
||||
|
||||
def set_pending_dataset(self, pendingtimestamp, activetimestamp, panid=None, channel=None):
|
||||
def set_pending_dataset(self, pendingtimestamp, activetimestamp, panid=None, channel=None, delay=None):
|
||||
self.send_command('dataset clear')
|
||||
self._expect('Done')
|
||||
|
||||
@@ -1414,6 +1414,11 @@ class NodeImpl:
|
||||
self.send_command(cmd)
|
||||
self._expect('Done')
|
||||
|
||||
if delay is not None:
|
||||
cmd = 'dataset delay %d' % delay
|
||||
self.send_command(cmd)
|
||||
self._expect('Done')
|
||||
|
||||
# Set the meshlocal prefix in config.py
|
||||
self.send_command('dataset meshlocalprefix %s' % config.MESH_LOCAL_PREFIX.split('/')[0])
|
||||
self._expect('Done')
|
||||
|
||||
Reference in New Issue
Block a user