Skip to content

Commit

Permalink
Remove stale constants from Gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Sep 10, 2024
1 parent 6e88e99 commit d384755
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions bellows/uart.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,6 @@


class Gateway(asyncio.Protocol):
FLAG = b"\x7E" # Marks end of frame
ESCAPE = b"\x7D"
XON = b"\x11" # Resume transmission
XOFF = b"\x13" # Stop transmission
SUBSTITUTE = b"\x18"
CANCEL = b"\x1A" # Terminates a frame in progress
STUFF = 0x20
RANDOMIZE_START = 0x42
RANDOMIZE_SEQ = 0xB8

RESERVED = FLAG + ESCAPE + XON + XOFF + SUBSTITUTE + CANCEL

class Terminator:
pass

def __init__(self, application, connected_future=None, connection_done_future=None):
self._application = application

Expand Down

0 comments on commit d384755

Please sign in to comment.