Platforms to show: All Mac Windows Linux Cross-Platform

Back to MacUSBDeviceMBS class.

MacUSBDeviceMBS.Address as Integer

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

(Read and Write property)

MacUSBDeviceMBS.BusPowerAvailable as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 10.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The available bus power.

Value is in milli ampere.
(Read and Write property)

Some examples using this property:

MacUSBDeviceMBS.ClassName as String

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

Basicly this is what driver Apple uses.
(Read and Write property)

MacUSBDeviceMBS.DeviceClass as Integer

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

See kUSB*Class constants.

And read here:
http://www.usb.org/developers/defined_class
(Read and Write property)

MacUSBDeviceMBS.DeviceMaxPacketSize as Integer

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

(Read and Write property)

Some examples using this property:

MacUSBDeviceMBS.DeviceNumConfigs as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 10.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The number of configurations for this device.

(Read and Write property)

Some examples using this property:

MacUSBDeviceMBS.DeviceProtocol as Integer

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

(Read and Write property)

MacUSBDeviceMBS.DeviceReleaseNumber as Integer

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

(Read and Write property)

MacUSBDeviceMBS.DeviceSpeed as Integer

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

(Read and Write property)

MacUSBDeviceMBS.DeviceSubClass as Integer

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

See kUSB*SubClass constants.
(Read and Write property)

MacUSBDeviceMBS.ExtraPowerForPorts as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 10.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The extra power asked for ports.

Value is in milli ampere.
(Read and Write property)

Some examples using this property:

MacUSBDeviceMBS.Name as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 10.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The name of this device node.
Example
// show all names of all devices in a msgbox
dim names(-1) as string

// iterate over all devices without recursion
dim devices(-1) as MacUSBDeviceMBS

devices.Append MacUSBDeviceMBS.root

while UBound(devices)>=0
dim dev as MacUSBDeviceMBS = devices.Pop
names.Append dev.name

for each child as MacUSBDeviceMBS in dev.children
devices.Append child
next
wend

MsgBox Join(names,", ")

(Read and Write property)

MacUSBDeviceMBS.NumEndpoints as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 10.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The number of endpoints.

(Read and Write property)

MacUSBDeviceMBS.Path as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 10.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The object path.

This is internally used by the kernel.
(Read and Write property)

MacUSBDeviceMBS.Ports as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 10.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The number of ports on an USB hub.

(Read and Write property)

MacUSBDeviceMBS.ProductID as Integer

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

(Read and Write property)

MacUSBDeviceMBS.ProductName as String

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

(Read and Write property)

MacUSBDeviceMBS.Properties as Dictionary

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Creates dictionary with all the properties associated for this USB device in IORegistry.

(Read and Write property)

MacUSBDeviceMBS.RequestedPower as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property USB MBS USB Plugin 10.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Requested power.

Value is in milli ampere.
(Read and Write property)

Some examples using this property:

MacUSBDeviceMBS.SerialNumber as String

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

(Read and Write property)

MacUSBDeviceMBS.VendorID as Integer

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

Assigned by USB Org.
(Read and Write property)

MacUSBDeviceMBS.VendorName as String

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

(Read and Write property)

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


The biggest plugin in space...