Searched refs:context_length (Results 1 – 3 of 3) sorted by relevance
/openthread-latest/tests/scripts/thread-cert/ |
D | network_data.py | 328 def __init__(self, c, cid, context_length, stable): argument 332 self._context_length = context_length 343 def context_length(self): member in LowpanId 349 …eturn (self.c == other.c and self.cid == other.cid and self.context_length == other.context_length) 353 self.context_length) 364 context_length = ord(data.read(1)) 366 return LowpanId(c, cid, context_length, message_info.stable)
|
D | test_network_data.py | 71 return bytearray([lowpan_id.cid | (lowpan_id.c << 4), lowpan_id.context_length]) 838 context_length = any_context_length() 840 lowpan_id = network_data.LowpanId(any_c(), any_cid(), context_length, any_stable()) 843 actual_context_length = lowpan_id.context_length 846 self.assertEqual(context_length, actual_context_length) 867 context_length = any_context_length() 872 data = convert_lowpan_id_to_bytearray(network_data.LowpanId(c, cid, context_length, stable)) 884 self.assertEqual(context_length, actual_lowpan_id.context_length)
|
D | test_mle.py | 1801 … network_data.LowpanId(c=1, cid=1, context_length=64, stable=1),
|