Platforms to show: All Mac Windows Linux Cross-Platform
Back to RockeyMBS class.
RockeyMBS.Rockey(FunctionCode as Integer) as Integer
Function:
Calls the Rockey Dongle API.
Example:
Notes:
See the Rockey dongle documentation for more details.
Be aware that no endian correction is done!
Error codes from the plugin:
-1 = memoryblock is nil
-2 = library not present (always on Linux)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Dongle | MBS Dongle Plugin | 3.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Example:
dim r as RockeyMBS
dim e as Integer
r=new RockeyMBS
r.p1=&HC44C
r.p2=&HC8F8
r.p3=0
r.p4=0
e=r.Rockey(1)
if e=0 then
MsgBox "Found dongle: "+hex(r.lp1)
else
MsgBox "Error: "+str(e)
end if
See the Rockey dongle documentation for more details.
Be aware that no endian correction is done!
Error codes from the plugin:
-1 = memoryblock is nil
-2 = library not present (always on Linux)
RockeyMBS.RockeyCall(FunctionCode as Integer) as Integer
Function:
Same as Rockey but a different name for compatibility.
Notes: The original Rockey dongle calls the function RockeyCall.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Dongle | MBS Dongle Plugin | 7.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: The original Rockey dongle calls the function RockeyCall.
The items on this page are in the following plugins: MBS Dongle Plugin.