-- Definitions from BrandMeister core

LINK_VALUE_COUNT       = 20

LINK_TYPE_APPLICATION  = 0
LINK_TYPE_REPEATER     = 1
LINK_TYPE_NETWORK      = 2

REGISTRY_STOP_APPENDING       = 0
REGISTRY_CONTINUE_APPENDING   = 1

SESSION_TYPE_FLAG_KNOWN    = 1 << 0
SESSION_TYPE_FLAG_GROUP    = 1 << 1
SESSION_TYPE_FLAG_VOICE    = 1 << 2
SESSION_TYPE_FLAG_DATA     = 1 << 3
SESSION_TYPE_FLAG_CONTROL  = 1 << 4
SESSION_TYPE_FLAG_PRIVACY  = 1 << 5

SESSION_STATE_INITIAL   = 0
SESSION_STATE_PROGRESS  = 1
SESSION_STATE_FINAL     = 2

ROUTE_STATE_ALLOCATED  = 0
ROUTE_STATE_REJECTED   = 1
ROUTE_STATE_DROPPED    = 2
ROUTE_STATE_LOCKED     = 3

ROUTE_STATE_BUSY       = ROUTE_STATE_REJECTED
ROUTE_STATE_NORMAL     = ROUTE_STATE_LOCKED

EVENT_DOMAIN_REPEATER  = 0
EVENT_DOMAIN_SESSION   = 1
EVENT_DOMAIN_SERVICE   = 2

-- Special Application ID

LOOPBACK = 1
PARROT   = 2

-- WinMaster Extensions

VALUE_REFLECTOR = LINK_VALUE_COUNT - 1
VALUE_REFLECTOR_2 = VALUE_REFLECTOR

-- Homebrew Repeater Extensions

VALUE_HOMEBREW_CONNECTION_MODE = 1

CONNECTION_MODE_HOTSPOT  = 0
CONNECTION_MODE_REPEATER = 1