You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CSK_Module_MultiTCPIPClient/scripts/CSK_Module_MultiTCPIPClient.lua
+23-28Lines changed: 23 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -30,8 +30,7 @@
30
30
31
31
-- If app property "LuaLoadAllEngineAPI" is FALSE, use this to load and check for required APIs
32
32
-- This can improve performance of garbage collection
33
-
34
-
-- _G.availableAPIs = require('Communication/MultiTCPIPClient/helper/checkAPIs') -- can be used to adjust function scope of the module related on available APIs of the device
33
+
_G.availableAPIs=require('Communication/MultiTCPIPClient/helper/checkAPIs') -- can be used to adjust function scope of the module related on available APIs of the device
-- Option A --> prepare an event to trigger processing via this one
71
-
--Script.serveEvent("CSK_MultiTCPIPClient.OnNewTestEvent", "MultiTCPIPClient_OnNewTestEvent") --> Create event to listen to and process forwarded object
72
-
--CSK_MultiTCPIPClient.setRegisterEvent('CSK_MultiTCPIPClient.OnNewTestEvent') --> Register processing to the event
73
-
74
-
--Script.notifyEvent('OnNewTestEvent', data)
75
-
76
-
-- Option B --> trigger processing via function call
77
-
local result = CSK_MultiTCPIPClient.processSomething(data)
78
-
79
-
end
80
-
end
81
-
82
-
-- Call processing function after persistent data was loaded
0 commit comments