mirror of
https://github.com/de2tla2f/pymaster.git
synced 2024-11-25 12:21:28 +00:00
20 lines
326 B
Python
20 lines
326 B
Python
class MasterProtocol:
|
|
|
|
# Client To Master
|
|
clientQuery = '1'
|
|
|
|
# Server To Master
|
|
challengeRequest = 'q'
|
|
addServer = '0'
|
|
removeServer = 'b'
|
|
|
|
# Master To Client
|
|
queryPacketHeader = b'\xff\xff\xff\xff\x66\x0a'
|
|
|
|
# Master To Server
|
|
challengePacketHeader = b'\xff\xff\xff\xff\x73\x0a'
|
|
|
|
#Debug
|
|
statusRequest = 's'
|
|
|
|
|