11#import <Foundation/Foundation.h>
12#import <IOKit/usb/IOUSBLib.h>
13#import <UniPRT/UsbInterfaceInfo.h>
14#import <UniPRT/AComm.h>
30@interface UsbComm:
AComm
32@property (nonatomic, strong, readonly) NSMutableArray<UsbInterfaceInfo *> *discoveredInterfaces;
33@property (readonly, nonatomic) NSMutableDictionary *deviceList;
34@property (nonatomic, readonly) UsbInterfaceInfo *matchedInterfaces;
37@property (nonatomic, readonly) BOOL shouldStopReadLoop;
60- (instancetype)initWithVendorId:(NSString *)vendorId productId:(NSString *)productId;
96- (void)write:(NSData *)text;
140- (NSData*)writeAndWaitForResponse:(NSData *)text
141 responseStartTimeOut:(NSTimeInterval)responseStartTimeOut
142 responseEndTimeOut:(NSTimeInterval)responseEndTimeOut
143 completionToken:(NSString *)completionToken;
153- (void)asyncListenRead;
163- (void)stopListenRead;
A base class for communication interfaces, conforming to the IComm protocol.
Definition AComm.h:29