1
0
Fork 0
mirror of https://github.com/de2tla2f/pymaster.git synced 2024-11-27 13:21:28 +00:00
pymaster/protocol.py
2022-12-07 21:21:49 +01:00

15 lines
304 B
Python

class MasterProtocol:
# Client To Master
clientQuery = b'1'
# Server To Master
challengeRequest = b'q\xFF'
addServer = b'0\n'
removeServer = b'\x62\x0A'
# Master To Client
queryPacketHeader = b'\xff\xff\xff\xff\x66\x0a'
# Master To Server
challengePacketHeader = b'\xff\xff\xff\xff\x73\x0a'