mirror of
https://github.com/espressif/openthread.git
synced 2026-08-06 18:57:47 +00:00
[tests] add traffic analysis for Cert_5_3_05_RoutingLinkQuality.py (#2289)
This commit is contained in:
@@ -384,6 +384,15 @@ class MessagesSet(object):
|
||||
|
||||
return False
|
||||
|
||||
def get_icmp_message(self, icmp_type):
|
||||
for m in self.messages:
|
||||
if m.type != MessageType.ICMP:
|
||||
continue
|
||||
|
||||
if m.icmp.header.type == icmp_type:
|
||||
return m
|
||||
|
||||
return None
|
||||
|
||||
def contains_mle_message(self, command_type):
|
||||
for m in self.messages:
|
||||
|
||||
Reference in New Issue
Block a user