mirror of
https://github.com/espressif/openthread.git
synced 2026-08-05 02:17:47 +00:00
[test] save packets as pcap file in thread-cert tests (#2965)
This commit is contained in:
@@ -51,7 +51,12 @@ class Node:
|
||||
self.interface.set_timeout(100)
|
||||
|
||||
def __del__(self):
|
||||
del self.interface
|
||||
self.destroy()
|
||||
|
||||
def destroy(self):
|
||||
if self.interface:
|
||||
self.interface.destroy()
|
||||
self.interface = None
|
||||
|
||||
def set_mode(self, mode):
|
||||
self.interface.set_mode(mode)
|
||||
|
||||
Reference in New Issue
Block a user