Platforms to show: All Mac Windows Linux Cross-Platform

Back to WinUSBDeviceMBS class.

WinUSBDeviceMBS.cdUSB as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The device USB version.

USB Specification Number which device complies too.

The cdUSB field reports the highest version of USB the device supports. The value is in binary coded decimal with a format of 0xJJMN where JJ is the major version number, M is the minor version number and N is the sub minor version number. e.g. USB 2.0 is reported as &h0200, USB 1.1 as 0x0110 and USB 1.0 as &h0100.
(Read and Write property)

WinUSBDeviceMBS.DescriptorType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The device descriptor type.

Device Descriptor (0x01)
(Read and Write property)

WinUSBDeviceMBS.DeviceClass as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The device class.

See constants in MacUSBDeviceMBS class.
Assigned by USB Org
(Read and Write property)

WinUSBDeviceMBS.DeviceID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The device ID.

(Read and Write property)

WinUSBDeviceMBS.DeviceProtocol as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The device protocol.

Assigned by USB Org
(Read and Write property)

WinUSBDeviceMBS.DeviceSubClass as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The device sub class.

See constants in MacUSBDeviceMBS class.
Assigned by USB Org
(Read and Write property)

WinUSBDeviceMBS.MaxEP0Size as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Maximum Packet Size for Zero Endpoint.

Valid Sizes are 8, 16, 32, 64
(Read and Write property)

WinUSBDeviceMBS.Product as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The product name.

(Read and Write property)

WinUSBDeviceMBS.ProductID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The product ID of the device.

(Read and Write property)

WinUSBDeviceMBS.SerialNumber as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The serial number of the USB device.
Example
dim devices(-1) as WinUSBDeviceMBS = WinUSBDeviceMBS.Devices

for each d as WinUSBDeviceMBS in devices
MsgBox d.Vendor+" - "+d.Product+": "+d.SerialNumber
next

Not all vendors save the serial number in the device.
(Read and Write property)

WinUSBDeviceMBS.Vendor as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The vendor name of the USB device.

(Read and Write property)

WinUSBDeviceMBS.VendorID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 11.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The vendor ID of the USB device.

Assigned by USB Org.
(Read and Write property)

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


The biggest plugin in space...