diff --git a/proxyclient/m1n1/fw/afk/epic.py b/proxyclient/m1n1/fw/afk/epic.py index 01bd32cb..5981060c 100644 --- a/proxyclient/m1n1/fw/afk/epic.py +++ b/proxyclient/m1n1/fw/afk/epic.py @@ -26,7 +26,10 @@ EPICCategory = "EPICCategory" / Enum(Int8ul, EPICSubtype = "EPICSubtype" / Enum(Int16ul, ANNOUNCE = 0x30, TEARDOWN = 0x32, + RETCODE_WITH_PAYLOAD = 0xa0, STD_SERVICE = 0xc0, + RETCODE = 0x84, + STRING = 0x8a, ) EPICHeader = Struct( @@ -132,24 +135,44 @@ class EPICService: def handle_reply(self, category, type, seq, fd): off = fd.tell() data = fd.read() - if len(data) == 4: - retcode = struct.unpack("