mirror of
https://github.com/espressif/openthread.git
synced 2026-09-01 23:09:53 +00:00
[tests] add traffic analysis for Cert_5_3_08 as TestPlan (#2484)
This commit adds the method set_lowpan_context to set the lowpan context of sniffer.
This commit is contained in:
committed by
Jonathan Hui
parent
092021ad45
commit
2636df1952
@@ -443,6 +443,9 @@ class MessageFactory:
|
||||
mac_frame.parse(data)
|
||||
return mac_frame
|
||||
|
||||
def set_lowpan_context(self, cid, prefix):
|
||||
self._lowpan_parser.set_lowpan_context(cid, prefix)
|
||||
|
||||
def create(self, data):
|
||||
message = Message()
|
||||
message.channel = struct.unpack(">B", data.read(1))
|
||||
|
||||
Reference in New Issue
Block a user