Version 0.0.4
This commit is contained in:
parent
32bad8706c
commit
db9fb0e32d
3 changed files with 17 additions and 4 deletions
|
|
@ -168,6 +168,7 @@ class StenoPacket(object):
|
|||
@staticmethod
|
||||
def make_open_request(file_name=b'REALTIME.000\x00\x00\x00\x00', disk_id=b'A'):
|
||||
"""Request to open a file on the writer, defaults to the realtime file."""
|
||||
# Concern: realtime file seems to need 4 null bytes. Maybe to round up to 0x10?
|
||||
return StenoPacket(
|
||||
packet_id=StenoPacket.ID_OPEN,
|
||||
p1=ord(disk_id) if disk_id else 0, # Omitting p1 may use the default drive.
|
||||
|
|
@ -594,4 +595,4 @@ class Stenograph(ThreadedStenotypeBase):
|
|||
"""Stop listening for output from the stenotype machine."""
|
||||
super(Stenograph, self).stop_capture()
|
||||
self._machine = None
|
||||
self._stopped()
|
||||
self._stopped()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue