UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
UsbInterfaceInfo Class Reference

A class that holds information about a USB interface. More...

#include <UsbInterfaceInfo.h>

Inheritance diagram for UsbInterfaceInfo:

Properties

IOUSBInterfaceInterface ** interface
 A pointer to the USB interface.
 
int interfaceVendorId
 The vendor ID of the USB interface.
 
int interfaceProductId
 The product ID of the USB interface.
 
int interfaceOutEndpointPacketSize
 The packet size of the output endpoint of the USB interface.
 
int interfaceInEndpointPacketSize
 The packet size of the input endpoint of the USB interface.
 
NSMutableData * receivedData
 The data received from the USB interface.
 
BOOL bytesAvailable
 A flag indicating whether there are bytes available to read.
 

Detailed Description

A class that holds information about a USB interface.

儲存USB接口信息的類。

存储USB接口信息的类。

Property Documentation

◆ bytesAvailable

- (BOOL) bytesAvailable
readwritenonatomicassign

A flag indicating whether there are bytes available to read.

指示是否有可读字节的标志。

指示是否有可讀字節的標誌。

◆ interface

- (IOUSBInterfaceInterface**) interface
readwritenonatomicassign

A pointer to the USB interface.

指向USB接口的指针。

指向USB接口的指針。

◆ interfaceInEndpointPacketSize

- (int) interfaceInEndpointPacketSize
readwritenonatomicassign

The packet size of the input endpoint of the USB interface.

USB接口输入端点的包大小。

USB接口輸入端點的包大小。

◆ interfaceOutEndpointPacketSize

- (int) interfaceOutEndpointPacketSize
readwritenonatomicassign

The packet size of the output endpoint of the USB interface.

USB接口输出端点的包大小。

USB接口輸出端點的包大小。

◆ interfaceProductId

- (int) interfaceProductId
readwritenonatomicassign

The product ID of the USB interface.

USB接口的产品ID。

USB接口的產品ID。

◆ interfaceVendorId

- (int) interfaceVendorId
readwritenonatomicassign

The vendor ID of the USB interface.

USB接口的厂商ID。

USB接口的廠商ID。

◆ receivedData

- (NSMutableData*) receivedData
readwritenonatomicstrong

The data received from the USB interface.

从USB接口接收的数据。

從USB接口接收的數據。


The documentation for this class was generated from the following file: