Platforms to show: All Mac Windows Linux Cross-Platform
LinuxUSBDeviceDescriptionMBS class
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| class | USB | MBS USB Plugin | 10.3 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Some linux installations require app to be run with sudo to allow reading USB device strings.
- 13 properties
- property cdDevice as Integer
- property cdUSB as Integer
- property DescriptorType as Integer
- property DeviceClass as Integer
- property DeviceProtocol as Integer
- property DeviceSubClass as Integer
- property Manufacturer as String
- property MaxPacketSize0 as Integer
- property NumConfigurations as Integer
- property Product as Integer
- property ProductName as String
- property SerialNumber as String
- property Vendor as Integer
- 9 constants
Constants
| Constant | Value | Description |
|---|---|---|
| kDeviceClassAudio | 1 |
One of the device class constants.
Audio device. |
| kDeviceClassCOMM | 2 |
One of the device class constants.
COMM device. |
| kDeviceClassDATA | 10 |
One of the device class constants.
DATA device. |
| kDeviceClassHID | 3 |
One of the device class constants.
HID device. |
| kDeviceClassHUB | 9 |
One of the device class constants.
The device is an USB HUB. |
| kDeviceClassMassStorage | 8 |
One of the device class constants.
A mass storage device. |
| kDeviceClassPerInterface | 0 | One of the device class constants. |
| kDeviceClassPrinter | 7 |
One of the device class constants.
Printer device. |
| kDeviceClassVendorSpecific | 255 |
One of the device class constants.
Some vendor specific device. |
This class has no sub classes.
Blog Entries
- MBS Real Studio Plugins, version 12.1pr6
- MBS Plugins 10.3 Release Notes
- MBS REALbasic Plugins, version 10.3pr4
Some properties using for this class:
- LinuxUSBDeviceMBS.Descriptor as LinuxUSBDeviceDescriptionMBS
Some examples using this class:
Some related classes:
The items on this page are in the following plugins: MBS USB Plugin.
LinuxUSBBusMBS - LinuxUSBDeviceHandleMBS