Variables
Const COUNTERS_BITFILE
COUNTERS_BITFILE: "counters.bit" = "counters.bit"
Const FIRST_PIPEIN_ENDPOINT
FIRST_PIPEIN_ENDPOINT: 128 = 128
Const FIRST_PIPEOUT_ENDPOINT
FIRST_PIPEOUT_ENDPOINT: 160 = 160
Const FIRST_TRIGGERIN_ENDPOINT
FIRST_TRIGGERIN_ENDPOINT: 64 = 64
Const FIRST_TRIGGEROUT_ENDPOINT
FIRST_TRIGGEROUT_ENDPOINT: 96 = 96
Const FIRST_WIREIN_ENDPOINT
FIRST_WIREIN_ENDPOINT: 0 = 0
Const FIRST_WIREOUT_ENDPOINT
FIRST_WIREOUT_ENDPOINT: 32 = 32
Const LAST_PIPEIN_ENDPOINT
LAST_PIPEIN_ENDPOINT: 159 = 159
Const LAST_PIPEOUT_ENDPOINT
LAST_PIPEOUT_ENDPOINT: 191 = 191
Const LAST_TRIGGERIN_ENDPOINT
LAST_TRIGGERIN_ENDPOINT: 95 = 95
Const LAST_TRIGGEROUT_ENDPOINT
LAST_TRIGGEROUT_ENDPOINT: 127 = 127
Const LAST_WIREIN_ENDPOINT
LAST_WIREIN_ENDPOINT: 31 = 31
Const LAST_WIREOUT_ENDPOINT
LAST_WIREOUT_ENDPOINT: 63 = 63
Const MAX_COMPONENTS
MAX_COMPONENTS: 256 = 256
Const MAX_DEVICEID_LENGTH
MAX_DEVICEID_LENGTH: 32 = 32
Const MAX_ENDPOINTS
MAX_ENDPOINTS: 256 = 256
Const MAX_SECURITY_DATA_LENGTH
MAX_SECURITY_DATA_LENGTH: 64 = 64
Const MAX_SERIALNUMBER_LENGTH
MAX_SERIALNUMBER_LENGTH: 10 = 10
Const PASSWORD
PASSWORD: "Test" = "Test"
Const PIPETEST_BITFILE
PIPETEST_BITFILE: "pipetest.bit" = "pipetest.bit"
Const PROTOCOL_VERSION
PROTOCOL_VERSION: 20 = 20
Const REGISTER_COUNT
REGISTER_COUNT: 256 = 256
Const SCRIPT_CODE
SCRIPT_CODE: "function TestFunction(epTrigger, epWireOut)-- Increment the second counter.okFP:ActivateTriggerIn(epTrigger, 1)-- And read its value.okFP:UpdateWireOuts()return okFP:GetWireOutValue(epWireOut)end" = `function TestFunction(epTrigger, epWireOut)-- Increment the second counter.okFP:ActivateTriggerIn(epTrigger, 1)-- And read its value.okFP:UpdateWireOuts()return okFP:GetWireOutValue(epWireOut)end`
Const SCRIPT_ENGINE
SCRIPT_ENGINE: 1 = 1
Const SCRIPT_NAME
SCRIPT_NAME: "test.lua" = "test.lua"
Const SERVER
SERVER: "wss://localhost:9999" = "wss://localhost:9999"
Const TRIGGERIN_ENDPOINT_BASEADDRESS
TRIGGERIN_ENDPOINT_BASEADDRESS: 64 = 64
Const TRIGGEROUT_ENDPOINT_BASEADDRESS
TRIGGEROUT_ENDPOINT_BASEADDRESS: 96 = 96
Const USER
USER: "User" = "User"
Const WIREIN_ENDPOINT_BASEADDRESS
WIREIN_ENDPOINT_BASEADDRESS: 0 = 0
Const WIREOUT_ENDPOINT_BASEADDRESS
WIREOUT_ENDPOINT_BASEADDRESS: 32 = 32