Home
last modified time | relevance | path

Searched refs:ui_frame (Results 1 – 4 of 4) sorted by relevance

/external/pigweed/pw_hdlc/py/
Dencode_test.py33 self.assertEqual(encode.ui_frame(0, b''),
35 self.assertEqual(encode.ui_frame(0x1a, b''),
39 self.assertEqual(encode.ui_frame(0, b'A'),
43 self.assertEqual(encode.ui_frame(0, b'123456789'),
47 self.assertEqual(encode.ui_frame(128, b'123456789'),
52 encode.ui_frame(0x3e, b'\x7d'),
55 encode.ui_frame(0x3e, b'A\x7e\x7dBC'),
/external/pigweed/pw_hdlc/py/pw_hdlc/
Drpc.py50 return lambda data: slow_write(encode.ui_frame(address, data))
53 frame = encode.ui_frame(address, data)
Dencode.py22 def ui_frame(address: int, data: bytes) -> bytes: function
/external/pigweed/pw_hdlc/
Ddocs.rst137 ser.write(encode.ui_frame(b'your data here!'))