Platforms to show: All Mac Windows Linux Cross-Platform

MacHIDMBS.DeviceRemoved(result as Integer)
Type Topic Plugin Version macOS Windows Linux iOS Targets
event USB MBS USB Plugin 8.7 ✅ Yes ❌ No ❌ No ❌ No
Function: The event called whenever the device is removed.
Notes: You need to call connect to install the callback which raises this event.

Feedback, Comments & Corrections

MacHIDMBS.ReceivedData(data as string, size as Integer)
Type Topic Plugin Version macOS Windows Linux iOS Targets
event USB MBS USB Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No
Function: Data was received and is available for processing.
Example:
Sub ReceivedData(data as string, size as Integer)
dim m as MemoryBlock
dim s as string
dim n,i as Integer

// Debug Output data received:

m=data

n=lenb(data)-1
for i=0 to n
s=s+str(m.Byte(i))+" "
next

s=s+"= "+data

System.DebugLog s

End Sub
Notes: Event is only called when InstallCallback was used and a connection is open.

Some examples using this event:

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS USB Plugin.

The biggest plugin in space...




Links
MBS Xojo PDF Plugins

Start Chat