"""
Message constants for the UHPPOTE request/response protocol.
"""

SOM = 0x17
SOM_v6_62 = 0x19  # pylint: disable=invalid-name

GET_STATUS = 0x20
SET_TIME = 0x30
GET_TIME = 0x32
OPEN_DOOR = 0x40
PUT_CARD = 0x50
DELETE_CARD = 0x52
DELETE_ALL_CARDS = 0x54
GET_CARDS = 0x58
GET_CARD = 0x5A
GET_CARD_AT_INDEX = 0x5C
SET_DOOR = 0x80
GET_DOOR = 0x82
SET_ANTIPASSBACK = 0x84
GET_ANTIPASSBACK = 0x86
SET_TIME_PROFILE = 0x88
CLEAR_TIME_PROFILES = 0x8A
SET_DOOR_PASSCODES = 0x8C
RECORD_SPECIAL_EVENTS = 0x8E
SET_LISTENER = 0x90
GET_LISTENER = 0x92
GET_CONTROLLER = 0x94
SET_IPv4 = 0x96  # pylint: disable=invalid-name
GET_TIME_PROFILE = 0x98
SET_PC_CONTROL = 0xA0
SET_INTERLOCK = 0xA2
ACTIVATE_KEYPADS = 0xA4
CLEAR_TASKLIST = 0xA6
ADD_TASK = 0xA8
SET_FIRST_CARD = 0xAA
REFRESH_TASKLIST = 0xAC
GET_EVENT = 0xB0
SET_EVENT_INDEX = 0xB2
GET_EVENT_INDEX = 0xB4
RESTORE_DEFAULT_PARAMETERS = 0xC8
LISTEN_EVENT = 0x20
