Exemple #1
0
 def reset(self):
     """
     Reset sniffer.
     """
     pkt = ResetCommand()
     self.write(pkt)
     self.wait_packet(ResetResponse)
Exemple #2
0
 def reset(self):
     """
     Reset sniffer.
     """
     pkt = ResetCommand()
     self.set_timeout(0.2)
     self.flush()
     self.write(pkt)
     self.wait_packet(ResetResponse)