|
|
@ -39,7 +39,7 @@ class ProtocolV1(object):
|
|
|
|
|
|
|
|
|
|
|
|
while data:
|
|
|
|
while data:
|
|
|
|
# Report ID, data padded to 63 bytes
|
|
|
|
# Report ID, data padded to 63 bytes
|
|
|
|
chunk = b'?' + data[:REPLEN-1]
|
|
|
|
chunk = b'?' + data[:REPLEN - 1]
|
|
|
|
chunk = chunk.ljust(REPLEN, bytes([0x00]))
|
|
|
|
chunk = chunk.ljust(REPLEN, bytes([0x00]))
|
|
|
|
transport.write_chunk(chunk)
|
|
|
|
transport.write_chunk(chunk)
|
|
|
|
data = data[63:]
|
|
|
|
data = data[63:]
|
|
|
|