XCLASS_BOOL = 1000
XCLASS_DATA = 2000
XCLASS_FLAGS = 4000
XCLASS_MASK = FC00
XCLASS_NOTIFICATION = 8000
XST_ADVACKRCVD = 13
XST_ADVDATAACKRCVD = 16
XST_ADVDATASENT = 15
XST_ADVSENT = 11
XST_CONNECTED = 2
XST_DATARCVD = 6
XST_EXECACKRCVD = 10
XST_EXECSENT = 9
XST_INCOMPLETE = 1
XST_INIT1 = 3
XST_INIT2 = 4
XST_NULL = 0
XST_POKEACKRCVD = 8
XST_POKESENT = 7
XST_REQSENT = 5
XST_UNADVACKRCVD = 14
XST_UNADVSENT = 12
XTYP_ADVDATA = (10OrXCLASS_FLAGS)
XTYP_ADVREQ = (20OrXCLASS_DATAOrXTYPF_NOBLOCK)
XTYP_ADVSTART = (30OrXCLASS_BOOL)
XTYP_ADVSTOP = (40OrXCLASS_NOTIFICATION)
XTYP_CONNECT = (60OrXCLASS_BOOLOrXTYPF_NOBLOCK)
XTYP_CONNECT_CONFIRM = (70OrXCLASS_NOTIFICATIONOrXTYPF_NOBLOCK)
XTYP_DISCONNECT = (C0OrXCLASS_NOTIFICATIONOrXTYPF_NOBLOCK)
XTYP_ERROR = (0OrXCLASS_NOTIFICATIONOrXTYPF_NOBLOCK)
XTYP_EXECUTE = (50OrXCLASS_FLAGS)
XTYP_MASK = F0
XTYP_MONITOR = (F0OrXCLASS_NOTIFICATIONOrXTYPF_NOBLOCK)
XTYP_POKE = (90OrXCLASS_FLAGS)
XTYP_REGISTER = (A0OrXCLASS_NOTIFICATIONOrXTYPF_NOBLOCK)
XTYP_REQUEST = (B0OrXCLASS_DATA)
XTYP_SHIFT = 4
XTYP_UNREGISTER = (D0OrXCLASS_NOTIFICATIONOrXTYPF_NOBLOCK)
XTYP_WILDCONNECT = (E0OrXCLASS_DATAOrXTYPF_NOBLOCK)
XTYP_XACT_COMPLETE = (80OrXCLASS_NOTIFICATION)
XTYPF_ACKREQ = 8
XTYPF_NOBLOCK = 2
XTYPF_NODATA = 4